Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 253127 - x11-libs/qt-core-4.4.2 fails with segmentation fault
Summary: x11-libs/qt-core-4.4.2 fails with segmentation fault
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: The Gentoo Linux Hardened Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-30 11:59 UTC by Miroslav Šulc
Modified: 2009-01-21 08:58 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,235.37 KB, text/plain)
2008-12-30 12:00 UTC, Miroslav Šulc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Miroslav Šulc gentoo-dev 2008-12-30 11:59:13 UTC
[ebuild  N    ] x11-libs/qt-core-4.4.2  USE="ssl -debug -doc -glib (-pch) -qt3support" 0 kB

...
compiling .moc/release-shared/moc_qeventloop.cpp
compiling .moc/release-shared/moc_qcoreapplication.cpp
compiling .moc/release-shared/moc_qmimedata.cpp
compiling .moc/release-shared/moc_qsocketnotifier.cpp
compiling .moc/release-shared/moc_qtimer.cpp
compiling .moc/release-shared/moc_qtranslator.cpp
compiling .moc/release-shared/moc_qobjectcleanuphandler.cpp
compiling .moc/release-shared/moc_qsharedmemory.cpp
compiling .moc/release-shared/moc_qeventdispatcher_unix_p.cpp
compiling .moc/release-shared/moc_qtextcodecplugin.cpp
compiling io/qfilesystemwatcher.cpp
rm -f libQtCore.so.4.4.2 libQtCore.so libQtCore.so.4 libQtCore.so.4.4
linking ../../lib/libQtCore.so.4.4.2
ln -s libQtCore.so.4.4.2 libQtCore.so
ln -s libQtCore.so.4.4.2 libQtCore.so.4
ln -s libQtCore.so.4.4.2 libQtCore.so.4.4
rm -f ../../lib/libQtCore.so.4.4.2
rm -f ../../lib/libQtCore.so
rm -f ../../lib/libQtCore.so.4
rm -f ../../lib/libQtCore.so.4.4
mv -f libQtCore.so.4.4.2 libQtCore.so libQtCore.so.4 libQtCore.so.4.4 ../../lib/
/var/tmp/portage/x11-libs/qt-core-4.4.2/temp/environment: line 324: 23117 Segmentation fault      "${S}"/bin/qmake "LIBS+=-L${QTLIBDIR}" "CONFIG+=nostrip"
 * 
 * ERROR: x11-libs/qt-core-4.4.2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2713:  Called qt4-build_src_compile
 *             environment, line 2491:  Called build_target_directories
 *             environment, line  333:  Called build_directories '
 * src/tools/moc/
 * src/tools/rcc/
 * src/tools/uic/
 * src/corelib/
 * src/xml/
 * src/network/
 * src/plugins/codecs/'
 *             environment, line  327:  Called die
 * The specific snippet of code:
 *           "${S}"/bin/qmake "LIBS+=-L${QTLIBDIR}" "CONFIG+=nostrip" || die "qmake failed";
 *  The die message:
 *   qmake failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/x11-libs/qt-core-4.4.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-libs/qt-core-4.4.2/temp/environment'.
 * 

>>> Failed to emerge x11-libs/qt-core-4.4.2, Log file:

>>>  '/var/tmp/portage/x11-libs/qt-core-4.4.2/temp/build.log'


# emerge --info
Portage 2.1.6.4 (hardened/x86/2.6, gcc-3.4.6, glibc-2.6.1-r0, 2.6.20-hardened-r6 i686)
=================================================================
System uname: Linux-2.6.20-hardened-r6-i686-Intel-R-_Pentium-R-_4_CPU_3.00GHz-with-glibc2.3.2
Timestamp of tree: Sun, 28 Dec 2008 15:45:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7-r1, 2.1.6
dev-lang/python:     2.5.2-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r2
sys-devel/automake:  1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fforce-addr"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/qmail/alias /var/qmail/control /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=prescott -O2 -pipe -fforce-addr"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS=""
MAKEOPTS="-j3"
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="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.cz.gentoo.org/gentoo-portage"
USE="apache2 berkdb crypt hardened java5 mmx ncurses pam perl pic python readline snmp ssl tcpd vhosts x86 xml" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 	emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m 	maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt intel 	mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage 	siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware 	voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Miroslav Šulc gentoo-dev 2008-12-30 12:00:20 UTC
Created attachment 176864 [details]
build.log
Comment 2 Markos Chandras (RETIRED) gentoo-dev 2008-12-30 12:41:08 UTC
Reassigning to hardened team since you are using a hardened profile

Please try to use the latest stable gcc and reproduce this issue
Comment 3 Miroslav Šulc gentoo-dev 2008-12-30 15:41:11 UTC
All gcc-4* packages are masked on hardened profile. I tried to emerge gcc-4.1.2 which is only package masked for hardened profile but otherwise marked as stable and got another error:

/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc/xgcc -shared-libgcc -B/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/./gcc -nostdinc++ -L/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/i686-pc-linux-gnu/libstdc++-v3/src -L/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/i686-pc-linux-gnu/libstdc++-v3/src/.libs -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include -I/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu -I/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/i686-pc-linux-gnu/libstdc++-v3/include -I/var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/libstdc++-v3/libsupc++ -march=prescott -O2 -pipe -D_GNU_SOURCE -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -fdiagnostics-show-location=once -ffunction-sections -fdata-sections -c /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/libstdc++-v3/src/codecvt.cc  -fPIC -DPIC -o .libs/codecvt.o
In file included from /var/tmp/portage/sys-devel/gcc-4.1.2/work/build/i686-pc-linux-gnu/libstdc++-v3/include/memory:61,
                 from /var/tmp/portage/sys-devel/gcc-4.1.2/work/build/i686-pc-linux-gnu/libstdc++-v3/include/string:48,
                 from /var/tmp/portage/sys-devel/gcc-4.1.2/work/build/i686-pc-linux-gnu/libstdc++-v3/include/bits/locale_classes.h:47,
                 from /var/tmp/portage/sys-devel/gcc-4.1.2/work/build/i686-pc-linux-gnu/libstdc++-v3/include/locale:46,
                 from /var/tmp/portage/sys-devel/gcc-4.1.2/work/gcc-4.1.2/libstdc++-v3/src/codecvt.cc:30:
/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/i686-pc-linux-gnu/libstdc++-v3/include/limits:990: error: stray '\226' in program
/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/i686-pc-linux-gnu/libstdc++-v3/include/limits:1047: error: stray '\374' in program
/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/i686-pc-linux-gnu/libstdc++-v3/include/limits:1104: error: stray '\226' in program
make[5]: *** [codecvt.lo] Error 1
make[5]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/i686-pc-linux-gnu/libstdc++-v3/src'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/i686-pc-linux-gnu/libstdc++-v3'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.1.2/work/build/i686-pc-linux-gnu/libstdc++-v3'
make[2]: *** [all-target-libstdc++-v3] Error 2
make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.1.2/work/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.1.2/work/build'
make: *** [profiledbootstrap] Error 2
 * 
 * ERROR: sys-devel/gcc-4.1.2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 4583:  Called toolchain_src_compile
 *             environment, line 5101:  Called gcc_src_compile
 *             environment, line 2945:  Called gcc_do_make
 *             environment, line 2768:  Called die
 * The specific snippet of code:
 *       emake LDFLAGS="${LDFLAGS}" STAGE1_CFLAGS="${STAGE1_CFLAGS}" LIBPATH="${LIBPATH}" BOOT_CFLAGS="${BOOT_CFLAGS}" ${GCC_MAKE_TARGET} || die "emake failed with ${GCC_MAKE_TARGET}";
 *  The die message:
 *   emake failed with profiledbootstrap
Comment 4 Miroslav Šulc gentoo-dev 2009-01-09 15:47:26 UTC
Finally I installed sucesscfully gcc-4.3.2-r2 and qt-core compiles fine so it seems qt-core-4.4.2 cannot be compiled with <gcc-4 I guess.
Comment 5 Gordon Malm (RETIRED) gentoo-dev 2009-01-21 08:58:06 UTC
Compilation of x11-libs/qt-core-4.4.2 with hardened gcc-3.4.6-r2 fixed in cvs.  Wait an hour and emerge --sync. Re-open if its not.  Thanks for reporting.