This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/10545] New: forced_unwind and c_cleanup needed when cross-compiling


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]