[Bug ld/1396] prohibited cross reference to a local symbol.

2005-09-30 Thread hjl at lucon dot org
--- Additional Comments From hjl at lucon dot org 2005-10-01 04:40 --- Created an attachment (id=682) --> (http://sourceware.org/bugzilla/attachment.cgi?id=682&action=view) A testcase With this testcase on Linux/x86, I get bash-3.00$ make gcc -m32-c -o foo.o foo.c gcc -m32-c -o

Re: Is this a ld bug?

2005-09-30 Thread Nick Clifton
Hi Vamsi, hidden symbol `__dso_handle' in /usr/lib/gcc-lib/x86_64-redhat-linux/3.2.3/crtbegin.o is referenced by DSO collect2: ld returned 1 exit status is this a bug in binutils 2.14 ?? Almost certainly yes. Please try building a new linker using the current latest released sources (versi

[Bug binutils/1391] objcopy trashes PE executable when using "add-gnu-debuglink"

2005-09-30 Thread nickc at redhat dot com
--- Additional Comments From nickc at redhat dot com 2005-09-30 15:25 --- Subject: Re: New: objcopy trashes PE executable when using "add-gnu-debuglink" Hi, > Idx Name Size VMA LMA File off Algn > 0 .gnu_debuglink 0018 0268 2

Re: [Bug binutils/1391] New: objcopy trashes PE executable when using "add-gnu-debuglink"

2005-09-30 Thread Nick Clifton
Hi, Idx Name Size VMA LMA File off Algn 0 .gnu_debuglink 0018 0268 2**2 When using a native win32 "PE" editor/format tool like "LordPE" it lists some crap for the first section (containing debug link), all other sections seem ok: S

Re: binutils and libiberty.h

2005-09-30 Thread Nick Clifton
Hi Pierre, I just compiled without problem binutils 2.16.1. But I noticed that the 'make install' didn't install the 'libiberty.h' file which is needed by some other apps. I would like to know if this is a normal situation or if I have misunderstood some things. It is probably the normal sit

Re: ld overwriting output sections???

2005-09-30 Thread Nick Clifton
Hi Jakub, the kernel image is linked together correctly (line is present) or the .mapped section overwrites the .unmapped section (line is not present). When you say that it overwrites are you referring to the load-time address (LMA) or the run-time address (VMA) or both ? Is there anythin

[Bug ld/1396] New: prohibited cross reference to a local symbol.

2005-09-30 Thread etienne dot lorrain at masroudeau dot com
LD is trying to link to the wrong (local) memcpy symbol when executing those commands: [EMAIL PROTECTED]:~$ cat /proc/version Linux version 2.6.12-1-k7 ([EMAIL PROTECTED]) (gcc version 4.0.2 20050821 (prerelease) (Debian 4.0.1-6)) #1 Tue Sep 6 16:28:10 UTC 2005 [EMAIL PROTECTED]:~$ ld --version G