Re: Versioned symbols for 3.0?

2010-06-03 Thread Nicolas Trangez
On 18/05/10 17:33, Johannes Schmid wrote: Hi! The ultimate goal is being able to automatically detect at link time that program A requires library B implementing at least version X of the interface and embedding such information in packages automatically. Just like we do for glibc with its GLIB

Re: Versioned symbols for 3.0?

2010-05-23 Thread Josselin Mouette
Le samedi 22 mai 2010 à 18:35 +0200, Patryk Zawadzki a écrit : > What deb-based distros do now is a workaround, basically doing the > same thing from the other end. Having symbol versions upstream would > remove the necessity of doing the mapping manually. Happily it’s mostly automated, otherwise

Re: Versioned symbols for 3.0?

2010-05-22 Thread Patryk Zawadzki
On Sat, May 22, 2010 at 6:11 PM, Josselin Mouette wrote: > Le mardi 18 mai 2010 à 12:32 -0400, Behdad Esfahbod a écrit : >> > As for not wanting to use versioned symbols, could you provide more >> > information why such a decision was made? >> >> I can't speak for Matthias, but I guess it's becaus

Re: Versioned symbols for 3.0?

2010-05-22 Thread Maciej Piechotka
On Sun, 2010-05-23 at 01:11 +0900, Josselin Mouette wrote: > Le mardi 18 mai 2010 à 12:32 -0400, Behdad Esfahbod a écrit : > > > As for not wanting to use versioned symbols, could you provide > more > > > information why such a decision was made? > > > > I can't speak for Matthias, but I guess it'

Re: Versioned symbols for 3.0?

2010-05-22 Thread Josselin Mouette
Le mardi 18 mai 2010 à 12:32 -0400, Behdad Esfahbod a écrit : > > As for not wanting to use versioned symbols, could you provide more > > information why such a decision was made? > > I can't speak for Matthias, but I guess it's because no one pointed out what > currently-existing problem exactly

Re: Versioned symbols for 3.0?

2010-05-21 Thread Alexander Larsson
On Tue, 2010-05-18 at 17:24 +0200, Patryk Zawadzki wrote: > Today Elan Ruusamäe and me spent some time making glibc compile with > versioned interfaces for exported symbols. > > The ultimate goal is being able to automatically detect at link time > that program A requires library B implementing at

Re: Versioned symbols for 3.0?

2010-05-20 Thread Behdad Esfahbod
On 05/18/2010 01:43 PM, Matthias Clasen wrote: > On Tue, May 18, 2010 at 12:58 PM, Behdad Esfahbod > wrote: > >> If we autogenerate the version script, I think Matthias can be bribed into >> accepting it > > Well, the arguments against symbol versioning have not really changed > since ca 2005, s

Re: Versioned symbols for 3.0?

2010-05-19 Thread Patryk Zawadzki
On Wed, May 19, 2010 at 11:05 AM, Alexander Larsson wrote: > On Tue, 2010-05-18 at 20:30 +0200, Patryk Zawadzki wrote: >> > - It can only version functions, we still have have unversioned types, >> > properties, signals, etc, etc. >> It's only able to version exported symbols and I wouldn't ask fo

Re: Versioned symbols for 3.0?

2010-05-19 Thread Alexander Larsson
On Tue, 2010-05-18 at 20:30 +0200, Patryk Zawadzki wrote: > > - It can only version functions, we still have have unversioned types, > > properties, signals, etc, etc. > > It's only able to version exported symbols and I wouldn't ask for > anything more than that. I didn't mean to propose droppin

Re: Versioned symbols for 3.0?

2010-05-18 Thread Patryk Zawadzki
On Tue, May 18, 2010 at 9:33 PM, Matthias Clasen wrote: > On Tue, May 18, 2010 at 2:30 PM, Patryk Zawadzki wrote: > >> >>> Well, the arguments against symbol versioning have not really changed >>> since ca 2005, so we do we need to discuss this again ? >> >> Please kindly point me to a list of ar

Re: Versioned symbols for 3.0?

2010-05-18 Thread Matthias Clasen
On Tue, May 18, 2010 at 2:30 PM, Patryk Zawadzki wrote: > >> Well, the arguments against symbol versioning have not really changed >> since ca 2005, so we do we need to discuss this again ? > > Please kindly point me to a list of arguments as I was not a > participant in that discussion. > I don

Re: Versioned symbols for 3.0?

2010-05-18 Thread Emilio Pozuelo Monfort
On 18/05/10 18:50, Patryk Zawadzki wrote: > The most important to us as a distribution is being able to > automatically maintain dependencies for libraries that add symbols > without changing their soname. For example g_malloc_n was introduced > in glib 2.24. > > We currently need to manually test

Re: Versioned symbols for 3.0?

2010-05-18 Thread Patryk Zawadzki
On Tue, May 18, 2010 at 7:43 PM, Matthias Clasen wrote: > On Tue, May 18, 2010 at 12:58 PM, Behdad Esfahbod > wrote: > >> If we autogenerate the version script, I think Matthias can be bribed into >> accepting it > > Well, the arguments against symbol versioning have not really changed > since ca

Re: Versioned symbols for 3.0?

2010-05-18 Thread Matthias Clasen
On Tue, May 18, 2010 at 12:58 PM, Behdad Esfahbod wrote: > If we autogenerate the version script, I think Matthias can be bribed into > accepting it Well, the arguments against symbol versioning have not really changed since ca 2005, so we do we need to discuss this again ? - It doesn't really

Re: Versioned symbols for 3.0?

2010-05-18 Thread Behdad Esfahbod
On 05/18/2010 12:50 PM, Patryk Zawadzki wrote: > On Tue, May 18, 2010 at 6:32 PM, Behdad Esfahbod > wrote: >> On 05/18/2010 12:30 PM, Patryk Zawadzki wrote: >>> As for not wanting to use versioned symbols, could you provide more >>> information why such a decision was made? >> I can't speak for Ma

Re: Versioned symbols for 3.0?

2010-05-18 Thread Patryk Zawadzki
On Tue, May 18, 2010 at 6:49 PM, Tristan Van Berkom wrote: >   It looks to me like your script is going to need somebody > to maintain it in the long term (like one of those annoying > extra files you want to shoot the GTK+ build system for, i.e. > gtk.symbols or such). > > Do you have a full prop

Re: Versioned symbols for 3.0?

2010-05-18 Thread Patryk Zawadzki
On Tue, May 18, 2010 at 6:32 PM, Behdad Esfahbod wrote: > On 05/18/2010 12:30 PM, Patryk Zawadzki wrote: >> As for not wanting to use versioned symbols, could you provide more >> information why such a decision was made? > I can't speak for Matthias, but I guess it's because no one pointed out wha

Re: Versioned symbols for 3.0?

2010-05-18 Thread Tristan Van Berkom
On Tue, May 18, 2010 at 12:30 PM, Patryk Zawadzki wrote: > On Tue, May 18, 2010 at 6:25 PM, Behdad Esfahbod > wrote: >> On 05/18/2010 12:12 PM, Patryk Zawadzki wrote: And neither are there plans to start using versioned symbols. >>> Good news then. >> Did you misread what Matthias said maybe

Re: Versioned symbols for 3.0?

2010-05-18 Thread Behdad Esfahbod
On 05/18/2010 12:30 PM, Patryk Zawadzki wrote: > On Tue, May 18, 2010 at 6:25 PM, Behdad Esfahbod > wrote: >> On 05/18/2010 12:12 PM, Patryk Zawadzki wrote: And neither are there plans to start using versioned symbols. >>> Good news then. >> Did you misread what Matthias said maybe? > > I as

Re: Versioned symbols for 3.0?

2010-05-18 Thread Behdad Esfahbod
On 05/18/2010 12:12 PM, Patryk Zawadzki wrote: >> And neither are there plans to start using versioned symbols. > > Good news then. Did you misread what Matthias said maybe? ___ desktop-devel-list mailing list desktop-devel-list@gnome.org http://mail.gno

Re: Versioned symbols for 3.0?

2010-05-18 Thread Patryk Zawadzki
On Tue, May 18, 2010 at 6:25 PM, Behdad Esfahbod wrote: > On 05/18/2010 12:12 PM, Patryk Zawadzki wrote: >>> And neither are there plans to start using versioned symbols. >> Good news then. > Did you misread what Matthias said maybe? I assumed it was because of the possible ABI break so I pointed

Re: Versioned symbols for 3.0?

2010-05-18 Thread Patryk Zawadzki
On Tue, May 18, 2010 at 5:31 PM, Matthias Clasen wrote: > On Tue, May 18, 2010 at 11:28 AM, Colin Walters wrote: >> On Tue, May 18, 2010 at 11:24 AM, Patryk Zawadzki >> wrote: >> >>> I'd like to propose adapting versioned symbols across the stack as >>> soon as possible. Keep in mind it'll prob

Re: Versioned symbols for 3.0?

2010-05-18 Thread Patryk Zawadzki
On Tue, May 18, 2010 at 5:33 PM, Johannes Schmid wrote: > Hi! > >> The ultimate goal is being able to automatically detect at link time >> that program A requires library B implementing at least version X of >> the interface and embedding such information in packages >> automatically. Just like we

Re: Versioned symbols for 3.0?

2010-05-18 Thread Johannes Schmid
Hi! > The ultimate goal is being able to automatically detect at link time > that program A requires library B implementing at least version X of > the interface and embedding such information in packages > automatically. Just like we do for glibc with its GLIBC_x_y > interfaces. > > The changes

Re: Versioned symbols for 3.0?

2010-05-18 Thread Matthias Clasen
On Tue, May 18, 2010 at 11:28 AM, Colin Walters wrote: > On Tue, May 18, 2010 at 11:24 AM, Patryk Zawadzki > wrote: > >> I'd like to propose adapting versioned symbols across the stack as >> soon as possible. Keep in mind it'll probably break the existing ABI - >> didn't test that yet - so "as s

Re: Versioned symbols for 3.0?

2010-05-18 Thread Colin Walters
On Tue, May 18, 2010 at 11:24 AM, Patryk Zawadzki wrote: > I'd like to propose adapting versioned symbols across the stack as > soon as possible. Keep in mind it'll probably break the existing ABI - > didn't test that yet - so "as soon as possible" might mean "during the > nearest ABI break". Th

Versioned symbols for 3.0?

2010-05-18 Thread Patryk Zawadzki
Today Elan Ruusamäe and me spent some time making glibc compile with versioned interfaces for exported symbols. The ultimate goal is being able to automatically detect at link time that program A requires library B implementing at least version X of the interface and embedding such information in