Skip to contentSkip to conversation

binutils-2.17.50.0.10+ hates hppa ?

parisc-linux John David Anglin 1 participant 1 message Jan 27, 2007 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 6 lines

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.

Quoted 9 lines
$ 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

Signature · 6 lines
J. David Anglin                                  [email protected]
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)
_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux