Hi,

I try to compile a file with -fPIC (same problem with -fpic) and I have this
error , which is removed whithout -fPIC :

{standard input}: Assembler messages:
{standard input}:146: Error: undefined symbol `_GLOBAL_OFFSET_TABLE_' in
operation
{standard input}:276: Error: undefined symbol `_GLOBAL_OFFSET_TABLE_' in
operation
{standard input}:306: Error: attempt to get value of unresolved symbol `L0'
{standard input}:306: Error: attempt to get value of unresolved symbol `L0'
{standard input}:146: Error: cannot represent BFD_RELOC_32_PCREL relocation in
this object file format
{standard input}:276: Error: cannot represent BFD_RELOC_32_PCREL relocation in
this object file format

I am not sure the library I try compile will work properly without -fPIC.

Having looked in internet it seems that
(http://gcc.gnu.org/ml/gcc/2001-01/msg00728.html) gcc for ARM should support
position independant code.

Pascal Georges


-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to