[Bug bootstrap/40250] make bootstrap fails on IRIX64: ar: libbackend.a: Error reading tree-phinodes.o

2009-05-29 Thread Jay dot St dot Pierre at Colorado dot EDU


--- Comment #3 from Jay dot St dot Pierre at Colorado dot EDU  2009-05-30 
03:08 ---
So first I checked to see if the files were actually different:

$ cmp ./gcc/tree-phinodes.o ./prev-gcc/tree-phinodes.o
$ find . -name tree-phinodes.o | xargs md5sum
3d613b2eb79551b12cd458e212a5fdb5  ./gcc/tree-phinodes.o
3d613b2eb79551b12cd458e212a5fdb5  ./prev-gcc/tree-phinodes.o
ba6b7f241d8436e5685a4ecdf4bcafdb  ./stage1-gcc/tree-phinodes.o

Seeing as they are binary equivalents, I didn't think it would make a
difference.  I tried restarting the make bootstrap without changing anything
to make sure I would get the same results as the other day.  Again, the build
failed in the same spot.

Then I did the following:

$ mv ./gcc/tree-phinodes.o ./gcc/tree-phinodes.o.bak
$ cp ./prev-gcc/tree-phinodes.o ./gcc/tree-phinodes.o

And did another make bootstrap, and the build is progressing!

I am completely confused.

-Jay


-- 


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



[Bug bootstrap/40250] New: make bootstrap fails on IRIX64: ar: libbackend.a: Error reading tree-phinodes.o

2009-05-25 Thread Jay dot St dot Pierre at Colorado dot EDU
/sde/gcc-4.4.0 --disable-nls
--enable-shared --enable-static --with-ld=/usr/bin/ld --with-gmp=/usr/local/sde
--with-mpfr=/usr/local/sde

I'm using gcc-4.3.2 to compile.

-Jay


-- 
   Summary: make bootstrap fails on IRIX64: ar: libbackend.a: Error
reading tree-phinodes.o
   Product: gcc
   Version: 4.4.0
Status: UNCONFIRMED
  Severity: major
  Priority: P3
 Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: Jay dot St dot Pierre at Colorado dot EDU
 GCC build triplet: mips-sgi-irix6.5
  GCC host triplet: mips-sgi-irix6.5
GCC target triplet: mips-sgi-irix6.5


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



[Bug bootstrap/40250] make bootstrap fails on IRIX64: ar: libbackend.a: Error reading tree-phinodes.o

2009-05-25 Thread Jay dot St dot Pierre at Colorado dot EDU


--- Comment #1 from Jay dot St dot Pierre at Colorado dot EDU  2009-05-26 
05:11 ---
Created an attachment (id=17915)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17915action=view)
config.log


-- 


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



[Bug c++/38266] New: improper fix to curses.h on irix

2008-11-25 Thread Jay dot St dot Pierre at Colorado dot EDU
When I try to compile code that include curses.h on IRIX, g++ chokes on the
fixed curses.h, producing errors like:

/appl/local_sde_dev/IRIX64-6.5/gcc-4.3.2/bin/../lib/gcc/mips-sgi-irix6.5/4.3.2/include-fixed/curses.h:1294:
error: declaration of C function 'int mvwprintw(WINDOW*, int, int, ...)'
conflicts with
/appl/local_sde_dev/IRIX64-6.5/gcc-4.3.2/bin/../lib/gcc/mips-sgi-irix6.5/4.3.2/include-fixed/curses.h:300:
error: previous declaration 'int mvwprintw(WINDOW*, int, int, char*, ...)' here


-- 
   Summary: improper fix to curses.h on irix
   Product: gcc
   Version: 4.3.2
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: mips-sgi-irix6.5
  GCC host triplet: mips-sgi-irix6.5
GCC target triplet: mips-sgi-irix6.5


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



[Bug c++/38266] improper fix to curses.h on irix

2008-11-25 Thread Jay dot St dot Pierre at Colorado dot EDU


--- Comment #1 from Jay dot St dot Pierre at Colorado dot EDU  2008-11-25 
19:31 ---
Created an attachment (id=16768)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16768action=view)
Test file that includes curses.h

I compile this with g++ z.c -o z


-- 


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



[Bug c++/38266] improper fix to curses.h on irix

2008-11-25 Thread Jay dot St dot Pierre at Colorado dot EDU


--- Comment #2 from Jay dot St dot Pierre at Colorado dot EDU  2008-11-25 
19:34 ---
Created an attachment (id=16769)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16769action=view)
The fixed curses.h produced by the build of gcc-4.3.2


-- 


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



[Bug target/37050] gcc-4.3.1 bootstrap failure on sparc Solaris 10

2008-08-10 Thread Jay dot St dot Pierre at Colorado dot EDU


--- 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



[Bug target/37050] gcc-4.3.1 bootstrap failure on sparc Solaris 10

2008-08-09 Thread Jay dot St dot Pierre at Colorado dot EDU


--- 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=16049action=view)
config.log from the sparc-sun-solaris2.10/libgcc directory


-- 


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



[Bug target/37050] gcc-4.3.1 bootstrap failure on sparc Solaris 10

2008-08-09 Thread Jay dot St dot Pierre at Colorado dot EDU


--- 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 0x78a186d9 is non-aligned


-- 


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



[Bug c/37050] New: gcc-4.3.1 bootstrap failure on sparc Solaris 10

2008-08-07 Thread Jay dot St dot Pierre at Colorado dot EDU
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