Error creating a PIC EXECUTABLE in a POWER-PC Debian

2011-02-21 Thread Stefano Bonifazi
Hi all! I am reposting the previous problem, as after some investigation the problem is more clear:there is some error creating a PIC EXECUTABLE in a POWER-PC Debian6! Even when creating the simplest code: int main() {} compiling with "gcc -fPIC" and then linking with "gcc -Wl,-pie" produces

Re: R_PPC_REL24 relocation __libc_start_main/__nptl_deallocate_tsd out of range

2011-02-21 Thread Stefano Bonifazi
Hi! Thank you for your reply! On 02/16/2011 05:32 PM, brian m. carlson wrote: One thing that sometimes works on hppa with this kind of problem is to use -ffunction-sections. You might try it and see if it works for you. Nope it didn't work :( The problem seem to be generated during linking..