[phobos] simplified failure on OSX

Jacob Carlborg doob at me.com
Sat Nov 27 08:38:17 PST 2010


That works for me, I don't get an error in the test case below.

On 26 nov 2010, at 00:54, 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

-- 
/Jacob Carlborg



More information about the phobos mailing list