Re: [Wengophone-devel] Avoid gcc 4.1: it makes wengophone crash!

2006-12-14 Thread Andreas Schneider
Ludovico Cavedon wrote:
 Hi!
Hi Ludovico,

 To test if your compiler is broken, you can try to compile and run this file:
 http://netgroup.polito.it/~cavedon/test-gcc-boost.cc
 this should be the correct output
 http://netgroup.polito.it/~cavedon/test-gcc-boost.out
 
 I have tried under Ubuntu edgy:
 BAD: gcc-4.1 (GCC) 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)
 OK: gcc-4.0 (GCC) 4.0.4 20060630 (prerelease) (Ubuntu 4.0.3-4)
 OK: gcc-3.4

I've compiled the code here on openSUSE 10.2 which has gcc 4.1.2. Did
you report the bug to the gcc bugzilla? If yes, could you please post
the bug number :)

 
 Regards,
 Ludovico
 

-- andreas

-- 
http://www.cynapses.org/ - cybernetic synapses




signature.asc
Description: OpenPGP digital signature
___
Wengophone-devel mailing list
Wengophone-devel@lists.openwengo.com
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

Re: [Wengophone-devel] Avoid gcc 4.1: it makes wengophone crash!

2006-12-14 Thread Ludovico Cavedon
On Thu, 2006-12-14 at 09:46 +0100, Andreas Schneider wrote:
 I've compiled the code here on openSUSE 10.2 which has gcc 4.1.2. Did
 you report the bug to the gcc bugzilla? If yes, could you please post
 the bug number :)

Did it work for you?

I have not reported to gcc bugzilla because the version I have is a
pre-release patched by Ubuntu. So I am going to report this to Ubuntu,
fisrt.

A good idea could be to ask for feedback in a gcc IRC channel. I'll try.


Regards,
Ludovico


___
Wengophone-devel mailing list
Wengophone-devel@lists.openwengo.com
http://dev.openwengo.com/mailman/listinfo/wengophone-devel


Re: [Wengophone-devel] Avoid gcc 4.1: it makes wengophone crash!

2006-12-14 Thread Philippe BERNERY

Le 14 déc. 06 à 00:45, Ludovico Cavedon a écrit :

I noticed that gcc 4.1 is producing bad code with boost libraries,  
so WengoPhone

is crashing very often.


Hi Ludovico,

I noticed this too, very annoying. So this is a boost bug?

--
Philippe BERNERY [EMAIL PROTECTED]
http://dev.openwengo.org





PGP.sig
Description: Ceci est une signature électronique PGP
___
Wengophone-devel mailing list
Wengophone-devel@lists.openwengo.com
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

Re: [Wengophone-devel] Avoid gcc 4.1: it makes wengophone crash!

2006-12-14 Thread Andreas Schneider
Ludovico Cavedon wrote:
 On Thu, 2006-12-14 at 09:46 +0100, Andreas Schneider wrote:
 I've compiled the code here on openSUSE 10.2 which has gcc 4.1.2. Did
 you report the bug to the gcc bugzilla? If yes, could you please post
 the bug number :)
 
 Did it work for you?

No, it didn't. I've reported the bug for openSUSE on our bugzilla.

https://bugzilla.novell.com/show_bug.cgi?id=228524

 A good idea could be to ask for feedback in a gcc IRC channel. I'll try.
 

Let us know about the results. Thanks!

-- andreas

-- 
http://www.cynapses.org/ - cybernetic synapses




signature.asc
Description: OpenPGP digital signature
___
Wengophone-devel mailing list
Wengophone-devel@lists.openwengo.com
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

Re: [Wengophone-devel] Avoid gcc 4.1: it makes wengophone crash!

2006-12-14 Thread Ludovico Cavedon
On Thu, 2006-12-14 at 10:38 +0100, Andreas Schneider wrote:
 Ludovico Cavedon wrote:
  On Thu, 2006-12-14 at 09:46 +0100, Andreas Schneider wrote:
  I've compiled the code here on openSUSE 10.2 which has gcc 4.1.2. Did
  you report the bug to the gcc bugzilla? If yes, could you please post
  the bug number :)
  
  Did it work for you?
 
 No, it didn't. I've reported the bug for openSUSE on our bugzilla.
 
 https://bugzilla.novell.com/show_bug.cgi?id=228524

Here is the bug report for Ubuntu
https://launchpad.net/distros/ubuntu/+source/gcc-4.1/+bug/75724

Regards,
Ludovico


___
Wengophone-devel mailing list
Wengophone-devel@lists.openwengo.com
http://dev.openwengo.com/mailman/listinfo/wengophone-devel


Re: [Wengophone-devel] Avoid gcc 4.1: it makes wengophone crash!

2006-12-14 Thread Philippe BERNERY

Le 14 déc. 06 à 10:37, Ludovico Cavedon a écrit :


I would say that a gcc bug is more likely because it happens only with
gcc 4.1.2, which has not been released yet.

What distro and gcc version, in your case?


I'm not working on it by now, I can tell you this is Ubuntu 6.10. I  
don't which gcc version is installed with it.


--
Philippe BERNERY [EMAIL PROTECTED]
http://dev.openwengo.org





PGP.sig
Description: Ceci est une signature électronique PGP
___
Wengophone-devel mailing list
Wengophone-devel@lists.openwengo.com
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

Re: [Wengophone-devel] Avoid gcc 4.1: it makes wengophone crash!

2006-12-14 Thread Didier LINK
Le mercredi 13 décembre 2006 à 23:45 +, Ludovico Cavedon a écrit :
 Hi!
 
Hi,

 I noticed that gcc 4.1 is producing bad code with boost libraries, so 
 WengoPhone
 is crashing very often.
 
 In particular automatic slot disconnection upon object destruction is not
 working right.
 
 To test if your compiler is broken, you can try to compile and run this file:
 http://netgroup.polito.it/~cavedon/test-gcc-boost.cc
 this should be the correct output
 http://netgroup.polito.it/~cavedon/test-gcc-boost.out
 
 I have tried under Ubuntu edgy:
 BAD: gcc-4.1 (GCC) 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)
 OK: gcc-4.0 (GCC) 4.0.4 20060630 (prerelease) (Ubuntu 4.0.3-4)
 OK: gcc-3.4
 

On Gentoo 2006.1 (up to date) amd64 (64bits distribution) I've tested
this versions of gcc :

BAD: gcc-4.1.1 [gcc (GCC) 4.1.1 (Gentoo 4.1.1-r3)]
BAD: gcc-4.1.0 [gcc-4.1.0 (GCC) 4.1.0 (Gentoo 4.1.0-r1)]
OK: gcc-3.4.6 [gcc-3.4.6 (GCC) 3.4.6 (Gentoo 3.4.6-r1, ssp-3.4.5-1.0,
pie-8.7.9)]

Thanks for the test case.

Do you think that the ticket #1199 is related to this problem ?

Regards.

Didier Link



signature.asc
Description: Ceci est une partie de message	numériquement signée
___
Wengophone-devel mailing list
Wengophone-devel@lists.openwengo.com
http://dev.openwengo.com/mailman/listinfo/wengophone-devel