FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Development

 
 
LinkBack Thread Tools
 
Old 02-05-2008, 11:27 AM
Santiago Vila
 
Default 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
 
Old 02-11-2008, 01:58 PM
Josselin Mouette
 
Default 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.
 
Old 02-12-2008, 10:57 AM
Santiago Vila
 
Default 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?
 
Old 02-12-2008, 12:10 PM
Daniel Baumann
 
Default 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
 

Thread Tools




All times are GMT. The time now is 07:15 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org