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

Marc J. Driftmeyer mjd at reanimality.com
Mon Feb 9 03:17:13 PST 2015


What does your CMakeCache.txt file say?

- Marc

P.S. I build the entire offering, several times daily, on Debian Sid, 
sans debian package building.

On 02/09/2015 02:42 AM, Dennis Luehring wrote:
> 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?
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev

-- 

Marc J. Driftmeyer

email:mjd at reanimality.com <mailto:%27mjd at reanimality.com%27>
www:www.reanimality.com <http://www.reanimality.com>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150209/20965fac/attachment.html>


More information about the cfe-dev mailing list