On Tue, 17 Nov 2020 at 17:47, Pierre Labastie via lfs-dev <lfs-dev@lists.linuxfromscratch.org> wrote: > > > Yes, I've seen this. It had something to do with stripping (so 1st > question is: did you strip binaries? Old versions (don't ask the > version, something around 2.28 IIRC) of strip do not recognize some > R_X86_64_xxx relocation items and replace them with R_X86_64_NONE, > which makes the symbol undefined... > > The cure is to use $LFS/usr/bin/strip for stripping. I'd say we should > put that in the instructions, actually, or change binutils requirement > to the first version which works.
Just to say that that worked. However, you may need to add in an LD_LIBRARY_PATH component so that the $LFS/usr/bin/strip can fix up the $LFS/usr/lib/libbfd-2.35 link dependency, so LD_LIBRARY_PATH=$LFS/usr/blib $LFS/usr/bin/strip Thanks again, for the pointer, Pierre. -- http://lists.linuxfromscratch.org/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page