[Pkg-libopendbx-maintainers] #701306 - ftbfs with gcc 4.8

Scott Kitterman debian at kitterman.com
Thu Mar 7 18:10:48 UTC 2013


On Thursday, March 07, 2013 06:22:57 PM Marc Haber wrote:
> Hi,
> 
> I am wondering how to tacle #701306. From my understanding,
> debian/libopendbx1.symbols is a file that somehow affects the library
> build, allowing us to have more relaxed dependencies. With this file,
> however, the build with gcc 4.8 fails since gcc 4.8 names its objects
> a little different.
> 
> Why was this file placed there in the first place? Was it put there
> deliberately? How does one write/generate a symbol file that does work
> with both gcc 4.7 and gcc 4.8?
> 
> Greetings
> Marc

Yes.  I put it there on purpose.  It's a "should" requirement for shared 
libraries.  See policy 8.6.3.  C++ symbols are, however, particularly hard to 
manage well.  The Debian Qt/KDE team has come up with some specific tools to 
make this work better, which I used to create and update 
debian/libopendbx1.symbols.  You can find information about it here:

http://pkg-kde.alioth.debian.org/symbolfiles.html

I believe we can make the symbols optional, but we're operating at the edge of 
my knowledge on the topic.

Scott K



More information about the Pkg-libopendbx-maintainers mailing list