Thread overview | ||||||||
---|---|---|---|---|---|---|---|---|
|
November 25, 2010 [phobos] simplified failure on OSX | ||||
---|---|---|---|---|
| ||||
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 |
November 25, 2010 [phobos] simplified failure on OSX | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrei Alexandrescu | 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 -- /Jacob Carlborg |
November 25, 2010 [phobos] simplified failure on OSX | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jacob Carlborg | 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
>
|
November 27, 2010 [phobos] simplified failure on OSX | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrei Alexandrescu | 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 |
November 30, 2010 [phobos] simplified failure on OSX | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrei Alexandrescu | 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
|
November 30, 2010 [phobos] simplified failure on OSX | ||||
---|---|---|---|---|
| ||||
Posted in reply to Sean Kelly | 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
|
Copyright © 1999-2021 by the D Language Foundation