View previous topic :: View next topic |
Author |
Message |
EoD n00b
Joined: 30 May 2008 Posts: 36
|
Posted: Sun Jul 06, 2008 10:48 pm Post subject: Can't compile gentoo-sources-2.6.25-r6 |
|
|
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 |
|
|
xbskid n00b
Joined: 15 Jun 2006 Posts: 12
|
Posted: Mon Jul 07, 2008 6:25 am Post subject: |
|
|
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 |
|
|
blu3bird Retired Dev
Joined: 04 Oct 2003 Posts: 614 Location: Munich, Germany
|
|
Back to top |
|
|
EoD n00b
Joined: 30 May 2008 Posts: 36
|
Posted: Mon Jul 07, 2008 11:46 am Post subject: |
|
|
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 |
|
|
armin76 Retired Dev
Joined: 24 Apr 2006 Posts: 174
|
Posted: Mon Jul 07, 2008 1:25 pm Post subject: |
|
|
since 2.6.25 yes |
|
Back to top |
|
|
|