On 03/08/2011 18:20, Andrew Benton wrote: > On Wed, 3 Aug 2011 9:19:40 -0600 > Matthew Burgess<matt...@linuxfromscratch.org> wrote: > >> On Tue, 2 Aug 2011 17:20:29 +0100, Andrew Benton<b3n...@gmail.com> wrote: >> >>> checking whether to use .ctors/.dtors header and trailer... configure: >>> error: missing __attribute__ ((constructor)) support?? >> >> Looks like that was caused by this change (apologies if the link >> wraps awkwardly!). >> >> http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=62bede1313c3a1fa477a092006d64436de6821b1;hp=78a7eee7fab0802addf500c481335ed6e9899bda >> >> Does adding 'libc_cv_ctors_header=yes' to the end of the configure invocation >> get you any further? >> > > Yes it does. Good work. Thanks for your help.
Well, I'd class it as a workaround rather than a 'fix' for now, as I don't know enough about the toolchain to explain why that test fails with a cross-compiler but not with a native compiler. At least it gets you a bit further though. Good luck! Regards, Matt. -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page