On May 15, 2008, at 10:07 AM, samuel poette wrote: > > Hello, > > I am new to LFS and linux in general, > > But I want to learn and I am applying the LFS book to the letter... > > But I have a problem in Chapter 5... > > glibc cannot configure. > > I have looked at the log file but it only tells the same problem : > problem with init_array/fini_array support. > > here is the final piece of the configure command : > > /tools/bin/ld: unrecognized option '--hash-style=gnu' > /tools/bin/ld: use the --help option for usage information > collect2: ld returned 1 exit status > configure:5507: $? = 1 > configure:5520: result: no > configure:5523: error: Need linker with .init_array/.fini_array > support. > > can anyone help? I don't understand,
What's your path? Are you using the gcc you built in /tools? I see that /tools/bin/ld is being used, but if you aren't using your new gcc at /tools/bin/gcc, there will be problems. Make sure the output of 'type -p gcc' isn't /usr/bin/gcc or where your host gcc is located. William -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
