Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 215539 - error in compiling openoffice-2.4: g++ killed
Summary: error in compiling openoffice-2.4: g++ killed
Status: RESOLVED DUPLICATE of bug 215291
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-31 08:56 UTC by Patrik Osgnach
Modified: 2008-03-31 19:23 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 Patrik Osgnach 2008-03-31 08:56:09 UTC
I just attempted to compile openoffice-2.4.0 and got the following error:


In file included from ../../inc/resourcemodel/WW8ResourceModel.hxx:47,                                                                   
                 from ../../unxlngx6.pro/inc/doctok/resourceids.hxx:45,                                                                  
                 from ../../unxlngx6.pro/misc/qnametostr.cxx:36:                                                                         
/usr/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/solver/680/unxlngx6.pro/inc/com/sun/star/uno/Any.hxx: In function 'sal_Bool com::sun::star::uno::operator>>=(const com::sun::star::uno::Any&, sal_Int16&)':                                                
/usr/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/solver/680/unxlngx6.pro/inc/com/sun/star/uno/Any.hxx:316: warning: dereferencing type-punned pointer will break strict-aliasing rules                                                                      
/usr/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/solver/680/unxlngx6.pro/inc/com/sun/star/uno/Any.hxx: In function 'sal_Bool com::sun::star::uno::operator>>=(const com::sun::star::uno::Any&, sal_uInt16&)':                                               
/usr/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/solver/680/unxlngx6.pro/inc/com/sun/star/uno/Any.hxx:332: warning: dereferencing type-punned pointer will break strict-aliasing rules                                                                      
/usr/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/solver/680/unxlngx6.pro/inc/com/sun/star/uno/Any.hxx: In function 'sal_Bool com::sun::star::uno::operator>>=(const com::sun::star::uno::Any&, sal_Int32&)':                                                
/usr/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/solver/680/unxlngx6.pro/inc/com/sun/star/uno/Any.hxx:348: warning: dereferencing type-punned pointer will break strict-aliasing rules                                                                      
[...]
/usr/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/solver/680/unxlngx6.pro/inc/com/sun/star/uno/Any.hxx:517: warning: dereferencing type-punned pointer will break strict-aliasing rules                                                                      
/usr/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/solver/680/unxlngx6.pro/inc/com/sun/star/uno/Any.hxx: In function 'sal_Bool com::sun::star::uno::operator>>=(const com::sun::star::uno::Any&, com::sun::star::uno::Type&)':                                
/usr/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/solver/680/unxlngx6.pro/inc/com/sun/star/uno/Any.hxx:525: warning: dereferencing type-punned pointer will break strict-aliasing rules                                                                      
/usr/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/solver/680/unxlngx6.pro/inc/com/sun/star/uno/Any.hxx: In function 'sal_Bool com::sun::star::uno::operator==(const com::sun::star::uno::Any&, const com::sun::star::uno::Type&)':                           
/usr/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/solver/680/unxlngx6.pro/inc/com/sun/star/uno/Any.hxx:534: warning: dereferencing type-punned pointer will break strict-aliasing rules                                                                      
/usr/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/solver/680/unxlngx6.pro/inc/com/sun/star/uno/Any.hxx: In function 'sal_Bool com::sun::star::uno::operator==(const com::sun::star::uno::Any&, const com::sun::star::uno::BaseReference&)':                  
/usr/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/solver/680/unxlngx6.pro/inc/com/sun/star/uno/Any.hxx:554: warning: dereferencing type-punned pointer will break strict-aliasing rules                                                                      
{standard input}: Assembler messages:                                                                                                    
{standard input}:11739: Warning: end of file not at end of a line; newline inserted                                                      
{standard input}:12224: Error: suffix or operands invalid for `lea'                                                                      
x86_64-pc-linux-gnu-g++: Internal error: Killed (program cc1plus)                                                                        
Please submit a full bug report.                                                                                                         
See <URL:http://bugs.gentoo.org/> for instructions.                                                                                      
dmake:  Error code 1, while making '../../unxlngx6.pro/slo/qnametostr.obj'                                                               
---* tg_merge.mk *---                                                                                                                    
dmake:  Error code 255, while making 'do_it_noopt'                                                                                       
---* tg_merge.mk *---



emerge --info
Portage 2.1.4.4 (default-linux/amd64/2007.0/desktop, gcc-4.2.3, glibc-2.7-r2, 2.6.24-gentoo-r3 x86_64)                                   
=================================================================                                                                        
System uname: 2.6.24-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3200+                                                                  
Timestamp of tree: Fri, 28 Mar 2008 20:00:01 +0000                                                                                       
app-shells/bash:     3.2_p33                                                                                                             
dev-java/java-config: 1.3.7, 2.1.5                                                                                                       
dev-lang/python:     2.5.1-r5                                                                                                            
sys-apps/baselayout: 2.0.0                                                                                                               
sys-apps/sandbox:    1.2.18.1-r2                                                                                                         
sys-devel/autoconf:  2.13, 2.61-r1                                                                                                       
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1                                                                                
sys-devel/binutils:  2.18.50.0.5                                                                                                         
sys-devel/gcc-config: 1.4.0-r4                                                                                                           
sys-devel/libtool:   1.5.26                                                                                                              
virtual/os-headers:  2.6.24                                                                                                              
ACCEPT_KEYWORDS="amd64 ~amd64"                                                                                                           
CBUILD="x86_64-pc-linux-gnu"                                                                                                             
CFLAGS="-O2 -march=k8 -mtune=k8 -pipe -fomit-frame-pointer -mfpmath=sse"                                                                 
CHOST="x86_64-pc-linux-gnu"                                                                                                              
CONFIG_PROTECT="/etc /usr/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/kde/svn/env /usr/kde/svn/share/config /usr/kde/svn/shutdown /usr/share/config /var/lib/hsqldb"                                                                                         
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"                                                                                                       
CXXFLAGS="-O2 -march=k8 -mtune=k8 -pipe -fomit-frame-pointer -mfpmath=sse"                                                               
DISTDIR="/usr/portage/distfiles"                                                                                                         
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms unmerge-orphans userfetch userpriv usersandbox"                     
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"                                    
LANG="it_IT.UTF-8"                                                                                                                       
LC_ALL="it_IT.UTF-8"                                                                                                                     
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--hash-style=both -Wl,--as-needed -s"                                                             
LINGUAS="it"                                                                                                                             
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/usr/tmp/"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlay/layman/kde /usr/local/overlay/layman/openrc /usr/local/overlay/layman/desktop-effects /usr/local/overlay/my"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi alsa amd64 avahi berkdb bz2 cairo cddb cdr cli clucene cracklib cups dbus dri dvd dvdr dvdread emboss encode evo firefox fortran gdbm gif hal htmlhandbook iconv isdnlog jpeg kde kde4 lm_sensors mad midi mmx mp3 mpeg mudflap musicbrainz ncurses nepomuk nls nptl nptlonly ogg opengl openmp pam pcre pdf perl plasma png pppd python qt3support qt4 quicktime readline reflection sdl semantic-desktop session spl sse sse2 ssl svg tiff truetype unicode vorbis xcomposite xinerama xml xorg xv zeroconf zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rateroute share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="mouse keyboard synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Reproducible: Always

Steps to Reproduce:
1.emerge -u openoffice
2.
3.
Comment 1 Marijn Schouten (RETIRED) gentoo-dev 2008-03-31 11:39:06 UTC
you probably don't have enough RAM + swap
Comment 2 Patrik Osgnach 2008-03-31 12:09:25 UTC
(In reply to comment #1)
> you probably don't have enough RAM + swap
> 
I have 1 GiB of ram and 512 MiB of swap and I have always compiled openoffice since when 64bit support was introduced. plus the error regards `lea' instruction which is an assembly instruction (afaik)
Comment 3 Rickard Närström 2008-03-31 19:02:14 UTC
> I have 1 GiB of ram and 512 MiB of swap and I have always compiled openoffice
> since when 64bit support was introduced. plus the error regards `lea'
> instruction which is an assembly instruction (afaik)
> 

Thats not enogh memory, see bug #215291

The error regarding to 'lea' is probebly because g++ where killed after writing only parts of the instruction.
Comment 4 Carsten Lohrke (RETIRED) gentoo-dev 2008-03-31 19:23:03 UTC
Well...

*** This bug has been marked as a duplicate of bug 215291 ***