Code: Select all
x86_64-pc-linux-gnu-gcc -c -I. -I. -march=athlon64 -O2 -pipe -DMAXWIN=100 -DNONETHACK display.c
process.c: In function 'confirm_fn':
process.c:5469: warning: cast from pointer to integer of different size
x86_64-pc-linux-gnu-gcc -c -I. -I. -march=athlon64 -O2 -pipe -DMAXWIN=100 -DNONETHACK acls.c
x86_64-pc-linux-gnu-gcc -c -I. -I. -march=athlon64 -O2 -pipe -DMAXWIN=100 -DNONETHACK braille.c
x86_64-pc-linux-gnu-gcc -c -I. -I. -march=athlon64 -O2 -pipe -DMAXWIN=100 -DNONETHACK braille_tsi.c
x86_64-pc-linux-gnu-gcc -c -I. -I. -march=athlon64 -O2 -pipe -DMAXWIN=100 -DNONETHACK logfile.c
x86_64-pc-linux-gnu-gcc -c -I. -I. -march=athlon64 -O2 -pipe -DMAXWIN=100 -DNONETHACK layer.c
See `config.log' for more details.
*
* ERROR: sys-libs/glibc-2.8_p20080602-r1 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 3547: Called eblit-run 'src_compile'
* environment, line 1100: Called eblit-glibc-src_compile
* src_compile.eblit, line 179: Called src_compile
* environment, line 3547: Called eblit-run 'src_compile'
* environment, line 1100: Called eblit-glibc-src_compile
* src_compile.eblit, line 187: Called toolchain-glibc_src_compile
* src_compile.eblit, line 120: Called glibc_do_configure 'nptl'
* src_compile.eblit, line 97: Called die
* The specific snippet of code:
* "${S}"/configure ${myconf} || die "failed to configure glibc"
* The die message:
* failed to configure glibc
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/sys-libs/glibc-2.8_p20080602-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-libs/glibc-2.8_p20080602-r1/temp/environment'.
*
Code: Select all
configure:8251: ./conftest
/var/tmp/portage/sys-libs/glibc-2.8_p20080602-r1/work/glibc-2.8-20080602/configure: line 8252: 9552 Segmentation fault ./conftest$ac_exeext
configure:8254: $? = 139
configure: program exited with status 139
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "GNU C Library"
| #define PACKAGE_TARNAME "c-library"
| #define PACKAGE_VERSION "(see version.h)"
| #define PACKAGE_STRING "GNU C Library (see version.h)"
| #define PACKAGE_BUGREPORT "glibc"
| #define HAVE_LIBIDN 1
| #define USE_REGPARMS 1
| #define ASM_GLOBAL_DIRECTIVE .globl
| #define HAVE_ASM_SET_DIRECTIVE 1
| #define ASM_TYPE_DIRECTIVE_PREFIX @
| #define DO_VERSIONING 1
| #define HAVE_ASM_PREVIOUS_DIRECTIVE 1
| #define HAVE_Z_COMBRELOC 1
| #define ENABLE_OLD_SSP_COMPAT 1
| #define NO_UNDERSCORES 1
| #define HAVE_ASM_WEAK_DIRECTIVE 1
| #define HAVE_ASM_CFI_DIRECTIVES 1
| #define HAVE_BUILTIN_EXPECT 1
| #define HAVE_BUILTIN_REDIRECTION 1
| #define HAVE___THREAD 1
| #define HAVE_TLS_MODEL_ATTRIBUTE 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| /* end confdefs.h. */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| # include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| # include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| typedef long double ac__type_sizeof_;
| static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
| static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
| #include <stdio.h>
| #include <stdlib.h>
| int
| main ()
| {
|
| FILE *f = fopen ("conftest.val", "w");
| if (! f)
| return 1;
| if (((long int) (sizeof (ac__type_sizeof_))) < 0)
| {
| long int i = longval ();
| if (i != ((long int) (sizeof (ac__type_sizeof_))))
| return 1;
| fprintf (f, "%ld\n", i);
| }
| else
| {
| unsigned long int i = ulongval ();
| if (i != ((long int) (sizeof (ac__type_sizeof_))))
| return 1;
| fprintf (f, "%lu\n", i);
| }
| return ferror (f) || fclose (f) != 0;
|
| ;
| return 0;
| }
configure:8265: error: cannot compute sizeof (long double)
See `config.log' for more details.
Another odd thing is that the code mentioned in the log can be compiled and run OK - giving the answer 16 in conftest.val .
