[MacPorts] #49229: gmp @6.0.0: Missing operand value assumed absolute 0. (was: gmp Build Error)

MacPorts noreply at macports.org
Mon Oct 12 14:53:32 PDT 2015


#49229: gmp @6.0.0: Missing operand value assumed absolute 0.
-----------------------------+-------------------------
  Reporter:  stephenallen@…  |      Owner:  michaelld@…
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.3.4
Resolution:                  |   Keywords:
      Port:  gmp             |
-----------------------------+-------------------------
Changes (by ryandesign@…):

 * keywords:  gmp build error =>
 * cc: ryandesign@… (added)
 * owner:  macports-tickets@… => michaelld@…


Comment:

 gmp @6.0.0 builds fine on my Leopard system but your log shows:

 {{{
 :info:build tmp-dive_1.s:156:Missing operand value assumed absolute 0.
 :info:build tmp-dive_1.s:156:junk `[.-Lhere]' after expression
 :info:build tmp-dive_1.s:158:junk `@GOT' after expression
 }}}

 Your log also shows a couple odd things:

 {{{
 :info:build  /usr/bin/gcc-4.2 -std=gnu99 -c -DHAVE_CONFIG_H -I. -I..
 -D__GMP_WITHIN_GMP -I.. -DOPERATION_dive_1 -I/opt/local/include -m32 -O2
 -pedantic -fomit-frame-pointer -mtune=pentium3 -march=pentium3 tmp-
 dive_1.s -fno-common -DPIC -o .libs/dive_1.o
 :info:configure checking build system type... atom-apple-darwin9.4.0
 :info:configure checking host system type... atom-apple-darwin9.4.0
 }}}

 The latest version of Leopard is 10.5.8, but this shows you are running
 10.5.4. Can you upgrade? It may be a problem that has been fixed in a
 later version of OS X.

 What version of Xcode do you have? The latest for Leopard is 3.1.4; if you
 have an earlier version, try upgrading to 3.1.4.

 The log also shows you have an Atom CPU? Is that accurate, or has gmp
 misidentified your system? I know of no Macs containing an Atom CPU. gmp
 contains assembly code, and assembly code varies by CPU. And the build
 failure occurred in assembly code. There may be a bug in the gmp project's
 atom assembly code. You could report the problem to developers of gmp.

 It could be that there is a bug in Xcode's gcc compiler that makes it
 unable to compile this Atom assembly code. You could try a different
 compiler, for example "sudo port clean gmp && sudo port install gmp
 configure.compiler=macports-clang-3.4"

-- 
Ticket URL: <https://trac.macports.org/ticket/49229#comment:1>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list