Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gcc-sparc64 and kgcc64
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
alexbuell
Guru
Guru


Joined: 18 Jul 2002
Posts: 490
Location: "Hemp"shire, UK

PostPosted: Thu Jan 18, 2007 9:44 pm    Post subject: gcc-sparc64 and kgcc64 Reply with quote

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
View user's profile Send private message
Weeve
Retired Dev
Retired Dev


Joined: 30 Oct 2002
Posts: 641

PostPosted: Thu Jan 18, 2007 10:48 pm    Post subject: Reply with quote

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


Joined: 02 May 2006
Posts: 2

PostPosted: Fri Jan 19, 2007 2:03 am    Post subject: Reply with quote

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
View user's profile Send private message
gust4voz
Retired Dev
Retired Dev


Joined: 09 Sep 2003
Posts: 373
Location: Buenos Aires, Argentina

PostPosted: Fri Jan 19, 2007 12:41 pm    Post subject: Reply with quote

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


Joined: 19 Mar 2005
Posts: 77
Location: Planet Earth

PostPosted: Sat Jan 20, 2007 7:06 pm    Post subject: Reply with quote

Excellent, I had the same query, thanks.

JR
Back to top
View user's profile Send private message
NetrixTardis
n00b
n00b


Joined: 21 Sep 2004
Posts: 12
Location: Selma, TX

PostPosted: Wed Jan 24, 2007 9:34 pm    Post subject: Reply with quote

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


Joined: 19 Mar 2005
Posts: 77
Location: Planet Earth

PostPosted: Wed Jan 24, 2007 10:10 pm    Post subject: Reply with quote

That worked for me and I didn't have to recompile anything else.

JR :D
Back to top
View user's profile Send private message
Weeve
Retired Dev
Retired Dev


Joined: 30 Oct 2002
Posts: 641

PostPosted: Wed Jan 24, 2007 11:19 pm    Post subject: Reply with quote

Yup, the migration path is unmerging gcc-sparc64 and emerging kgcc64
Back to top
View user's profile Send private message
Risk
n00b
n00b


Joined: 05 Mar 2004
Posts: 38
Location: Zoo York City

PostPosted: Tue Feb 06, 2007 10:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
gust4voz
Retired Dev
Retired Dev


Joined: 09 Sep 2003
Posts: 373
Location: Buenos Aires, Argentina

PostPosted: Wed Feb 07, 2007 11:41 am    Post subject: Reply with quote

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
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