[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: C++ symbol mangling difference between arches

On Thu, 2009-06-25 at 22:52 +0000, Sune Vuorela wrote:
> On 2009-06-25, Raphael Hertzog <hertzog@debian.org> wrote:
> > You can check the patch here:
> > http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=5;filename=0001-Implementation-of-the-subst-tag.patch;att=1;bug=533916
> >
> > The symbol name in symbols files become templates that are used at build
> > time to generate the correct symbol name. The part that are substituded
> > are delimited by curly brackets like this:
> >  (subst)_ZN6Phonon11AudioOutput13volumeChangedE{qreal}@Base 4:4.2.0
> >
> > In this specific case, the symbol is considered to be
> > _ZN6Phonon11AudioOutput13volumeChangedEf@Base on armel
> > and _ZN6Phonon11AudioOutput13volumeChangedEd@Base on other arches
> > because qreal is a float on armel and a double otherwise.
> The qreal things is not a different symbol mangling, but different code.
> qreal is a typedef to either float or douxble wrapped in a ifdef.

This is *exactly* like the other cases, except it's not one of the
standard C++ or POSIX type aliases.


Ben Hutchings
It is impossible to make anything foolproof because fools are so ingenious.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply to: