Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Ticket #13436 (closed defect: fixed)

Opened 10 months ago

Last modified 9 months ago

LD_PREBIND and LD_PREBIND_ALLOW_OVERLAP harmful on 10.5

Reported by: mww@… Owned by: pguyot@…
Priority: High Milestone: MacPorts base bugs
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 10 months 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 9 months ago by tcollen@…

just adding a note so i can watch this ticket.

in reply to: ↑ 1   Changed 9 months 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 9 months 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 9 months 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 9 months ago by jmpp@…

  • description modified (diff)

  Changed 9 months 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

Note: See TracTickets for help on using tickets.