[parisc-linux] Foiled by the linker again

Alan Modra alan@linuxcare.com.au
Tue, 30 May 2000 12:49:05 +1000 (EST)

On Mon, 29 May 2000 bame@puffin.external.hp.com wrote:

> /home/bame/xc/bin/../lib/gcc-lib/hppa1.1-linux/2.9-hppa-991112/../../../../hppa1.1-linux/lib/libc.a(execve.o): In function `__execve':
> /users/bame/palinux/glibc/posix/../sysdeps/unix/sysv/linux/execve.c:39: undefined reference to `$global$'
> collect2: ld returned 1 exit status

This is a bogus error message.  The real error is that a call to
__pthread_kill_other_threads_np is too far to be reached by a branch so
needs to go through a stub, but the relevant stub
_____long_branch_stub___pthread_kill_other_threads_np isn't found for some

Chasing it up...

Linuxcare.  Support for the Revolution.