This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/5539] New: Test for "long double" size breaks cross-builds
- From: "lkundrak at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 3 Jan 2008 19:08:01 -0000
- Subject: [Bug libc/5539] New: Test for "long double" size breaks cross-builds
- Reply-to: sourceware-bugzilla at sourceware dot org
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.