Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian Development (http://www.linux-archive.org/debian-development/)
-   -   Bug#457263: dialog: Please build with -fPIC (http://www.linux-archive.org/debian-development/47681-bug-457263-dialog-please-build-fpic.html)

Santiago Vila 02-05-2008 11:27 AM

Bug#457263: dialog: Please build with -fPIC
 
Hello.

Policy says I should ask here before I add -fPIC to dialog.

So: May I build libdialog using -fPIC?

My idea is to do this now, document which packages use it in a README,
and if athe number of packages using it grows, consider the shared library.

Thanks.


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Josselin Mouette 02-11-2008 01:58 PM

Bug#457263: dialog: Please build with -fPIC
 
Le mardi 05 février 2008 à 13:27 +0100, Santiago Vila a écrit :
> Hello.
>
> Policy says I should ask here before I add -fPIC to dialog.
>
> So: May I build libdialog using -fPIC?
>
> My idea is to do this now, document which packages use it in a README,
> and if athe number of packages using it grows, consider the shared library.

It is highly recommended to use a shared library instead of a static
library for such usage.

If this is really not possible, you should build a libdialog_pic.a with
-fPIC and keep libdialog.a as is.

Cheers,
--
.'`.
: :' : We are debian.org. Lower your prices, surrender your code.
`. `' We will add your hardware and software distinctiveness to
`- our own. Resistance is futile.

Santiago Vila 02-12-2008 10:57 AM

Bug#457263: dialog: Please build with -fPIC
 
On Mon, 11 Feb 2008, Josselin Mouette wrote:

> Le mardi 05 février 2008 à 13:27 +0100, Santiago Vila a écrit :
> > Hello.
> >
> > Policy says I should ask here before I add -fPIC to dialog.
> >
> > So: May I build libdialog using -fPIC?
> >
> > My idea is to do this now, document which packages use it in a README,
> > and if athe number of packages using it grows, consider the shared library.
>
> It is highly recommended to use a shared library instead of a static
> library for such usage.

Yes, I already know that. It's in policy.

> If this is really not possible,

It is possible, but it'll take time. gnunet is broken in the meantime.

> you should build a libdialog_pic.a with -fPIC and keep libdialog.a
> as is.

What's the rationale for that? Does -ldialog link with libdialog_pic.a
automatically if available? I would like gnunet to require a simple
rebuild whenever I provide the shared library (which will be soon).

My current plan is to build with -fPIC, add Provides: libdialog-dev
which should make gnunet not to be broken anymore (as far as it's rebuilt),
and then provide a proper shared library in a few weeks.

Any serious objection to that?

Daniel Baumann 02-12-2008 12:10 PM

Bug#457263: dialog: Please build with -fPIC
 
Santiago Vila wrote:
> Any serious objection to that?

no, fine by me.

--
Address: Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email: daniel.baumann@panthera-systems.net
Internet: http://people.panthera-systems.net/~daniel-baumann/


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


All times are GMT. The time now is 09:47 AM.

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