[phobos] simplified failure on OSX
Andrei Alexandrescu
andrei at erdani.com
Tue Nov 30 07:48:29 PST 2010
That's a good theory.
Andrei
On 11/30/10 9:37 AM, Sean Kelly wrote:
> It works for me. Perhaps this is somehow related to the uid issues you've had with object file generation? You're the only one I know that has a uid more than 2 bytes long.
>
> On Nov 25, 2010, at 3:54 PM, Andrei Alexandrescu wrote:
>
>> That makes sense because I omitted the -m32 flag for gcc.
>>
>> So: even with -m32, build fails for me with dmd freshly built from source. Anyone can repro this?
>>
>> cd /my/druntime/dir
>> gcc -m32 -c src/rt/critical.c -oobj/critical.o
>> dmd -lib -oflib/libdruntime.a obj/critical.o
>>
>>
>> Andrei
>>
>> On 11/25/10 4:29 PM, Jacob Carlborg wrote:
>>> Hmm, I also get that error with that test case but I can still build druntime, strange.
>>>
>>> On 25 nov 2010, at 23:07, Andrei Alexandrescu wrote:
>>>
>>>> I reduced the failure to this:
>>>>
>>>> cd /my/druntime/dir
>>>> gcc -c src/rt/critical.c -oobj/critical.o
>>>> dmd -lib -oflib/libdruntime.a obj/critical.o
>>>>
>>>> That's it! I get:
>>>>
>>>> Error: corrupt object module obj/critical.o 13
>>>>
>>>> I don't know even where the 13 is coming from!
>>>>
>>>>
>>>> Andrei
>>>> _______________________________________________
>>>> 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
>
> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos
More information about the phobos
mailing list