New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #13436 (closed defect: fixed)

Opened 2 years ago

Last modified 3 months ago

LD_PREBIND and LD_PREBIND_ALLOW_OVERLAP harmful on 10.5

Reported by: mww@… Owned by: pguyot@…
Priority: High Milestone: MacPorts 1.6
Component: base Version: 1.5.2
Keywords: LD_PREBIND LD_PREBIND_ALLOW_OVERLAP 10.5 Cc: mww@…
Port:

Description (last modified by jmpp@…) (diff)

Setting LD_PREBIND and LD_PREBIND_ALLOW_OVERLAP to "1" results in build errors on various ports in Mac OS X 10.5 which fail with ld: symbol(s) not found ...; e.g. the postgresql ports fail to compile (#12994)

Could we remove this feature for the 1.6 release? (or make it OS dependant or configurable? Does it make sense on 10.5 at all?)

Change History

follow-up: ↓ 3   Changed 2 years ago by pguyot@…

I'm wondering why I'm the owner of this bug. Judging from the style of the comment, I don't think I'm the one who put that in...

Anyway. Prebinding is useless on 10.4 and while we have issues with 10.5, I am a definitive supporter of the "current release + previous release" support and therefore would advocate removing all remainings of the LD_PREBIND stuff. I can put a .diff here if this helps, or commit the thing myself.

  Changed 2 years ago by tcollen@…

just adding a note so i can watch this ticket.

in reply to: ↑ 1   Changed 2 years ago by mww@…

Replying to pguyot@kallisys.net:

I'm wondering why I'm the owner of this bug. Judging from the style of the comment, I don't think I'm the one who put that in...

Sorry - I had the impression from the logfiles that you put that in initially.

Anyway. Prebinding is useless on 10.4 and while we have issues with 10.5, I am a definitive supporter of the "current release + previous release" support and therefore would advocate removing all remainings of the LD_PREBIND stuff. I can put a .diff here if this helps, or commit the thing myself.

Either way would be fine for me -- I'd just like to have it out for v1.6! Thanks!

  Changed 2 years ago by mww@…

  • status changed from new to closed
  • resolution set to fixed

I've removed both environment variables from macports.tcl -- this seemed to be the only place where they were used. (commit 31786)

  Changed 2 years ago by jmpp@…

Does prebinding have any meaning on 10.3? If so, maybe a simple if to keep the needed environment on that platform would be a nicer approach...

Other than that, this is certainly a merger candidate for the 1.6 branch. I'll work on it once I get some 10.3 feedback, thanks!

-jmpp

  Changed 2 years ago by jmpp@…

  • description modified (diff)

  Changed 2 years ago by jmpp@…

  • milestone changed from MacPorts 1.6 to MacPorts base bugs

In discussing this with Markus, it's clear that the very little benefit that prebinding buys us makes it not worth it keeping the feature even on Panther and earlier platforms, so I'll be merging the feature removal into the release branch soonishly now.

-jmpp

  Changed 15 months ago by toby@…

  • milestone changed from MacPorts base bugs to MacPorts Future

Milestone MacPorts base bugs deleted

  Changed 3 months ago by jmr@…

  • milestone changed from MacPorts Future to MacPorts 1.6
Note: See TracTickets for help on using tickets.