[lfs-dev] GCC 7.1.0 pass 1 issue

Cyrillo Baggins slimbag at gmail.com
Thu Jun 1 04:51:53 PDT 2017

Hi all,

I'm following the instructions from


I'm doing a new build from an older LFS system,  as I'm on x86_64 at step
5.5.1 I ran the command :

case $(uname -m) in
    sed -e '/m64=/s/lib64/lib/' \
        -i.orig gcc/config/i386/t-linux64

if I understand correctly all libs should be installed at /tools/lib but
 install still puts the following files under /tools/lib64:

-rwxr-xr-x 1 lfs lfs  960 Jun  1 18:46 libcc1.la
lrwxrwxrwx 1 lfs lfs   15 Jun  1 18:46 libcc1.so -> libcc1.so.0.0.0
lrwxrwxrwx 1 lfs lfs   15 Jun  1 18:46 libcc1.so.0 -> libcc1.so.0.0.0
-rwxr-xr-x 1 lfs lfs 129K Jun  1 18:46 libcc1.so.0.0.0

the build went fine until gcc-pass2 failed, once I manually moved the files
from /tools/lib64 to /tools/lib the problem was fixed.

I didn't encounter any issues with gcc 6.3.0 so not sure what changed this

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-dev/attachments/20170601/e9f26d4d/attachment.html>

More information about the lfs-dev mailing list