Bootstrap error

Douglas B. Staple dstaple@dal.ca
Fri May 17 12:33:00 GMT 2013


I rm -rf 'd my objdir and re-ran the configure and make stages of my 
script (i.e. with the wget, tar, mv, and make install lines commented out):
./build_gcc.sh > output_MAY16_2013_1133.txt 2>&1

I uploaded the resulting output here:
http://myweb.dal.ca/~dstaple/output_MAY16_2013_1133.txt

Best,

Doug

On 2013-05-15 11:26 PM, Mihai Moldovan wrote:
> Not promising anything, but could you please upload (literally, as 
> sending it to
> the list probably won't work) the full build log? stdout including stderr.
>
> Mihai
>
> On 2013-05-14 3:15 PM, Douglas B. Staple wrote:
>> I just wanted to say that I didn't manage to solve this issue.  In 
>> addition to the below, I tried: (A) bootstrapping with an older 
>> version of GCC (3.4.6) and (B) bootstrapping with ICC 12.0.0.  I 
>> should've also mentioned that I'm rm -rf 'ing objdir between tries.  
>> I offered a small bounty for this on Super User, with no luck so far.
>>
>> Doug
>>
>> On 2013-05-07 9:55 AM, Douglas B. Staple wrote:
>>> Hey Jonathan,
>>>
>>> Thanks for the ideas. I tried:
>>> 1) removing the '-j 16'
>>> 2) using an absolute path when calling configure.
>>> 3) using the contrib/download_prerequisites script to download 
>>> mpfr-2.4.2, gmp-4.3.2, and mpc-0.8.1, instead of the newer versions 
>>> above.
>>> 4) setting the PWDCMD environment variable to an automounter-aware 
>>> pwd command (pawd).
>>>
>>> None of these things resolved the issue.  I'm out of ideas for now, 
>>> so I posted the question on Super User:
>>> http://superuser.com/questions/592552/bootstrap-error-while-compiling-gcc-4-8-0 
>>>
>>> If the answer comes up here then I'll post it there and vice versa.
>>>
>>> Doug
>>>
>>>
>>> On 2013-05-06 6:34 PM, Jonathan Wakely wrote:
>>>> Your procedure looks fine, I'm not sure why you get the bootstrap
>>>> comparison errors.
>>>>
>>>> Does objdir definitely not exist before you start?
>>>>
>>>> Have you tried without -j16 ?  It certainly should work with parallel
>>>> builds, but it could be worth checking that there isn't some problem
>>>> caused by that in your environment.
>>>>
>>>>
>>>> On 6 May 2013 18:09, Douglas B. Staple wrote:
>>>>> Hello all,
>>>>>
>>>>> I'm getting bootstrap errors while trying to install GCC and could 
>>>>> use some
>>>>> help.  I'm trying to compile my own copy of GCC from source, in my 
>>>>> home
>>>>> directory on a shared system (cluster).  The cluster has GCC 4.4.3 
>>>>> that I'm
>>>>> using to bootstrap the compilation. I wrote this little script to 
>>>>> show what
>>>>> I'm doing and to help in debugging:
>>>>>
>>>>> # Installation parameters
>>>>> gccver=4.8.0
>>>>> gmpver=5.1.1
>>>>> mpcver=1.0.1
>>>>> mpfrver=3.1.2
>>>>> prefix=$HOME/local
>>>>> langs=c,c++
>>>>>
>>>>> # Download source
>>>>> wget 
>>>>> ftp://gnu.mirror.iweb.com/gnu/gcc/gcc-${gccver}/gcc-${gccver}.tar.gz
>>>>> wget ftp://ftp.gnu.org/gnu/gmp/gmp-${gmpver}.tar.bz2
>>>>> wget ftp://ftp.gnu.org/gnu/mpc/mpc-${mpcver}.tar.gz
>>>>> wget ftp://ftp.gnu.org/gnu/mpfr/mpfr-${mpfrver}.tar.gz
>>>>>
>>>>> # Unpack source
>>>>> tar -xzvf gcc-${gccver}.tar.gz
>>>>> tar -xjvf gmp-${gmpver}.tar.bz2
>>>>> tar -xzvf mpc-${mpcver}.tar.gz
>>>>> tar -xzvf mpfr-${mpfrver}.tar.gz
>>>>>
>>>>> # Move dependency source directories into gcc source directory
>>>>> mv gmp-${gmpver} gcc-${gccver}/gmp
>>>>> mv mpc-${mpcver} gcc-${gccver}/mpc
>>>>> mv mpfr-${mpfrver} gcc-${gccver}/mpfr
>>>>>
>>>>> # create a build directory and change to it
>>>>> mkdir objdir
>>>>> pushd objdir
>>>>>
>>>>> # configure, make, check, and install gcc:
>>>>> ../gcc-${gccver}/configure --prefix=${prefix} 
>>>>> --enable-languages=${langs}
>>>>> make -j 16
>>>>> make install
>>>>>
>>>>> # return to the original directory
>>>>> popd
>>>>>
>>>>> The above fails during 'make' with the error: "Bootstrap comparison
>>>>> failure!"  I've attached the last few pages of output as 
>>>>> error.txt. If
>>>>> anyone has any suggestions then I'd be really happy to hear them.  
>>>>> Also, let
>>>>> me know what other information I can provide that would be relevant.



More information about the Gcc-help mailing list