Re: gcc -O2 on alpha miscompiles ifupdown?
On Sun, Jan 07, 2001 at 06:18:29PM +0100, Matthias Klose wrote:
> >
> > Just wanted to note I see a similar problem compiling the DAC960 driver in
> > the 2.4 (2.2.X one works fine) kernel, with -O2 gcc segfaults, with -O0 it
> > works.
> >
> > Sorry for not giving more information but my Alpha's at work right now and
> > I'm not, I can send more on Monday if anyone want.
Here's what you might see since this is my result... I will try the
prerelease gcc tomorrow.
Reading specs from /usr/lib/gcc-lib/alpha-linux/2.95.2/specs
gcc version 2.95.2 20000220 (Debian GNU/Linux)
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strict-aliasing -pipe -mno-fp-regs -ffixed-8
-mcpu=ev5 -Wa,-mev6 -DEXPORT_SYMTAB -c DAC960.c
gcc: Internal compiler error: program cc1 got fatal signal 11
make[3]: *** [DAC960.o] Error 1
make[3]: Leaving directory `/usr/src/kernel-source-2.4.0/drivers/block'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/kernel-source-2.4.0/drivers/block'
make[1]: *** [_subdir_block] Error 2
make[1]: Leaving directory `/usr/src/kernel-source-2.4.0/drivers'
make: *** [_dir_drivers] Error 2
fum:/usr/src/linux# {standard input}: Assembler messages:
{standard input}:0: Warning: end of file not at end of a line; newline
inserted
{standard input}:2054: Warning: Missing .end or .bend at end of file
cpp: output pipe has been closed
--
Dan <dan@mhcommunications.com>
Network Systems Engineer 518-694-8700
Reply to: