This is the mail archive of the
mailing list for the glibc project.
[Bug libc/10545] New: forced_unwind and c_cleanup needed when cross-compiling
- From: "pi00100100 at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 21 Aug 2009 19:21:47 -0000
- Subject: [Bug libc/10545] New: forced_unwind and c_cleanup needed when cross-compiling
- Reply-to: sourceware-bugzilla at sourceware dot org
I'm trying to cross-compile glibc-2.10.1 with gcc-4.4.1 from
i686-unknown-linux-gnu to x86_64-unknown-linux-gnu.
When configuring, I get the following error message:
checking for forced unwind support... no
configure: error: forced unwind support is required
I can fix this by adding libc_cv_forced_unwind=yes to the configure arguments
list, but then I get another error message:
checking for C cleanup handling... no
configure: error: the compiler must support C cleanup handling
The only way to get rid of this one is to add libc_cv_c_cleanup=yes to the
configure arguments list.
Is this the normal and recommended way of proceeding? Perhaps, instead, there is
another better way to accomplish glibc cross-compilation, but I don't know it.
In all cases, I think some more hints about cross-compiling should be included
somewhere in glibc documentation, perhaps on the wiki.
Summary: forced_unwind and c_cleanup needed when cross-compiling
AssignedTo: drepper at redhat dot com
ReportedBy: pi00100100 at gmail dot com
CC: glibc-bugs at sources dot redhat dot com
GCC build triplet: i686-unknown-linux-gnu
GCC host triplet: x86_64-unknown-linux-gnu
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.