Summary: | toolchain.eclass changes for amd64 32bit userland profile | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Daniel Gryniewicz (RETIRED) <dang> |
Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
patch to allow a bi-arch gcc on i686
New toolchain.eclass patch with suggested changes Patch to allow 32/64-bit gcc on a 32bit host |
Description
Daniel Gryniewicz (RETIRED)
2009-04-17 17:24:02 UTC
Created attachment 188701 [details, diff]
patch to allow a bi-arch gcc on i686
the last hunk looks good, thanks as for the first hunk, how about: if [[ ${CTARGET} == *linux* ]] && is_multilib && [[ ${GCCMAJOR}.${GCCMINOR} > 4.2 ]] then case $(tc-arch) in sparc|x86) confgcc="${confgcc} --enable-targets=all" esac fi try to keep the arch parsing logic in tc-arch to avoid duplication and/or missing cases Created attachment 189049 [details, diff]
New toolchain.eclass patch with suggested changes
Okay, here's a new patch, incorporating your suggestions.
Created attachment 192600 [details, diff]
Patch to allow 32/64-bit gcc on a 32bit host
Here's the current patch I have. It works great for me. It incorporates the !crosscompile fix from a few days ago, and disables the default setting of i686 for multilib, since that breaks gcc -m64 without -march=nocona/core2/k8.
should be deployed now *** This bug has been marked as a duplicate of bug 349405 *** |