[lfs-support] ALFS: glibc-2.26, pass-1 fails

Bruce Dubbs bruce.dubbs at gmail.com
Fri Sep 22 12:37:47 PDT 2017

Pol Vangheluwe wrote:
> I already built successfully LFS-7.2 on a PowerPC G4 with ALFS.

>   It is maybe good to know that I never can run the build in one move.  I
> get sometimes a segmentation error when building gcc or glibc.  It is not
> reproducable: when I retry (with make -C $LFS/jhalfs) then it succeeds or
> it ends with a segfault in another point of the build process.  It must
> have to do with the limited system resources (1.972 GB RAM and 3.660 swap
> space) or a latency problem.  I try to avoid this by disabling as much
> systemd services as possible and by extending the stack space.
> The error, I am struggling with, appears when I am so lucky to finish the
> build of glibc.

Programs working and failing randomly really point to HW problems. 
Depending on the exact model, PPC G4s go back to 1999.

You should be able to build with 2G RAM+3G swap, so that is probably not 
the issue.

   -- Bruce

More information about the lfs-support mailing list