[lfs-dev] Package Freeze

Bruce Dubbs bruce.dubbs at gmail.com
Tue Aug 16 23:50:05 PDT 2016


Thierry Nuttens wrote:
>> I built gcc-6.2.0-RC-20160815 using the blfs instructions and it completed
>> OK but took 98 minutes (only c, c++).  Starting the test now.

>>    -- Bruce

> Build on top of  the gcc 6.1 works for me too.
>
> Would be nice if somebody could check that it works in chapter 5 as
> well. They must some to change

I think I've got it figured out.  Even though the package is labelled 
gcc-6.2.0-RC-20160815, internally it thinks it is version 6.1.1.

I changed the instructions for  libstdc++ to use:
--with-gxx-include-dir=/tools/$LFS_TGT/include/c++/6.1.1

I also renamed the extracted directory to gcc-6.1.1 when I build pass2, 
but I don't think that did anything.

In any case, I was able to build gcc-pass2 to completion.

The way I figured it out was to do:

x86_64-lfs-linux-gnu-c++ dummy.c -v -Wl,--verbose &> dummy.log

and the search path in the log indicated 6.1.1.  Actually I did not need 
to rebuild libstdc++.  I just renamed the directory 
/tools/$LFS_TGT/include/c++/6.2.0-RC-20160815 to 
/tools/$LFS_TGT/include/c++/6.1.1

   -- Bruce





More information about the lfs-dev mailing list