public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/37050]  New: gcc-4.3.1 bootstrap failure on sparc Solaris 10
@ 2008-08-07 19:12 Jay dot St dot Pierre at Colorado dot EDU
  2008-08-09 16:35 ` [Bug target/37050] " Jay dot St dot Pierre at Colorado dot EDU
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Jay dot St dot Pierre at Colorado dot EDU @ 2008-08-07 19:12 UTC (permalink / raw)
  To: gcc-bugs

Since I am unable to bootstrap gcc-4.3.1 using the Sun cc compiler (see bug
Bug#: 33304), I attempted to compile using Sun's version of gcc
(http://cooltools.sunsource.net/gcc/).  This does not work either.  The
configure fails in the sparc-sun-solaris2.10/libgcc directory.

The version of gcc being used is:
/gcc -v
Using built-in specs.
Target: sparc-sun-solaris2.10
Configured with:
/net/clpt-v490-1/export/data/bldmstr/20080102_phobos_gcc42/src/configure
--prefix=/usr/sfw --enable-shared --with-system-zlib --enable-checking=release
--disable-libmudflap --enable-languages=c,c++
--enable-version-specific-runtime-libs --with-cpu=v9 --with-ld=/usr/ccs/bin/ld
--without-gnu-ld --disable-gnattools --with-mpfr=/ws/gccfss/tools
--with-gmp=/ws/gccfss/tools
Thread model: posix
gcc version 4.2.0 (gccfss)

The configure command is:
/bin/ksh
/appl/local_sde_dev/src/gcc/gcc-4.3.1/sparc-SunOS-5.10/gcc-4.3.1-obj/../gcc-4.3.1/configure
--prefix=/usr/local/sde/gcc-4.3.1 --with-gmp=/usr/local/sde
--with-mpfr=/usr/local/sde --disable-nls

Note that gmp and mpfr are compiled into static libraries only, and I set
ABI=32 for gmp.

The "make bootstrap" terminates with:

checking for suffix of object files... configure: error: cannot compute suffix
of object files: cannot compile
See `config.log' for more details.

The following is an extract from the config.log (from the
sparc-sun-solaris2.10/libgcc directory) that has the following error message:

Reading specs from
/appl/local_sde_dev/src/gcc/gcc-4.3.1/sparc-SunOS-5.10/gcc-4.3.1-obj/./gcc/specs
Target: sparc-sun-solaris2.10
Configured with:
/appl/local_sde_dev/src/gcc/gcc-4.3.1/sparc-SunOS-5.10/gcc-4.3.1-obj/../gcc-4.3.1/configure
--prefix=/usr/local/sde/gcc-4.3.1 --with-gmp=/usr/local/sde
--with-mpfr=/usr/local/sde --disable-nls
Thread model: posix
gcc version 4.3.1 (GCC)
configure:2374: $? = 0
configure:2376:
/appl/local_sde_dev/src/gcc/gcc-4.3.1/sparc-SunOS-5.10/gcc-4.3.1-obj/./gcc/xgcc
-B/appl/local_sde_dev/src/gcc/gcc-4.3.1/sparc-SunOS-5.10/gcc-4.3.1-obj/./gcc/
-B/usr/local/sde/gcc-4.3.1/sparc-sun-solaris2.10/bin/
-B/usr/local/sde/gcc-4.3.1/sparc-sun-solaris2.10/lib/ -isystem
/usr/local/sde/gcc-4.3.1/sparc-sun-solaris2.10/include -isystem
/usr/local/sde/gcc-4.3.1/sparc-sun-solaris2.10/sys-include -V </dev/null >&5
xgcc: '-V' must come at the start of the command line
configure:2379: $? = 1
configure:2398:
/appl/local_sde_dev/src/gcc/gcc-4.3.1/sparc-SunOS-5.10/gcc-4.3.1-obj/./gcc/xgcc
-B/appl/local_sde_dev/src/gcc/gcc-4.3.1/sparc-SunOS-5.10/gcc-4.3.1-obj/./gcc/
-B/usr/local/sde/gcc-4.3.1/sparc-sun-solaris2.10/bin/
-B/usr/local/sde/gcc-4.3.1/sparc-sun-solaris2.10/lib/ -isystem
/usr/local/sde/gcc-4.3.1/sparc-sun-solaris2.10/include -isystem
/usr/local/sde/gcc-4.3.1/sparc-sun-solaris2.10/sys-include -o conftest -g
-fkeep-inline-functions   conftest.c  >&5
conftest.c:1: 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.

Please let me know what more information you would like.


-- 
           Summary: gcc-4.3.1 bootstrap failure on sparc Solaris 10
           Product: gcc
           Version: 4.3.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: Jay dot St dot Pierre at Colorado dot EDU
 GCC build triplet: sparc-sun-solaris2.10
  GCC host triplet: sparc-sun-solaris2.10
GCC target triplet: sparc-sun-solaris2.10


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug target/37050] gcc-4.3.1 bootstrap failure on sparc Solaris 10
  2008-08-07 19:12 [Bug c/37050] New: gcc-4.3.1 bootstrap failure on sparc Solaris 10 Jay dot St dot Pierre at Colorado dot EDU
@ 2008-08-09 16:35 ` Jay dot St dot Pierre at Colorado dot EDU
  2008-08-10  3:16 ` Jay dot St dot Pierre at Colorado dot EDU
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Jay dot St dot Pierre at Colorado dot EDU @ 2008-08-09 16:35 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from Jay dot St dot Pierre at Colorado dot EDU  2008-08-09 16:34 -------
Created an attachment (id=16049)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16049&action=view)
config.log from the sparc-sun-solaris2.10/libgcc directory


-- 


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug target/37050] gcc-4.3.1 bootstrap failure on sparc Solaris 10
  2008-08-07 19:12 [Bug c/37050] New: gcc-4.3.1 bootstrap failure on sparc Solaris 10 Jay dot St dot Pierre at Colorado dot EDU
  2008-08-09 16:35 ` [Bug target/37050] " Jay dot St dot Pierre at Colorado dot EDU
@ 2008-08-10  3:16 ` Jay dot St dot Pierre at Colorado dot EDU
  2008-08-10 15:44 ` Jay dot St dot Pierre at Colorado dot EDU
  2008-08-16 22:09 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: Jay dot St dot Pierre at Colorado dot EDU @ 2008-08-10  3:16 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from Jay dot St dot Pierre at Colorado dot EDU  2008-08-10 03:14 -------
I was able to build gcc-4.2.4 using the Sun Studio 12 compiler.  However, I was
unable to compile gcc-4.3.1 with gcc-4.2.4, albeit with different errors than
when I tried to use Sun's gcc.  This time I got a bunch of errors like:

ld: fatal: relocation error: R_SPARC_64: file
/appl/local_sde_dev/src/gcc/gcc-4.3.1/sparc-SunOS-5.10/gcc-4.3.1-obj/./gcc/sparcv9/crti.o:
symbol <unknown>: offset 0xffffffff78a186d9 is non-aligned


-- 


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug target/37050] gcc-4.3.1 bootstrap failure on sparc Solaris 10
  2008-08-07 19:12 [Bug c/37050] New: gcc-4.3.1 bootstrap failure on sparc Solaris 10 Jay dot St dot Pierre at Colorado dot EDU
  2008-08-09 16:35 ` [Bug target/37050] " Jay dot St dot Pierre at Colorado dot EDU
  2008-08-10  3:16 ` Jay dot St dot Pierre at Colorado dot EDU
@ 2008-08-10 15:44 ` Jay dot St dot Pierre at Colorado dot EDU
  2008-08-16 22:09 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: Jay dot St dot Pierre at Colorado dot EDU @ 2008-08-10 15:44 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from Jay dot St dot Pierre at Colorado dot EDU  2008-08-10 15:43 -------
I was able to get 4.3.1 to compile with 4.2.4 by removing old GNU utils from
the search path.  That trick does not work for 4.3.1 using Sun's gcc (4.2.0).


-- 


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug target/37050] gcc-4.3.1 bootstrap failure on sparc Solaris 10
  2008-08-07 19:12 [Bug c/37050] New: gcc-4.3.1 bootstrap failure on sparc Solaris 10 Jay dot St dot Pierre at Colorado dot EDU
                   ` (2 preceding siblings ...)
  2008-08-10 15:44 ` Jay dot St dot Pierre at Colorado dot EDU
@ 2008-08-16 22:09 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2008-08-16 22:09 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2008-08-16 22:08 -------
>symbol <unknown>: offset 0xffffffff78a186d9 is non-aligned

That was a binutils bug which was fixed in binutils 2.18.

*** This bug has been marked as a duplicate of 15267 ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-08-16 22:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-07 19:12 [Bug c/37050] New: gcc-4.3.1 bootstrap failure on sparc Solaris 10 Jay dot St dot Pierre at Colorado dot EDU
2008-08-09 16:35 ` [Bug target/37050] " Jay dot St dot Pierre at Colorado dot EDU
2008-08-10  3:16 ` Jay dot St dot Pierre at Colorado dot EDU
2008-08-10 15:44 ` Jay dot St dot Pierre at Colorado dot EDU
2008-08-16 22:09 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).