Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 29952
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: GCC Porting Team <gcc-porting@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Brad House <brad@mainstreetsoftworks.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
amd64_gcc331_use_multilib-amd64.patch put patch in files/ directory. multilib patch. patch Brad House 2003-09-29 14:09 0000 352 bytes Details | Diff
gcc-3.3.1-r3.ebuild.amd64.patch patch for gcc-3.3.1-r3 ebuild patch Brad House 2003-09-29 14:09 0000 2.78 KB Details | Diff
gcc-3.3.1-r3.ebuild.amd64.patch gcc-3.3.1-r3.ebuild patch make use of 'multilib' use flag. Only builds multilib if in use flags. patch Brad House 2003-09-29 17:55 0000 3.77 KB Details | Diff
amd64_gcc331_use_multilib-amd64.patch gcc multilib path patch. put in files/ patch Brad House 2003-10-01 11:02 0000 346 bytes Details | Diff
gcc-3.3.1-r3.ebuild.amd64.patch gcc 3.3.1-r3 ebuild patch patch Brad House 2003-10-01 11:04 0000 4.34 KB Details | Diff
amd64_gcc331_use_multilib-amd64.patch gcc multilib patch. put in gcc files/ directory patch Brad House 2003-10-01 14:24 0000 346 bytes Details | Diff
amd64_gcc331_use_multilib-amd64.patch gcc multilib patch. put in gcc files/ directory patch Brad House 2003-10-01 14:25 0000 352 bytes Details | Diff
gcc-3.3.1-r3.ebuild.amd64.patch gcc 3.3.1-r3 ebuild patch patch Brad House 2003-10-01 14:27 0000 4.36 KB Details | Diff
gcc-3.3.1-r3.ebuild.amd64.patch gcc 3.3.1-r3 ebuild patch patch Brad House 2003-10-16 07:59 0000 4.38 KB Details | Diff
02_all_gcc33-ice-hack.patch.bz2-3696.out Failed Patch: 02_all_gcc33-ice-hack.patch.bz2! text/plain jay chin 2003-10-17 01:49 0000 6.62 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 29952 depends on: 29857 29950 29951 Show dependency tree
Bug 29952 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-09-29 14:07 0000
Patches to gcc to allow multilib support so both 32bit and 64bit binaries can
be compiled on the same system, with the same compiler.
Requires:
  * gcc-config patch
  * binutils patch
  * emul-i686 ebuild

------- Comment #1 From Brad House 2003-09-29 14:09:01 0000 -------
Created an attachment (id=18503) [details]
put patch in files/ directory. multilib patch.

------- Comment #2 From Brad House 2003-09-29 14:09:24 0000 -------
Created an attachment (id=18504) [details]
patch for gcc-3.3.1-r3 ebuild

------- Comment #3 From Brad House 2003-09-29 17:55:06 0000 -------
Created an attachment (id=18514) [details]
gcc-3.3.1-r3.ebuild patch  make use of 'multilib' use flag.  Only builds
multilib if in use flags.

Checks for both ARCH=amd64 and `use multilib`.
If both of those are true, it will build gcc with multilib support.
It also adds a hard dependancy on sys-libs/emul-i686 so you need that
installed to compile multilib support.
By default, it does not build multilib.

I request that this patch be added to CVS, along with the other
dependancies.  None of the changes have an adverse affect on anything
else, and just add a more robust feature-set to gentoo on amd64.

------- Comment #4 From Brian Jackson (RETIRED) 2003-09-30 10:36:05 0000 -------
I think the idea was to have 32bit stuff in a chroot, so this needs some
discussion from the involved parties

------- Comment #5 From Brad House 2003-09-30 10:39:05 0000 -------
There's a discussion on it in Bug #29857 ...
Restricting everything to a chroot environment is extremely limiting.
You're talking about having a completely different version of GCC, and
all command line utils, etc.  Very, very wasteful, when this solution
can utilize the current system (while still maintaining the ability
to chroot if you desire). Basically, it adds no overhead.
Besides that, it's OPTIONAL ... enable USE 'multilib' or not, it's the call
of whoever is building that particular system.

------- Comment #6 From Jon Portnoy (RETIRED) 2003-09-30 10:45:04 0000 -------
I agree that we should have support for it for users who do want it.
Personally,
I don't do anything requiring 32-bit binaries, but I can see where a
significant
number of people would desire it. An off-by-default USE flag doesn't harm
anything.

------- Comment #7 From Brad House 2003-10-01 11:02:11 0000 -------
Created an attachment (id=18571) [details]
gcc multilib path patch. put in  files/

relocate some paths

------- Comment #8 From Brad House 2003-10-01 11:04:30 0000 -------
Created an attachment (id=18572) [details]
gcc 3.3.1-r3 ebuild patch

Last gcc patch borked C++ 64bit compiles.  This fixes that.  32bit C++ compiles
are borked for the moment, yet C compiles in 64bit and 32bit work fine. 
Got to
dig into the depths of GCC hell this weekend to figure out why 32bit C++
paths
passed to the linker are borked.  Will get it to work sanely though...

------- Comment #9 From Brad House 2003-10-01 14:24:35 0000 -------
Created an attachment (id=18576) [details]
gcc multilib patch.  put in gcc  files/ directory

------- Comment #10 From Brad House 2003-10-01 14:25:51 0000 -------
Created an attachment (id=18577) [details]
gcc multilib patch. put in gcc files/ directory

------- Comment #11 From Brad House 2003-10-01 14:27:56 0000 -------
Created an attachment (id=18578) [details]
gcc 3.3.1-r3 ebuild patch

long day.
Finally realized that gcc and g++ won't honor what's in the
config for multilib, unless it's a relative path starting with ../
So it would never properly resolve crt1.o and friends for 32bit 
compiles but would for 64bit compiles.
Wish this crap was documented.	Anyhow, EVERYTHING works now,
somehow ;)

------- Comment #12 From Brad House 2003-10-16 07:59:12 0000 -------
Created an attachment (id=19319) [details]
gcc 3.3.1-r3 ebuild patch

update to ebuild patch for app-emulation/emul-linux-x86-baselibs
instead of sys-libs/emul-i686

------- Comment #13 From jay chin 2003-10-17 01:49:38 0000 -------
Created an attachment (id=19347) [details]
Failed Patch: 02_all_gcc33-ice-hack.patch.bz2!

emerge failed after applying gcc-3.3.1-r3.ebuild.amd64.patch

------- Comment #14 From Brad House 2003-10-18 12:44:17 0000 -------
was not able to reproduce those problems.
Updated to gcc-3.3.1-r5.ebuild and committed the changes,
as there are many successful reports in #gentoo-amd64

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug