fpic related error

naga raj gnuuser.raj@gmail.com
Mon Apr 18 12:15:00 GMT 2011


Hi All,

  Can any one please help in resolving the following issue.


  I am using a Gcc-4.6 for an embedded target..

 When I am running dejagnu tests. There are more than 100 failures
which are related to -fpic


 bash-4.0$ /proj/epdsw1/gnu/lin/bin/zz-gcc
/proj/epdsw1/gcc/gcc/testsuite/gcc.dg/20001012-2.c   -O2 -fpic
-mno-xl-soft-mul -mxl-barrel-shift -mcpu=v7.30.b
/tmp/ccPlsYVr.o: could not read symbols: File format not recognized
collect2: ld returned 1 exit status

 If I remove -fpic option it is compiling without any errors...

 When I run small program with -fpic option then it is working fine.

 Can anyone please help me out of this


Thanks in advance,
Nagaraju



More information about the Gcc-help mailing list