-
Notifications
You must be signed in to change notification settings - Fork 68
Open
Description
$ ./build-bench-env.sh je sn mi2 rp packages bench lean-mathlib
...
FAILED: build/ninja/linux/debug/x86-64/test-7e8c09f/main-override-7531094.o
clang++ -MMD -MT build/ninja/linux/debug/x86-64/test-7e8c09f/main-override-7531094.o -MF build/ninja/linux/debug/x86-64/test-7e8c09f/main-override-7531094.o.d -I. -Irpmalloc -Itest -DRPMALLOC_COMPILE=1 -fstrict-aliasing -fvisibility=default -fno-stack-protector -fno-math-errno -ffinite-math-only -funsafe-math-optimizations -fno-trapping-math -ffast-math -D_GNU_SOURCE=1 -fomit-frame-pointer -W -pedantic -Wall -Weverything -Wno-c++98-compat -Wno-padded -Wno-documentation-unknown-command -Wno-declaration-after-statement -Wno-implicit-fallthrough -Wno-static-in-inline -Wno-reserved-id-macro -Wno-disabled-macro-expansion -Wno-unsafe-buffer-usage -std=c++14 -m64 -g -DBUILD_DEBUG=1 -DENABLE_ASSERTS=1 -DENABLE_STATISTICS=1 -c test/main-override.cc -o build/ninja/linux/debug/x86-64/test-7e8c09f/main-override-7531094.o
test/main-override.cc:19:10: fatal error: 'new' file not found
19 | #include <new>
| ^~~~~
1 error generated.
[14/54] CXX test/main-override.cc
FAILED: build/ninja/linux/release/x86-64/test-7e8c09f/main-override-7531094.o
clang++ -MMD -MT build/ninja/linux/release/x86-64/test-7e8c09f/main-override-7531094.o -MF build/ninja/linux/release/x86-64/test-7e8c09f/main-override-7531094.o.d -I. -Irpmalloc -Itest -DRPMALLOC_COMPILE=1 -fstrict-aliasing -fvisibility=default -fno-stack-protector -fno-math-errno -ffinite-math-only -funsafe-math-optimizations -fno-trapping-math -ffast-math -D_GNU_SOURCE=1 -fomit-frame-pointer -W -pedantic -Wall -Weverything -Wno-c++98-compat -Wno-padded -Wno-documentation-unknown-command -Wno-declaration-after-statement -Wno-implicit-fallthrough -Wno-static-in-inline -Wno-reserved-id-macro -Wno-disabled-macro-expansion -Wno-unsafe-buffer-usage -std=c++14 -m64 -g -DBUILD_RELEASE=1 -O3 -funroll-loops -DENABLE_ASSERTS=1 -DENABLE_STATISTICS=1 -c test/main-override.cc -o build/ninja/linux/release/x86-64/test-7e8c09f/main-override-7531094.o
test/main-override.cc:19:10: fatal error: 'new' file not found
19 | #include <new>
| ^~~~~
So I installed this package:
$ sudo apt install libstdc++-14-dev
That fixed the compile error.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels