[Bug ld/6758] New: Import library produced by --out-implib doesn't work with MSVC

2008-07-21 Thread msw at stjernholm dot org
When using an import library produced by --out-implib with MSVC, the Microsoft linker reports this warning: pcre.lib(d04.o) : warning LNK4078: multiple '.text' sections found with different attributes (E020) The resulting executable crashes immediately when a function in the library is ca

[Bug ld/6431] ld says: invalid version 3 (max 0)

2008-07-21 Thread niki dot waibel at gmx dot net
--- Additional Comments From niki dot waibel at gmx dot net 2008-07-21 17:02 --- well -- as a workaround, you can remove -lpthread -thread options from gcc. but binutils/ld should also be able to handle this case. exiting with a message like "invalid version 3 (max 0)" is meaningless, e

Re: linker problem ? help needed !!!

2008-07-21 Thread Nick Clifton
Hi Navi, i am trying to link some object files but i am getting error "System cant execute this program" Please can you tell us: * What type of host machine you are using. * What type of target machine you are linking for. * Which version of the linker are you using ? * What is the co

[Bug ld/6727] Thumb interworking code zero when another section is positioned before positioning .text

2008-07-21 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2008-07-21 15:53 --- Subject: Re: Thumb interworking code zero when another section is positioned before positioning .text Hi Aaron, > how do i build binutils from source for ARM? > i followed instructions on http://www.gnuarm.

Re: [Bug ld/6727] Thumb interworking code zero when another section is positioned before positioning .text

2008-07-21 Thread Nick Clifton
Hi Aaron, how do i build binutils from source for ARM? i followed instructions on http://www.gnuarm.com/support.html Well those instructions should work, although obviously you can stop once you have built and installed your new set of binutils. # cd [binutils-build] # [binutils-source]/co

[Bug ld/6431] ld says: invalid version 3 (max 0)

2008-07-21 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2008-07-21 15:28 --- Subject: Re: ld says: invalid version 3 (max 0) Hi niki, > found a workaround!!! ... it seems that on sol10, all pthread_XXX stuff is now > in libc.so. if you remove the -lpthread -thread options when glib compi