View previous topic :: View next topic |
Author |
Message |
alexbuell Guru
Joined: 18 Jul 2002 Posts: 490 Location: "Hemp"shire, UK
|
Posted: Thu Jan 18, 2007 9:44 pm Post subject: gcc-sparc64 and kgcc64 |
|
|
Today I've just had kgcc64 pop up as a new package to emerge on sparc64. What's the rationale behind the change to kgcc64 from gcc-sparc64? _________________ Cheers,
Alex.
Linux - the best text adventure game ever. |
|
Back to top |
|
|
Weeve Retired Dev
Joined: 30 Oct 2002 Posts: 641
|
Posted: Thu Jan 18, 2007 10:48 pm Post subject: |
|
|
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-<arch> packages that exist now. The way we migrated over to this caused the issue you are seeing. |
|
Back to top |
|
|
emturan n00b
Joined: 02 May 2006 Posts: 2
|
Posted: Fri Jan 19, 2007 2:03 am Post subject: |
|
|
gcc-sparc64 is blocking kgcc64. Is it OK to unmerge gcc-sparc64 then emerge kgcc64?
Calculating world dependencies... done!
[blocks B ] sys-devel/gcc-sparc64 (is blocking sys-devel/kgcc64-3.4.6)
[ebuild N ] sys-devel/kgcc64-3.4.6 USE="-multislot -test" 0 kB |
|
Back to top |
|
|
gust4voz Retired Dev
Joined: 09 Sep 2003 Posts: 373 Location: Buenos Aires, Argentina
|
Posted: Fri Jan 19, 2007 12:41 pm Post subject: |
|
|
Yes, it's ok to unmerge gcc-sparc64 and merge kgcc64 instead.
As weeve said some architectures had the gcc-"arch"64 compiler and it was decided that we'd go into a unified kgcc64 so as to maintain the compiler easily and avoid duplicate work. _________________ Gustavo Zacarias
Gentoo/SPARC monkey |
|
Back to top |
|
|
jonathanross Tux's lil' helper
Joined: 19 Mar 2005 Posts: 77 Location: Planet Earth
|
Posted: Sat Jan 20, 2007 7:06 pm Post subject: |
|
|
Excellent, I had the same query, thanks.
JR |
|
Back to top |
|
|
NetrixTardis n00b
Joined: 21 Sep 2004 Posts: 12 Location: Selma, TX
|
Posted: Wed Jan 24, 2007 9:34 pm Post subject: |
|
|
is there anything else to this "migration"? a simple 'emerge --unmerge gcc-sparc64 && emerge sys-devel/kgcc64' will be good enough on most systems? |
|
Back to top |
|
|
jonathanross Tux's lil' helper
Joined: 19 Mar 2005 Posts: 77 Location: Planet Earth
|
Posted: Wed Jan 24, 2007 10:10 pm Post subject: |
|
|
That worked for me and I didn't have to recompile anything else.
JR |
|
Back to top |
|
|
Weeve Retired Dev
Joined: 30 Oct 2002 Posts: 641
|
Posted: Wed Jan 24, 2007 11:19 pm Post subject: |
|
|
Yup, the migration path is unmerging gcc-sparc64 and emerging kgcc64 |
|
Back to top |
|
|
Risk n00b
Joined: 05 Mar 2004 Posts: 38 Location: Zoo York City
|
Posted: Tue Feb 06, 2007 10:53 pm Post subject: |
|
|
Interesting. Now when I try to compile the kernel (both 2.6.19-r5 and 2.6.20) I get:
Quote: | /bin/sh: sparc64-linux-gcc: command not found
make: sparc64-linux-gcc: Command not found
/bin/sh: sparc64-linux-gcc: command not found
scripts/kconfig/conf -s arch/sparc64/Kconfig
/bin/sh: sparc64-linux-gcc: command not found
make: sparc64-linux-gcc: Command not found
CHK include/linux/version.h
CHK include/linux/utsrelease.h
CC arch/sparc64/kernel/asm-offsets.s
/bin/sh: sparc64-linux-gcc: command not found
make[1]: *** [arch/sparc64/kernel/asm-offsets.s] Error 127
make: *** [prepare0] Error 2 |
|
|
Back to top |
|
|
gust4voz Retired Dev
Joined: 09 Sep 2003 Posts: 373 Location: Buenos Aires, Argentina
|
Posted: Wed Feb 07, 2007 11:41 am Post subject: |
|
|
Hmmm did you env-update and source /etc/profile after it was done?
Also what does gcc-config -l say? _________________ Gustavo Zacarias
Gentoo/SPARC monkey |
|
Back to top |
|
|
|