[Clfs-support] Can i go chroot?

san san at plusnet.pl
Sat Sep 7 06:40:48 PDT 2013


Nope, it does not work too.


2013/9/7 san <san at plusnet.pl>

> I downloaded daily gmp (20130906) and it seems to work.
>
>
> 2013/9/7 san <san at plusnet.pl>
>
>> Yup!
>>
>> root:/sources/gmp-5.1.2# mv -v config{fsf,}.guess
>> 'configfsf.guess' -> 'config.guess'
>> root:/sources/gmp-5.1.2# mv -v config{fsf,}.sub
>> 'configfsf.sub' -> 'config.sub'
>>
>> root:/sources/gmp-5.1.2# CPPFLAGS=-fexceptions CC="gcc -isystem
>> /usr/include" \
>> > CXX="g++ -isystem /usr/include" \
>> > LDFLAGS="-Wl,-rpath-link,/usr/lib:/lib" \
>> >   ./configure --prefix=/usr --enable-cxx --enable-mpbsd
>> configure: WARNING: unrecognized options: --enable-mpbsd
>> checking build system type... i586-pc-linux-gnu
>> checking host system type... i586-pc-linux-gnu
>> checking for a BSD-compatible install... /tools/bin/install -c
>> checking whether build environment is sane... yes
>> checking for a thread-safe mkdir -p... /tools/bin/mkdir -p
>> checking for gawk... gawk
>> checking whether make sets $(MAKE)... yes
>> checking whether to enable maintainer-specific portions of Makefiles... no
>> checking ABI=32
>> checking compiler gcc -isystem /usr/include -m32 -O2 -pedantic
>> -fomit-frame-pointer -fexceptions... no, program does not run
>> checking compiler gcc -isystem /usr/include -O2 -pedantic
>> -fomit-frame-pointer -fexceptions... no, program does not run
>>  configure: error: could not find a working compiler, see config.log for
>> details
>>
>>
>>
>> 2013/9/6 William Harrington <kb0iic at berzerkula.org>
>>
>>>
>>> On Sep 6, 2013, at 5:08 AM, san wrote:
>>>
>>> checking compiler gcc -isystem /usr/include -m32 -O2 -pedantic
>>> -fomit-frame-pointer -fexceptions... no, program does not run
>>> checking compiler gcc -isystem /usr/include -O2 -pedantic
>>> -fomit-frame-pointer -fexceptions... no, program does not run
>>>
>>>
>>> Okay,
>>>
>>> When you built GMP did you read the note about if you are running on a
>>> different machine than the target and to copy configfsf.guess and
>>> configfsf.sub ?
>>>
>>> http://cross-lfs.org/view/CLFS-2.0.0/x86/final-system/gmp.html
>>>
>>> If you are using an i686 host to build an i586 toolchain, your i586
>>> toolchain won't be able to run programs unless you do that during GMP,
>>> because GMP will configure and optimize itself for the current CPU it is
>>> being built with.  If you look in your config.log when after configure
>>> fails, you will find the error of why the program can't run. It probably
>>> has illegal instructions or such.
>>>
>>> Sincerely,
>>>
>>> William Harrington
>>>
>>>
>>> _______________________________________________
>>> Clfs-support mailing list
>>> Clfs-support at lists.cross-lfs.org
>>> http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org
>>>
>>>
>>
>>
>> --
>> [ e-San.info | San at plusnet.pl ]
>>
>
>
>
> --
> [ e-San.info | San at plusnet.pl ]
>



-- 
[ e-San.info | San at plusnet.pl ]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clfs.org/pipermail/clfs-support-clfs.org/attachments/20130907/f77eae2f/attachment-0001.htm>


More information about the Clfs-support mailing list