Re: linker (binutils ld) is unable to resolve weak symbol, depends on object file order

2019-06-07 Thread Jon Turney
On 07/06/2019 12:22, JonY wrote: On 6/7/19 10:04 AM, Michael Haubenwallner wrote: Hi, so I'm encountering a strange problem related to object file order passed to the linker, with any binutils and gcc version available to setup-x86_64.exe: $ cat weak-func.c extern void weakfunc() __attribute__

Re: linker (binutils ld) is unable to resolve weak symbol, depends on object file order

2019-06-07 Thread JonY
On 6/7/19 10:04 AM, Michael Haubenwallner wrote: > Hi, > > so I'm encountering a strange problem related to object file order passed to > the linker, with any binutils and gcc version available to setup-x86_64.exe: > > $ cat weak-func.c > extern void weakfunc() __attribute__((weak)); > void weakf

linker (binutils ld) is unable to resolve weak symbol, depends on object file order

2019-06-07 Thread Michael Haubenwallner
Hi, so I'm encountering a strange problem related to object file order passed to the linker, with any binutils and gcc version available to setup-x86_64.exe: $ cat weak-func.c extern void weakfunc() __attribute__((weak)); void weakfunc() {} $ cat weak-main.c extern void weakfunc() __attribute__(

Re: binutils: ld --export-dynamic

2008-10-12 Thread Yaakov (Cygwin Ports)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Yaakov (Cygwin Ports) wrote: > Thanks for the guidance, I did just that: > > http://sourceware.org/bugzilla/show_bug.cgi?id=6744 Three months, nothing doing Yaakov -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (Cygwin) Comment: Using Gn

Re: binutils: ld --export-dynamic

2008-07-13 Thread Yaakov (Cygwin Ports)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Christopher Faylor wrote: | It's probably best to report general binutils problems like this to the | binutils mailing list. Someone like Danny Smith may know how to fix | this quickly. | | You could also create a bugzilla entry for this since it s

Re: binutils: ld --export-dynamic

2008-07-10 Thread Christopher Faylor
On Thu, Jul 03, 2008 at 09:39:59AM -0500, Yaakov (Cygwin Ports) wrote: > While you're waiting for the binutils list to get back to you, here's > another binutils issue. This is not a regression in 2.18, but rather a > longstanding difference in Cygwin behaviour versus Linux. > > When linking a pro

binutils: ld --export-dynamic

2008-07-03 Thread Yaakov (Cygwin Ports)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 cgf, While you're waiting for the binutils list to get back to you, here's another binutils issue. This is not a regression in 2.18, but rather a longstanding difference in Cygwin behaviour versus Linux. When linking a program with -Wl,--export-d

Fwd: Re: binutils/ld - Pls. reply.

2003-01-14 Thread DEEPA SIVASANKARANE
5 -0500 >From: Christopher Faylor <[EMAIL PROTECTED]> >Subject: Re: binutils/ld >To: [EMAIL PROTECTED] > >On Tue, Jan 14, 2003 at 07:39:15AM -0500, DEEPA SIVASANKARANE wrote: >>i had installed binutils from setup. does it support elf_i386 >>emulation ? the onl

Re: binutils/ld

2003-01-14 Thread DEEPA SIVASANKARANE
Christopher Faylor <[EMAIL PROTECTED]> >Subject: Re: binutils/ld >To: [EMAIL PROTECTED] > >On Tue, Jan 14, 2003 at 07:39:15AM -0500, DEEPA SIVASANKARANE wrote: >>i had installed binutils from setup. does it support elf_i386 >>emulation ? the only supported emulation

Re: binutils/ld

2003-01-14 Thread Christopher Faylor
On Tue, Jan 14, 2003 at 07:39:15AM -0500, DEEPA SIVASANKARANE wrote: >i had installed binutils from setup. does it support elf_i386 >emulation ? the only supported emulation seems to i386PE. When I run >ld, on a ".o" from "as" I get the message; > >ld: PE operatios on non PE File. I'm not sure

binutils/ld

2003-01-14 Thread DEEPA SIVASANKARANE
hi folks, i had installed binutils from setup. does it support elf_i386 emulation ? the only supported emulation seems to i386PE. When I run ld, on a ".o" from "as" I get the message; ld: PE operatios on non PE File. Could somebody please help ? Thanx in advance, Deepa -- Unsubscribe info:

RE: binutils ld update with auto-import from dll's ?`

2003-01-13 Thread Ralf Habacker
> patience. cgf is the maintainer for binutils on cygwin, but I'm sure he > has his hands full getting ready for the imminent 1.3.19 cygwin kernel > release. > > BTW, Danny reported a problem with Fabrizio Gennari's "create an export > section for .exe's" patch and relocatable linking. Danny sent

Re: binutils ld update with auto-import from dll's ?`

2003-01-13 Thread Charles Wilson
[sorry for the duplicates; mailserver was fubared. It's fixed now.] --Chuck -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/

Re: binutils ld update with auto-import from dll's ?`

2003-01-13 Thread Charles Wilson
Ralf Habacker wrote: Hi all, in december 2002 Charles Wilson and I had supplied an ld patch for the auto-import from dll functionality. For the kde-cygwin project we would like to use this new stuff in the near future for the next qt3 release. patience. cgf is the maintainer for binutils on c

Re: binutils ld update with auto-import from dll's ?`

2003-01-13 Thread Charles Wilson
Ralf Habacker wrote: Hi all, in december 2002 Charles Wilson and I had supplied an ld patch for the auto-import from dll functionality. For the kde-cygwin project we would like to use this new stuff in the near future for the next qt3 release. patience. cgf is the maintainer for binutils on c

Re: binutils ld update with auto-import from dll's ?`

2003-01-13 Thread Charles Wilson
Ralf Habacker wrote: Hi all, in december 2002 Charles Wilson and I had supplied an ld patch for the auto-import from dll functionality. For the kde-cygwin project we would like to use this new stuff in the near future for the next qt3 release. patience. cgf is the maintainer for binutils on c

Re: binutils ld update with auto-import from dll's ?`

2003-01-13 Thread Charles Wilson
Ralf Habacker wrote: Hi all, in december 2002 Charles Wilson and I had supplied an ld patch for the auto-import from dll functionality. For the kde-cygwin project we would like to use this new stuff in the near future for the next qt3 release. patience. cgf is the maintainer for binutils on c

binutils ld update with auto-import from dll's ?`

2003-01-13 Thread Ralf Habacker
Hi all, in december 2002 Charles Wilson and I had supplied an ld patch for the auto-import from dll functionality. For the kde-cygwin project we would like to use this new stuff in the near future for the next qt3 release. General there are two way to solve this: Because we don't like to releas