This is the mail archive of the gcc@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]

Cannot build recent snapshots on UnixWare 2.1.2



On my UnixWare 2.1.2 (SVR4.2MP) system, I'm having the same difficulty
building snapshot 971023 as I had building 971016; the result of the
stage1 compiler will not work.  I had previously built the 970910
snapshot with no difficulty.  I cannot build the 971023 snapshot using 
either the native compiler or gcc.

	cd ./egcs-971023
	./configure --prefix=/usr/local/egcs-971023 --with-gnu-as
Configuring for a i386-pc-sysv4.2uw2.1.2 host.
Created "Makefile" in /home/acs/egcs-971023 using "config/mh-sysv4"
Links are now set up to build a native compiler for i386-pc-sysv4.2uw2.1.2
	cd ./gcc
	ln -s /usr/local/binutils-2.8.1/bin/as .
	make LANGUAGES=c
	make stage1

This produces a compiler which dumps core on a simple hello world
program:

	./egcs-971023/gcc/stage1/xgcc  -B ./egcs-971023/gcc/stage1/ -v x.c
Reading specs from ./egcs-971023/gcc/stage1/specs
gcc version egcs-2.90.14 971023 (gcc2-970802 experimental)
 ./egcs-971023/gcc/stage1/cpp -lang-c -v -isystem ./egcs-971023/gcc/include -isystem ./egcs-971023/gcc/stage1/include -undef -D__GNUC__=2 -D__GNUC_MINOR__=90 -Di386 -Dunix -D__svr4__ -D__i386__ -D__unix__ -D__svr4__ -D__i386 -D__unix -Asystem(unix) -Asystem(svr4) -Acpu(i386) -Amachine(i386) x.c /var/tmp/cca005y4.i
GNU CPP version egcs-2.90.14 971023 (gcc2-970802 experimental) (i386 System V Release 4)
#include "..." search starts here:
#include <...> search starts here:
 egcs-971023/gcc/include
 /usr/local/include
 /usr/include
End of search list.
 ./egcs-971023/gcc/stage1/cc1 /var/tmp/cca005y4.i -quiet -dumpbase x.c -version -o /var/tmp/cca005y4.s
GNU C version egcs-2.90.14 971023 (gcc2-970802 experimental) (i386-pc-sysv4.2uw2.1.2) compiled by GNU C version egcs-2.90.06 970907 (gcc2-970802 experimental).
 ./egcs-971023/gcc/stage1/as -V -Qy -o /var/tmp/cca005y41.o /var/tmp/cca005y4.s
GNU assembler version 970731 (i386-pc-sysv4.2uw2.1.2), using BFD version linux-2.8.1.0.15
 ./egcs-971023/gcc/stage1/ld -V -Y P,/usr/ccs/lib:/usr/lib -Qy /usr/ccs/lib/crt1.o /usr/ccs/lib/crti.o /usr/ccs/lib/values-Xa.o ./egcs-971023/gcc/stage1/crtbegin.o -L./egcs-971023/gcc/stage1 -L/usr/ccs/bin -L/usr/ccs/lib /var/tmp/cca005y41.o -lgcc -lc -lgcc ./egcs-971023/gcc/stage1/crtend.o /usr/ccs/lib/crtn.o
UX:ld: INFO:  Optimizing C Compilation System  (CCS) 3.0  12/10/95 (eiger8)

	./a.out
Hello world!
zsh: IOT instruction (core dumped)  ./a.out

Here's the backtrace:
#0  0xbffb3783 in kill ()
#1  0xbffe3528 in abort ()
#2  0x804853e in __do_global_dtors_aux ()
#3  0x8048ffd in _fini ()

I've tried building this with both binutils-2.8.1 and HJ's
binutils-2.8.1.0.15; I get the same results with each.

If anyone has any suggestions, I'd be happy to hear them.


vin shelton


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