[Bug 37540] Multiple games and applications wrapped with Enigma v4 and GG DRM schemes crash on startup (incompatible with use of position independent code (PIC) in Wine dlls)

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Feb 4 08:29:02 CST 2016


https://bugs.winehq.org/show_bug.cgi?id=37540

--- Comment #18 from Michael Weiser <michael at weiser.dinsnail.net> ---
Created attachment 53573
  --> https://bugs.winehq.org/attachment.cgi?id=53573
Globally enable -mno-dynamic-pic on Darwin/OS X

I've now had time to revisit this problem for Darwin/OS X: With some quick
googling I found hints that adding "-read_only_relocs suppress" works around
the "illegal relocation" error from Xcode ld. The attached patch does this very
hackishly and globally via appending to LDFLAGS. And indeed, this produces a
wine-1.9.2 that is able to launch the current, still Enigma-wrapped version of
VCDS (15.7.3) on OS X 10.11.3. Awesome!

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list