Re: binutils-2.17.50.0.10+ hates hppa ?
"John David Anglin" <[email protected]>
| Newsgroups | gmane.linux.ports.hppa |
|---|---|
| Message-ID | <[email protected]> |
> after upgrading from 2.17.50.0.9 to 2.17.50.0.10 (.11 too), ld seems unable=
> to=20
> do anything remotely basic ... is there something basic i'm missing here ? =
> i=20
> verified that it isnt caused by the Gentoo patchsets as a vanilla build=20
> exhibits the issue as well
There's been very few hppa changes to binutils in the past several
months. I can't duplicate the problem, so maybe there's something
wrong with your libc setup.
> $ cat test.c
> int main() { fopen(); }
> $ gcc test.c
> /usr/hppa2.0-unknown-linux-gnu/binutils-bin/2.17.50.0.10/ld: /tmp/ccpL4Tbn.=
> o(.text+0x10):=20
> cannot handle R_PARISC_PCREL17F for fopen@@GLIBC_2.2
> /usr/hppa2.0-unknown-linux-gnu/binutils-bin/2.17.50.0.10/ld: final link=20
> failed: Bad value
> collect2: ld returned 1 exit status
You might try adding "-Wl,-v -Wl,--trace -Wl,--trace-symbol=fopen" to the
above gcc command and see what it shows. This should show the command
used to link test and details of the lookup for the the symbol fopen.
Dave
--
J. David Anglin [email protected]
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)