X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com Message-ID: <5558DBB0.1040504@iki.fi> Date: Sun, 17 May 2015 21:19:28 +0300 From: "Andris Pavenis (andris DOT pavenis AT iki DOT fi)" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: dlopen() crashes when DXE built with with gcc-5.1.0 References: <555889AB DOT 1010608 AT iki DOT fi> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com 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) 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