Mail Archives: djgpp/2015/05/17/14:19:42
On 05/17/2015 04:06 PM, Ozkan Sezer (sezeroz AT gmail DOT com) wrote:
> On 5/17/15, Andris Pavenis (andris DOT pavenis AT iki DOT fi) <djgpp AT delorie DOT com> wrote:
>> dlopen() crashes when
>> - DXE is built using gcc-5.1.0 (verified that gcc-4.7.3 is OK, I did not
>> test 4.8 or 4.9 now)
>> - there are unresolved references in DXE
>>
>> tests/dxe/dldemo.c is such example which crashes when DXE is built using
>> gcc-5.1.0.
>> There are no crashes when only dldemo.c and libc is compiled using gcc-5.1,
>> but DXEs with gcc-4.7.3.
>>
>> DXE files without unresolved references seem to work.
>>
>> Andris
> Impossibly remote possibilty, in case your dxe3gen is compiled using an
> x64-hosted gcc5: I just replaced two remaining uses of 'long int' with
> LONG32 (also added compile time checks to coff.h and sys/dxe.h to ensure
> LONG32 is 32 bits). Does it make a difference? (I don't think so, but..)
It would a problem only if I would running dxegen3 under x64 host. dxegen3 built on
x64 host should not have any problems.
Rebuilt all under under Windows Vista in DOS session and there were no improvement
Andris
- Raw text -