Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 38255 - OpenOffice needs GCC 3.3.2 in dependencies
Summary: OpenOffice needs GCC 3.3.2 in dependencies
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-14 21:15 UTC by Alexey Parshin
Modified: 2004-01-16 02:26 UTC (History)
0 users

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 Alexey Parshin 2004-01-14 21:15:40 UTC
I've spent over 4 days trying to build OpenOffice 1.1-r2.
It's impossible to build OOffice with GCC 3.2.x due the internal compiler error (reported by several people on Gentoo forums). With GCC 3.3.2 it went just fine.
Also, it would save a lot of time if the check for available space would be performed prior to building Open Office. It looks like 3G would be sufficient.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Andreas Proschofsky (RETIRED) gentoo-dev 2004-01-15 02:14:53 UTC
Openoffice might have some troubles with certain architectures (Pentium4 for example) and over-optimizations, but it is not true that it is not buildable on gcc 3.2.x at a whole. 

Please send the output of "emerge info" and the exact error output / log. Also please provide the link to the forums discussion you mention.
Comment 2 Paul de Vrieze (RETIRED) gentoo-dev 2004-01-15 03:49:20 UTC
Basically gcc-3.2.x is buggy in combination with -march=pentium4. As this problem lives in the floating point code it is not allways triggered. There is another bug about this and the ebuild should fix this. However as I don't own a pentium4 and don't have that compiler I cannot test it and it seems to be broken. If someone could try to fix that code it would solve some  problems. (The code is at the start of the src_compile function)
Comment 3 Alexey Parshin 2004-01-15 06:56:35 UTC
Well, I've Sparc (Blade 100), so we aint talking about P4.
I can't provide the error message - It would take me 3 hrs to emerge GCC 3.2.3, than 12 hrs to get to the error message, and than another 1-2 hr to get GCC 3.3 back.
Comment 4 Paul de Vrieze (RETIRED) gentoo-dev 2004-01-16 02:26:06 UTC
The ebuild should be able to build with 3.3 and the dependencies allow this. Unfortunately openoffice is a complex package that has a habit of triggering compiler bugs. For that reason a new gcc is allways advised. I'm sorry that I don't myself own a sparc capable of compiling openoffice (I have an unused sparc classic), but in general I would advise you to use gcc-3.3 as it has a number of fixed bugs.