r192615 - For NetBSD/current on X86 do not use libgcc and default to libc++.

David Blaikie dblaikie at gmail.com
Mon Oct 14 14:31:52 PDT 2013


On Mon, Oct 14, 2013 at 2:22 PM, Joerg Sonnenberger <joerg at britannica.bec.de
> wrote:

> On Mon, Oct 14, 2013 at 01:57:46PM -0700, David Blaikie wrote:
> > On Mon, Oct 14, 2013 at 1:13 PM, Joerg Sonnenberger <joerg at bec.de>
> wrote:
> >
> > > Author: joerg
> > > Date: Mon Oct 14 15:13:05 2013
> > > New Revision: 192615
> > >
> > > URL: http://llvm.org/viewvc/llvm-project?rev=192615&view=rev
> > > Log:
> > > For NetBSD/current on X86 do not use libgcc and default to libc++.
> > > Adjust linkage to make more sense for older releases.
> > >
> > > Added:
> > >     cfe/trunk/test/Driver/netbsd.c
> > >     cfe/trunk/test/Driver/netbsd.cpp
> > >
> >
> > These tests are failing for me:
> >
> > Command Output (stderr):
> > --
> > llvm/src/tools/clang/test/Driver/netbsd.c:17:12: error: expected string
> not
> > found in input
> > // X86_64: "-o" "a.out" "crt0.o" "crti.o" "crtbegin.o" "{{.*}}.o" "-lc"
> >            ^
> > <stdin>:5:72: note: scanning from here
> >  "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld.elf_so"
> "-o"
> > "a.out" "crt0.o" "/usr/lib/crti.o" "crtbegin.o" "/tmp/netbsd-beaf8
> > f.o" "-lc" "crtend.o" "/usr/lib/crtn.o"
>
> Does your system have /usr/lib/crt0.o?
>

Nope:

$ l /usr/lib/crt*
/usr/lib/crt1.o@  /usr/lib/crti.o@  /usr/lib/crtn.o@


>
> Joerg
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131014/6f32bef0/attachment.html>


More information about the cfe-commits mailing list