[phobos] Could anyone rewrite win32.mak? (automated test failures)

Rainer Schuetze r.sagitario at gmx.de
Mon Sep 27 23:30:15 PDT 2010


I didn't try to compile each module separately, but here's the patch to 
the makefile splitting the compilation into two parts to bring the 
unittests back to live. (Though I was hoping that the occurrence of this 
nasty bug with the phobos unittests would have encouraged Walter to fix 
it in the linker... ;-) )

Rainer

Shin Fujishiro wrote:
> Then, could anyone refactor win32.mak so that each module's tests run
> individually like posix.mak?  I can't write/test digitalmars' makefile.
> 
> 
> Shin
> 
> Rainer Schuetze <r.sagitario at gmx.de> wrote:
>> Yes, it's reproducible, but the effect can vary easily by 
>> adding/removing symbols to/from the object file. I get "access 
>> violation" or "Win32 exception" after an update.
>>
>> The latest svn revision produces 16784 symbols causing any symbols above 
>> 16384 to be relocated as the first symbols in the object file. See 
>> http://d.puremagic.com/issues/show_bug.cgi?id=3372
>>
>> A workaround is to split the compilation into two steps producing 
>> smaller object files.
>>
>> Rainer
>>
>> Brad Roberts wrote:
>>> I just updated that auto-tester to the 8.00.8 version of link.exe (I'd moved
>>> stuff around and reverted to the .5 version that comes with the dmc.zip that I
>>> have been using accidentally).  Run 900 and beyond use .8, but it doesn't help
>>> with this bug.
>>>
>>> Is anyone else able to reproduce this?
>>>
>>> Later,
>>> Brad
>>>
>>> On 9/26/2010 4:42 AM, SHOO wrote:
>>>>  Maybe, this problem is caused by OPTLINK.
>>>>
>>>> See also: http://d.puremagic.com/issues/show_bug.cgi?id=4904
>>>>
>>>> (2010/09/26 17:40), Brad Roberts wrote:
>>>>> The automated win32 phobos tests started failing at the 22:20 test run.  Linux
>>>>> is fine still.
>>>>>
>>>>> The error:
>>>>>      http://d.puremagic.com/test-results/test_data.ghtml?dataid=5766
>>>>>
>>>>>      unittest
>>>>>      object.Error: Privileged Instruction
>>>>>
>>>>> The changes between this run and the previously successful run:
>>>>>      http://www.dsource.org/projects/dmd/changeset/689
>>>>>      http://www.dsource.org/projects/phobos/changeset/2049
>>>>>
>>>>> Later,
>>>>> Brad

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: unittest.patch
URL: <http://lists.puremagic.com/pipermail/phobos/attachments/20100928/4ac3f6b3/attachment.ksh>


More information about the phobos mailing list