[lfs-dev] binutils-2.27 major problem

Bruce Dubbs bruce.dubbs at gmail.com
Thu Aug 4 17:22:30 PDT 2016

Douglas R. Reno wrote:
> On Thu, Aug 4, 2016 at 6:03 PM, Bruce Dubbs <bruce.dubbs at gmail.com> wrote:
>> I started to test both binutils-2.27 and glibc-2.24 today and got a crash
>> at binutils-pass2.  I then backed off and tried binutils-2.27 with the
>> existing glibc and still got the crash.  Trying the new glibc and the old
>> binutils was OK.
>> The binutils-pass2 error is in the configure section:
>> configure:4496: checking whether the C compiler works
>> configure:4505: ./a.out
>> ../configure: line 4507: 31596 Segmentation fault      ./$ac_file
>> If you meant to cross compile, use `--host'.
>> I'm still investigating, but if anyone has a suggestion, let me know.
>> My next step will be to see what valid options can be used for --host.
>> Checking their 2.27 branch in git, all I have seen is:
> https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commit;h=dccb2ff522d2afba77301a046b37949356c29f88
> However, I am not sure if that is the case without more context. I can
> search through all commits since it was released and see if there is a fix
> present there.

Just now I was able to get binutils-pass2 to build with adding 
--host=$LFS_TGT like we do in  Libstdc++-6.1.0

That was just a preliminary indication.  I'll try a full build with that.

   -- Bruce

More information about the lfs-dev mailing list