Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 147126 - move from gcc-{hppa,mips,powerpc,sparc}64 to kgcc64
Summary: move from gcc-{hppa,mips,powerpc,sparc}64 to kgcc64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-10 22:31 UTC by SpanKY
Modified: 2007-10-07 02:22 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SpanKY gentoo-dev 2006-09-10 22:31:48 UTC
it's about time we kill off these split packages and move to a common one (kgcc64)

ive been using kgcc64 myself on powerpc and hppa and i know Kumba has been testing mips ... if you have any issues, please post them here
Comment 1 SpanKY gentoo-dev 2006-09-25 06:20:13 UTC
no feedback !?  to be sure, i'd like to have these things out of the tree by 2006.2/2007.0 ...
Comment 2 Stephen Becker (RETIRED) gentoo-dev 2006-09-25 06:27:07 UTC
(In reply to comment #1)
> no feedback !?  to be sure, i'd like to have these things out of the tree by
> 2006.2/2007.0 ...
> 

mips is fine here

I've also been using it on sparc, and it works fine, except that weeve will probably still have his panties all bunched up because it doesn't provide "sparc64-linux-gcc" to satisfy the default kernel makefile (looks like it provides sparc64-linux-gnu-gcc instead).  In fact, when I mentioned a problem I was having with kgcc64 at one point on sparc (turned out to be pebkac), weeve had no idea that such a thing existed, and was thoroughly astonished that it even had a ~sparc keyword.  So perhaps you should poke the sparc guys a bit harder on this one...
Comment 3 Markus Rothe (RETIRED) gentoo-dev 2006-09-25 06:28:41 UTC
(In reply to comment #0)
> if you have any issues, please post them here

I thought leaving no comment means 'no issues'. ;-)

Anyway.. I haven't seen issues on ppc64 so far, though I'm not using 32bit userland that often.
Comment 4 SpanKY gentoo-dev 2006-09-25 06:34:25 UTC
i can have kgcc64 generate an $ARCH-linux-{gcc,cpp} wrapper as well ... i just thought that people wanted $ARCH-linux-gnu-{gcc,cpp}
Comment 5 Stephen Becker (RETIRED) gentoo-dev 2006-09-25 07:56:13 UTC
(In reply to comment #4)
> i can have kgcc64 generate an $ARCH-linux-{gcc,cpp} wrapper as well ... i just
> thought that people wanted $ARCH-linux-gnu-{gcc,cpp}

That $ARCH-linux-gnu-{gcc,cpp} would require a patch or sed to the kernel Makefile to work, in which case, you might as well stick with the default $ARCH-$MACHINE-linux-gnu-{gcc,cpp}.
Comment 6 Jason Wever (RETIRED) gentoo-dev 2006-09-25 08:09:27 UTC
So on sparc64, to satisfy either the upstream makefiles or the ones in any of our kernel ebuilds that support sparc64, we'll need a 'sparc64-linux-gcc' to exist.  By default the makefiles check to see if gcc supports -m64, and if they don't, it looks for sparc64-linux-gcc.  Since we don't support -m64, gcc-sparc64 provides the latter.  I'd like to keep providing that going forward to maintain the current behavior.
Comment 7 SpanKY gentoo-dev 2006-09-25 09:29:14 UTC
done then ... kgcc64 no longer provides $arch-linux-gnu-gcc, just $arch-linux-gcc
Comment 8 Jason Wever (RETIRED) gentoo-dev 2006-09-30 16:41:38 UTC
I think we're pretty close on SPARC.  Only obvious thing I see now is having to adjust the sys-kernel/linux-headers logic WRT the gcc64 use flag.
Comment 9 Jeroen Roovers (RETIRED) gentoo-dev 2006-10-09 07:59:45 UTC
(In reply to comment #7)
> done then ... kgcc64 no longer provides $arch-linux-gnu-gcc, just
> $arch-linux-gcc

And what provides $arch-linux-ld?

/usr/src/linux $ make
  [...]
  CC      init/do_mounts.o
  LD      init/mounts.o
/bin/sh: hppa64-linux-ld: command not found
Comment 10 SpanKY gentoo-dev 2006-10-09 09:28:57 UTC
that's a binutils issue, not a gcc issue

hppa has "binutils-hppa64" because the hppa target does not yet support unified 32/64 bit hppa support
Comment 11 Tom Gall (RETIRED) gentoo-dev 2006-11-04 12:40:18 UTC
I presume this is only on those architectures which run mixed where the primary gcc is different then the gcc needed to build the kernel for whatever reason.

If so, then ppc64 likely doesn't need to be on this bug as the user space compiler is the same as one would build the kernel with. However those that run on a ppc64 kernel but 32 bit user space might have an interest here *if* the gcc compiler isn't being built correctly with both 32/64 bit enabled. Further if there is some creation of say something like a powerpc64-linux-kgcc kind of thing, then really the ebuild on ppc64 would just need to create the symlinks and that'd be that.

Feel free to drop by #gentoo-ppc64 to discuss.

Thanks!

Tom
Comment 12 SpanKY gentoo-dev 2006-11-04 15:35:23 UTC
this applies to every team that has their own "gcc-$ARCH" ... powerpc has "sys-devel/powerpc64" and it needs to go away
Comment 13 Guy Martin (RETIRED) gentoo-dev 2006-11-07 16:02:46 UTC
binutils-hppa64 fixed (thanks Spanky)
kgcc64 marked stable on hppa
moved gcc-hppa64 to kgcc64. will remove the old soon :)
Comment 14 SpanKY gentoo-dev 2006-12-31 05:20:48 UTC
poke poke ... if arches are OK with kgcc64, then feel free to finally make the move and scrub the old cruft
Comment 15 Gustavo Zacarias (RETIRED) gentoo-dev 2007-01-18 12:57:08 UTC
We've switched.
Comment 16 Joe Jezak (RETIRED) gentoo-dev 2007-02-21 04:18:50 UTC
This is for ppc64 to decide, ppc32 should be fine with it, so I'm removing us from the CC list.
Comment 17 Guy Martin (RETIRED) gentoo-dev 2007-02-28 17:25:10 UTC
I just dropped gcc-hppa64 and moved it to kgcc64.

Please re-add hppa if something is missing or else.
Comment 18 Markus Rothe (RETIRED) gentoo-dev 2007-03-29 14:13:52 UTC
ppc64 done