Hi ,
I'm facing the following problem in building kernel.
Config attached.
LD init/built-in.o
LD .tmp_vmlinux1
kernel/built-in.o(.text+0x630e): In function `alloc_fair_sched_group':
: undefined reference to `.L3922'
kernel/built-in.o(.text+0x6359): In function `alloc_fair_sched_group':
: undefined reference to `.L3923'
kernel/built-in.o(.text+0x432c6): In function `add_del_listener':
: undefined reference to `.L364'
drivers/built-in.o(.text+0x85e5e): In function `igdng_compute_m_n':
: undefined reference to `__udivdi3'
drivers/built-in.o(.init.text+0x3c1d): In function `con_init':
: undefined reference to `.L1460'
net/built-in.o(.text+0x414bb): In function `__tcp_alloc_md5sig_pool':
: undefined reference to `.L1763'
make: *** [.tmp_vmlinux1] Error 1
Thanks,
> ? I'm facing the following problem in building kernel.
> Config attached.
>
>
> ?LD ? ? ?init/built-in.o
> ?LD ? ? ?.tmp_vmlinux1
> kernel/built-in.o(.text+0x630e): In function `alloc_fair_sched_group':
> : undefined reference to `.L3922'
> kernel/built-in.o(.text+0x6359): In function `alloc_fair_sched_group':
> : undefined reference to `.L3923'
> kernel/built-in.o(.text+0x432c6): In function `add_del_listener':
> : undefined reference to `.L364'
> drivers/built-in.o(.text+0x85e5e): In function `igdng_compute_m_n':
> : undefined reference to `__udivdi3'
> drivers/built-in.o(.init.text+0x3c1d): In function `con_init':
> : undefined reference to `.L1460'
> net/built-in.o(.text+0x414bb): In function `__tcp_alloc_md5sig_pool':
> : undefined reference to `.L1763'
> make: *** [.tmp_vmlinux1] Error 1
>
built the 2.6.31-rc1-git6 kernel with the config you attached and
everything worked fine, and the kernel compilation was done
successfully.
Thanks
Satish
--
http://satish.playdrupal.com
On 7/1/09, Satish Eerpini <[email protected]> wrote:
> built the 2.6.31-rc1-git6 kernel with the config you attached and
> everything worked fine, and the kernel compilation was done
> successfully.
Hmm , thanks for testing. I think I've problems with my building tools.
Thanks,
Rakib
>
> Thanks
> Satish
>
>
>
>
> --
> http://satish.playdrupal.com
>
Hi,
I'm facing the same issue on RHEL3, gcc 3.4.0:
CC [M] lib/ts_fsm.o
CC arch/x86/lib/msr.o
CC arch/x86/lib/atomic64_32.o
arch/x86/lib/atomic64_32.c: In function `cmpxchg8b':
arch/x86/lib/atomic64_32.c:14: warning: read-write constraint does not allow a register
arch/x86/lib/atomic64_32.c:14: warning: read-write constraint does not allow a register
LD arch/x86/lib/built-in.o
AS arch/x86/lib/checksum_32.o
CC arch/x86/lib/delay.o
AS arch/x86/lib/getuser.o
CC arch/x86/lib/memcpy_32.o
AS arch/x86/lib/putuser.o
AS arch/x86/lib/semaphore_32.o
CC arch/x86/lib/string_32.o
CC arch/x86/lib/strstr_32.o
AS arch/x86/lib/thunk_32.o
CC arch/x86/lib/usercopy_32.o
AR arch/x86/lib/lib.a
LD vmlinux.o
MODPOST vmlinux.o
WARNING: modpost: Found 1 section mismatch(es).
To see full details build your kernel with:
'make CONFIG_DEBUG_SECTION_MISMATCH=y'
GEN .version
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
drivers/built-in.o(.init.text+0x4938): In function `con_init':
include/trace/events/kmem.h:47: undefined reference to `.L1600'
make: *** [.tmp_vmlinux1] Error 1
OK, it might be tool failure (especially given the asm warnings above),
but all older kernels did build fine (last was 2.6.29-rc7).
Will now disable tracer and retry, should ""fix"" that problem I think.
Andreas Mohr