[Issue 3502] Fix for dropped Mac OS X 10.5

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Feb 26 23:59:20 PST 2013


http://d.puremagic.com/issues/show_bug.cgi?id=3502



--- Comment #7 from Jacob Carlborg <doob at me.com> 2013-02-26 23:59:17 PST ---
(In reply to comment #6)
> Why do we check for the OS version to workaround linker bugs?
> If there really is no other way we should at least check the
> linker/gcc-toolchain version.

How would you do that during runtime?

> If I understood the changes correctly then the "10.6" linker segfaults when
> linking empty segments, right?
> What's the issue with 10.5?

Yes, I think so. The changes to fix 10.6 broke the 10.5 support. I just added
back the code that worked in 10.5, depending on what version the compiler is
running.

> >If I use the same compiler and build a binary on 10.6 it
> runs on 10.6 but not on 10.5. Maybe not perfect but at least it's better.
> 
> What has happened here?
> 
> Isn't all of this completely unnecessary now that we use onAddImage/getSection?

I don't know, maybe.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list