Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Dec 1995 06:38:01 -0500 (EST)
From:      Rob Misiak <rob@indecent.com>
To:        hackers@freefall.FreeBSD.org
Subject:   gcc 2.7.2-compiled kernel
Message-ID:  <199512101138.GAA05179@madonna.indecent.com>

next in thread | raw e-mail | index | archive | help
Hi,

I've upgraded to gcc 2.7.2 (don't ask me why -- I guess I just always like
to have the latest and greatest :) and can't compile the (2.1r) kernel with it.
The make always fails at locore.s. I've tried using the default cpp rather than
the 2.7.2 cpp, but that doesn't help. Since cpp doesn't seem to be the problem
with this, I can't figure out what is, since the as that I'm using is the
default one. I've tried playing around with some command line options, but
that didn't make any difference. Any ideas?

Rob

Make gives me:

cpp -DLOCORE -nostdinc -I. -I../.. -I../../sys -I../../../include -DI486_CPU -DFDSEEKWAIT="16" -DMAXCONS=16 -DHARDFONTS -DAUTO_EOI_1 -DPROCFS -DMSDOSFS -DLFS -DCD9660 -DNFS -DFFS -DINET -DUCONSOLE -DSYSVMSG -DSYSVSEM -DSYSVSHM -DCOMPAT_43 -DKERNEL -Di386 -DLOAD_ADDRESS=0xF0100000 ../../i386/i386/locore.s | as  -o locore.o
../../i386/i386/locore.s: Assembler messages:
../../i386/i386/locore.s:155: Error: Rest of line ignored. First ignored character is `b'.
../../i386/i386/locore.s:155: Error: invalid character '_' in opcode
../../i386/i386/locore.s:567: Error: operands given don't match any known 386 instruction
../../i386/i386/locore.s:568: Error: Unimplemented segment type 6 in parse_operand
../../i386/i386/locore.s:585: Error: operands given don't match any known 386 instruction
../../i386/i386/locore.s:586: Error: Unimplemented segment type 6 in parse_operand
../../i386/i386/locore.s:595: Error: Unimplemented segment type 6 in parse_operand
../../i386/i386/locore.s:597: Error: operands given don't match any known 386 instruction
../../i386/i386/locore.s:617: Error: Unimplemented segment type 6 in parse_operand
../../i386/i386/locore.s:627: Error: Unimplemented segment type 6 in parse_operand
../../i386/i386/locore.s:637: Error: Unimplemented segment type 6 in parse_operand
../../i386/i386/locore.s:642: Error: Unimplemented segment type 6 in parse_operand
../../i386/i386/locore.s:697: Error: Unimplemented segment type 6 in parse_operand
../../i386/i386/locore.s:706: Error: operands given don't match any known 386 instruction
../../i386/i386/locore.s:777: Error: Unimplemented segment type 6 in parse_operand
../../i386/i386/locore.s:796: Error: Rest of line ignored. First ignored character is `s'.
../../i386/i386/locore.s:796: Error: invalid character '_' in opcode
*** Error code 1

Stop.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199512101138.GAA05179>