[phobos] simplified failure on OSX

Sean Kelly sean at invisibleduck.org
Tue Nov 30 07:37:24 PST 2010


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



More information about the phobos mailing list