Created attachment 371104 [details] gcc-4.7.3-r1-20140222-155827.log.xz --- log tail --------------------------------------------------------------- configure: error: unsupported system, cannot find sizeof (omp_lock_t) make[2]: *** [configure-stage2-target-libgomp] Errore 1 make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.7.3-r1/work/build' make[1]: *** [stage2-bubble] Errore 2 make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.7.3-r1/work/build' make: *** [bootstrap-lean] Errore 2 emake failed * ERROR: sys-devel/gcc-4.7.3-r1::gentoo failed (compile phase): * emake failed with bootstrap-lean * * Call stack: * ebuild.sh, line 93: Called src_compile * environment, line 3781: Called toolchain_src_compile * environment, line 4501: Called gcc_do_make * environment, line 1978: Called die * The specific snippet of code: * emake LDFLAGS="${LDFLAGS}" STAGE1_CFLAGS="${STAGE1_CFLAGS}" LIBPATH="${LIBPATH}" BOOT_CFLAGS="${BOOT_CFLAGS}" ${GCC_MAKE_TARGET} || die "emake failed with ${GCC_MAKE_TARGET}";
Created attachment 371106 [details] emerge --info
Created attachment 371108 [details] 32-libgomp-config.log.xz
config.log shows this is an abort in sandbox. On unrelated note, you probably want only LANG set, not LC_ALL.
---- off-topic ----- Thanks Rafał for your unrelated note, probably I've missed it in the gentoo install guide in 2006 (never need to reinstall since then, even after 2 machine upgrades... what amazing gentoo!) ---- end off-topic ----- About "the abort in sandbox", do you mean that the error message is unrelated with the failed configure phase? I've extracted what seems to me the relevant part of the log, did I miss something? -------------------------------------------------------------------------------- configure:16173: /var/tmp/portage/sys-devel/gcc-4.7.3-r1/work/build/./gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-4.7.3-r1/work/build/./gcc/ -B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isystem /usr/x86_64-pc-linux-gnu/include -isystem /usr/x86_64-pc-linux-gnu/sys-include -m32 -o conftest -g -march=native -mtune=native -O2 -pipe -pthread -pthread -include confdefs.h -include /var/tmp/portage/sys-devel/gcc-4.7.3-r1/work/gcc-4.7.3/libgomp/config/linux/omp-lock.h conftest.c >&5 configure:16173: $? = 0 configure:16173: ./conftest /usr/lib32/libsandbox.so(+0xb1ea)[0xf76f31ea] /usr/lib32/libsandbox.so(+0xb281)[0xf76f3281] /usr/lib32/libsandbox.so(+0x4099)[0xf76ec099] /usr/lib32/libsandbox.so(+0x4338)[0xf76ec338] /usr/lib32/libsandbox.so(fopen+0x90)[0xf76ee840] ./conftest[0x80484de] /lib32/libc.so.6(__libc_start_main+0xf5)[0x45d44cc5] ./conftest[0x804854d] /proc/22047/cmdline: ./conftest /var/tmp/portage/sys-devel/gcc-4.7.3-r1/work/gcc-4.7.3/libgomp/configure: line 1702: 22047 Aborted ./conftest$ac_exeext configure:16173: $? = 134 configure: program exited with status 134 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "GNU OpenMP Runtime Library" | #define PACKAGE_TARNAME "libgomp" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "GNU OpenMP Runtime Library 1.0" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "http://www.gnu.org/software/libgomp/" | #define PACKAGE "libgomp" | #define VERSION "1.0" | #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 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define STDC_HEADERS 1 | #define TIME_WITH_SYS_TIME 1 | #define STRING_WITH_STRINGS 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SEMAPHORE_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_GETLOADAVG 1 | #define HAVE_CLOCK_GETTIME 1 | #define HAVE_STRTOULL 1 | #define HAVE_PTHREAD_AFFINITY_NP 1 | #define HAVE_TLS 1 | #define HAVE_ATTRIBUTE_VISIBILITY 1 | #define HAVE_ATTRIBUTE_ALIAS 1 | #define HAVE_AS_SYMVER_DIRECTIVE 1 | #define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1 | #define LIBGOMP_GNU_SYMBOL_VERSIONING 1 | #define HAVE_SYNC_BUILTINS 1 | /* end confdefs.h. */ | | static long int longval () { return sizeof (omp_lock_t); } | static unsigned long int ulongval () { return sizeof (omp_lock_t); } | #include <stdio.h> | #include <stdlib.h> | int | main () | { | | FILE *f = fopen ("conftest.val", "w"); | if (! f) | return 1; | if ((sizeof (omp_lock_t)) < 0) | { | long int i = longval (); | if (i != (sizeof (omp_lock_t))) | return 1; | fprintf (f, "%ld", i); | } | else | { | unsigned long int i = ulongval (); | if (i != (sizeof (omp_lock_t))) | return 1; | fprintf (f, "%lu", i); | } | /* Do not output a trailing newline, as this causes \r\n confusion | on some platforms. */ | return ferror (f) || fclose (f) != 0; | | ; | return 0; | } configure:16176: error: unsupported system, cannot find sizeof (omp_lock_t)