http://qa.mandrakesoft.com/show_bug.cgi?id=4095
------- Additional Comments From [EMAIL PROTECTED] 2003-22-08 08:38 -------
I tried to compile the "newest kernel for 9.1" (aka 2.4.21-0.25mdk)
with gcc 3.2.2 (Mandrake Linux 9.1 3.2.2-3mdk) and it chokes
when compiling the modules (like other reported it, see at the end
of this message).
A bug in gcc is only one possibility. An another would be messy
patching of the kernel sources. Did anyone tried to compile a
genuine vanilla kernel from kernel.org ?
Could we know "how" the Mandrake team compiles its kernels ?
(since we cannot reproduce it).
L.
make[4]: Entering directory
`/usr/src/linux-2.4.21-0.25mdk/drivers/char/ftape/compressor'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.21-0.25mdk/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe
-mpreferred-stack-boundary=2 -march=i586 -DMODULE -DMODVERSIONS -include
/usr/src/linux-2.4.21-0.25mdk/include/linux/modversions.h -nostdinc
-iwithprefix include -DKBUILD_BASENAME=zftape_compress -c -o zftape-compress.o
zftape-compress.c
In file included from /usr/src/linux-2.4.21-0.25mdk/include/linux/mm.h:4,
from zftape-compress.c:35:
/usr/src/linux-2.4.21-0.25mdk/include/linux/sched.h:6: invalid suffix on integer
constant
/usr/src/linux-2.4.21-0.25mdk/include/linux/sched.h:6: parse error before
numeric constant
/usr/src/linux-2.4.21-0.25mdk/include/linux/sched.h:6: warning: function
declaration isn't a prototype
make[4]: *** [zftape-compress.o] Error 1
make[4]: Leaving directory
`/usr/src/linux-2.4.21-0.25mdk/drivers/char/ftape/compressor'
make[3]: *** [_modsubdir_compressor] Error 2
make[3]: Leaving directory `/usr/src/linux-2.4.21-0.25mdk/drivers/char/ftape'
make[2]: *** [_modsubdir_ftape] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.21-0.25mdk/drivers/char'
make[1]: *** [_modsubdir_char] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.21-0.25mdk/drivers'
make: *** [_mod_drivers] Error 2
--
Configure bugmail: http://qa.mandrakesoft.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
------- Reminder: -------
assigned_to: [EMAIL PROTECTED]
status: NEW
creation_date:
description:
Hello,
just compiling kernel 2.4.21-0.18mdk and I experienced this problem with latest
Cooker gcc-3.3-1mdk:
...
make[2]: Entering directory `/usr/src/linux-2.4.21-0.18mdk/kernel'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.21-0.18mdk/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc
-iwithprefix include -DKBUILD_BASENAME=sched -fno-omit-frame-pointer -c -o
sched.o sched.c
sched.c: In function `schedule':
sched.c:714: internal compiler error: in merge_assigned_reloads, at reload1.c:6134
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:https://qa.mandrakesoft.com/> for instructions.
make[2]: *** [sched.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.4.21-0.18mdk/kernel'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.21-0.18mdk/kernel'
make: *** [_dir_kernel] Error 2
Patch should be applied because this gcc is unusable.
Thanks,
Vlasta