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/5539] New: Test for "long double" size breaks cross-builds


When configuring libc for cross-compiling like this:

$ ../libc/configure --host=sh3-redhat-linux

configure script tries to compile conftest.c with the cross-compiler and in turn
runs the resulting non-native binary.

checking size of long double... configure: error: cannot compute sizeof (long
double)

Commenting this out fixes the problem. Seems like sizeof_long_double si not used
anywhere anyways:

dnl check for the size of 'long double'.
AC_CHECK_SIZEOF(long double, 0)
sizeof_long_double=$ac_cv_sizeof_long_double
AC_SUBST(sizeof_long_double)

-- 
           Summary: Test for "long double" size breaks cross-builds
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper at redhat dot com
        ReportedBy: lkundrak at redhat dot com
                CC: glibc-bugs at sources dot redhat dot com


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

------- 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]