[MacPorts] #28892: gmp @5.0.1 fix for i7 MacBook Pro
#28892: gmp @5.0.1 fix for i7 MacBook Pro -------------------------------------+-------------------------------------- Reporter: nils.ohlmeier@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: gmp -------------------------------------+-------------------------------------- gmp @5.0.1 still fails on configure on a recent MacBook Pro, because config.guess identifies the CPU as i386. The attached patch adds the CPU id of the i7 to the list of know CPU's of gmp's config.guess. -- Ticket URL: <https://trac.macports.org/ticket/28892> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28892: gmp @5.0.1 fix for i7 MacBook Pro -------------------------------------+-------------------------------------- Reporter: nils.ohlmeier@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: gmp -------------------------------------+-------------------------------------- Changes (by jmr@…): * owner: macports-tickets@… => mcalhoun@… Comment: Please remember to cc the maintainer. There's already code in place that's meant to work around this, so it would be good if we could figure out why it isn't working for you. Please start by attaching the log. -- Ticket URL: <https://trac.macports.org/ticket/28892#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28892: gmp @5.0.1 fix for i7 MacBook Pro -------------------------------------+-------------------------------------- Reporter: nils.ohlmeier@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: gmp -------------------------------------+-------------------------------------- Comment(by nils.ohlmeier@…): After trying to reproduce the problem it turns out the build fails only if I use the universal variant. So without any special flags the existing patch seems to work, but when I try to compile with universal I get this: $ sudo port -v build gmp +universal ---> Fetching gmp ---> Verifying checksum(s) for gmp ---> Checksumming gmp-5.0.1.tar.bz2 ---> Extracting gmp ---> Extracting gmp-5.0.1.tar.bz2 ---> Applying patches to gmp ---> Applying /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/gmp/files /patch-gmp-h.in.diff patching file gmp-h.in ---> Configuring gmp ---> Configuring gmp for architecture x86_64 checking build system type... i386-apple-darwin10.7.3 checking host system type... i386-apple-darwin10.7.3 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no configure: error: ABI=64 is not among the following valid choices: 32 shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gmp/work/gmp-5.0.1-x86_64" && ./configure --prefix=/opt/local --infodir=/opt/local/share/info --enable-cxx " returned error 1 Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details) Warning: the following items did not execute (for gmp): org.macports.build org.macports.configure Log for gmp is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gmp/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets> -- Ticket URL: <https://trac.macports.org/ticket/28892#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#28892: gmp @5.0.1 fix for i7 MacBook Pro --------------------------------------+------------------------------------- Reporter: nils.ohlmeier@… | Owner: mcalhoun@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: fixed | Keywords: Port: gmp | --------------------------------------+------------------------------------- Changes (by mcalhoun@…): * status: new => closed * resolution: => fixed Comment: Should be fixed in r77717. The code meant to work around this does not run when universal is set.[[BR]] Recognizing Sandy Bridge is probably a better fix since it allows more processor dependent code to be used. Thanks for the patch. -- Ticket URL: <https://trac.macports.org/ticket/28892#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts