bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ld segmentation violation when cross-compiling mingw on amd64 architectu


From: Claus Fischer
Subject: ld segmentation violation when cross-compiling mingw on amd64 architecture
Date: Mon, 2 Jul 2007 14:06:43 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

Package:  binutils
Versions: 2.17
          2.17.50-20060824-1  (from mingw download site)
          2.17.50             (from bintils at sourceware, dated 07/02/2007)

Size      MD5sum                            Source package
13795751  e26e2e06b6e4bf3acf1dc8688a94c0d1  binutils-2.17.tar.bz2
17702533  1f460788226614419bc41ab4adde6576  
binutils-2.17.50-20060824-1-src.tar.gz
15596447  84ec957e3165fde1cfd68d5fd97d84aa  binutils-2.17.50.tar.bz2


Dear binutil maintainers,

all three versions listed above give a segmentation violation when
linking an xll (Excel DLL) on an AMD 64 system (Debian etch amd64).

The error is produced by the following command, called from gcc:
/usr/local/libexec/gcc/i386-pc-mingw32/4.2.0/collect2 --shared -Bdynamic -e 
address@hidden -o sklsim.xll 
/usr/local/lib/gcc/i386-pc-mingw32/4.2.0/../../../../i386-pc-mingw32/lib/dllcrt2.o
 -L/usr/local/lib/gcc/i386-pc-mingw32/4.2.0 
-L/usr/local/lib/gcc/i386-pc-mingw32/4.2.0/../../../../i386-pc-mingw32/lib 
libsklsim_xll.a libsklsim.a ../../sklsim/xlcall/xlcall32.lib -loleaut32 
-lmingw32 -lgcc -lmoldname -lmingwex -lmsvcrt -luser32 -lkernel32 -ladvapi32 
-lshell32 -lmingw32 -lgcc -lmoldname -lmingwex -lmsvcrt
collect2: ld terminated with signal 11 [Segmentation fault]


The problem only occurs on amd64 platforms; cross-compilation on ia32
architecture works fine (verified for the first version only).

As I'm not at liberty to disclose the program that produces this error
publicly, I would be glad to be of any assistance/provide an account/
provide the program privatly to a binutils developer.


I appreciate any help.


Regards

Claus

-- 
Claus Fischer <address@hidden>
http://www.clausfischer.com/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]