On 12/02/2018 11:34, René Nyffenegger wrote:
In Step 6.9
(http://www.linuxfromscratch.org/lfs/view/stable/chapter06/glibc.html) I get
the following error when I run the ../configure script:
checking whether to use .ctors/.dtors header and trailer... configure:
error: missing __attribute__ ((constructor)) support??
This was already discussed on the mailing list:
http://archive.linuxfromscratch.org/mail-archives/lfs-dev/2011-August/064937.html
Apparently, adding
libc_cv_ctors_header=yes
to the invocation of the configure script helped.
http://archive.linuxfromscratch.org/mail-archives/lfs-dev/2011-August/064955.html
I am not sure in which step I should add this configre-setting: step 6.9, step
5.7 or another step?
Also, I am wondering if this bug(?) has not been fixed in the meantime.
Which version of the book, on which system, and which distro? With
recent versions of glibc, adding libc_cv_ctors_header=yes should not be
needed, at least on x86. But when it used to be needed, it was in
chapter 5 glibc.
Pierre
--
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