LaMont Jones wrote: > reopen 155732 > -- > Still seeing the errors in 0.6.3. See: > > http://buildd.debian.org/fetch.php?&pkg=mooix&ver=0.6.3&arch=hppa&stamp=1029279884&file=log&as=raw
Rats, I thought that linking in -lgcc worked, but it seems not. The problem is that I have here a LD_PRELOADED shim library that intercepts some libc calls like open(). And worse, _init(). So I need to link it with -nostdlib, and on hppa only that results in: relocation error: ../../libmooproxy.so.debug: undefined symbol: $$dyncall Willy thought that adding -lgcc to the link line fixed this, and I thought so too, but it seems not. I link the library like this: paer% gcc -ldl -nostdlib -lgcc -shared -Wl,-soname -Wl,libmooproxy.so.0 real.o client.o proxy.o wrap.o libmooproxy.o -o libmooproxy.so.0 paer% LD_PRELOAD=./libmooproxy.so.0 ls ls: relocation error: ./libmooproxy.so.0: undefined symbol: $$dyncall It seems to me that $$dyncall is part of ld.so, which is just confusing. Can anyone help? It's really annoying that this is keeping it out of testing. Please cc replies to me. -- see shy jo

