Date: Sat, 24 Mar 2012 12:01:40 -0400 From: Justin Hibbits <chmeeedalf@gmail.com> To: Super Bisquit <superbisquit@gmail.com> Cc: freebsd-current <freebsd-current@freebsd.org> Subject: Re: general clang error: cause for worry? Message-ID: <20120324120140.504751b6@narn.knownspace> In-Reply-To: <CA%2BWntOvXqDH=2hg4mbvZ7uQ8=9M-BNW1X8%2BAPcqz31LraQCrnw@mail.gmail.com> References: <CA%2BWntOsQ3r1yQzgS4KjS1Thnm9BGjwu=PYnT70EXDy27GqWxiQ@mail.gmail.com> <CA%2BWntOvXqDH=2hg4mbvZ7uQ8=9M-BNW1X8%2BAPcqz31LraQCrnw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 24 Mar 2012 11:58:04 -0400 Super Bisquit <superbisquit@gmail.com> wrote: > ---------- Forwarded message ---------- > From: Super Bisquit <superbisquit@gmail.com> > Date: Fri, Mar 16, 2012 at 11:17 PM > Subject: general clang error: cause for worry? > To: brooks@freebsd.org > > > chipchop# pkg_info|grep clang > clang-3.0 C, Objective-C, and (alpha-quality) C++ compiler > chipchop# pkg_info | grep llvm > llvm-3.0 Low Level Virtual Machine > chipchop# ls /usr/bin/cl* > /usr/bin/clang /usr/bin/clang++ /usr/bin/clear > chipchop# /usr/bin/clang --version > FreeBSD clang version 2.8 (tags/RELEASE_28 115870) 20101007 > Target: powerpc-undermydesk-freebsd9.0 > Thread model: posix > chipchop# ls /usr/local/bin/cl* > /usr/local/bin/clang /usr/local/bin/clang-tblgen > /usr/local/bin/clearspd > /usr/local/bin/clang++ /usr/local/bin/cleanlinks > chipchop# ls /usr/local/bin/clang --version > ls: --version: No such file or directory > /usr/local/bin/clang > chipchop# /usr/local/bin/clang --version > /libexec/ld-elf.so.1: /usr/local/lib/libLLVM-3.0.so: Unsupported > relocation type 10 in non-PLT relocations > > chipchop# > > As in my response to Dimitri, this is the error. > If this error occurs on the real machine, it will occur on Tinderbox. Yes, the ports clang does have a problem, because it's built with shared libraries. I've reported it (tacked onto an existing report) to llvm. The cause is that there is a symbol in the PowerPC JIT code that's naked (no PIC annotations), so the shared library fails to load at runtime. I will submit a separate bug report to llvm in the near future, just so it doesn't get lost. - Justin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120324120140.504751b6>