Summary: | OpenOffice 2.2.1 dies in building gcc-ooo on FreeBSD 7.0-CURRENT/i386 | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | O. Hartmann <ohartmann> |
Component: | Individual Port(s) | Assignee: | freebsd-openoffice (Nobody) <openoffice> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | ||
Priority: | Normal | ||
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
O. Hartmann
2007-06-28 17:50:02 UTC
Responsible Changed From-To: freebsd-ports-bugs->openoffice Over to maintainer(s). Hi, I had the same problem. With exactly the same error message. I found that when gcc-ooo receives an argument that it does not recognise, it fails. This is a problem since I am using gcc4 with -O2 and appropriate flags to work around bugs (one flag is specific to gcc4). The following are the compiler flags that I have: CFLAGS= -O2 -fno-strict-aliasing -fno-tree-vrp -pipe CXXFLAGS+= -fconserve-space CPUTYPE=i686 The specific flag to gcc4 is "-fno-tree-vrp" so I changed CFLAGS to: CFLAGS= -O2 -fno-strict-aliasing -pipe And OpenOffice compiled without a problem. (I have another problem with OpenOffice and saving .odt files but I have not determined where the problem lies). I recommend changing the OpenOffice port to check that when compiling with gcc-ooo no gcc 4 specific flags are included. Wishing you the best of luck. David State Changed From-To: open->closed Now it is updated to 2.3.0 and it uses gcc4.2. Using gcc4.2, this problem should go away. Thanks for your report. |