You are not logged in.

#1 2011-03-27 10:34:13

jolinfire
Member
From: France
Registered: 2007-12-21
Posts: 176

GCC 4.6 : some broken packages with it ?

Hello.

I updated this morning my gcc version to 4.6, and it broke some software / packages.

I try to build firefox trunk code as I do every single day for some years (!!), and I could get gtkmozembed to be built. So I reported a bug on mozilla bugzilla : https://bugzilla.mozilla.org/show_bug.cgi?id=645469

And xulrunner package is broken too. So I reported a bug on archlinux bugtracker : https://bugs.archlinux.org/task/23463

I know, this kind of things are common with testing. I just want to warn people about this problem.

Offline

#2 2011-03-27 11:00:13

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,400
Website

Re: GCC 4.6 : some broken packages with it ?

/home/fred/xulrunner/src/mozilla-2.0/xpcom/glue/nsEnumeratorUtils.cpp:115:27: erreur: uninitialized const ‘EmptyEnumeratorImpl::kInstance’ [-fpermissive]

That looks like bad code in xulrunner rather than a gcc issue.  The bit in brackets is a hint on how to fix it.

Offline

#3 2011-03-27 19:40:13

jolinfire
Member
From: France
Registered: 2007-12-21
Posts: 176

Re: GCC 4.6 : some broken packages with it ?

It was kinda fixed using -fpermissive flag in CXXFLAGS.

But this looks like more a workaround than a real fix.

And I think other software could be broken because of "badly" written C++ code. Only time will tell.

Offline

#4 2011-05-16 17:25:22

ThomasG
Member
Registered: 2011-05-16
Posts: 5

Re: GCC 4.6 : some broken packages with it ?

One other problem I ran into when *I* tried to upgrade:

- It broke some mp3 libraries, that mp3 audio was decoded to squealing sound, as mentioned here.
(http://lists.mplayerhq.hu/pipermail/mpl … 67977.html)

- It seems to have broken my the NVidia drivers too. It didn't result in the exact same problem mentioned here, where they say GCC 4.6 isn't supported yet by cuda:
(http://forums.nvidia.com/index.php?showtopic=199014)
But I did see some artefacts appearing on screen that got worse, until X completely hung it self when I tried to maximise a window.

Then after I tried to re-compile the kernel modules for NVidia the system did hang on a kernel panic during boot.

That's when I decided to give up and just restore the system to the image from last week before the update attempt.

Offline

#5 2011-05-16 23:42:49

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,400
Website

Re: GCC 4.6 : some broken packages with it ?

ThomasG wrote:

- It broke some mp3 libraries, that mp3 audio was decoded to squealing sound, as mentioned here.
(http://lists.mplayerhq.hu/pipermail/mpl … 67977.html)

Been fixed upstream for a while now.

Offline

Board footer

Powered by FluxBB