Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
probs building gentoo-dev-sources 2.65
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
mark
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jun 2002
Posts: 119

PostPosted: Mon May 03, 2004 12:57 pm    Post subject: probs building gentoo-dev-sources 2.65 Reply with quote

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
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Mon May 03, 2004 5:44 pm    Post subject: Reply with quote

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
View user's profile Send private message
mark
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jun 2002
Posts: 119

PostPosted: Mon May 03, 2004 6:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
LaNcom
Apprentice
Apprentice


Joined: 03 May 2003
Posts: 254
Location: Erfurt, Germany

PostPosted: Mon May 03, 2004 9:00 pm    Post subject: Reply with quote

You could also leave IOMMU disabled and use this patch:

https://bugs.gentoo.org/show_bug.cgi?id=47302
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum