Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 349405 - sys-devel/gcc does not build with --enable-targets=all on x86_32
Summary: sys-devel/gcc does not build with --enable-targets=all on x86_32
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
: 266564 (view as bug list)
Depends on:
Blocks: 187140
  Show dependency tree
 
Reported: 2010-12-22 18:32 UTC by Denis Kaganovich
Modified: 2023-08-14 02:01 UTC (History)
6 users (show)

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 Denis Kaganovich 2010-12-22 18:32:25 UTC
gcc may be built with "--enable-targets=all" on x86_32 target to support "-m64" option, but no native way to set it. This feature introduced in gcc 2006-10-29. Now it implemented only for sparc+multilib. This is useful, for example, to build 64bit kernel from 32bit userspace without crossdev.

Reproducible: Always



Expected Results:  
"multitarget" useflag in toolchain.eclass for x86 to "--enable-targets=all" for suitable gcc's. Or another way to native use this option (I see no too serious reasons to not make it "always" on new gcc's exclude size of gcc code).
Comment 1 SpanKY gentoo-dev 2011-12-03 02:04:54 UTC
looks like ppc could benefit from this as well, and would obsolete the need for a dedicated kgcc64 package ...

for the respective targets, it looks like support was added:
  ppc: gcc-3.4
sparc: gcc-4.4
  x86: gcc-4.3
Comment 3 SpanKY gentoo-dev 2012-04-09 20:10:13 UTC
*** Bug 266564 has been marked as a duplicate of this bug. ***