Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 60197 - OpenOffice.org 1.1.2 ebuild internal compiler error
Summary: OpenOffice.org 1.1.2 ebuild internal compiler error
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-13 01:26 UTC by Philipp Kirchner
Modified: 2004-08-23 06:08 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 Philipp Kirchner 2004-08-13 01:26:35 UTC
I tried to emerge openoffice with Language=49 (German), it compiles sometime, after that i get an internal compiler error, i do not think i use aggressive CFlags...

<Last output from compile>
I/usr/X11R6/include     -I. -I../../res -I. -O2 -mcpu=pentium3 -march=pentium3 -mfpmath=sse -msse -msse2 -pipe -fno-strict-aliasing -DTT_CONFIG_OPTION_BYTECODE_INTERPRETER   -O2 -mcpu=pentium3 -march=pentium3 -mfpmath=sse -msse -msse2 -pipe -fno-strict-aliasing -DTT_CONFIG_OPTION_BYTECODE_INTERPRETER -fno-for-scope -fpermissive -fno-rtti -include preinclude.h -fexceptions -fno-enforce-eh-specs   -fpic -DLINUX -DUNX -DVCL -DGCC -DC300 -DINTEL -DGXX_INCLUDE_PATH=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include/g++-v3 -DCVER=C300 -D_USE_NAMESPACE -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DSUPD=645 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DSRX645  -DSHAREDLIB -D_DLL_  -DMULTITHREAD   -o ../../unxlngi4.pro/slo/analysis.o /var/tmp/portage/openoffice-1.1.2/work/oo_1.1.2_src/scaddins/source/analysis/analysis.cxx
In file included from /var/tmp/portage/openoffice-1.1.2/work/oo_1.1.2_src/scaddins/source/analysis/analysis.hxx:77,
                 from /var/tmp/portage/openoffice-1.1.2/work/oo_1.1.2_src/scaddins/source/analysis/analysis.cxx:62:
		 /var/tmp/portage/openoffice-1.1.2/work/oo_1.1.2_src/scaddins/source/analysis/analysishelper.hxx:617: warning: friend declaration requires class-key, i.e. `friend struct ConvertDataList'
		 /var/tmp/portage/openoffice-1.1.2/work/oo_1.1.2_src/scaddins/source/analysis/analysis.cxx: In member function `virtual rtl::OUString AnalysisAddIn::getBin2Hex(const com::sun::star::uno::Reference<com::sun::star::beans::XPropertySet>&, const rtl::OUString&, const com::sun::star::uno::Any&)':
		 /var/tmp/portage/openoffice-1.1.2/work/oo_1.1.2_src/scaddins/source/analysis/analysis.cxx:1012: warning: integer constant is too large for "long" type
		 /var/tmp/portage/openoffice-1.1.2/work/oo_1.1.2_src/scaddins/source/analysis/analysis.cxx:1012: warning: integer constant is too large for "long" type
		 /var/tmp/portage/openoffice-1.1.2/work/oo_1.1.2_src/scaddins/source/analysis/analysis.cxx: In member function `virtual rtl::OUString AnalysisAddIn::getOct2Hex(const com::sun::star::uno::Reference<com::sun::star::beans::XPropertySet>&, const rtl::OUString&, const com::sun::star::uno::Any&)':
		 /var/tmp/portage/openoffice-1.1.2/work/oo_1.1.2_src/scaddins/source/analysis/analysis.cxx:1031: warning: integer constant is too large for "long" type
		 /var/tmp/portage/openoffice-1.1.2/work/oo_1.1.2_src/scaddins/source/analysis/analysis.cxx:1031: warning: integer constant is too large for "long" type
		 /var/tmp/portage/openoffice-1.1.2/work/oo_1.1.2_src/scaddins/source/analysis/analysis.cxx: In member function `virtual rtl::OUString AnalysisAddIn::getDec2Hex(const com::sun::star::uno::Reference<com::sun::star::beans::XPropertySet>&, double, const com::sun::star::uno::Any&)':
		 /var/tmp/portage/openoffice-1.1.2/work/oo_1.1.2_src/scaddins/source/analysis/analysis.cxx:1049: warning: integer constant is too large for "long" type
		 /var/tmp/portage/openoffice-1.1.2/work/oo_1.1.2_src/scaddins/source/analysis/analysis.cxx:1049: warning: integer constant is too large for "long" type
		 g++: Internal error: Terminated (program cc1plus)
		 Please submit a full bug report.
		 See <URL:http://bugs.gentoo.org/> for instructions.
		 {standard input}: Assembler messages:
		 {standard input}:14899: Warning: end of file not at end of a line; newline inserted
		 dmake:  Error code 1, while making '../../unxlngi4.pro/slo/analysis.obj'
		 ---* TG_SLO.MK *---

		 ERROR: Error 65280 occurred while making /var/tmp/portage/openoffice-1.1.2/work/oo_1.1.2_src/scaddins/source/analysis

		 !!! ERROR: app-office/openoffice-1.1.2 failed.
		 !!! Function src_compile, Line 351, Exitcode 1
		 !!! Build failed!
</last Output from compile>
I couldn't get more output, if you need more, i will try it again an redirect the output to a file...


Reproducible: Always
Steps to Reproduce:
1.LANGUAGE=49 emerge openoffice


Actual Results:  
Compiler Error

Expected Results:  
Compile successfully

Portage 2.0.50-r9 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r0,
2.6.8-rc3-mm1)
=================================================================
System uname: 2.6.8-rc3-mm1 i686 Intel(R) Pentium(R) M processor 1300MHz
Gentoo Base System version 1.5.2
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-Os -mcpu=pentium3 -march=pentium3 -mfpmath=sse -msse -msse2 -pipe
-fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3.3/share/config /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -mcpu=pentium3 -march=pentium3 -mfpmath=sse -msse -msse2 -pipe
-fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
ftp://mirror.switch.ch/mirror/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib aci acl acpi alsa apm arts avi berkdb cdr crypt cups curl dvd
encode esd ethereal foomaticdb gdbm gif gimpprint gnome gpm gtk gtk2 hbci icq
imap imlib innodb java jpeg junit kde ldap libg++ libwww mad mikmod mmx mozilla
mpeg ncurses nls oggvorbis opengl oss pam pda pdflib perl png postgres python qt
quicktime readline samba sasl scanner sdl slang snmp spell sse ssl svga tcpd
tetex truetype unicode videos wxwindows x x86 xml xml2 xmms xv zlib"
Comment 1 Andreas Proschofsky (RETIRED) gentoo-dev 2004-08-21 12:54:13 UTC
Are you sute, that you had enough free diskspace during emerging?
Comment 2 Philipp Kirchner 2004-08-21 13:44:59 UTC
about 6G available after the error should be enough, i read about at last 3G free... I think tomorrow will be more time, i will try it again and give the detailed logs i promised
Comment 3 Philipp Kirchner 2004-08-23 05:15:44 UTC
Just found the Problem.. Init is killing processes because i have not enough RAM... Maybe the gcc could not allocate more RAM->internal compiler error ...

I have 256MB RAM and 1G swap, isn't that enough?
Comment 4 Paul de Vrieze (RETIRED) gentoo-dev 2004-08-23 05:41:02 UTC
It should be more than enough. Are you maybe running some memory hogs? Some database that locks it's pages in ram?
Comment 5 Philipp Kirchner 2004-08-23 06:01:57 UTC
I disabled anything i could disable, no unnecessary daemons like postrges or apache running at that time, i will get more memory next week, then i will try again and see if i can compile without init killing cc1plus...
Comment 6 Paul de Vrieze (RETIRED) gentoo-dev 2004-08-23 06:08:22 UTC
Could try with the newest compiler (3.4 should NOT work)? Also try to use -O2 instead of -Os? You seem to have hit a gcc bug. Probably the compiler gets into some loop that causes it to get out of memory. The loop should never be there though.