Bug#818996: Please enable -Wabi-tag warning for C++ programs

2016-03-24 Thread Simon McVittie
On Thu, 24 Mar 2016 at 08:57:22 -0400, Jeffrey Walton wrote: > "What a fine mess we're in" comes to mind right about now... The transition within Debian was no fun either: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=libstdc%2B%2B-cxx11;users=debian-...@lists.debian.org

Bug#818996: Please enable -Wabi-tag warning for C++ programs

2016-03-24 Thread Jeffrey Walton
On Wed, Mar 23, 2016 at 3:18 PM, Simon McVittie wrote: > [Removing debian-devel from Cc] > > On Wed, 23 Mar 2016 at 13:31:32 +0100, Matthias Klose wrote: >> If you want to change that, that change should be made in dpkg-buildflags. > > From the original report: > >> >On Tue, 22

Bug#818996: Please enable -Wabi-tag warning for C++ programs

2016-03-24 Thread Jeffrey Walton
>> - compile and link a program that uses libfoo and libbar with uvw compiler > > Let me follow up with some real result from a minimal test case. > >> (but I'm probably getting the sequence of events totally wrong so please >> specify what is actually going on) > > Not at all. Its a confluence of

Bug#818996: Please enable -Wabi-tag warning for C++ programs

2016-03-23 Thread Jeffrey Walton
> On Wed, 23 Mar 2016 at 13:31:32 +0100, Matthias Klose wrote: >> If you want to change that, that change should be made in dpkg-buildflags. > > From the original report: > >> >On Tue, 22 Mar 2016 at 10:34:29 -0400, Jeffrey Walton wrote: >> >>It appears Debian built the library with GCC, and GCC

Bug#818996: Please enable -Wabi-tag warning for C++ programs

2016-03-23 Thread Simon McVittie
[Removing debian-devel from Cc] On Wed, 23 Mar 2016 at 13:31:32 +0100, Matthias Klose wrote: > If you want to change that, that change should be made in dpkg-buildflags. >From the original report: > >On Tue, 22 Mar 2016 at 10:34:29 -0400, Jeffrey Walton wrote: > >>It appears Debian built the

Bug#818996: Please enable -Wabi-tag warning for C++ programs

2016-03-23 Thread Matthias Klose
On 22.03.2016 17:36, Simon McVittie wrote: Package: g++ Control: submitter -1 Jeffrey Walton On Tue, 22 Mar 2016 at 10:34:29 -0400, Jeffrey Walton wrote: We just took a report due to http://gcc.gnu.org/onlinedocs/libstdc++/manual/using_dual_abi.html It appears Debian

Bug#818996: Please enable -Wabi-tag warning for C++ programs

2016-03-22 Thread Jeffrey Walton
On Tue, Mar 22, 2016 at 6:03 PM, Rebecca N. Palmer wrote: >> The user then compiled with Clang and caught a link error. > > clang can't handle abi tags (i.e. can't link to new-ABI code even if you > aren't trying to mix it with old-ABI code): >

Bug#818996: Please enable -Wabi-tag warning for C++ programs

2016-03-22 Thread Rebecca N. Palmer
The user then compiled with Clang and caught a link error. clang can't handle abi tags (i.e. can't link to new-ABI code even if you aren't trying to mix it with old-ABI code): https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=797917 https://llvm.org/bugs/show_bug.cgi?id=23529

Bug#818996: Please enable -Wabi-tag warning for C++ programs

2016-03-22 Thread Simon McVittie
Package: g++ Control: submitter -1 Jeffrey Walton On Tue, 22 Mar 2016 at 10:34:29 -0400, Jeffrey Walton wrote: > We just took a report due to > http://gcc.gnu.org/onlinedocs/libstdc++/manual/using_dual_abi.html > > It appears Debian built the library with GCC, and GCC used >