Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't compile gentoo-sources-2.6.25-r6
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
EoD
n00b
n00b


Joined: 30 May 2008
Posts: 36

PostPosted: Sun Jul 06, 2008 10:48 pm    Post subject: Can't compile gentoo-sources-2.6.25-r6 Reply with quote

I've already compiled some kernels on my Sun Blade 100, but i've never seen this problem.
Code:
localhost linux # make && make modules_install
scripts/kconfig/conf -s arch/sparc64/Kconfig
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  CC      arch/sparc64/kernel/asm-offsets.s
arch/sparc64/kernel/asm-offsets.c:1: error: -m64 is not supported by this configuration
arch/sparc64/kernel/asm-offsets.c:1: error: -mlong-double-64 not allowed with -m64
arch/sparc64/kernel/asm-offsets.c:1: error: -mcmodel= is not supported on 32 bit systems
make[1]: *** [arch/sparc64/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2

Anyone who has an advice? What is this ASM? Should i post a bugreport?
Back to top
View user's profile Send private message
xbskid
n00b
n00b


Joined: 15 Jun 2006
Posts: 12

PostPosted: Mon Jul 07, 2008 6:25 am    Post subject: Reply with quote

I'm having the same issue. I figured I missed something when switching my profile, but I can compile everything else just fine. Maybe it's related to the removal of sparc32 profiles?
Back to top
View user's profile Send private message
blu3bird
Retired Dev
Retired Dev


Joined: 04 Oct 2003
Posts: 614
Location: Munich, Germany

PostPosted: Mon Jul 07, 2008 8:12 am    Post subject: Reply with quote

https://forums.gentoo.org/viewtopic-t-696174.html
_________________
Black Holes are created when God divides by zero!
Back to top
View user's profile Send private message
EoD
n00b
n00b


Joined: 30 May 2008
Posts: 36

PostPosted: Mon Jul 07, 2008 11:46 am    Post subject: Reply with quote

Thanks, it works fine with the following line:
Code:
make CROSS_COMPILE=sparc64-unknown-linux-gnu-


I think a sticky thread or a note in the gentoo-sources ebuild to this problem would help many sparc users with this problem, as it is completely new, isn't it?
Back to top
View user's profile Send private message
armin76
Retired Dev
Retired Dev


Joined: 24 Apr 2006
Posts: 174

PostPosted: Mon Jul 07, 2008 1:25 pm    Post subject: Reply with quote

since 2.6.25 yes
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc 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