[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#155732: mooix_0.6.2(hppa/unstable): FTBFS: test failures



> It seems to me that $$dyncall is part of ld.so, which is just confusing.

no, $$dyncall is part of libgcc

> 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
> 
> Can anyone help? It's really annoying that this is keeping it out of
> testing. Please cc replies to me.

try:
gcc -shared -Wl,-soname -Wl,libmooproxy.so.0 real.o client.o proxy.o wrap.o libmooproxy.o -o libmooproxy.so.0 -ldl -nostdlib /usr/lib/crti.o -lgcc /usr/lib/crtn.o

perhaps?

randolph



Reply to: