Le 14/03/2012 03:02, Andrew Benton a écrit :
> On Tue, 13 Mar 2012 22:37:30 +0000
> "Gilles Espinasse"<g....@free.fr>  wrote:
>
>> ----- Original Message -----
>> From: "Andrew Benton"<a...@benton.eu.com>
>> To:<lfs-dev@linuxfromscratch.org>
>> Sent: Tuesday, March 13, 2012 11:00 PM
>> Subject: Re: [lfs-dev] gcc cross patch in pass1
>>
>>
>>> On Tue, 13 Mar 2012 17:40:03 +0000
>>> Bruce Dubbs<bruce.du...@gmail.com>  wrote:
>>>
>>>> I'm having a problem with why this is happening.
>>> Me too...
>>>
>>>>   The jhalfs vanilla LFS
>>>> svn build worked perfectly for me.
>>>>
>>>>    http://www.linuxfromscratch.org/~bdubbs/033-gcc-pass1
>>> Looking at your log I see:
>>> *** This configuration is not supported in the following subdirectories:
>>>       target-libquadmath gnattools target-libada target-libstdc++-v3
>> target-libgfortran target-libgo target-libffi target-zlib target-libjava
>> target-libobjc target-libgomp target-libmudflap target-libssp
>> target-boehm-gc
>>>      (Any other directories should still work fine.)
>>>
>>> Notice the target-zlib in there? For me I get:
>>> *** This configuration is not supported in the following subdirectories:
>>>       target-libquadmath target-libstdc++-v3 target-libgomp
>> target-libmudflap target-libssp
>>>      (Any other directories should still work fine.)
>>>
>>> So it would seem that for you, configure sees that target-zlib will not
>>> work and doesn't try to compile gcc-build/x86_64-lfs-linux-gnu/zlib
>>> For me, configure thinks target-zlib will work and it has a go.
>>>
>>> Andy
>>> -- 
>> If I trust this post
>> http://www.eglibc.org/archives/patches/msg01051.html
>> target-zlib should not be build unless building java and that should not be
>> done on gcc pass1.
>>
>> The question should be why target-libgfortran target-libgo target-libffi
>> target-zlib target-libjava target-libobjc will be build in Andrew
>> configuration.
>> Is --enable-languages=c somehow skipped from configure?
> No. --enable-languages=c is in the script jhalfs made from the LFS xml.
> target-libgfortran target-libgo target-libffi target-libjava
> target-libobjc are not built because the source is not available...
> which led me try a new solution: rm -rf zlib. It worked. I think it's a
> neater solution than the patch, so I think I'll be doing that in
> future.
>
> Andy
I have libgfortran, libgo, libffi, libjava, libobjc in the source dir! 
Could it be that
since you do not have those dirs, configure somehow "forgets" to
disable target-zlib? Have you tried to build
with the full source of gcc?
Pierre


-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to