View previous topic :: View next topic |
Author |
Message |
mark Tux's lil' helper
Joined: 04 Jun 2002 Posts: 119
|
Posted: Mon May 03, 2004 12:57 pm Post subject: probs building gentoo-dev-sources 2.65 |
|
|
I have recently rebuild my gentoo opteron with mostly gcc 3.4, excluding bootstrap. I have build binutils with no flags and am unable to build dev-sources 2.65
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
ld: BFD 2.15.90.0.3 20040415 assertion fail linker.c:619
arch/x86_64/kernel/built-in.o(.init.text+0x6349): In function `sys_ptrace':
include/asm/current.h:10: undefined reference to `iommu_aperture_allowed'
arch/x86_64/kernel/built-in.o(.init.text+0x6361):include/asm/current.h:11: undefined reference to `iommu_aperture_disabled'
make: *** [.tmp_vmlinux1] Error 1
I cant build it with gcc 3.3 either
Any ideas ?
Mark Newman _________________ Regards
Mark |
|
Back to top |
|
|
Maedhros Bodhisattva
Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
Posted: Mon May 03, 2004 5:44 pm Post subject: |
|
|
I had this problem... it seems to be kernel related, not gcc related...
What I had to do was enable IOMMU in the kernel, even though I don't use it.
# make menuconfig :
Code: | --- IOMMU support
[*] Software IOTLB support |
With that enabled, it compiled fine for me! |
|
Back to top |
|
|
mark Tux's lil' helper
Joined: 04 Jun 2002 Posts: 119
|
Posted: Mon May 03, 2004 6:17 pm Post subject: |
|
|
thanks, that fixed it, its building now. Not sure why I need it as its for large memory support, but at least it works .
Thanks
Mark _________________ Regards
Mark |
|
Back to top |
|
|
LaNcom Apprentice
Joined: 03 May 2003 Posts: 254 Location: Erfurt, Germany
|
|
Back to top |
|
|
|