[Bug 208440] Templates/config.{guess,sub} to canonicalize amd64 as x86_64 (restore upstream behavior)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Mar 31 22:23:03 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208440
Bug ID: 208440
Summary: Templates/config.{guess,sub} to canonicalize amd64 as
x86_64 (restore upstream behavior)
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Ports Framework
Assignee: portmgr at FreeBSD.org
Reporter: jbeich at FreeBSD.org
CC: freebsd-ports-bugs at FreeBSD.org
On FreeBSD amd64 uname -p and uname -m report amd64. GNU config canonicalizes
it as x86_64. Various upstream projects may not expect amd64 in configure
target triple, so ports end up overriding CONFIGURE_TARGET. This may not be
easily noticible if otherwise the build doesn't break e.g., x11/babl.
Let's back out ports r319948 from *both* config.guess and config.sub.
$ cd /path/to/config
$ sh config.guess
x86_64-unknown-freebsd11.0
$ sh config.sub amd64-unknown-freebsd11.0
x86_64-unknown-freebsd11.0
http://git.savannah.gnu.org/cgit/config.git/commit/?id=4e3da806cdd8
vs.
$ cd /usr/ports
$ sh Templates/config.guess
amd64-unknown-freebsd11.0
$ sh Templates/config.sub amd64-portbld-freebsd11.0
amd64-portbld-freebsd11.0
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-ports-bugs
mailing list