[cfe-dev] another try: lastest ubuntu 14.10 + gcc4.9.1 can't build clang

Dennis Luehring dl.soluz at gmx.net
Mon Feb 9 02:42:54 PST 2015


i have found no solution to build clang svn under my ubuntu 14.04 x64 + 
gcc 4.9.2
still getting this error

/usr/bin/../lib/gcc/x86_64-linux-gnu/4.9/../../../../include/c++/4.9/cstddef:51:11: 

error:
        no member named 'max_align_t' in the global namespace
    using ::max_align_t;
          ~~^

today i tried a fresh ubuntu 14.10 x64 (lastest + updates) default: 
gcc.4.9.1 installation with clang svn 228566 in a virtual machine
the max_align_t problem does not occure but i was still not able to 
compile clang out of the box getting this error from make

llvm[2]: Compiling llvm-lto.cpp for Debug+Asserts build
llvm[2]: Linking Debug+Asserts executable llvm-lto
collect2: error: ld terminated with signal 9 [Killed]
/home/test/llvm/Makefile.rules:1427: recipe for target 
'/home/test/build/Debug+Asserts/bin/llvm-lto' failed
make[2]: *** [/home/test/build/Debug+Asserts/bin/llvm-lto] Error 1
make[2]: Leaving directory '/home/test/build/tools/llvm-lto'
/home/test/llvm/Makefile.rules:873: recipe for target 'all' failed
make[1]: *** [all] Error 1
make[1]: Leaving directory '/home/test/build/tools'
/home/test/llvm/Makefile.rules:873: recipe for target 'all' failed
make: *** [all] Error 1

i've built svn clang serveral times before on former ubuntu version 
without any problem
is there something still to fix in the svn version or should i use cmake 
or is the description
on http://clang.llvm.org/get_started.html only for release revisions?





More information about the cfe-dev mailing list