Skip to contentSkip to conversation

compiler "crash" on setup.c

parisc-linux William M. Brack 1 participant 1 message Oct 11, 1999

lore
Share & tools
lore
#0 lore raw

After following (more or less) the very helpful "recipe" by Grant Grundler, including downloading the latest CVS kernel, I got quite a ways in generating a Linux system (using an HPUX 10.20 E35 system) which I plan to try to boot on an E25 system. There was, however, one problem while doing the "make vmlinux". The egcs gcc compiler "crashed" while compiling arch/kernel/setup.c, with the following:-

$
gcc -D__KERNEL__ -I/linux/linux/include -Wall -Wstrict-prototypes -O2 -fomit -frame-pointer
-mdisable-fpregs -fwritable-strings -fno-strict-aliasing -pipe -fno-strengt
h-reduce -c -o setup.o setup.c
setup.c:607: warning: `PA' redefined
(void *)((unsigned long)()&~0xc0000000)
! */@Ý igned long sversion );

IàI@7 ÿ@
nclud@Ü^1@÷¨@pø"
LÐ_VARARGS_H @Ú"P
unsigned long hp700fb_init(unsigned long mem_start)

(followed by voluminous lines of junk ....)
and terminated by a "Signal 11" message. Now, I know about the infamous "Signal 11 message" for gcc, and the fact that it is usually an indication of memory or hardware failure, but in this instance it was very consistent in that it failed at the same spot with the same warning on several retries.

Since it appeared that the #define'd macro PA was not actually used within the program setup.c, I just removed it. Once this was done, the compilation was successful.

I would appreciate any comments as to the cause, and whether the removal of this macro will get me into some other trouble later.

Thanks,

Bill Brack
Hong Kong