Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Mar 2016 22:23:03 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 208440] Templates/config.{guess,sub} to canonicalize amd64 as x86_64 (restore upstream behavior)
Message-ID:  <bug-208440-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208440

            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@FreeBSD.org
          Reporter: jbeich@FreeBSD.org
                CC: freebsd-ports-bugs@FreeBSD.org

On FreeBSD amd64 uname -p and uname -m report amd64. GNU config canonicaliz=
es
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=3D4e3da806cdd8

vs.

  $ cd /usr/ports
  $ sh Templates/config.guess
  amd64-unknown-freebsd11.0
  $ sh Templates/config.sub amd64-portbld-freebsd11.0
  amd64-portbld-freebsd11.0

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-208440-13>