You are not logged in.

#1 2009-05-12 21:51:23

Roberth
Member
From: The Pale Blue Dot
Registered: 2007-01-12
Posts: 894

Gcc 4.3?

Hello, Can it be possible to provide gcc 4.3 as gcc43 in the repos? Since assembly is broken in 4.4 and therefor mplayer won't compile.


Use the Source, Luke!

Offline

#2 2009-05-12 21:53:53

Themaister
Member
From: Trondheim, Norway
Registered: 2008-07-21
Posts: 652
Website

Re: Gcc 4.3?

Huh? :S Mplayer svn compiles just fine here with GCC 4.4.0 ... 64-bit though.

Offline

#3 2009-05-12 21:54:59

Roberth
Member
From: The Pale Blue Dot
Registered: 2007-01-12
Posts: 894

Re: Gcc 4.3?

Well not on 32 bit...

http://rafb.net/p/b2ZQPV65.html

And the mplayer guys says that gcc 4.4 is broken.


Use the Source, Luke!

Offline

#4 2009-05-12 22:02:01

Themaister
Member
From: Trondheim, Norway
Registered: 2008-07-21
Posts: 652
Website

Re: Gcc 4.3?

According to this: http://lists.mplayerhq.hu/pipermail/mpl … 76637.html, it should compile if you disable liba52. Not an option if you have to handle AC-3 streams though.

Last edited by Themaister (2009-05-12 22:03:44)

Offline

#5 2009-05-12 22:13:20

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Offline

#6 2009-05-13 04:12:41

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

Re: Gcc 4.3?

My first hint is to not use -O3 (if you are...)  All of the problems I have encountered with gcc-4.4 so far are -O3 related.

I will be pushing an updated toolchain to [testing] soon.  This uses a newer gcc-4.4 snapshot so may have a few bugs fixed.

Edit: also look at the gcc-snapshot package.  It should be very easy to adjust to gcc-4.3

Offline

#7 2009-05-13 05:26:08

attila
Member
Registered: 2006-11-14
Posts: 293

Re: Gcc 4.3?

I have recognized some problems with my own kde3 repo too which have had no problem before gcc 4.4.0. I give up to find out what happens so it is nice to hear that you will update toolchain.

Allan wrote:

Edit: also look at the gcc-snapshot package.  It should be very easy to adjust to gcc-4.3

Does this mean that i can use gcc 4.3.3 together with gcc-libs 4.4.0? Do i have to recompile all packages which i had compiled with gcc 4.4.0 (kernel at example)? Sorry for this simple questions but i'm not a developper.

Offline

#8 2009-05-13 05:30:23

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

Re: Gcc 4.3?

The gcc-snapshot package is designed to install along side the current gcc/gcc-libs.  Just change the pkgname to gcc43 and the sources and you will be good to go (using CC=gcc-4.3 ./configure, or something like that).  So you only need to use it to compile what you want to.

Offline

#9 2009-05-13 05:56:50

attila
Member
Registered: 2006-11-14
Posts: 293

Re: Gcc 4.3?

@Allan Thanks for the hints and pointing out that i should use gcc-snapshot as example.

Offline

#10 2009-05-13 10:54:35

dolby
Member
From: 1992
Registered: 2006-08-08
Posts: 1,581

Re: Gcc 4.3?

If you remove the UNSET CFLAGS in the script, assuming you dont use -O3 in your custom ones mplayer will build fine.

edit: BTW. if the new toolchain means a new glibc then its gonna be freakin hell!  PS. can't wait smile

An example of hell: http://lists.schmorp.de/pipermail/rxvt- … 00976.html

Last edited by dolby (2009-05-13 10:58:59)


There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums.  That is why we avoid it. -- ewaller (arch linux forum moderator)

Offline

#11 2009-05-13 14:17:09

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

Re: Gcc 4.3?

dolby wrote:

edit: BTW. if the new toolchain means a new glibc then its gonna be freakin hell!  PS. can't wait smile

Well it is there now with the shiny new glibc-2.10.1...

Its "only" sting const-ness in C++ that is an issue, so not too bad...  I'm sure that gcc has thrown warnings about this for a while now.

Offline

Board footer

Powered by FluxBB