[dmd-internals] Oldest five bugs
Sean Kelly
sean at invisibleduck.org
Thu Jan 19 15:32:52 PST 2012
On Jan 19, 2012, at 2:51 PM, Martin Nowak wrote:
> On Thu, 19 Jan 2012 21:08:49 +0100, Sean Kelly <sean at invisibleduck.org> wrote:
>
>> On Jan 18, 2012, at 1:41 PM, Don Clugston wrote:
>>>
>>> But the single most embarassing bug, is still this regression:
>>> http://d.puremagic.com/issues/show_bug.cgi?id=4854
>>> "Hello, World" segfaults on OSX 10.5
>>>
>>> That one still makes me shudder.
>>
>> Does anyone have a 10.5 install that can test this? I might be able to sort one out, but it would take some doing.
>
> I had issues with 10.5.8, where ld would segfault.
> From debugging ld it was choking on a corrupted section header.
> So it didn't even got that far but I think the root cause is
> related and eventually comes from ld handling empty sections wrong.
> Now I have updated to 10.7 so I can't really help here.
DMD has always had problems with empty sections on OSX, largely because the hack DMD uses to order them is incompatible with the ld implementation for OSX. Fixing this to use the mach library routines to look up section boundaries would be a worthwhile effort regardless of OSX version. Though doesn't the current druntime already do this ask of a release or two ago? I think the relevant code is in src/rt/memory_osx.d.
More information about the dmd-internals
mailing list