[dmd-beta] dmd 1.063 and 2.048 beta

Don Clugston dclugston at googlemail.com
Mon Aug 9 21:38:51 PDT 2010


On 9 August 2010 22:41, Walter Bright <walter at digitalmars.com> wrote:
> Walter Bright wrote:
>> Don Clugston wrote:
>>>
>>> Try going into bigintx86, and replacing "D_PIC" with "all". If the
>>> failing tests pass, that's the problem. And unless OSX has a concept
>>> of PIC, I think OSX should define D_PIC at all times.
>>
>> PIC should be always on for OSX, and it's a bug if the version thing is
>> not set for it.
>>
>
> I checked, D_PIC is always set under OSX. In mars.c:
>
> #if TARGET_OSX
>   global.params.pic = 1;
> #endif
>
> [...]
>
>   if (global.params.pic)
>       VersionCondition::addPredefinedGlobalIdent("D_PIC");

Good. Then there's some other problem, but it's not going to get fixed
in this release. (I'm assuming that the unit tests never passed in
previous releases). I've created bug 4610 for it. Would be great if
someone could attach a disassembly listing of bigintx86.obj to that
bug report, and I'll try to get it fixed for the next release.


More information about the dmd-beta mailing list