Web lists-archives.org

[Mingw-users] One remaining Vista issue




Hi,

As some of you may remember, with considerable help from members of this 
list, I managed to build a gcc-3.4.5 that worked with Vista. It has turned 
out to be quite serviceable - it will build the latest versions of perl, 
gmp, mpfr, openssl - in fact it works for everything that I've tried except 
for the following failure. When I try to build the PDL perl module, I get 
(wrt both PDL::IO::GD and PDL::FFTW):

C:\home\rob\mingw_vista\i686-pc-mingw32\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: 
warning: 
C:\home\rob\mingw_vista\i686-pc-mingw32\lib\libkernel32.a(dqifs00220.o): 
local symbol `' has no section
C:\home\rob\mingw_vista\i686-pc-mingw32\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: 
C:\home\rob\mingw_vista\i686-pc-mingw32\lib\libkernel32.a(dqifs00220.o): bad 
reloc address 0x1540000 in section `.text'
collect2: ld returned 1 exit status

I can put the exact same compiler on an XP box, and the error does not 
arise. The same version of PDL builds perfectly.

On the Vista box, I've tried building a basic C program that needs to link 
to libkernel32.a (a program that uses the lstrcpy function) and the error 
does not arise. It's only wrt PDL that I've come across this error.

Tonight John E uploaded *his* Vista builds of gcc-3.4.5, so I tried building 
PDL using his builds of core, g++ and g77 and I still get exactly the same 
error on Vista. (I haven't yet tried using John E's binaries on XP - I 
expect they'll work fine there for building PDL - I'll check tomorrow night 
when I have more time.)

Any thoughts on what's going wrong here ? and things I can try to overcome 
this issue ?

Cheers,
Rob 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users