../glibc-2.20/configure \
--prefix=/tools \
--host=$LFS_TGT \
--build=$(../glibc-2.20/scripts/config.guess) \
--disable-profile \
--enable-kernel=2.6.32 \
--with-headers=/tools/include \
libc_cv_forced_unwind=yes \
libc_cv_ctors_header=yes \
libc_cv_c_cleanup=yes


the output is :
checking for .preinit_array/.init_array/.fini_array support... no
configure: error: Need linker with .init_array/.fini_array support.




the message in config.log maybe help :


## --------- ##
## Platform. ##
## --------- ##


hostname = linux-ubpj.site
uname -m = x86_64
uname -r = 3.16.6-2-desktop
uname -s = Linux
uname -v = #1 SMP PREEMPT Mon Oct 20 13:47:22 UTC 2014 (feb42ea)


/usr/bin/uname -p = x86_64
/bin/uname -X     = unknown


/bin/arch              = x86_64
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown


PATH: /tools/bin
PATH: /bin
PATH: /usr/bin


...


gcc version 4.9.1 (GCC) 
configure:2735: $? = 0
configure:2724: x86_64-lfs-linux-gnu-gcc -V >&5
x86_64-lfs-linux-gnu-gcc: error: unrecognized command line option '-V'
x86_64-lfs-linux-gnu-gcc: fatal error: no input files
compilation terminated.
configure:2735: $? = 1
configure:2724: x86_64-lfs-linux-gnu-gcc -qversion >&5
x86_64-lfs-linux-gnu-gcc: error: unrecognized command line option '-qversion'
x86_64-lfs-linux-gnu-gcc: fatal error: no input files
compilation terminated.


...


configure:3088: x86_64-lfs-linux-gnu-g++ -V >&5
x86_64-lfs-linux-gnu-g++: error: unrecognized command line option '-V'
x86_64-lfs-linux-gnu-g++: fatal error: no input files
compilation terminated.
configure:3099: $? = 1


...


configure:27: x86_64-lfs-linux-gnu-gcc -c -g -O2  conftest.c >&5
conftest.c:12:3: error: #error not x32
 # error not x32


...


configure:3960: checking for assembler and linker STT_GNU_IFUNC support
/mnt/lfs/tools/bin/../lib/gcc/x86_64-lfs-linux-gnu/4.9.1/../../../../x86_64-lfs-linux-gnu/bin/ld:
 this linker was not configured to use sysroots
collect2: error: ld returned 1 exit status


...


configure:5471: checking for .set assembler directive
/mnt/lfs/tools/bin/../lib/gcc/x86_64-lfs-linux-gnu/4.9.1/../../../../x86_64-lfs-linux-gnu/bin/ld:
 this linker was not configured to use sysroots
collect2: error: ld returned 1 exit status


thanks in advance 


i am new to lfs. and i have ask google, but the answer is not useful


(opensuse 13.2)‍
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to