Mail Archives: pgcc/1999/11/25/19:43:22
My reply address: 99PROIOS AT WMICH DOT EDU
Version: pgcc -v
Reading specs from /usr/lib/gcc/i586-pc-linux-gnu/pgcc-2.91.66/specs
gcc version pgcc-2.91.66 19990314 (egcs-1.1.2 release)
(it's the binary that i downloaded straight off the PGCC web page (tgz
format, glibc2.x)
Error when compiling clean kernel 2.2.13 with following command:
time make bzImage
NOTE: I manually modified /usr/src/linux/Makefile and
/usr/src/linux/arch/i386/Makefile in order to change all -O2 to -O6
and added -mpentiumpro and -march=pentiumpro
here's the output:
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O6
-fomit-frame-pointer -mpentiumpro -march=pentiumpro -fno-strict-aliasing
-D__SMP__ -pipe -fno-strength-reduce -malign-loops=2 -malign-jumps=2
-malign-functions=2 -DCPU=686 -mpentiumpro -march=pentiumpro -c -o
file.o file.c
file.c: In function `affs_file_read_ofs':
file.c:577: internal error--insn does not satisfy its constraints:
(insn:HI 397 469 466 (set (reg:DI 1 %edx)
(if_then_else:DI (le:DI (reg:DI 4 %esi)
(reg:DI 1 %edx))
(reg:DI 4 %esi)
(reg:DI 1 %edx))) 405 {movdicc+2} (insn_list 391 (insn_list
394 (nil)))
(expr_list:REG_DEAD (reg:DI 4 %esi)
(nil)))
toplev.c:1438: Internal compiler error in function fatal_insn
cpp: output pipe has been closed
make[3]: *** [file.o] Error 1
make[3]: Leaving directory `/usr/src/linux/fs/affs'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux/fs/affs'
make[1]: *** [_subdir_affs] Error 2
make[1]: Leaving directory `/usr/src/linux/fs'
make: *** [_dir_fs] Error 2
FURTHER NOTES:
this same kernel tree compiled just fine (with same optimization options)
but with pgcc 2.90.60 i think it was (pgcc-1.1.1-1)
I wanted to try the newer one because I have been having crashes with any
kernel compiled with -mpentiumpro -march=pentiumpro when trying to run
games such as Q3demoTEST and UnrealTournament ( seems like the sound
locks up the games and they lockup the machine )
Hope this helps!
- Raw text -