| Summary: | devel/gmake: TARGET_ARCH variable prevents cross-compilations | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Carl <k0802647> |
| Component: | Individual Port(s) | Assignee: | autotools |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
Carl
2011-06-19 03:00:21 UTC
Responsible Changed From-To: freebsd-ports-bugs->autotools Over to maintainer (via the GNATS Auto Assign Tool) State Changed From-To: open->closed 1. Cross-compilation of /usr/ports is not supported, subtly fails to work in a common case (amd64->i386), falls-down-goes-boom in all other cases 2. TARGET_ARCH is used by /usr/src for cross-compilation TARGET_ARCH is used by GNU make for its own purposes The only commonality between these two is the variable name. "Fixing" one or the other would be an enormous undertaking, with zero end-result improvements (see (1) above). Cross-compilation capability is a requirement for any OS that hopes to be ported to a broader selection of processor architectures. So, Ade, let's be completely clear what you are saying by closing without fixing this bug. You have decided for the FreeBSD community that the gmake port will knowingly and deliberately be made a stumbling block to getting FreeBSD onto other architectures. Would you be so kind as to point me to an official FreeBSD decision statement that says cross-compilation of /usr/ports is not supported? Perhaps that is the case, but I find it really quite astonishing that the common case of cross-compiling amd64 to i386 is deemed unimportant. How you can label a fix to this bug as achieving "zero end-result improvements" is beyond me. Your own inexperience with such things as embedded applications and small network appliances does not somehow mean that no one else in the community has such needs. What you see as "zero" is very definitely non-zero when I am having to patch individual ports in an effort to make FreeBSD work. Carl / K0802647 |