Adding symbols files to the tango package.

2011-07-29 Thread Picca Frédéric-Emmanuel
Hello I just added the symbol files to one of my packages [1], which provided two C++ libraries. I solved by hand the build failure for the first on (liblog4tango4). I would like your opinion about my fix [2]. I am not sure that I did the right things. Is seems that a few of the missing symbols

Re: Adding symbols files to the tango package.

2011-07-29 Thread Michael Tautschnig
Hi Frédéric, > I just added the symbol files to one of my packages [1], which provided two > C++ libraries. > > I solved by hand the build failure for the first on (liblog4tango4). > I would like your opinion about my fix [2]. I am not sure that I did the > right things. > Is seems that a few o

Re: Adding symbols files to the tango package.

2011-07-29 Thread Picca Frédéric-Emmanuel
Le Fri, 29 Jul 2011 09:45:53 +0100, Michael Tautschnig a écrit : > - Use the c++ tag to move to human-readable symbols and get rid of problems > due > to different name mangling schemes. yes it is nicer with c++ tag, is there an automatic way to convert a symbol file to this human readable f

Re: Adding symbols files to the tango package.

2011-07-29 Thread Adam Borowski
On Fri, Jul 29, 2011 at 10:11:47AM +0200, Picca Frédéric-Emmanuel wrote: > It seems that my i386 package contain mmx instructions, is it allow ? Sadly, no. It must work on a real 80486. You may have an alternate code path for 80586 and higher, though, and choose them at runtime. On amd64 you c

Re: Adding symbols files to the tango package.

2011-07-29 Thread Michael Tautschnig
Hi again, > Le Fri, 29 Jul 2011 09:45:53 +0100, > Michael Tautschnig a écrit : > > > - Use the c++ tag to move to human-readable symbols and get rid of problems > > due > > to different name mangling schemes. > > yes it is nicer with c++ tag, is there an automatic way to convert a symbol >

Re: Adding symbols files to the tango package.

2011-07-29 Thread Stefano Rivera
Hi Picca (2011.07.29_10:11:47_+0200) > Is there a link somewhere explaining by examples how to deal with thoses > MISSING symbols > or differences of implementations ? > > Is there a sort of concatenator script, which take all the build log and > generate a unique symbol file > with arch tags ?

Re: Adding symbols files to the tango package.

2011-08-01 Thread Picca Frédéric-Emmanuel
Le Fri, 29 Jul 2011 12:09:05 +0100, Michael Tautschnig a écrit : > Hi again, > > > Le Fri, 29 Jul 2011 09:45:53 +0100, > > Michael Tautschnig a écrit : > > > > > - Use the c++ tag to move to human-readable symbols and get rid of > > > problems due > > > to different name mangling schemes. >

Re: Adding symbols files to the tango package.

2011-08-01 Thread Niels Thykier
On 2011-08-01 10:28, Picca Frédéric-Emmanuel wrote: > «...] > > BUT, I would like your opinion about a dpkg-gensymbols concern. > I uploaded this package [1] to obtain the build log and then modify the > symbol files depending on the arch > It seems that the patch generated by dpkg-gensymbols dur

Re: Adding symbols files to the tango package.

2011-08-01 Thread Picca Frédéric-Emmanuel
Le Mon, 1 Aug 2011 10:35:53 +0200, Niels Thykier a écrit : > Hi, > > Looks like you have architecture (or endian) specific symbols. You > probably have to make architecture specific symbols files in this case. > In case you would like to see an example I know of [1], which uses a > separate sy

Re: Adding symbols files to the tango package.

2011-08-01 Thread Michael Tautschnig
Hi, [...] > Yes that is why I try to apply the generated patch and it does not work for > exemple > this hunk took from the armel architecture > [...] > > as you can see the patch generated by dpkg-gensymbols can not apply. > Indeed symbols are not ordered the same way ??? Maybe this is due to

Re: Adding symbols files to the tango package.

2011-08-01 Thread Bernhard R. Link
* Michael Tautschnig [110801 11:15]: > Indeed symbol ordering may vary, but also there is no reason for > dpkg-gensymbols > to guarantee a particular ordering. Although dpkg-gensymbols produces a diff, > this is surely not meant for you to apply directly as a patch: each change > requires proper

Re: Adding symbols files to the tango package.

2011-08-02 Thread Raphael Hertzog
On Mon, 01 Aug 2011, Michael Tautschnig wrote: > Indeed symbol ordering may vary, but also there is no reason for > dpkg-gensymbols > to guarantee a particular ordering. Well, dpkg-gensymbols does sort the symbols files. Precisely so that diff are meaningful. Otherwise they would be useless. Cod

Re: Adding symbols files to the tango package.

2011-08-03 Thread Picca Frédéric-Emmanuel
Le Wed, 3 Aug 2011 08:26:05 +0200, Raphael Hertzog a écrit : > On Mon, 01 Aug 2011, Michael Tautschnig wrote: > > Indeed symbol ordering may vary, but also there is no reason for > > dpkg-gensymbols > > to guarantee a particular ordering. > > Well, dpkg-gensymbols does sort the symbols files. P

Re: Adding symbols files to the tango package.

2011-08-03 Thread Raphael Hertzog
On Wed, 03 Aug 2011, Picca Frédéric-Emmanuel wrote: > What do your mean exactly by sorted ? > > sorted using the 'sort' program ? > sorted like the un-mangled symbols ? IIRC it's sorted alphabetically on the string that appears in the symbols file (i.e. un-mangeld symbol in your case). The tags

Re: Adding symbols files to the tango package.

2011-08-04 Thread Picca Frédéric-Emmanuel
Le Thu, 4 Aug 2011 08:02:44 +0200, Raphael Hertzog a écrit : > IIRC it's sorted alphabetically on the string that appears in the symbols > file (i.e. un-mangeld symbol in your case). The tags are ignored for the > sort. > ok In fact my symbols where alphabetically sorted using the mangled names