New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #12907 (closed defect: worksforme)

Opened 6 years ago

Last modified 4 years ago

GMP is building incorrectly (which causes ECL not to fail to build)

Reported by: jwiegley@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.5.2
Keywords: Cc:
Port: gmp

Description

There is a problem with the way libgmp is being built, which results in a dynamic library that references an undefined symbol. I've seen this problem before when trying to binding to gmp in Python, but I thought my issue was isolated and wouldn't affect other MacPorts users. However, I discovered today that building ECL suffers from exactly the same problem. Here's the error that I see, which trying to run a program which has been fully linked to libgmp.dylib; you should see this if you build the ECL package (ecl):

dyld: _dyld_bind_fully_image_containing_address() error
dyld: Symbol not found: ___gmpn_sub_nc
  Referenced from: /usr/local/lib/libgmp.3.dylib
  Expected in: flat namespace

This does not happen with the Fink build of GMP, because it never references this symbol.

Also, this only seems to occur on my Intel Mac. On my PowerBook, the MacPorts build of GMP works just fine (at least, it did with my Python binding situation).

Change History

comment:1 Changed 5 years ago by jmr@…

  • Milestone set to Port Bugs

comment:2 Changed 5 years ago by blb@…

  • Port set to gmp

ecl should be fine (from ticket #16640), are you having any other issues with gmp (it's had a couple of version updates since this ticket)?

comment:3 Changed 4 years ago by blb@…

  • Status changed from new to closed
  • Resolution set to worksforme

Closing, lack of response.

comment:4 Changed 4 years ago by anonymous

  • Milestone Port Bugs deleted

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.