Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jul 2007 20:40:07 GMT
From:      David Naylor <blackdragon@highveldmail.co.za>
To:        openoffice@FreeBSD.org
Subject:   Re: ports/114100: OpenOffice 2.2.1 dies in building gcc-ooo on FreeBSD 7.0-CURRENT/i386
Message-ID:  <200707172040.l6HKe7Wr029861@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/114100; it has been noted by GNATS.

From: David Naylor <blackdragon@highveldmail.co.za>
To: bug-followup@freebsd.org,
 ohartman@zedat.fu-berlin.de
Cc:  
Subject: Re: ports/114100: OpenOffice 2.2.1 dies in building gcc-ooo on FreeBSD 7.0-CURRENT/i386
Date: Tue, 17 Jul 2007 21:55:26 +0200

 --nextPart1457695.xrYbg25Xvq
 Content-Type: text/plain;
   charset="us-ascii"
 Content-Transfer-Encoding: quoted-printable
 Content-Disposition: inline
 
 Hi,
 
 I had the same problem.  With exactly the same error message.  I found that=
 =20
 when gcc-ooo receives an argument that it does not recognise, it fails.  Th=
 is=20
 is a problem since I am using gcc4 with -O2 and appropriate flags to work=20
 around bugs (one flag is specific to gcc4).  The following are the compiler=
 =20
 flags that I have:
 
 CFLAGS=3D -O2 -fno-strict-aliasing -fno-tree-vrp -pipe
 CXXFLAGS+=3D -fconserve-space
 CPUTYPE=3Di686
 
 The specific flag to gcc4 is "-fno-tree-vrp" so I changed CFLAGS to:
 
 CFLAGS=3D -O2 -fno-strict-aliasing -pipe
 
 And OpenOffice compiled without a problem.  (I have another problem with=20
 OpenOffice and saving .odt files but I have not determined where the proble=
 m=20
 lies).  I recommend changing the OpenOffice port to check that when compili=
 ng=20
 with gcc-ooo no gcc 4 specific flags are included. =20
 
 Wishing you the best of luck. =20
 
 David
 
 --nextPart1457695.xrYbg25Xvq
 Content-Type: application/pgp-signature
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.5 (GNU/Linux)
 
 iD8DBQBGnR60yqzxLKpyZI8RAj1HAKC49JW4A3lBI47DrnxRnX6ojyPEZgCdHFXA
 1QK+YXaJfZY/rZWG4k6lhxY=
 =MF/4
 -----END PGP SIGNATURE-----
 
 --nextPart1457695.xrYbg25Xvq--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707172040.l6HKe7Wr029861>