pkgsrc-Bulk archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkgsrc NetBSD 6.99.28/x86_64 2014-01-04 19:15



On 1/5/2014 23:16, John Marino wrote:
> On 1/5/2014 23:06, Thomas Klausner wrote:
>> On Sun, Jan 05, 2014 at 12:56:45AM +0100, Joerg Sonnenberger 
>> wrote: Lots of ada breakage looks weird -- gnatmake etc. not
>> found. Marino, any ideas?
> 
> Yeah, I think "LANG+= ada" isn't working correctly on a pure-clang 
> system.  It's like the GCC_REQD value is suppressed or something. 
> Since I have access to a NetBSD 6.99 pure-clang system for a couple
> of days I was going to try to look at it,  but I'm really swamped.
> I can't promise anything.
> 
> But I think the culprit is mk/compilers/gcc.mk, something about
> clang is changing the logic.  It will affect every port with LANG+=
> ada.
> 
> john
> 
> P.S. The message is new because I updated gcc-aux to build on a 
> pure-clang system, so lang/gcc-aux built, but nothing that depends
> on it will.  I could use help with this.

Okay, here's what's going on:
/usr/pkg/gcc-aux/bin/gcc doesn't have any defined rpath.  It should be
${LOCALBASE}/gcc-aux/lib.  So it's trying to lib to libgcc_s.so and it
can't find it.  That's the reason for the non-zero result.  It's a
problem with lang/gcc-aux, so that's got to be fixed.  The error was
just masked on systems with gcc (it dyn-linked to wrong library, but
still worked)

John


Home | Main Index | Thread Index | Old Index