matthewcroughan | error: builder for '/nix/store/hgl5bcxdmp4qlma4b48njyxa02qyj8kz-glibc-nolibgcc-aarch64-unknown-linux-musl-2.40-66.drv' failed with exit code 2;
last 25 log lines:
> ../sysdeps/unix/sysv/linux/gettimeofday.c:56:1: note: in expansion of macro 'weak_alias'
> 56 | weak_alias (__gettimeofday, gettimeofday)
> | ^~~~~~~~~~
> ../sysdeps/unix/sysv/linux/gettimeofday.c:42:13: note: aliased declaration here
> 42 | libc_ifunc (__gettimeofday,
> | ^~~~~~~~~~~~~~
> ./../include/libc-symbols.h:672:25: note: in definition of macro '__ifunc_resolver'
> 672 | __typeof (type_name) *name##_ifunc (__VA_ARGS__) \
> | ^~~~
> ./../include/libc-symbols.h:710:3: note: in expansion of macro '__ifunc_args'
> 710 | __ifunc_args (type_name, name, expr, init, arg)
> | ^~~~~~~~~~~~
> ./../include/libc-symbols.h:794:32: note: in expansion of macro '__ifunc'
> 794 | #define libc_ifunc(name, expr) __ifunc (name, name, expr, void, INIT_ARCH)
> | ^~~~~~~
> ../sysdeps/unix/sysv/linux/gettimeofday.c:42:1: note: in expansion of macro 'libc_ifunc'
> 42 | libc_ifunc (__gettimeofday,
> | ^~~~~~~~~~
> cc1: all warnings being treated as errors
> make[2]: *** [/build/build/sysd-rules:25: /build/build/time/gettimeofday.os] Error 1
> make[2]: *** Waiting for unfinished jobs....
> make[2]: Leaving directory '/build/glibc-2.40/time'
> make[1]: *** [Makefile:484: time/subdir_lib] Error 2
> make[1]: Leaving directory '/build/glibc-2.40'
> make: *** [Makefile:9: all] Error 2
For full logs, run 'nix log /nix/store/hgl5bcxdmp4qlma4b48njyxa02qyj8kz-glibc-nolibgcc-aarch64-unknown-linux-musl-2.40-66.drv'
| 19:41:26 |
matthewcroughan | ah the actual error is here:
glibc-nolibgcc-aarch64-unknown-linux-musl> ../sysdeps/unix/sysv/linux/gettimeofday.c:56:29: error: 'gettimeofday' alias between functions of incompatible types 'int(struct timeval *, void *)' and 'int (*(void))(struct timeval *, void *)' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.3.0/gcc/Warning-Options.html#index-Wattribute-alias-Werror=attribute-alias=8;;]
glibc-nolibgcc-aarch64-unknown-linux-musl> 56 | weak_alias (__gettimeofday, gettimeofday)
| 19:43:01 |