Alexander E. Patrakov wrote:

> This completely avoids running the scripts/test-installation.pl script. 
> Would you count this as a cheat or as an acceptable solution? BTW DIY 
> has a nice description of the problem (see the first Rationale note 
> under http://www.diy-linux.org/x86-reference-build/chroot.html#c-glibc), 
> but uses a different solution:
> 
> sed -i.bak \
>       's,libs -o,libs -L/usr/lib -o,' \
>       scripts/test-installation.pl
> 
> However, there was a report that it doesn't work and needs the 
> -R/usr/lib to be added, and probably this still doesn't count as a clean 
> test because of the wrong ELF interpreter in the test program.

Thanks for the prodding. I've fixed this properly now by also adding

-Wl,-dynamic-linker=/lib/ld-linux.so.2

to the sed.

Regards
Greg
-- 
http://www.diy-linux.org/

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to