bug#49350: gcc-toolchain compilation error with -nostdinc++

2021-07-27 Thread Ontje Lünsdorf via Bug reports for GNU Guix
Hi Sarah, Sarah Morgensen writes: > The issue seems to be with the (automatically set by Guix) > CPLUS_INCLUDE_PATH environment variable. The following works as > expected: > > guix environment --pure --ad-hoc gcc-toolchain -- CPLUS_INCLUDE_PATH= c++ > -nostdinc++ test.cpp thanks, this

bug#49350: gcc-toolchain compilation error with -nostdinc++

2021-07-06 Thread Sarah Morgensen via Bug reports for GNU Guix
Hello, Thanks for the report. Ontje Lünsdorf writes: > Hi all, > > > I've problems compiling LLVM manually with the gcc-toolchain. > sanitizer_posix_libcdep.cpp is build with -nostdinc++ and fails to find > bits/c++config.h. > > I think the issue can be reproduced with this example test.cpp: >

bug#49350: gcc-toolchain compilation error with -nostdinc++

2021-07-03 Thread Ontje Lünsdorf via Bug reports for GNU Guix
Hi all, I've problems compiling LLVM manually with the gcc-toolchain. sanitizer_posix_libcdep.cpp is build with -nostdinc++ and fails to find bits/c++config.h. I think the issue can be reproduced with this example test.cpp: #include int main() { return 0; } c++ from archlinux compiles that