Re: Error creating a PIC EXECUTABLE in a POWER-PC Debian

2011-02-23 Thread Stefano Bonifazi
On 02/23/2011 06:06 PM, Michel Dänzer wrote: You should probably file a bug against gcc or binutils. Hi! I've reported already this problem to gcc-help. I've received the answer of Mr. Lane Taylor, a big expert of linkers. He checked my reports, and found bugs in the current debian6 PPC toolc

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..

R_PPC_REL24 relocation __libc_start_main/__nptl_deallocate_tsd out of range

2011-02-16 Thread Stefano Bonifazi
Hi! Sorry I am not very sure if this is the right mailing list for posting my problem, I've got the address from an old thread about the same kind of problem. I am working on a project using powerpc binaries I create myself. I am creating the binaries using Debian 6 kernel 2.6.32.5 powerpc ru