[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#687642: gnat-4.6: libgnarl-4.6.a should be rebuilt with -fPIC, libaws FBTFS



libgnarl-4.6.a is the *static* library, it should definitely not be
compiled with -fPIC.

The *shared* library, libgnarl-4.6.so, is already built with -fPIC.

If you have time before I do, please investigate why gnatmake, invoked
thus:

gnatmake -j1 -fPIC -p -Pdebian/build_aws.gpr -Xkind=dynamic \
 -Xsoname=libaws.so.2.10.2

tries to link the new shared library against the static version of
libgnarl-4.6.  If we're lucky, the problem is in build_aws.gpr; if
we're unlucky, it is in gnatmake itself and only strikes on armhf
because all other architectures are OK.  I have a hunch that the
latter is closer to the truth :/

Thanks for the bug report.

--
Ludovic Brenta.


Reply to: