[phobos] Showstopper bug: Hello world fails on OSX!
Sean Kelly
sean at invisibleduck.org
Mon Nov 8 13:56:58 PST 2010
The library code isn't different between OS versions so my guess is that this is somehow related to object file generation within the compiler. backend/machobj.c didn't change between May 10th and Jun 11th however, so I'm not sure what to suggest. If it helps, here are the druntime and DMD timelines for DMD 2.047:
http://dsource.org/projects/druntime/timeline?from=6%2F11%2F10&daysback=32&wiki=on&changeset=on&milestone=on&ticket=on&update=Update
http://dsource.org/projects/dmd/timeline?from=6%2F11%2F10&daysback=32&wiki=on&changeset=on&milestone=on&ticket=on&update=Update
I don't see anything in the druntime changelog that should affect TLS. The DMD changelog will take longer to go through though.
On Nov 8, 2010, at 12:33 PM, Jacob Carlborg wrote:
> I can reproduce the error using 2.050 on Mac OS X 10.5.8.
>
> On 8 nov 2010, at 20:02, Sean Kelly wrote:
>
>> I can't reproduce using 2.050 and OSX 10.6. Is anyone still on 10.5 that can try this with 2.050?
>>
>> On Nov 8, 2010, at 3:46 AM, Don Clugston wrote:
>>
>>> Bug 4854. "Regression(2.047, Mac only) writefln Segmentation fault if
>>> no globals" Confirmed by 3 people.
>>>
>>> Thread local storage isn't getting set up correctly. Perhaps this
>>> happens when TLS is used in a library, but not in user code.
>>> This behaviour was introduced in 2.047, though it may have been a
>>> latent bug which was only triggered in that release.
>>> This may be a druntime bug, though it is more likely to be a compiler bug.
>>>
>>> Although this is OSX-specific, this bug could still be a PR disaster.
>>> Perhaps an OSX user can track down which svn commit triggered the regression.
>>> _______________________________________________
>>> phobos mailing list
>>> phobos at puremagic.com
>>> http://lists.puremagic.com/mailman/listinfo/phobos
>>
>> _______________________________________________
>> phobos mailing list
>> phobos at puremagic.com
>> http://lists.puremagic.com/mailman/listinfo/phobos
>
> --
> /Jacob Carlborg
>
> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos
More information about the phobos
mailing list