Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian GCC (http://www.linux-archive.org/debian-gcc/)
-   -   Bug#687642: gnat-4.6: libgnarl-4.6.a should be rebuilt with -fPIC, libaws FBTFS (http://www.linux-archive.org/debian-gcc/703802-bug-687642-gnat-4-6-libgnarl-4-6-should-rebuilt-fpic-libaws-fbtfs.html)

Konstantinos Margaritis 09-14-2012 01:31 PM

Bug#687642: gnat-4.6: libgnarl-4.6.a should be rebuilt with -fPIC, libaws FBTFS
 
Package: gnat-4.6
Version: 4.6.3-6
Severity: Important

According to:

https://buildd.debian.org/status/package.php?p=libaws&suite=sid

libaws FTBFS at linking phase due to libgnarl-4.6 not built with -fPIC.
I am unsure what to change in the gnat-4.6 source to test that so I
don't have a patch for that, but if you gave me some pointer as to
what I should change, I'd gladly test and send a proper patch.

Regards

Konstantinos


--
To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20120914163131.dcabecc7e2d184f309d6fb77@freevec.or g">http://lists.debian.org/20120914163131.dcabecc7e2d184f309d6fb77@freevec.or g

Ludovic Brenta 09-14-2012 01:58 PM

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.


--
To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: fc6ac9acf769e34a324ccebdae5d1c84@ludovic-brenta.org">http://lists.debian.org/fc6ac9acf769e34a324ccebdae5d1c84@ludovic-brenta.org


All times are GMT. The time now is 12:18 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.