Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 54987 - gcc 3.3.4 for ppc and ppc64
Summary: gcc 3.3.4 for ppc and ppc64
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: PPC Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-24 02:29 UTC by Philippe Trottier (RETIRED)
Modified: 2004-11-10 18:45 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Trottier (RETIRED) gentoo-dev 2004-06-24 02:29:36 UTC
It seems gcc-3.3.4 doesn't work with the current altivec patch for 3.3.2...

   if [ "${ARCH}" = "ppc" -o "${ARCH}" = "ppc64" ]
   then
       epatch ${FILESDIR}/3.3.2/gcc332-altivec-fix.patch
   fi

I am just trying to get a released stable gcc that will compile QT... trying it now... You can even assign this to me and Ill return the results building from stage1 a ppc32 system today.

PPC64 note, the patch affects ppc64 too...
Comment 1 Philippe Trottier (RETIRED) gentoo-dev 2004-06-24 08:39:57 UTC
stage1 compiles and run 
qt 3.3.2 compiles


Things I did:
needed to install the latest gcc-config-1.3.6 changed the keyword so that bootstrap thinks it is stable.

commented out the whole altivec patch for gcc 3.3.2
Keyworded gcc-3.3.4 has ppc
Comment 2 Luca Barbato gentoo-dev 2004-06-24 12:52:19 UTC
if you have an altivec capable cpu please make sure that altivec code builds fine.
I'll have a look after my exams
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2004-06-24 13:16:51 UTC
Compiling mplayer with altivec should be a good test (check if you can
watch movies properly - what exactly was the problem Lu?) ...
Comment 4 Philippe Trottier (RETIRED) gentoo-dev 2004-06-24 13:31:23 UTC
Doing that JUST now ... will have it playing tomorrow ...
Comment 5 Luca Barbato gentoo-dev 2004-06-24 14:50:35 UTC
The vip bugs currently related to gcc on ppc are:

1 altivec misoptimized on gcc-3.3.3 (mainline, the hammer branch addresses to that one) [testcase:: ffmpeg mpeg4 codec]
2 Optimization related issues with gcc-3.3.3 (every) [testcase:: diffutils]

Both problem are solved on gcc-3.4.0 and I'm chrash-testing on most of the code I could build, so far gcc-3.4.0 was ok if you don't have wacky C++ code or label before branch situation.

If gcc-3.3.4 addresses the problems I described before we could mark it ppc after some automated test.
Comment 6 Philippe Trottier (RETIRED) gentoo-dev 2004-06-25 09:28:17 UTC
recompiled diffutils, mplayer and ffmpeg

mplayer is usable plays movies and all
diff -Naur somwthing something.orig returns beliavable results
xine works fine and plays movies

haven't yet found a nice way to test ffmpeg...

someone can give me something that really breaks things like a 1 2 3 boom procedure and Ill do it...

Trying to build atlas and lapack-atlas... Now
Comment 7 Philippe Trottier (RETIRED) gentoo-dev 2004-06-27 23:27:27 UTC
dev-libs/atlas-3.6.0 compiled and is used by R and lush
Comment 8 solar (RETIRED) gentoo-dev 2004-08-26 16:26:39 UTC
ppc64 has gcc-3.4.x marked stable now which solves the problem.
ppc is using a non standard toolchain for the 3.3.x so reassigning bug to the ppc team
Comment 9 Luca Barbato gentoo-dev 2004-08-28 16:59:53 UTC
gcc-3.4.1-r2 will be marked stable within the week
Comment 10 Pieter Van den Abeele (RETIRED) gentoo-dev 2004-09-22 16:03:28 UTC
3.4 stable on ppc, we can still revisit gcc-3.3.4 later on if needed. tchiwam, your call :-)
Comment 11 Tom Gall (RETIRED) gentoo-dev 2004-11-10 18:45:20 UTC
I'm going to close this one out.  in the ppc64 context, the 3.3 series of gcc isn't something we're making use of anymore.