🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #46450

Please help: build=i484-isc4.1 --with-gnu-as --with-stabs

#46450
From: Winfried Koenig
Date: Tue, 15 Nov 1994 22:38
61 lines
2546 bytes
I am trying to install gcc-2.6.2 with gas from binutils-2.5.2
on Interactive Unix Version 4.1. For configure I used:

./configure --build=i486-isc4.1 --with-gnu-as --with-stabs

There is no problem building the first-stage object files and
compiler. But when I try to recompile with:

gmake CC="stage1/xgcc -Bstage1/" CFLAGS="-g -O" ...

I get the message:

stage1/xgcc -Bstage1/  -DIN_GCC -D_SYSV3  -g -O   -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 ` -lPW
./genattr md > tmp-attr.h
/bin/sh: 11070 Memory fault - core dumped
gmake: *** [stamp-attr] Error 139


If I debug genattr with gdb and try to set a breakpoint on xmalloc
I get the message:

(gdb) b xmalloc
During symbol reading, inner block not inside outer block in main.
During symbol reading, inner block not inside outer block in main.
Breakpoint 2 at 0xb1c: file ./genattr.c, line 66.
(gdb) r md
Starting program: /usr4/src/gcc-2.6.2/genattr md

Program received signal SIGSEGV, Segmentation fault.
0x30aa in _obstack_begin (h=0x3a474552, size=0, alignment=0, 
    chunkfun=0xb18 <xmalloc>, freefun=0x62cc <free>) at obstack.c:98
98	     void (*freefun) ();


What's wrong? Can you help me? Yes, I have 'as' installed in
/usr/local/i486-isc4.1/bin. Gnu binutils is configured with:

./configure i486-isc4.1 --without-gnu-ld

I had to add -linet in gprof/Makefile:

gprof:	$(OBJS) $(LIBS)
	$(CC) -o $(PROG) $(LDFLAGS) $(OBJS) $(LIBS) -linet

In ld/configure.in I had to add:

   i[345]86-*-isc*)	ld_target=i386-coff ;;

But I think this is not relevant.


Thanks for any help!

Winfried

-- 
Winfried Koenig        win@in.rhein-main.de
Arendsstrasse 12       win@incom.de
63075 Offenbach        +49 69 868707
Germany
Technical Details
Message-ID: <CzByvo.HAM@in.rhein-main.de>
Path: arc1-ca.pugleaf.net!nntp.gmd.de!newsserver.jvnc.net!howland.reston.ans.net!Germany.EU.net!unibwh.unibw-hamburg.de!news.rrz.uni-hamburg.de!news.dkrz.de!news.dfn.de!news.belwue.de!News.Uni-Marburg.DE!news.th-darmstadt.de!odb!incom!win

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,8f5b3f9e78dbbf3d,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1994-11-15 18:35:35 PST
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!nntp.gmd.de!newsserver.jvnc.net!howland.reston.ans.net!Germany.EU.net!unibwh.unibw-hamburg.de!news.rrz.uni-hamburg.de!news.dkrz.de!news.dfn.de!news.belwue.de!News.Uni-Marburg.DE!news.th-darmstadt.de!odb!incom!win
From: win@in.rhein-main.de (Winfried Koenig)
Subject: Please help: build=i484-isc4.1 --with-gnu-as --with-stabs 
Organization: Individual Network, Rhein-Main
Date: Tue, 15 Nov 1994 22:38:11 GMT
Message-ID: <CzByvo.HAM@in.rhein-main.de>
Lines: 61