This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: invalid address bug in egcs optimizer (snapshot)
- To: Michal Jaegermann <michal at ellpspace dot math dot ualberta dot ca>
- Subject: Re: invalid address bug in egcs optimizer (snapshot)
- From: Bill Currie <bcurrie at tssc dot co dot nz>
- Date: Mon, 27 Jul 1998 12:05:18 +1200
- CC: egcs-bugs at cygnus dot com
- Organization: Telecommunication Systems Support Centre
- References: <19980725232440.00629@ellpspace.math.ualberta.ca>
Michal Jaegermann wrote:
> While compiling Linux kernel 2.0.33, after 'make modules' this happens:
>
> make[2]: Entering directory `/usr/src/linux-2.0.33/drivers/net'
> gcc -D__KERNEL__ -I/usr/src/linux-2.0.33/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -mno-fp-regs -DMODULE -c -o slhc.o slhc.c
> cc1: memory violation at pc=12010dc8c rp=12010dda4 (bad address = 11f7fffb8)
> {standard input}: Assembler messages:
> {standard input}:0: Warning: end of file not at end of a line; newline inserted
> {standard input}:531: Error: inappropriate arguments for opcode `ldl'
> gcc: Internal compiler error: program cc1 got fatal signal 11
[snip]
>
> Dropping an optimization level to -O allows to recompile this object
> file. Other kernel source files compile fine with -O2 and resulting Linux
> kernel boots and seems to be ok after five minutes of use. :-)
Sounds like the problem I had over the weekend building dosemu (I had
problems with inlining a not quite trivial function whos result was
beeing asigned to a pointer). Jeff claims to have already fixed my
problem (I haven't been able to check it out yet due to time
constraints) so you might want to do an update via CVS and see if that
helps.
HTH
Bill
--
Leave others their otherness