-fPIC is needed for libraries to compile on some platforms. Compiling qt-embedded-3.3.2-r1 generated the following error: make[2]: Nothing to be done for `first'. make[2]: Leaving directory `/var/tmp/portage/qt-embedded-3.3.2-r1/work/qt-embedded-free-3.3.2/plugins/src/gfxdrivers' test -d ../../../imageformats/ || mkdir -p ../../../imageformats/ rm -f libqmng.so g++ -Wl,-rpath,/usr/qt/3-embedded/lib -shared -Wl,-rpath,/var/tmp/portage/qt-embedded-3.3.2-r1/work/qt-embedded-free-3.3.2/plugins/imageformats -o libqmng.so .obj/release-shared-mt-emb-generic/main.o -L/usr/lib/mysql -L/var/tmp/portage/qt-embedded-3.3.2-r1/work/qt-embedded-free-3.3.2/lib -lmng -ljpeg -lqte-mt -lz -ldl -lpthread /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `drop_invalid_objects' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `mng_drop_savedata' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `mng_reset_objzero' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `mng_drop_objects' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `mng_drop_savedata' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `mngjpeg_cleanup' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `cleanup_rowproc' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `mngzlib_inflatefree' has a R_PPC_REL24relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `process_eof' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `mng_drop_chunks' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `mng_drop_objects' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `mng_reset_objzero' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `create_imageobject' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `mngzlib_initialize' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `mng_reset' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `mng_reset' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `free_imageobject' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `mngzlib_cleanup' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `mng_process_error' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `mng_process_error' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `cleanup_errors' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `read_graphic' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `mng_reset_rundata' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `mng_process_error' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `cleanup_errors' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `read_graphic' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `mng_reset_rundata' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `mng_process_error' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `mng_process_error' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `cleanup_errors' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `write_graphic' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `mng_process_error' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `mng_process_error' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `cleanup_errors' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `mng_reset' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `mng_process_error' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `mng_process_error' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `cleanup_errors' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `read_graphic' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `drop_invalid_objects' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `mng_process_error' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `mng_process_error' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `cleanup_errors' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `process_display' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `cleanup_errors' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `read_graphic' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `drop_invalid_objects' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `mng_process_error' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `process_display' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `mng_reset_rundata' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `mng_process_error' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `cleanup_errors' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `mng_display_resume' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `mng_process_error' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `cleanup_errors' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `mng_display_resume' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `mng_reset_rundata' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `mng_process_error' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `mng_process_error' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `mng_process_error' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `cleanup_errors' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `process_display' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `mng_process_error' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `mng_process_error' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `mng_process_error' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `cleanup_errors' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `process_display' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `mng_process_error' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `mng_process_error' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `mng_process_error' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `cleanup_errors' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. /usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../../powerpc-pc-linux-uclibc/bin/ld: Error: The symbol `process_display' has a R_PPC_REL24 relocation, that means '/usr/lib/gcc/powerpc-pc-linux-uclibc/3.4.1/../../../libmng.a(libmng_hlapi.o)' was compiled without -fPIC. collect2: ld returned 1 exit status make[3]: *** [../../../imageformats/libqmng.so] Error 1 make[3]: Leaving directory `/var/tmp/portage/qt-embedded-3.3.2-r1/work/qt-embedded-free-3.3.2/plugins/src/imageformats/mng' make[2]: *** [sub-mng] Error 2 make[2]: Leaving directory `/var/tmp/portage/qt-embedded-3.3.2-r1/work/qt-embedded-free-3.3.2/plugins/src/imageformats' make[1]: *** [sub-imageformats] Error 2 make[1]: Leaving directory `/var/tmp/portage/qt-embedded-3.3.2-r1/work/qt-embedded-free-3.3.2/plugins/src' make: *** [sub-plugins] Error 2 !!! ERROR: x11-libs/qt-embedded-3.3.2-r1 failed # emerge info Portage 2.0.51-r2 (uclibc/ppc, gcc-3.4.1, uclibc-0.9.26-r5, 2.6.9-gentoo-r1 ppc) ================================================================= System uname: 2.6.9-gentoo-r1 ppc 740/750 Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux-headers-2.4.22 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="ppc" AUTOCLEAN="yes" CFLAGS="-Os -pipe -mcpu=750" CHOST="powerpc-pc-linux-uclibc" COMPILER="" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-Os -pipe -mcpu=750" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks nodoc noinfo noman sandbox sfperms strict userpriv" GENTOO_MIRRORS="ftp://mirror.internode.on.net/pub/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="ppc X berkdb gtk hardened mysql ncurses opengl perl pie png python readline ssl tcpd tiff uclibc zlib"
couple of things: mcpu = bad mtune = good you don't have pic in your USE flags nor -fPIC in CFLAGS, so yah, it's not going to compile pic. Though, I'll fix the ebuild to interact with pic as such. And one more thing, gcc has quite a number of bugs floating around regarding -fno-strict-aliasing, so it's a good idea to add that. I thank pvdabell for all the information posted above.
Good tips thanks. The policy that I finaly found: http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=3&chap=1#doc_chap2
does still apply to the .8-r1 ?
I assume this old bug is not an issue anymore.