Re: Is there any progress on the stl abi issues?

2012-07-04 Thread Sebastien Bacher

Le 04/07/2012 16:00, Matthias Klose a écrit :

wrong. A workaround was applied on 2012-06-23, in 4.7.1-2ubuntu1. The complete
reversal of the offending patch (with the same effect) is on the gcc-4.7
branch and will get into quantal with the next merge.
Thanks for that, sorry for the wrong statement but we didn't notice the 
changelog entry for that, it would have been nice to follow up on the 
ubuntu-devel discussion to pointing it ;-)



Please note that just using gcc-4.6 will help for this particular issue, but
it's not about a 4.6/4.7 issue, but about mixing c++98 and c++11 code.  The
c++03/c++11 support in GCC has always been marked as experimental, and still
is, so you may run into another incompatibility.

There is a discussion going on what can be done about the compatibility, see
http://gcc.gnu.org/ml/gcc/2012-07/msg00031.html, but for now just be aware
that this compatibility is not granted.
Right, is there anything in practice we can do to mitigate the potential 
issues (outside of porting back unity code to not use the new standard)?
if this did work before, then this should be ok. But it's no guarantee 
that the there are other incompatibilities. The std::list issue is now 
reverted in 4.7 as well. Matthias 


Thanks!

Sebastien Bacher

--
Ubuntu-release mailing list
Ubuntu-release@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-release


Re: Is there any progress on the stl abi issues?

2012-07-04 Thread Matthias Klose
On 29.06.2012 20:29, Steve Langasek wrote:
> On Fri, Jun 29, 2012 at 08:21:39PM +0200, Sebastien Bacher wrote:
>> Le 28/06/2012 21:55, Sebastien Bacher a écrit :
>>> * the gcc 4.7,libsigc,stl issues are still not fixed yet (unity is
>>> build with gcc-4.6 still)

wrong. A workaround was applied on 2012-06-23, in 4.7.1-2ubuntu1. The complete
reversal of the offending patch (with the same effect) is on the gcc-4.7
branch and will get into quantal with the next merge.

Please note that just using gcc-4.6 will help for this particular issue, but
it's not about a 4.6/4.7 issue, but about mixing c++98 and c++11 code.  The
c++03/c++11 support in GCC has always been marked as experimental, and still
is, so you may run into another incompatibility.

There is a discussion going on what can be done about the compatibility, see
http://gcc.gnu.org/ml/gcc/2012-07/msg00031.html, but for now just be aware
that this compatibility is not granted.

>> I've been mentioning that for a few weeks but I've seen no recent update,
>> is anyone working on it? Bjoern just raised the issue in the desktop
>> team, those issues are blocking libreoffice work in quantal for some
>> weeks and we would like to know if we need to invest efforts in building
>> libreoffice with gcc-4.6.
> 
> There is work being done upstream in gcc-4.7 to try to fix the ABI for 
> compatibility with gcc-4.6 (and with -std=c++99).  In the meantime, yes, 
> any packages that are being built with -std=c++0x or -std=c++11 should use 
> gcc-4.6 instead.

if this did work before, then this should be ok. But it's no guarantee that
the there are other incompatibilities. The std::list issue is now reverted in
4.7 as well.

  Matthias

-- 
Ubuntu-release mailing list
Ubuntu-release@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-release


Re: Is there any progress on the stl abi issues?

2012-06-29 Thread Sebastien Bacher

Le 29/06/2012 20:29, Steve Langasek a écrit :

In the meantime, yes,
any packages that are being built with -std=c++0x or -std=c++11 should use
gcc-4.6 instead.

Thanks!

Cheers,
Sebastien Bacher


--
Ubuntu-release mailing list
Ubuntu-release@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-release


Re: Is there any progress on the stl abi issues? (was: Re: [Desktop] Release Meeting 2012-06-29)

2012-06-29 Thread Steve Langasek
On Fri, Jun 29, 2012 at 08:21:39PM +0200, Sebastien Bacher wrote:
> Le 28/06/2012 21:55, Sebastien Bacher a écrit :
> > * the gcc 4.7,libsigc,stl issues are still not fixed yet (unity
> >is build with gcc-4.6 still)

> I've been mentioning that for a few weeks but I've seen no recent
> update, is anyone working on it? Bjoern just raised the issue in the
> desktop team, those issues are blocking libreoffice work in quantal
> for some weeks and we would like to know if we need to invest
> efforts in building libreoffice with gcc-4.6.

There is work being done upstream in gcc-4.7 to try to fix the ABI for
compatibility with gcc-4.6 (and with -std=c++99).  In the meantime, yes,
any packages that are being built with -std=c++0x or -std=c++11 should use
gcc-4.6 instead.

-- 
Steve Langasek   Give me a lever long enough and a Free OS
Debian Developer   to set it on, and I can move the world.
Ubuntu Developerhttp://www.debian.org/
slanga...@ubuntu.com vor...@debian.org


signature.asc
Description: Digital signature
-- 
Ubuntu-release mailing list
Ubuntu-release@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-release


Re: Is there any progress on the stl abi issues? (was: Re: [Desktop] Release Meeting 2012-06-29)

2012-06-29 Thread Scott Kitterman
On Friday, June 29, 2012 08:21:39 PM Sebastien Bacher wrote:
> Le 28/06/2012 21:55, Sebastien Bacher a écrit :
> >  * the gcc 4.7,libsigc,stl issues are still not fixed yet (unity is
> > 
> > build with gcc-4.6 still)
> 
> I've been mentioning that for a few weeks but I've seen no recent
> update, is anyone working on it? Bjoern just raised the issue in the
> desktop team, those issues are blocking libreoffice work in quantal for
> some weeks and we would like to know if we need to invest efforts in
> building libreoffice with gcc-4.6.

Not that it directly affects the packages that have been identified to have 
issues, but I did check with Qt/KDE upstream and they don't make use of the 
Standard Library, so it's not an issue for Qt/KDE.

Scott K

-- 
Ubuntu-release mailing list
Ubuntu-release@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-release


Is there any progress on the stl abi issues? (was: Re: [Desktop] Release Meeting 2012-06-29)

2012-06-29 Thread Sebastien Bacher

Le 28/06/2012 21:55, Sebastien Bacher a écrit :
 * the gcc 4.7,libsigc,stl issues are still not fixed yet (unity is 
build with gcc-4.6 still) 


I've been mentioning that for a few weeks but I've seen no recent 
update, is anyone working on it? Bjoern just raised the issue in the 
desktop team, those issues are blocking libreoffice work in quantal for 
some weeks and we would like to know if we need to invest efforts in 
building libreoffice with gcc-4.6.


Thanks,
Sebastien Bacher

--
Ubuntu-release mailing list
Ubuntu-release@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-release