This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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 bootstrap/50064] New: Failure in stage 2 (lazy binding) on openbsd


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50064

             Bug #: 50064
           Summary: Failure in stage 2 (lazy binding) on openbsd
    Classification: Unclassified
           Product: gcc
           Version: 4.6.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: julien@trigofacile.com


Hi,

I am trying to bootstrap GCC 4.6.1 on OpenBSD 4.6 GENERIC#43 sparc64 (it is in
fact gcc64 in the GCC Compile Farm <http://gcc.gnu.org/wiki/CompileFarm>).
/usr/bin/uname -p = SUNW,UltraSPARC-IIIi (rev 2.4) @ 1002 MHz

Build is initially done with GCC 3.3.5.

Configure flags:
./configure --prefix=/home/iulius/autobuild/bin/gcc-core-4.6.1
--with-gmp=/home/iulius/autobuild/bin/gmp-4.3.2
--with-mpfr=/home/iulius/autobuild/bin/mpfr-2.4.2
--with-mpc=/home/iulius/autobuild/bin/mpc-0.8.1






Checking multilib configuration for libgcc...
Configuring stage 2 in sparc64-unknown-openbsd4.6/libgcc
configure: loading cache ./config.cache
checking for --enable-version-specific-runtime-libs... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for gawk... nawk
checking build system type... sparc64-unknown-openbsd4.6
checking host system type... sparc64-unknown-openbsd4.6
checking for sparc64-unknown-openbsd4.6-ar... ar
checking for sparc64-unknown-openbsd4.6-lipo... lipo
checking for sparc64-unknown-openbsd4.6-nm...
/home/iulius/autobuild/src/gcc-core-4.6.1/host-sparc64-unknown-openbsd4.6/gcc/nm
checking for sparc64-unknown-openbsd4.6-ranlib... ranlib
checking for sparc64-unknown-openbsd4.6-strip... strip
checking whether ln -s works... yes
checking for sparc64-unknown-openbsd4.6-gcc...
/home/iulius/autobuild/src/gcc-core-4.6.1/host-sparc64-unknown-openbsd4.6/gcc/xgcc
-B/home/iulius/autobuild/src/gcc-core-4.6.1/host-sparc64-unknown-openbsd4.6/gcc/
-B/home/iulius/autobuild/bin/gcc-core-4.6.1/sparc64-unknown-openbsd4.6/bin/
-B/home/iulius/autobuild/bin/gcc-core-4.6.1/sparc64-unknown-openbsd4.6/lib/
-isystem
/home/iulius/autobuild/bin/gcc-core-4.6.1/sparc64-unknown-openbsd4.6/include
-isystem
/home/iulius/autobuild/bin/gcc-core-4.6.1/sparc64-unknown-openbsd4.6/sys-include 
checking for suffix of object files... configure: error: in
`/home/iulius/autobuild/src/gcc-core-4.6.1/sparc64-unknown-openbsd4.6/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
gmake[2]: *** [configure-stage2-target-libgcc] Error 1


config.log ->

/home/iulius/autobuild/src/gcc-core-4.6.1/libgcc/configure
--cache-file=./config.cache --enable-multilib
--prefix=/home/iulius/autobuild/bin/gcc-core-4.6.1
--with-gmp=/home/iulius/autobuild/bin/gmp-4.3.2
--with-mpfr=/home/iulius/autobuild/bin/mpfr-2.4.2
--with-mpc=/home/iulius/autobuild/bin/mpc-0.8.1 --enable-languages=c,lto
--program-transform-name=s,y,y, --disable-option-checking
--with-target-subdir=sparc64-unknown-openbsd4.6
--build=sparc64-unknown-openbsd4.6 --host=sparc64-unknown-openbsd4.6
--target=sparc64-unknown-openbsd4.6 --srcdir=../.././libgcc
--with-build-libsubdir=host-sparc64-unknown-openbsd4.6



configure:3055:
/home/iulius/autobuild/src/gcc-core-4.6.1/host-sparc64-unknown-openbsd4.6/gcc/xgcc
-B/home/iulius/autobuild/src/gcc-core-4.6.1/host-sparc64-unknown-openbsd4.6/gcc/
-B/home/iulius/autobuild/bin/gcc-core-4.6.1/sparc64-unknown-openbsd4.6/bin/
-B/home/iulius/autobuild/bin/gcc-core-4.6.1/sparc64-unknown-openbsd4.6/lib/
-isystem
/home/iulius/autobuild/bin/gcc-core-4.6.1/sparc64-unknown-openbsd4.6/include
-isystem
/home/iulius/autobuild/bin/gcc-core-4.6.1/sparc64-unknown-openbsd4.6/sys-include
   -o conftest -g -O2   conftest.c  >&5
/home/iulius/autobuild/src/gcc-core-4.6.1/host-sparc64-unknown-openbsd4.6/gcc/cc1:/home/iulius/autobuild/src/gcc-core-4.6
.1/host-sparc64-unknown-openbsd4.6/gcc/cc1: undefined symbol ''
lazy binding failed!
cc1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
configure:3058: $? = 1
configure:3246: checking for suffix of object files
configure:3268:
/home/iulius/autobuild/src/gcc-core-4.6.1/host-sparc64-unknown-openbsd4.6/gcc/xgcc
-B/home/iulius/autobuild/src/gcc-core-4.6.1/host-sparc64-unknown-openbsd4.6/gcc/
-B/home/iulius/autobuild/bin/gcc-core-4.6.1/sparc64-unknown-openbsd4.6/bin/
-B/home/iulius/autobuild/bin/gcc-core-4.6.1/sparc64-unknown-openbsd4.6/lib/
-isystem
/home/iulius/autobuild/bin/gcc-core-4.6.1/sparc64-unknown-openbsd4.6/include
-isystem
/home/iulius/autobuild/bin/gcc-core-4.6.1/sparc64-unknown-openbsd4.6/sys-include
   -c -g -O2  conftest.c >&5
/home/iulius/autobuild/src/gcc-core-4.6.1/host-sparc64-unknown-openbsd4.6/gcc/cc1:/home/iulius/autobuild/src/gcc-core-4.6
.1/host-sparc64-unknown-openbsd4.6/gcc/cc1: undefined symbol ''
lazy binding failed!
cc1: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
configure:3272: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU C Runtime Library"
| #define PACKAGE_TARNAME "libgcc"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "GNU C Runtime Library 1.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL "http://www.gnu.org/software/libgcc/";
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:3286: error: in
`/home/iulius/autobuild/src/gcc-core-4.6.1/sparc64-unknown-openbsd4.6/libgcc':
configure:3288: error: cannot compute suffix of object files: cannot compile





I'm sorry I do not manage to find where xgcc puts preprocessed files.
I added in Makefile "-save-tmps" in the three places where xgcc appear but it
does not seem to write them.
find . | grep '\.i'
at the root of the tree does not show me such files.


Please tell me in case you want some more information.
Thanks beforehand,

Julien


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