Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Feb 2010 20:22:24 +0100 (CET)
From:      Gerald Pfeifer <gerald@pfeifer.com>
To:        bf1783@gmail.com
Cc:        Peter Jeremy <peterjeremy@acm.org>, freebsd-ports@FreeBSD.org
Subject:   Re: bsd.gcc.mk PREFIX or LOCALBASE?
Message-ID:  <alpine.LSU.1.99.1002152016200.21091@acrux.dbai.tuwien.ac.at>
In-Reply-To: <d873d5be1002150557m6102739enbdcc83d77795fc43@mail.gmail.com>
References:  <d873d5be1002150557m6102739enbdcc83d77795fc43@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 15 Feb 2010, b. f. wrote:
> Normally, such an rpath directive would automatically be issued, but
> our lang/gcc4* ports have this default feature disabled unless
> WITHOUT_JAVA is defined, citing an old PR related to gcj and it's
> libraries:
> 
> .if ! defined(WITHOUT_JAVA)
> ...
> # FIXME: we are currently getting weird build failures with libjava on
> # some 4.x and 5.x systems, which the following works around. PR 81788.
> CONFIGURE_ARGS+=--disable-rpath
> ...
> 
> Someone should investigate, to see if this problem still exists.  If
> it doesn't, then we could restore the default behavior, and remove the
> corresponding statements from bsd.gcc.mk.

Yes, the problem with Java still exists, I reproduced it on a test
system a few weeks ago.  It's hard to grasp, and I have failed to
nail it down, since outside of the FreeBSD Ports Collection, just
building from upstream SVN, everything works just fine.

That said, I do not think this is relevant here since GCC does not 
actually set an rpath as you have it in mind by default (or at all).
And least not that I'd know, or I'd use that. ;-)

Gerald



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.LSU.1.99.1002152016200.21091>