--- On Sat, 2/27/10, Bruce Dubbs <[email protected]> wrote:

> From: Bruce Dubbs <[email protected]>
> Subject: Re: Correction confirmed to CH5 GCC pass 1 or pre-requisites needs 
> changing.
> To: "LFS Book Maintenance List" <[email protected]>
> Date: Saturday, February 27, 2010, 10:13 PM
> Test Man wrote:
> 
> > 
> > But, Ch 5 gcc-4.4.3 Pass 1 fails with:
> > 
> > "checking for library containing strerror...
> configure: error: Link
> > tests are not allowed after GCC_NO_EXECUTABLES".
> 
> That's interesting.  I've never seen that before, but
> on my system 
> (64-bit), I have:
> 
> checking for library containing strerror... none required
> 
> libiberty/configure has that section:
> 
> if test x$gcc_no_link = xyes; then
>    { { echo "$as_me:$LINENO: error: Link
> tests are not allowed after 
> GCC_NO_EXECUTABLES."
> 
> Following back:
> 
> if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
>    (eval $ac_link) 2>&5
>    ac_status=$?
>    echo "$as_me:$LINENO: \$? = $ac_status"
> >&5
>    (exit $ac_status); }; then
>    gcc_no_link=no
> else
>    gcc_no_link=yes
> fi
> 
> What we are doing is effectively cross compiling and it
> looks like there 
> is a problem earlier in building binutils.
> 
>    -- Bruce
> -- 
> http://linuxfromscratch.org/mailman/listinfo/lfs-book
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
> 

Hello Bruce, thanks for your reply.

I can retry this on other x86 architectures, and also AMD64 to see if this has 
any relevance.

Do you know if there is anything I should look out for when building binutils 
prior to this stage? I guess there's not a lot to be gained from running tests, 
but if you think that might help I'll follow your advice.

regards,

Mr Nobby.


      

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

Reply via email to