Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 42948 - AMD64 sys-kernel/gentoo-dev-sources-2.6.3-r2 compile failure
Summary: AMD64 sys-kernel/gentoo-dev-sources-2.6.3-r2 compile failure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-25 19:52 UTC by Terra
Modified: 2004-03-22 22:33 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Kernel .config file that reproduces the error (.config,14.14 KB, application/octet-stream)
2004-02-25 19:52 UTC, Terra
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Terra 2004-02-25 19:52:07 UTC
While compiling the latest gentoo-dev-sources, a compilation error was encountered...

Kernel version:  2.6.3

success/failure matrix using the same .config file:
1) WORKS: stock vanilla kernel
2) WORKS: gentoo-dev-sources-2.6.3-r1
3) FAILS: gentoo-dev-sources-2.6.3-r2

Something changed between '-r1' and '-r2' that either created or surfaced this bug, and is exclusive to Gentoo's kernel offering...


Reproducible: Always
Steps to Reproduce:
1. create 3 separate trees: 1) vanilla kernel, 2) -r1, 3) -r2
2. copy the (attached) .config into each and run: make oldconfig
3. make bzImage

Actual Results:  
make[1]: `arch/x86_64/kernel/asm-offsets.s' is up to date.
  CHK     include/linux/compile.h
  GEN     .version
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
arch/x86_64/kernel/built-in.o(.init.text+0x119f): In function 
`parse_cmdline_early':
: undefined reference to `acpi_ht'
arch/x86_64/kernel/built-in.o(.init.text+0x11a5): In function 
`parse_cmdline_early':
: undefined reference to `acpi_ht'
arch/x86_64/kernel/built-in.o(.init.text+0x17a0): In function `setup_arch':
: undefined reference to `acpi_boot_init'
arch/x86_64/kernel/built-in.o(.init.text+0x6f1f): In function `setup_IO_APIC':
: undefined reference to `acpi_ioapic'
arch/x86_64/kernel/built-in.o(.init.text+0x74b1): In function `setup_IO_APIC':
: undefined reference to `acpi_ioapic'
arch/x86_64/kernel/built-in.o(.init.text+0x7cb8): In function `smp_read_mpc':
: undefined reference to `acpi_lapic'
arch/x86_64/kernel/built-in.o(.init.text+0x7ceb): In function `smp_read_mpc':
: undefined reference to `acpi_lapic'
arch/x86_64/kernel/built-in.o(.init.text+0x7eba): In function `get_smp_config':
: undefined reference to `acpi_lapic'
arch/x86_64/kernel/built-in.o(.init.text+0x7ecc): In function `get_smp_config':
: undefined reference to `acpi_ioapic'
arch/x86_64/kernel/built-in.o(.init.text+0x8833): In function 
`mp_config_ioapic_for_sci':
: undefined reference to `acpi_get_firmware_table'
arch/x86_64/kernel/built-in.o(.init.text+0x885a): In function 
`mp_config_ioapic_for_sci':
: undefined reference to `acpi_fadt'
arch/x86_64/kernel/built-in.o(.init.text+0x888a): In function 
`mp_config_ioapic_for_sci':
: undefined reference to `acpi_fadt'
drivers/built-in.o(.init.text+0x20fc): In function 
`acpi_get_table_header_early':
: undefined reference to `__acpi_map_table'
drivers/built-in.o(.init.text+0x2167): In function 
`acpi_get_table_header_early':
: undefined reference to `__acpi_map_table'
drivers/built-in.o(.init.text+0x21fb): In function 
`acpi_table_parse_madt_family':
: undefined reference to `__acpi_map_table'
drivers/built-in.o(.init.text+0x2385): In function `acpi_table_get_sdt':
: undefined reference to `__acpi_map_table'
drivers/built-in.o(.init.text+0x23a8): In function `acpi_table_get_sdt':
: undefined reference to `__acpi_map_table'
drivers/built-in.o(.init.text+0x2487): more undefined references to 
`__acpi_map_table' follow
drivers/built-in.o(.init.text+0x2684): In function `acpi_table_init':
: undefined reference to `acpi_find_rsdp'
make: *** [.tmp_vmlinux1] Error 1 

Expected Results:  
Complete compilation without failure.

This server was built from scratch using: livecd-amd64-2004.0-rc1-20040201.iso

Server is also up to date on software via: 'emerge system'
Comment 1 Terra 2004-02-25 19:52:49 UTC
Created attachment 26372 [details]
Kernel .config file that reproduces the error
Comment 2 Jason Huebel (RETIRED) gentoo-dev 2004-03-21 11:01:45 UTC
Still having this problem with 2.6.4?
Comment 3 Terra 2004-03-22 22:33:01 UTC
linux-2.6.4-gentoo-r1 is now successfully compiling both the kernel and modules properly using the prior attached .config file...

Thank you for resolving this...