[Ecls-list] fatal: relocation errors on Solaris x86 and OpenSolaris 64-bit.
Gabriel Dos Reis
gdr at integrable-solutions.net
Wed Dec 22 14:39:44 UTC 2010
On Wed, Dec 22, 2010 at 5:50 AM, Juan Jose Garcia-Ripoll
<juanjose.garciaripoll at googlemail.com> wrote:
> On Wed, Dec 22, 2010 at 2:48 AM, David Kirkby <david.kirkby at onetel.net>
>> Removing the compiler options
>> -G -Bdynamic
>> and replacing with
>> -shared -Wl,-soname,libcliquer.so
>> solved another text relocation issue in Sage
> Well, it is the same problem here. I simply assumed that gcc was properly
> interpreting the Solaris flags for shared library building, but it dit not:
> it passed those flags to the linker, but did not realize that a shared
> library was being built
I think -Wl,xxx is documented as passing flags to the linker. That
really means that.
If in addition one wants the front-end and middle end to understand
has to give appropriate flags to them.
More information about the ecl-devel