-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
Closed
Labels
0.kind: bugSomething is brokenSomething is broken
Description
$ nix-build -A pkgsCross.gnu64.boehmgc
...
gc_badalc.cc:29:10: fatal error: new: No such file or directory
29 | #include <new> // for bad_alloc, precedes include of gc_cpp.h
| ^~~~~
compilation terminated.
gc_cpp.cc:36:10: fatal error: new: No such file or directory
36 | #include <new> // for bad_alloc, precedes include of gc_cpp.h
| ^~~~~
compilation terminated.
make[1]: *** [Makefile:1780: gc_badalc.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile:1780: gc_cpp.lo] Error 1
In file included from extra/gc.c:74:
In function 'GC_suspend_handler_inner',
inlined from 'GC_suspend_handler' at extra/../pthread_stop_world.c:261:7:
extra/../pthread_stop_world.c:359:19: warning: '__atomic_load_8' writing 8 bytes into a region of size 0 overflows the destination [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wstringop-overflow=-Wstringop-overflow=8;;]
359 | suspend_cnt = (word)ao_load_async(&(me -> stop_info.ext_suspend_cnt));
make[1]: Leaving directory '/build/gc-8.2.2'
make: *** [Makefile:1933: all-recursive] Error 1
error: builder for '/nix/store/3628wviya1i588nyp208lf3dhh1kchzr-boehm-gc-x86_64-unknown-linux-gnu-8.2.2.drv' failed with exit code 2;
last 10 log lines:
> make[1]: *** [Makefile:1780: gc_badalc.lo] Error 1
> make[1]: *** Waiting for unfinished jobs....
> make[1]: *** [Makefile:1780: gc_cpp.lo] Error 1
> In file included from extra/gc.c:74:
> In function 'GC_suspend_handler_inner',
> inlined from 'GC_suspend_handler' at extra/../pthread_stop_world.c:261:7:
> extra/../pthread_stop_world.c:359:19: warning: '__atomic_load_8' writing 8 bytes into a region of size 0 overflows the destination [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wstringop-overflow=-Wstringop-overflow=8;;]
> 359 | suspend_cnt = (word)ao_load_async(&(me -> stop_info.ext_suspend_cnt));
> make[1]: Leaving directory '/build/gc-8.2.2'
> make: *** [Makefile:1933: all-recursive] Error 1
For full logs, run 'nix-store -l /nix/store/3628wviya1i588nyp208lf3dhh1kchzr-boehm-gc-x86_64-unknown-linux-gnu-8.2.2.drv'.
Fix in #240435.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
0.kind: bugSomething is brokenSomething is broken