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

Nico Weber thakis at chromium.org
Mon Feb 9 13:25:00 PST 2015


On Mon, Feb 9, 2015 at 12:10 PM, Marc J. Driftmeyer <mjd at reanimality.com>
wrote:

>  The system has moved to using cmake quite a while ago. That page is
> heavily outdated.
>

This too isn't true. configure/make is still one of llvm's supported build
configurations.


>
> - Marc
>
>
> On 02/09/2015 03:35 AM, Dennis Luehring wrote:
>
> the tutorial on http://clang.llvm.org/get_started.html just uses "make"
>
> the page states "It is also possible to use CMake instead of the
> makefiles."
> so i assume im using make when following the build guide
>
> maybe someone should update the build guide if cmake should be prefered
>
> Am 09.02.2015 um 12:17 schrieb Marc J. Driftmeyer:
>
> 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
>
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
>
> _______________________________________________
> 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 <%27mjd at reanimality.com%27>
> www:www.reanimality.com
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150209/ba1e33ee/attachment.html>


More information about the cfe-dev mailing list