[MacPorts] #52741: cpuid upgrade, should make it build again

MacPorts noreply at macports.org
Sat Oct 29 10:47:53 CEST 2016


#52741: cpuid upgrade, should make it build again
---------------------+--------------------------------
  Reporter:  RJVB    |      Owner:  macports-tickets@…
      Type:  defect  |     Status:  reopened
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:  haspatch
      Port:  cpuid   |
---------------------+--------------------------------
Changes (by RJVB):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 Well, apparently something still isn't right on 10.6, 32bit :

 {{{
 ld: absolute addressing (perhaps -mdynamic-no-pic) used in
 _create_description from cache.o not allowed in slidable image. Use
 '-read_only_relocs suppress' to enable text relocs
 }}}

 I have no idea where the `-fno-PIC` options come from I see in the log,
 but the GNUMakefile does specify -mdynamic-no-pic on OS X. I'm not on a
 Mac right now so cannot test if that option is required for normal
 operation (in 64bit). I'll attach an updated patchfile which implements
 the linker's suggestion to use `-read_only_relocs suppress`. IIRC that
 worked for me before in other similar situations, and is safe to use
 indiscriminately.

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



More information about the macports-tickets mailing list