Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 119920 - Openoffice.org 2.0.1 fails to build with segmentation fault
Summary: Openoffice.org 2.0.1 fails to build with segmentation fault
Status: RESOLVED DUPLICATE of bug 20600
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-22 06:24 UTC by Cyril Jaquier
Modified: 2006-01-23 09:59 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 Cyril Jaquier 2006-01-22 06:24:49 UTC
Openoffice.org 2.0.1 fails to build on my system. It seems that regcomp fails with a segmentation fault.

Making: ../../unxlngi6.pro/lib/ipythonloader.uno.lib
no ImportLibs on Mac and *ix
-------------
cp pythonloader.py ../../unxlngi6.pro/lib/pythonloader.py
rm -f ../../unxlngi6.pro/lib/pyuno_services.rdb ../../unxlngi6.pro/lib/pyuno_services.tmp ../../unxlngi6.pro/lib/pyuno_services.rdb
cd ../../unxlngi6.pro/lib && regcomp -register -r pyuno_services.tmp -c typeconverter.uno -c invocation.uno -c reflection.uno -c introspection.uno -c invocadapt.uno -c proxyfac.uno -c pythonloader.uno
Segmentation fault
dmake:  Error code 139, while making '../../unxlngi6.pro/lib/pyuno_services.rdb''---* tg_merge.mk *---'

ERROR: Error 65280 occurred while making /var/tmp/portage/openoffice-2.0.1/work/ooo-build-2.0.1.1/build/ooa680-m1/pyuno/source/loader
make: *** [stamp/build] Error 1

!!! ERROR: app-office/openoffice-2.0.1 failed.
!!! Function src_compile, Line 217, Exitcode 2
!!! Build failed
!!! If you need support, post the topmost build error, NOT this status message.

Openoffice 2.0.0 compiled without problems with GCC 4.0.2.

# emerge -pv openoffice
[ebuild     U ] app-office/openoffice-2.0.1 [2.0.0] -binfilter +curl -eds +gnome +gtk +java -kde -ldap -mozilla +xml2 +zlib 0 kB

# emerge info
Portage 2.0.54 (default-linux/x86/2005.1, gcc-4.0.2, glibc-2.3.6-r2, 2.6.15-cj2 i686)
=================================================================
System uname: 2.6.15-cj2 i686 Intel(R) Pentium(R) M processor 1.80GHz
Gentoo Base System version 1.12.0_pre15
ccache version 2.3 [enabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -mtune=pentium-m -pipe -fomit-frame-pointer       -fforce-addr -fprefetch-loop-arrays -falign-functions=64 -ftracer        -funroll-loops -momit-leaf-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=pentium-m -mtune=pentium-m -pipe -fomit-frame-pointer     -fforce-addr -fprefetch-loop-arrays -falign-functions=64 -ftracer        -funroll-loops -momit-leaf-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks parallel-fetch sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/              ftp://sunsite.cnlab-switch.ch/mirror/gentoo/             ftp://ftp.solnet.ch/mirror/Gentoo"
LANG="en_US"
LC_ALL="en_US"
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="x86 X acpi alsa audiofile avi bash-completion berkdb bitmap-fonts bmp bonobo bzip2 cairo cdr crypt cups curl dbus dri dvd dvdr emboss encode esd ethereal exif expat fam ffmpeg firefox flac foomaticdb fortran gcj gd gdbm gif glut gmp gnome gstreamer gtk gtk2 gtkhtml hal idn ieee1394 imagemagick imap imlib ipv6 java jpeg junit lcms libg++ libwww live mad mikmod mime mmx mng mp3 mpeg ncurses nls nptl nptlonly ogg oggvorbis opengl pam pcmcia pcre pdflib perl pic png python qt quicktime readline real recode samba sdl speex spell sse sse2 ssl svg tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts udev usb v4l vorbis win32codecs wmf xml2 xosd xprint xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, LINGUAS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-01-22 06:28:48 UTC
Ayeee, are you sure you have enough C[XX]FLAGS in there? What about -ffast-math and --zomg-optimized for a good measure? :P

*** This bug has been marked as a duplicate of 20600 ***
Comment 2 Cyril Jaquier 2006-01-23 09:59:15 UTC
Mmmhhh...

Sorry :( It was clearly a CFLAGS problem :/ I never got problem with these before. Seems that GCC 4.0.2 has still some bugs ;)

Thank you ! I will check more carefully my CFLAGS before reporting a bug ;)