public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
[parent not found: <E0xnN2N-0005UN-00@paddington.london.uk.eu.org>]
[parent not found: <9712302324.AA01798@vlsi1.ultra.nyu.edu>]
[parent not found: <9712301949.AA01218@vlsi1.ultra.nyu.edu>]
[parent not found: <199712302041.MAA25118@atrus.synopsys.com>]
* Re: cannot bootstrap neither gcc-2.8.0-971206 nor egcs-971207 on          sparc-sun-sunos4.1.3
@ 1997-12-10 23:09 Manfred.Hollstein
  1997-12-22 12:06 ` Jeffrey A Law
  0 siblings, 1 reply; 18+ messages in thread
From: Manfred.Hollstein @ 1997-12-10 23:09 UTC (permalink / raw)
  To: Alexandre Oliva; +Cc: gcc2, egcs

On , 10 December 1997, 16:17:27, oliva@dcc.unicamp.br wrote:

 > Hi there!
 > 
 > I've been unable to bootstrap the latest snapshots of gcc and egcs on
 > sparc-sun-sunos4.1.3, configured --with-gnu-as --enable-shared, using
 > GNU as and GNU ld from binutils 2.8.1 as assembler and linker, with
 > BOOT_CFLAGS="-O4 -g", using egcs-1.0 as the stage1 compiler.  I don't
 > know whether this is a bug in egcs-1.0 or in the current snapshots of
 > both packages.  The error I get is exactly the same for both builds:
 > 
 > stage1/xgcc -Bstage1/  -DIN_GCC    -O4 -g  -DHAVE_CONFIG_H  -o genattr \
 >  genattr.o rtl.o ` case "obstack.o" in ?*) echo obstack.o ;; esac ` ` case "stage1/xgcc -Bstage1/"@"" in "cc"@?*) echo  ;; esac ` ` case "" in ?*) echo  ;; esac `
 > ./genattr /n/temp1/gcctest/bin/../src/ss/gcc/config/sparc/sparc.md > tmp-attr.h
 > /bin/sh: 9857 Memory fault - core dumped
 > make[2]: *** [stamp-attr] Error 139
 > make[2]: Leaving directory `/tmp_mnt/n/temp1/tmp/gcctest/src/atibaia/ss/gcc'
 > make[1]: *** [bootstrap] Error 2
 > make[1]: Leaving directory `/tmp_mnt/n/temp1/tmp/gcctest/src/atibaia/ss/gcc'
 > make: *** [bootstrap] Error 2
 > 
 > genattr crashes in the initialization code, with a stack trace like
 > this (I removed the buggy program before I decided to post this
 > message, so I quote from memory):
 > 
 > ??? (invalid address)
 > memcpy
 > __main
 > main
 > 

Same here:

$ gdb genattr core 
Core was generated by `genattr'.
Program terminated with signal 11, Segmentation fault.
#0  0xef7f1d08 in ?? ()
Breakpoint 1 at 0x8130
(gdb) bt
#0  0xef7f1d08 in ?? ()
#1  0xef7f1c28 in ?? ()
#2  0xef7f0084 in ?? ()
#3  0x8180 in memset ()
#4  0x6368 in __do_global_ctors ()
#5  0x6390 in __main ()
#6  0x309c in main ()

Also interesting, cpp built by the stage1 compiler:

$ ./cpp -v -dM
ld.so: unidentifiable procedure reference at 0x1e2a4

Looks like gcc/egcs on SunOS are seriously broken!

Manfred

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

end of thread, other threads:[~1998-01-05 10:13 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <9712302109.AA01369@vlsi1.ultra.nyu.edu>
1997-12-30 14:41 ` New problems with gcc-2.8.0 based code - NOW FIXED! Paul Koning
1997-12-30 23:05   ` Richard Stallman
     [not found] <E0xnN2N-0005UN-00@paddington.london.uk.eu.org>
     [not found] ` <199801030231.DAA25241@mail.macqel.be>
1998-01-05 10:13   ` Paul Koning
     [not found] <9712302324.AA01798@vlsi1.ultra.nyu.edu>
1997-12-30 16:39 ` Paul Koning
     [not found] <9712301949.AA01218@vlsi1.ultra.nyu.edu>
1997-12-30 13:52 ` Paul Koning
1997-12-30 12:27   ` Linus Torvalds
     [not found] <199712302041.MAA25118@atrus.synopsys.com>
1997-12-30 13:45 ` Toon Moene
1997-12-10 23:09 cannot bootstrap neither gcc-2.8.0-971206 nor egcs-971207 on sparc-sun-sunos4.1.3 Manfred.Hollstein
1997-12-22 12:06 ` Jeffrey A Law
1997-12-26  8:11   ` New problems with gcc-2.8.0 based code [was: Re: cannot bootstrap neither gcc-2.8.0-971206 nor egcs-971207 on sparc-sun-sunos4.1.3 ] Manfred Hollstein
1997-12-27 12:13     ` New problems with gcc-2.8.0 based code - NOW FIXED! Manfred Hollstein
1997-12-28 23:23       ` Richard Stallman
1997-12-29  7:48         ` Jeffrey A Law
1997-12-29 11:17           ` Manfred Hollstein
1997-12-29 10:20             ` Jeffrey A Law
1997-12-30  8:57               ` Manfred Hollstein
1997-12-30  9:47                 ` Andi Kleen
1998-01-01 10:02                   ` Manfred Hollstein
1997-12-30 11:33                 ` Philip Blundell
1997-12-30 13:17                 ` Paul Koning
1997-12-29 11:08         ` Manfred Hollstein

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