Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Netbsd/amd64 build failure with both MKGCC and MKLLVM set



Hi,

On my my main developpement machine running -current NetBSD/amd64, i
do see a problem if i try to build both gcc and clang (MKGCC=yes and
MKLLVM=yes).  The default compiler remaining unchanged (gcc).

njoly@lanfeust [NetBSD/src]> ./build.sh -Uu -m amd64 -N 1 release
[...]
     create  libc/libunwind.d
/local/src/NetBSD/dest/amd64/usr/include/g++/bits/c++0x_warning.h:31:2: error: 
#error This file requires compiler and library support for the up
coming ISO C++ standard,C++0x. This support is currently experimental,and must 
be enabled with the -std=c++0x or -std=gnu++0x compiler options
.
nbmkdep: compile failed.
*** Failed target:  libunwind.d
*** Failed command: CC=/local/src/NetBSD/tool/bin/x86_64--netbsd-gcc 
/local/src/NetBSD/tool/bin/nbmkdep -f libunwind.d -- 
--sysroot=/local/src/NetBSD/dest/amd64 -D_LIBC -DLIBC_SCCS -DSYSLIBC_SCCS 
-D_REENTRANT -D_DIAGNOSTIC -DMLIBDIR=\"\"-DHESIOD -DINET6 -DNLS -DYP 
-I/local/src/NetBSD/src/lib/libc/include -I/local/src/NetBSD/src/lib/libc 
-I/local/src/NetBSD/src/sys -I/local/src/NetBSD/src/lib/libc/compat/../locale 
-I/local/src/NetBSD/src/lib/libc/compat/stdlib 
-I/local/src/NetBSD/src/lib/libc/compat/../stdlib -D__BUILD_LEGACY 
-I/local/src/NetBSD/src/lib/libc/../../common/lib/libc/quad 
-I/local/src/NetBSD/src/lib/libc/../../common/lib/libc/string 
-I/local/src/NetBSD/src/lib/libc/../../common/lib/libc/arch/x86_64/string 
-D__DBINTERFACE_PRIVATE -I/local/src/NetBSD/src/libexec/ld.elf_so 
-I/local/src/NetBSD/src/lib/libc/dlfcn -I/local/src/NetBSD/src/lib/libc/gdtoa 
-I/local/src/NetBSD/src/lib/libc/locale -DNO_FENV_H 
-I/local/src/NetBSD/src/lib/libc/arch/x86_64/gdtoa -DWITH_RUNE 
-I/local/src/NetBSD/src/lib/libc -DPOSIX_MISTAKE -DCOMPAT__RES -DUSE_POLL 
-DPORTMAP -DWIDE_DOUBLE -DALL_STATE -DUSG_COMPAT -D_FORTIFY_SOURCE=2 
/local/src/NetBSD/src/sys/lib/libunwind/libunwind.cxx
*** Error code 1

njoly@lanfeust [NetBSD/src]> make show-params | grep -e GCC -e LLVM -e PCC
            HAVE_GCC = '45'
           HAVE_LLVM = (undefined)
            HAVE_PCC = (undefined)
               MKGCC = 'yes'
           MKGCCCMDS = 'yes'
              MKLLVM = 'yes'
               MKPCC = 'no'

Thanks.

-- 
Nicolas Joly

Biology IT Center
Institut Pasteur, Paris.


Home | Main Index | Thread Index | Old Index