[lfs-dev] GCC 7.1.0 pass 1 issue

Bruce Dubbs bruce.dubbs at gmail.com
Thu Jun 1 07:21:09 PDT 2017


Cyrillo Baggins wrote:
> Hi all,
>
> I'm following the instructions from
>
> http://www.linuxfromscratch.org/lfs/view/systemd/index.html
>
> 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
>    x86_64)
>      sed -e '/m64=/s/lib64/lib/' \
>          -i.orig gcc/config/i386/t-linux64
>   ;;
> esac
>
> 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 <http://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
> time.

I think you may have missed the step in the previous section (bunutils-pass1):

case $(uname -m) in
   x86_64) mkdir -v /tools/lib && ln -sv lib /tools/lib64 ;;
esac

   -- Bruce


More information about the lfs-dev mailing list