-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Joakim Tjernlund schreef: > Nintendo Wii, cool. What are you trying to do?
Thanks for the quick reply. Right now, Linux on the Wii, and pretty much any unofficial software, is in the early stages. I'm working towards networking using a Bluetooth PAN, since that's the only way to get networking in Linux without additional accessories. (At least, until someone figures out how to talk to the wifi hardware.) > Thanks for so detailed report. It seems like you have build dbus-daemon > in a strange way. It is built similar to a shared lib and has both > TEXTREL and these "funny" relocs in it(use readelf -a to see): > 0000529e 00000106 R_PPC_ADDR16_HA 00000114 .interp + 55248 > 000052a2 00000104 R_PPC_ADDR16_LO 00000114 .interp + 55248 > 000052c2 00000106 R_PPC_ADDR16_HA 00000114 .interp + 5270 > 000052c6 00000104 R_PPC_ADDR16_LO 00000114 .interp + 5270 > 000052ca 00000106 R_PPC_ADDR16_HA 00000114 .interp + 35f68 > 000052ce 00000104 R_PPC_ADDR16_LO 00000114 .interp + 35f68 > 000052d2 00000106 R_PPC_ADDR16_HA 00000114 .interp + 15820 > 000052d6 00000104 R_PPC_ADDR16_LO 00000114 .interp + 15820 > 000052d8 0000500a R_PPC_REL24 00000000 __uClibc_main + 0 I see them, but have no idea why it's wrong. :) > There may be a bug in powerpc reloc code for ADDR_16_XX but you won't > get past ther REL24 reloc, you will get an unsupported error. See > ldso/powerpc/elfinterp.c, _dl_do_reloc() So I should be using -pic? Is -pie sufficient? (Which is what is happening now.) > What flags did you pass to the linker? Here's the linker command line: powerpc-linux-uclibc-gcc -mcpu=750 -mhard-float -ffunction-sections - -fdata-sections - -isystem/home/shteef/Desktop/wii/oe/tmp/staging/powerpc-linux-uclibc/usr/include - -fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os - -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes - -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare - -Wdeclaration-after-statement -fno-common -Wl,--gc-sections -pie -Wl,-z - -Wl,relro -Wl,-rpath-link - -Wl,/home/shteef/Desktop/wii/oe/tmp/staging/powerpc-linux-uclibc/usr/lib - -Wl,-O1 -o .libs/dbus-daemon activation.o bus.o config-parser.o config-parser-common.o connection.o desktop-file.o dir-watch-inotify.o dispatch.o driver.o expirelist.o policy.o selinux.o services.o signals.o test.o utils.o config-loader-expat.o main.o - -L/home/shteef/Desktop/wii/oe/tmp/staging/powerpc-linux-uclibc/usr/lib /home/shteef/Desktop/wii/oe/tmp/staging/powerpc-linux-uclibc/usr/lib/libexpat.so ../dbus/.libs/libdbus-convenience.a The gcc version here is 4.1.1. Thanks, - -- Stéphan -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFIjMFZcFUq0gzqDwQRAmS8AJ4mmiU6Zc2Fj6AIxN+fiCL2mGzdswCg48M2 bjWvoKvyX/jlLqTXWVtG77c= =1Wu5 -----END PGP SIGNATURE----- _______________________________________________ uClibc mailing list [email protected] http://busybox.net/cgi-bin/mailman/listinfo/uclibc
