*Hi guys,* * * *I am doing the lfs 7.2, I downloaded all packages from the official site according the book. * *And I have successfully install the binutils-2.22 (pass 1), gcc-4.7.1(pass 1), linux-api-header (3.5.2) . * *But I was blocked by a config error of glibc 2.16.0.* * * *The configure error message as follows:* *checking whether to put _rtld_local into .sdata section... no* *checking for .preinit_array/.init_array/.fini_array support... yes* *checking whether to use .ctors/.dtors header and trailer... (cached) yes* *checking for libunwind-support in compiler... no* *checking for -z nodelete option... yes* *checking for -z nodlopen option... yes* *checking for -z initfirst option... yes* *checking for -z relro option... no* *configure: error: linker with -z relro support required*
*here is the environment I used to play lfs * *liuxiaohui@debian:/mnt/lfs/sources$ uname -a* *Linux debian 3.2.0-4-486 #1 Debian 3.2.32-1 i686 GNU/Linux* *liuxiaohui@debian:/mnt/lfs/sources$ gcc --version* *gcc (Debian 4.7.1-7) 4.7.1* *Copyright (C) 2012 Free Software Foundation, Inc.* *This is free software; see the source for copying conditions. There is NO* *warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * * * *liuxiaohui@debian:/mnt/lfs/sources$ ld --version* *GNU ld (GNU Binutils for Debian) 2.22* *Copyright 2011 Free Software Foundation, Inc.* *This program is free software; you may redistribute it under the terms of* *the GNU General Public License version 3 or (at your option) a later version.* *This program has absolutely no warranty.* *Anybody knows what is the reason ?* * * *Thank you very much!* -- Best Regards! ------------------------------------------ 刘晓晖 Xiaohui Liu
-- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
