Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 216861 - app-office/openoffice-2.4.0 Compilation get stuck in swapping
Summary: app-office/openoffice-2.4.0 Compilation get stuck in swapping
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-08 12:03 UTC by Sven Müller
Modified: 2008-04-08 15:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge_info.txt,6.09 KB, text/plain)
2008-04-08 12:05 UTC, Sven Müller
Details
CPU Last and Memory Usage (top) (top.txt,2.19 KB, text/plain)
2008-04-08 12:07 UTC, Sven Müller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Müller 2008-04-08 12:03:48 UTC
I've read the bug about the memory consumption on amd64. This is very similiar but it's not the same. 

Hardware: P3 Notebook, 512mb RAM
To have enough swap-memory and temporary harddisk-space I connected a harddrive via usb and mounted it to /var/tmp/portage. Also I created a 2GB swap file on that drive. 

The compilation process works until the point: 
/var/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/solver/680/unxlngi6.pro/inc/com/sun/star/uno/Any.hxx:517: warning: dereferencing type-punned pointer will break strict-aliasing rules
/var/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/solver/680/unxlngi6.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&)':
/var/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/solver/680/unxlngi6.pro/inc/com/sun/star/uno/Any.hxx:525: warning: dereferencing type-punned pointer will break strict-aliasing rules
/var/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/solver/680/unxlngi6.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&)':
/var/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/solver/680/unxlngi6.pro/inc/com/sun/star/uno/Any.hxx:534: warning: dereferencing type-punned pointer will break strict-aliasing rules
/var/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/solver/680/unxlngi6.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&)':
/var/tmp/portage/app-office/openoffice-2.4.0/work/ooo/build/OOH680_m12/solver/680/unxlngi6.pro/inc/com/sun/star/uno/Any.hxx:554: warning: dereferencing type-punned pointer will break strict-aliasing rules

On that point it begins swapping. After 2 days swapping I stopped the punishment of my hard disk. The maximum usage of the swap-space is about 1 GB. The maximum usage of the temporary diskspace is about 3.6 GB. 

While compiling the compiler is consuming only 0.7% CPU last but more than 90% of memory. 

With OpenOffice-2.3.x I didn't have any problems to compile it on that machine. 

Reproducible: Always

Steps to Reproduce:
1. emerge openoffice
Comment 1 Sven Müller 2008-04-08 12:05:57 UTC
Created attachment 149096 [details]
emerge --info
Comment 2 Sven Müller 2008-04-08 12:07:21 UTC
Created attachment 149097 [details]
CPU Last and Memory Usage (top)
Comment 3 Jan Kundrát (RETIRED) gentoo-dev 2008-04-08 12:44:44 UTC
There is no way we can fix GCC to require less memory. But note that you have -j4 in your $MAKEOPTS. You might try running with -j1...
Comment 4 Sven Müller 2008-04-08 15:11:47 UTC
(In reply to comment #3)
> There is no way we can fix GCC to require less memory. But note that you have
> -j4 in your $MAKEOPTS. You might try running with -j1...
> 

-j4 is because of using a distcc-server.