Trouble doing bootstrap
Paul Koning
paul_koning@dell.com
Thu Oct 14 01:07:00 GMT 2010
On Oct 13, 2010, at 6:41 PM, Dave Korn wrote:
> On 13/10/2010 22:34, Paul Koning wrote:
>
>> On my Linux system (CentOS 5.5) I'm trying to do a bootstrap of the current
>> trunk. I have the dependencies (mpc, mfpr, gmp) installed.
>>
>> Did configure, no issues.
>>
>> Did "make bootstrap". Stage 1 runs clean up to
>> "configure-stage1-target-libgcc" where it runs into "can't compile".
>>
>> Config.log reveals that cc1 (the one that was just built) can't find
>> libmpc.so.
>>
>> Why not? It's installed... is it looking in the wrong place? I would
>> expect a simple configure with a simple make bootstrap to do the right
>> thing.
>>
>> I tried configure with --with-mpc pointing to the right mpc explicitly. No
>> difference, same failure at the same spot.
>>
>> Do I need to have mpc in the build tree so it's built along with gcc? That
>> seems strange, and it certainly isn't documented in
>> http://gcc.gnu.org/contribute.html
>
> If mpc isn't in your standard $prefix, you'll need to point at it using
> LD_LIBRARY_PATH.
>
> cheers,
> DaveK
Explicitly setting LD_LIBRARY_PATH seems to cure the problem. It would be good to have that called out in the procedures (or, preferably, made not to be necessary).
paul
More information about the Gcc
mailing list