Remember me

Lost Password?

Register now!


Who's Online
105 user(s) are online (63 user(s) are browsing Forums)

Members: 3
Guests: 102

MickJT, Paul, clint, more...

Support us!


Report message:*

Re: Porting to AmigaOS4 thread

Subject: Re: Porting to AmigaOS4 thread
by Raziel on 2019/4/11 18:13:29

I have a strange linker problem (well, strange for me at least, probably dead easy for you pros)

I'm trying to port a library and with some help from one of the original devs, who fixed an endian issue in the process, i was able to link a "probably" working, at least it was built, but not yet tested) static library.

For some reason though it errors out on building the shared objects one and i'd like to know why.

Here is the error (pretty much no information given i'm afraid).
Development:Coding/SDK/gcc/ppc-amigaos/bin/ld: final link failed: Invalid operation

and here is the linker line
gcc -s -shared -Wl,-soname,libprogram.so.3 -athread=native -Wl,--no-keep-memory -L/sdk/local/newlib/lib -o libprogram-3.18.0.so "lots of object files" -lstdc++

adding -fpic and/or -use-dynld doesn't help.

Has anyone seen this error/behaviour and could give a pointer?

Thank you

Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project