Re: [lfs-support] Step 6.9: error: missing __attribute__ ((constructor)) support

2018-02-15 Thread René Nyffenegger
I'm afraid your problem is just a stupid typo somewhere in either glibc, binutils or gcc, either in chapter 5 or 6. Tim, you're right. I must have overlooked something. I was able to build Glibc in the second step now. -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ:

Re: [lfs-support] Step 6.9: error: missing __attribute__ ((constructor)) support

2018-02-15 Thread René Nyffenegger
you seem to be misreading what the book says. The current stable book is 8.1, and the following specific minimum versions are mentioned: gcc-4.7 (you imply versions > 4.4.1 are not tested) glibc-2.11. As Pierre said, gcc-7.3.0 did not exist when 8.1 was released. In practice it should be

Re: [lfs-support] Step 6.9: error: missing __attribute__ ((constructor)) support

2018-02-14 Thread Ken Moffat
On Wed, Feb 14, 2018 at 02:28:06PM +0100, René Nyffenegger wrote: > >I also paid too little attention: my gcc version is 7.3.0 and the book >explicitely states that versions +4.4.1 are not recommended. >Similar thing with glibc which is version 2.26 (versions +2.10.1 not being >

Re: [lfs-support] Step 6.9: error: missing __attribute__ ((constructor)) support

2018-02-14 Thread Tim Tassonis
Hi René On 02/14/2018 02:28 PM, René Nyffenegger wrote: Please do not top post. According to what you say, there should be no need to add libc_cv_ctors_header=yes. Looking at my logs, I have, during the configure stage: -- checking whether to use .ctors/.dtors header and

Re: [lfs-support] Step 6.9: error: missing __attribute__ ((constructor)) support

2018-02-14 Thread René Nyffenegger
Please do not top post. According to what you say, there should be no need to add libc_cv_ctors_header=yes. Looking at my logs, I have, during the configure stage: -- checking whether to use .ctors/.dtors header and trailer... no -- in both chapter 5 and

Re: [lfs-support] Step 6.9: error: missing __attribute__ ((constructor)) support

2018-02-12 Thread Pierre Labastie
On 12/02/2018 13:45, René Nyffenegger wrote: > I am following the "current stable" version according to "Read Online" > (http://www.linuxfromscratch.org/lfs/read.html) > > I am trying to build LFS on Ubuntu 17.10, 64 Bit Intel. > > > On 12.02.2018 12:28, Pierre Labastie wrote: >> On 12/02/2018

Re: [lfs-support] Step 6.9: error: missing __attribute__ ((constructor)) support

2018-02-12 Thread René Nyffenegger
I am following the "current stable" version according to "Read Online" (http://www.linuxfromscratch.org/lfs/read.html) I am trying to build LFS on Ubuntu 17.10, 64 Bit Intel. On 12.02.2018 12:28, Pierre Labastie wrote: > On 12/02/2018 11:34, René Nyffenegger wrote: >> In Step 6.9 >>

Re: [lfs-support] Step 6.9: error: missing __attribute__ ((constructor)) support

2018-02-12 Thread Pierre Labastie
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__