[Issue 3502] Fix for dropped Mac OS X 10.5

2009-11-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3502


Walter Bright  changed:

   What|Removed |Added

 CC||bugzi...@digitalmars.com


--- Comment #1 from Walter Bright  2009-11-13 
15:59:40 PST ---
I don't think the changes to machobj.c are necessary. Did you try it without
them?

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


[Issue 3502] Fix for dropped Mac OS X 10.5

2009-11-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3502



--- Comment #2 from Jacob Carlborg  2009-11-14 03:19:19 PST ---
Yes I tried, it doesn't work, bus error.

If I build the compiler with this patch on 10.5 and build a binary on 10.5 it
runs on 10.5 and 10.6. 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.

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


[Issue 3502] Fix for dropped Mac OS X 10.5

2009-12-02 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3502



--- Comment #3 from Walter Bright  2009-12-02 
15:28:12 PST ---
I installed the 10.4 sdk from the OSX 10.6 sdk. Unfortunately, now the .4u sdk
seems to be missing stdarg.h (it was there with 10.5's version of the .4u sdk).
I changed it to the .5 sdk, and now it builds.

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


[Issue 3502] Fix for dropped Mac OS X 10.5

2009-12-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3502


Jacob Carlborg  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


--- Comment #4 from Jacob Carlborg  2009-12-04 02:52:12 PST ---
I'm closing this one now, it seems to work, don't know what I did the first
time

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


[Issue 3502] Fix for dropped Mac OS X 10.5

2009-12-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3502



--- Comment #5 from Walter Bright  2009-12-06 
00:47:53 PST ---
Fixed dmd 1.053 and 2.037

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


[Issue 3502] Fix for dropped Mac OS X 10.5

2013-02-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3502


Martin Nowak  changed:

   What|Removed |Added

 CC||c...@dawg.eu


--- Comment #6 from Martin Nowak  2013-02-26 17:02:50 PST ---
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.

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

>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?

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


[Issue 3502] Fix for dropped Mac OS X 10.5

2013-02-27 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3502



--- Comment #7 from Jacob Carlborg  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: ---


[Issue 3502] Fix for dropped Mac OS X 10.5

2013-02-28 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3502


Martin Nowak  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |


--- Comment #8 from Martin Nowak  2013-02-28 04:10:25 PST ---
On OSX 10.5.2 the XCode3.0 linker (ld64-77) still crashes when handling
debug_line sections with an empty line table because it calculates the wrong
minimal section length.
This bug is still present on ld64-134.9 but they "fixed" the symptom by adding
a NULL check in ld64-87.


http://www.opensource.apple.com/source/ld64/ld64-97.2/ChangeLog

2008-07-18 Nick Kledzik

* src/MachOReaderRelocatable.hpp: don't crash if debug_line section has no
line table


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


[Issue 3502] Fix for dropped Mac OS X 10.5

2013-02-28 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3502



--- Comment #9 from Martin Nowak  2013-02-28 04:14:37 PST ---
Created an attachment (id=1196)
ld64-77 patch

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


[Issue 3502] Fix for dropped Mac OS X 10.5

2013-02-28 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3502


Martin Nowak  changed:

   What|Removed |Added

   Attachment #1196|0   |1
is obsolete||


--- Comment #10 from Martin Nowak  2013-02-28 04:28:15 PST ---
Created an attachment (id=1197)
ld64-77 patch

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


[Issue 3502] Fix for dropped Mac OS X 10.5

2013-03-06 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3502


Walter Bright  changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||FIXED


--- Comment #11 from Walter Bright  2013-03-06 
22:43:04 PST ---
https://github.com/D-Programming-Language/dmd/pull/1701

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


[Issue 3502] Fix for dropped Mac OS X 10.5

2015-06-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3502

Andrei Alexandrescu  changed:

   What|Removed |Added

Version|future  |D2

--