Skip to content

Linux Kernel 2.6.25 on Gentoo sparc (error: -m64 is not supported by this configuration)

I wanted to try the new 2.6.25 kernel on a Sunblade 100 I'm reinstalling. But immediately after entering "make" I got the following error:
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


I found the solution here, along with the explanation. To make it short, to get it to work, for now you'll have to type:
 # CROSS_COMPILE=sparc64-unknown-linux-gnu- make


  • Twitter
  • Bookmark Linux Kernel 2.6.25 on Gentoo sparc (error: -m64 is not supported by this configuration) at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg Linux Kernel 2.6.25 on Gentoo sparc (error: -m64 is not supported by this configuration)
  • Mixx Linux Kernel 2.6.25 on Gentoo sparc (error: -m64 is not supported by this configuration)
  • Bloglines Linux Kernel 2.6.25 on Gentoo sparc (error: -m64 is not supported by this configuration)
  • Technorati Linux Kernel 2.6.25 on Gentoo sparc (error: -m64 is not supported by this configuration)
  • Fark this: Linux Kernel 2.6.25 on Gentoo sparc (error: -m64 is not supported by this configuration)
  • Bookmark Linux Kernel 2.6.25 on Gentoo sparc (error: -m64 is not supported by this configuration) at YahooMyWeb
  • Bookmark Linux Kernel 2.6.25 on Gentoo sparc (error: -m64 is not supported by this configuration) at Furl.net
  • Bookmark Linux Kernel 2.6.25 on Gentoo sparc (error: -m64 is not supported by this configuration) at reddit.com
  • Bookmark Linux Kernel 2.6.25 on Gentoo sparc (error: -m64 is not supported by this configuration) at blinklist.com
  • Bookmark Linux Kernel 2.6.25 on Gentoo sparc (error: -m64 is not supported by this configuration) at Spurl.net
  • Bookmark Linux Kernel 2.6.25 on Gentoo sparc (error: -m64 is not supported by this configuration) at NewsVine
  • Bookmark Linux Kernel 2.6.25 on Gentoo sparc (error: -m64 is not supported by this configuration) at Simpy.com
  • Bookmark Linux Kernel 2.6.25 on Gentoo sparc (error: -m64 is not supported by this configuration) at blogmarks
  • Bookmark Linux Kernel 2.6.25 on Gentoo sparc (error: -m64 is not supported by this configuration) with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Print this article!
  • E-mail this story to a friend!
  • Identi.ca

Gentoo sparc: sys-devel/kgcc64 vs. sys-devel/gcc-sparc64 (blocking each other)

If you get this:
[blocks B ] sys-devel/gcc-sparc64 (is blocking sys-devel/kgcc64-3.4.6)

Check this thread on the gentoo forums:
There are a couple of architectures on Gentoo that have a 32-bit userland, but need a 64-bit kernel compiler. kgcc64 is an attempt to provide one package for all of those architectures rather than the gcc- packages that exist now. The way we migrated over to this caused the issue you are seeing.

Basically, you'll need to
emerge --unmerge gcc-sparc64 && emerge sys-devel/kgcc64


  • Twitter
  • Bookmark Gentoo sparc: sys-devel/kgcc64 vs. sys-devel/gcc-sparc64 (blocking each other) at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg Gentoo sparc: sys-devel/kgcc64 vs. sys-devel/gcc-sparc64 (blocking each other)
  • Mixx Gentoo sparc: sys-devel/kgcc64 vs. sys-devel/gcc-sparc64 (blocking each other)
  • Bloglines Gentoo sparc: sys-devel/kgcc64 vs. sys-devel/gcc-sparc64 (blocking each other)
  • Technorati Gentoo sparc: sys-devel/kgcc64 vs. sys-devel/gcc-sparc64 (blocking each other)
  • Fark this: Gentoo sparc: sys-devel/kgcc64 vs. sys-devel/gcc-sparc64 (blocking each other)
  • Bookmark Gentoo sparc: sys-devel/kgcc64 vs. sys-devel/gcc-sparc64 (blocking each other) at YahooMyWeb
  • Bookmark Gentoo sparc: sys-devel/kgcc64 vs. sys-devel/gcc-sparc64 (blocking each other) at Furl.net
  • Bookmark Gentoo sparc: sys-devel/kgcc64 vs. sys-devel/gcc-sparc64 (blocking each other) at reddit.com
  • Bookmark Gentoo sparc: sys-devel/kgcc64 vs. sys-devel/gcc-sparc64 (blocking each other) at blinklist.com
  • Bookmark Gentoo sparc: sys-devel/kgcc64 vs. sys-devel/gcc-sparc64 (blocking each other) at Spurl.net
  • Bookmark Gentoo sparc: sys-devel/kgcc64 vs. sys-devel/gcc-sparc64 (blocking each other) at NewsVine
  • Bookmark Gentoo sparc: sys-devel/kgcc64 vs. sys-devel/gcc-sparc64 (blocking each other) at Simpy.com
  • Bookmark Gentoo sparc: sys-devel/kgcc64 vs. sys-devel/gcc-sparc64 (blocking each other) at blogmarks
  • Bookmark Gentoo sparc: sys-devel/kgcc64 vs. sys-devel/gcc-sparc64 (blocking each other) with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Print this article!
  • E-mail this story to a friend!
  • Identi.ca