Bug 105979
Summary: | kernel-source Makefile uses gcc not gcc32 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Michel Alexandre Salim <michel.salim> |
Component: | kernel | Assignee: | Dave Jones <davej> |
Status: | CLOSED RAWHIDE | QA Contact: | Brian Brock <bbrock> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | pfrields, scowles |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2003-10-28 16:37:22 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 100643 |
Description
Michel Alexandre Salim
2003-09-30 03:45:42 UTC
Thanks, Michel and Arjan. Unfortunately, even with this correction, I am still not able to compile the stock kernel source supplied with 094. Output from the make shows the error: ld -m elf_i386 -T /usr/src/linux-2.4.22-1.2061.nptl/arch/i386/vmlinux.lds -e stext arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o init/version.o init/do_mounts.o --start-group arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o drivers/acpi/acpi.o drivers/cpufreq/cpufreq.o drivers/char/char.o drivers/block/block.o drivers/misc/misc.o drivers/net/net.o drivers/char/drm/drm.o drivers/net/fc/fc.o drivers/net/appletalk/appletalk.o drivers/net/tokenring/tr.o drivers/net/wan/wan.o drivers/atm/atm.o drivers/ide/idedriver.o drivers/cdrom/driver.o drivers/pci/driver.o drivers/net/pcmcia/pcmcia_net.o drivers/net/wireless/wireless_net.o drivers/pnp/pnp.o drivers/video/video.o drivers/media/media.o drivers/md/mddev.o drivers/isdn/vmlinux-obj.o crypto/crypto.o net/network.o /usr/src/linux-2.4.22-1.2061.nptl/arch/i386/lib/lib.a /usr/src/linux-2.4.22-1.2061.nptl/lib/lib.a /usr/src/linux-2.4.22-1.2061.nptl/arch/i386/lib/lib.a --end-group -o .tmp_vmlinux1 kernel/kernel.o(.text+0xfc3): In function `schedule': : undefined reference to `active_load_balance' make[1]: *** [kallsyms] Error 1 make[1]: Leaving directory `/usr/src/linux-2.4.22-1.2061.nptl' make: *** [vmlinux] Error 2 Dave, please patch the Makefile so that it uses gcc32 I can do this, however it won't fix the compile breakage above. That's from Ingo's creative usage of CONFIG_ to work around limitations of the 2.4 build system. Also note that building a kernel using rpm -b will DTRT, as it sets CC=gcc32 in BuildKernel() building from kernel-source package is important. The other error should go away if you run "make oldconfig" (or run it again). Ugly hack. :-( Fixed |