Review Request: 8005855: build-infra: Remove -R flag when cross compiling

David Holmes david.holmes at
Wed Jan 9 02:56:47 UTC 2013

On 9/01/2013 5:56 AM, Kelly O'Hair wrote:
> I need more info on this, what is X_LIBS for, and why remove ALL -R options.

IIRC Fredrik added this to deal with some binary difference detected on 
OSX. I don't know what these variables actually contain

> I always considered the -R options to be LD options, not library specifications really.
> The -L and -l options are library specifications, but -R is just a path that gets baked into the .so
> for runtime access to the libraries, the paths don't have to exist at build time.

The paths that get baked in at build time may not exist at runtime.

Also for cross-compilation the -R option is not recognized - which is what

build-infra: Cross-compilation of sizers utility has been broken

is all about. So these two bugs seems to be overlapping somewhat - but 
the real fix is 8003958.


> -kto
> On Jan 8, 2013, at 5:35 AM, Erik Joelsson wrote:
>> Filter away -R flags from X_LIBS variable in configure.

More information about the build-dev mailing list