Subject: Re: Question: SE/30 Compilation Problems
To: None <port-mac68k@NetBSD.ORG>
From: Stefan Arentz <stefan.arentz@luna.net>
List: port-mac68k
Date: 04/29/1997 21:47:29
On Tue, Apr 29, 1997 at 02:09:07PM -0400, Allen Briggs wrote:
> > I installed the April 6th snapshot on a SE/30 that I want to use as a router
> > for my (28k8) line to work. Slip is already working great, five minutes after
> > it booted :)
> 
> Cool!
> 
> > assertion "((disp) >= -128 && (disp) <= 127)" failed: file "/amd/see/usr/src/gnu/usr.bin/gas/config/tc-m68k.c", line 3118
> 
> Ugly!  I doubt that this is the assembler from the snapshot, though.  Can
> you run "which as" to show which assembler that you're getting (or even
> better, re-run that compile line with '-v').

This is from the current-970402 snapshot.

thuis# which as
/usr/bin/as
thuis# /usr/bin/as -v
GNU assembler version 1.92.3, NetBSD $Revision: 1.3 $

thuis# gcc -v
gcc version 2.7.2

Here is that compile line again with -v:

thuis# cc -v -x assembler-with-cpp -traditional-cpp -D_LOCORE -I. -I../../../../arch -I../../../.. -nostdinc -DHZ="0x3c" -DEXEC_AOUT -DEXEC_SCRIPT -DSWAPPAGER -DVNODEPAGER -DDEVPAGER -DKTRACE -DSYSVMSG -DSYSVSEM -DSYSVSHM -DLKM -DUCONSOLE -DDDB -DDIAGNOSTIC -DCOMPAT_43 -DCOMPAT_10 -DCOMPAT_11 -DCOMPAT_12 -DCOMPAT_SUNOS -DFFS -DNFS -DKERNFS -DNULLFS -DMFS -DFDESC -DUMAPFS -DLFS -DPORTAL -DPROCFS -DCD9660 -DUNION -DMSDOSFS -DFIFO -DINET -DTCP_COMPAT_42 -DGATEWAY -DPPP_BSDCOMP -DPPP_DEFLATE -DPFIL_HOOKS -DM68030 -DFPSP -DZS_CONSOLE_ABORT -DDISABLE_EXT_CACHE -DMAXUSERS=16 -D_KERNEL  -Dmc68020 -Dmac68k -c ../../../../arch/mac68k/mac68k/locore.s
gcc version 2.7.2
 /usr/libexec/cpp -lang-asm -nostdinc -v -I. -I../../../../arch -I../../../.. -undef -$ -Dunix -Dm68k -Dmc68000 -Dmc68020 -D__NetBSD__ -D__KPRINTF_ATTRIBUTE__ -D__unix__ -D__m68k__ -D__mc68000__ -D__mc68020__ -D__NetBSD__ -D__KPRINTF_ATTRIBUTE__ -D__unix -D__m68k -D__mc68000 -D__mc68020 -Asystem(unix) -Asystem(NetBSD) -Acpu(m68k) -Amachine(m68k) -D__ASSEMBLER__ -traditional -D__HAVE_68881__ -D__HAVE_FPU__ -D_LOCORE -DHZ=0x3c -DEXEC_AOUT -DEXEC_SCRIPT -DSWAPPAGER -DVNODEPAGER -DDEVPAGER -DKTRACE -DSYSVMSG -DSYSVSEM -DSYSVSHM -DLKM -DUCONSOLE -DDDB -DDIAGN OSTIC -DCOMPAT_43 -DCOMPAT_10 -DCOMPAT_11 -DCOMPAT_12 -DCOMPAT_SUNOS -DFFS -DNFS -DKERNFS -DNULLFS -DMFS -DFDESC -DUMAPFS -DLFS -DPORTAL -DPROCFS -DCD9660 -DUNION -DMSDOSFS -DFIFO -DINET -DTCP_COMPAT_42 -DGATEWAY -DPPP_BSDCOMP -DPPP_DEFLATE -DPFIL_HOOKS -DM68030 -DFPSP -DZS_CONSOLE_ABORT -DDISABLE_EXT_CACHE -DMAXUSERS=16 -D_KERNEL -Dmc68020 -Dmac68k ../../../../arch/mac68k/mac68k/locore.s /var/tmp/cc000164.s

GNU CPP version 2.7.2 (68k, MIT syntax)
#include "..." search starts here:
#include <...> search starts here:
 .
 ../../../../arch
 ../../../..
End of search list.
 as -o locore.o /var/tmp/cc000164.s
assertion "((disp) >= -128 && (disp) <= 127)" failed: file "/amd/see/usr/src/gnu/usr.bin/gas/config/tc-m68k.c", line 3118
cc: Internal compiler error: program as got fatal signal 6
thuis#

 - Stefan