public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/10545] New: forced_unwind and c_cleanup needed when cross-compiling
@ 2009-08-21 19:22 pi00100100 at gmail dot com
  2009-10-30  4:56 ` [Bug libc/10545] " drepper at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: pi00100100 at gmail dot com @ 2009-08-21 19:22 UTC (permalink / raw)
  To: glibc-bugs

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.

Thanks.

-- 
           Summary: forced_unwind and c_cleanup needed when cross-compiling
           Product: glibc
           Version: 2.9
            Status: NEW
          Severity: minor
          Priority: P2
         Component: libc
        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


http://sourceware.org/bugzilla/show_bug.cgi?id=10545

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug libc/10545] forced_unwind and c_cleanup needed when cross-compiling
  2009-08-21 19:22 [Bug libc/10545] New: forced_unwind and c_cleanup needed when cross-compiling pi00100100 at gmail dot com
@ 2009-10-30  4:56 ` drepper at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: drepper at redhat dot com @ 2009-10-30  4:56 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From drepper at redhat dot com  2009-10-30 04:55 -------
Cross-compiling is not supported.  You're on your own.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX


http://sourceware.org/bugzilla/show_bug.cgi?id=10545

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-10-30  4:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-21 19:22 [Bug libc/10545] New: forced_unwind and c_cleanup needed when cross-compiling pi00100100 at gmail dot com
2009-10-30  4:56 ` [Bug libc/10545] " drepper at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).