Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 319695 - GCC-4.4.3-r2 fails on qt-gui-4.6.2-r1 using PaX_patched kernel
Summary: GCC-4.4.3-r2 fails on qt-gui-4.6.2-r1 using PaX_patched kernel
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-14 13:08 UTC by Rumen Yotov
Modified: 2010-05-17 14:54 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 Rumen Yotov 2010-05-14 13:08:07 UTC
Hi,
Maybe this is for hardened-herd but will post it here.
All other stuff compiles except qt-gui-4.6.2-r1 (and maybe other parts of QT)
With non-PaX kernel all goes well.
Later will give more info as it's over 16K.

Reproducible: Always




paludis --info sys-devel/gcc
paludis 0.46.0
Paludis build information:
    Compiler:
        CXX:                   i686-pc-linux-gnu-g++ 4.4.2
        CXXFLAGS:               -O2 -march=i686 -pipe
        LDFLAGS:               -Wl,-O1,--as-needed
        DATE:                  2010-04-07T10:45:35+0300

    Libraries:
        C++ Library:           GNU libstdc++ 20091015

    Paths:
        DATADIR:               /usr/share
        LIBDIR:                /usr/lib
        LIBEXECDIR:            /usr/libexec
        SYSCONFDIR:            /etc
        PYTHONINSTALLDIR:      
        RUBYINSTALLDIR:        /usr/lib/ruby/site_ruby/1.8/i686-linux

System:
    Linux ray 2.6.33-zen2 #2 ZEN Tue May 4 14:10:22 EEST 2010 i686 Intel(R) Pentium(R) M processor 1.86GHz GenuineIntel GNU/Linux

Reduced Privs:
    reduced_uid:               130
    reduced_uid->name:         paludisbuild
    reduced_uid->dir:          /var/tmp/paludis
    reduced_gid:               1024
    reduced_gid->name:         paludisbuild

Environment:
    Format:                    paludis
    Config dir:                /etc/paludis
    World file:                /var/db/pkg/world

Repository layman:
    format:                    unavailable
    location:                  /var/db/paludis/repositories/layman
    sync:                      tar+http://git.exherbo.org/layman_repositories.tar.bz2
    sync_options:              

Repository installed-virtuals:
    format:                    installed_virtuals
    root:                      /

Repository virtuals:
    format:                    virtuals

Repository gentoo:
    format:                    ebuild
    location:                  /usr/portage
    builddir:                  /var/tmp/paludis
    cache:                     /usr/portage/metadata/cache
    distdir:                   /usr/portage/distfiles
    eapi_when_unknown:         0
    eapi_when_unspecified:     0
    eclassdirs:                /usr/portage/eclass
    layout:                    traditional
    names_cache:               /var/cache/paludis/names
    newsdir:                   /usr/portage/metadata/news
    profile_eapi_when_unspecified: 0
    profile_layout:            traditional
    profiles:                  /usr/portage/profiles/default/linux/x86/10.0/desktop
    securitydir:               /usr/portage/metadata/glsa
    setsdir:                   /usr/portage/sets
    sync:                      rsync://rsync.europe.gentoo.org/gentoo-portage
    sync_options:              
    use_manifest:              use
    write_cache:               /var/empty

    Package information:
        app-admin/eselect-compiler: (none)
        app-shells/bash:       4.1_p5
        dev-java/java-config:  (none)
        dev-lang/python:       2.6.5-r2 3.1.2-r3
        dev-python/pycrypto:   (none)
        dev-util/ccache:       2.4-r8
        dev-util/cmake:        2.8.1-r1
        dev-util/confcache:    (none)
        sys-apps/baselayout:   2.0.1
        sys-apps/openrc:       0.6.1-r1
        sys-apps/sandbox:      2.2
        sys-devel/autoconf:    2.13 2.65
        sys-devel/automake:    1.10.3 1.11.1 1.9.6-r3
        sys-devel/binutils:    2.20.1-r1
        sys-devel/gcc:         4.4.3-r2
        sys-devel/gcc-config:  1.4.1
        sys-devel/libtool:     2.2.6b
        virtual/os-headers:    2.6.33 (for sys-kernel/linux-headers::installed)

Repository installed:
    format:                    vdb
    location:                  /var/db/pkg
    builddir:                  /var/tmp/paludis
    eapi_when_unknown:         0
    names_cache:               /var/cache/paludis/names
    provides_cache:            /var/cache/paludis/provides
    root:                      /

Repository enlightenment:
    format:                    ebuild
    location:                  /var/paludis/repositories/e17
    builddir:                  /var/tmp/paludis
    cache:                     /var/empty
    distdir:                   /usr/portage/distfiles
    eapi_when_unknown:         0
    eapi_when_unspecified:     0
    eclassdirs:                /usr/portage/eclass /var/paludis/repositories/e17/eclass
    layout:                    traditional
    master_repository:         gentoo
    names_cache:               /var/paludis/repositories/e17/.cache/names
    newsdir:                   /var/paludis/repositories/e17/metadata/news
    profile_eapi_when_unspecified: 0
    profile_layout:            traditional
    profiles:                  /usr/portage/profiles/default/linux/x86/10.0/desktop
    securitydir:               /var/paludis/repositories/e17/metadata/glsa
    setsdir:                   /var/paludis/repositories/e17/sets
    sync:                      svn+http://overlays.gentoo.org/svn/dev/vapier/enlightenment
    sync_options:              
    use_manifest:              use
    write_cache:               /var/cache/paludis/metadata

Repository local_overlay:
    format:                    ebuild
    location:                  /usr/local/portage
    builddir:                  /var/tmp/paludis
    cache:                     /var/empty
    distdir:                   /usr/portage/distfiles
    eapi_when_unknown:         0
    eapi_when_unspecified:     0
    eclassdirs:                /usr/portage/eclass /usr/local/portage/eclass
    layout:                    traditional
    master_repository:         gentoo
    names_cache:               /usr/local/portage/.cache/names
    newsdir:                   /usr/local/portage/metadata/news
    profile_eapi_when_unspecified: 0
    profile_layout:            traditional
    profiles:                  /usr/portage/profiles/default/linux/x86/10.0/desktop
    securitydir:               /usr/local/portage/metadata/glsa
    setsdir:                   /usr/local/portage/sets
    sync:                      
    sync_options:              
    use_manifest:              use
    write_cache:               /Package sys-devel/gcc-4.4.3-r2::installed:

        >>> Running ebuild phase killold as paludisbuild:paludisbuild...
        >>> Starting builtin_killold
        >>> Done builtin_killold
        >>> Completed ebuild phase killold
        >>> Running ebuild phases initmisc infovars info as paludisbuild:paludisbuild...
        >>> Starting builtin_initmisc
        bunzip2 < /var/db/pkg/sys-devel/gcc-4.4.3-r2/environment.bz2 > /var/tmp/paludis/environment-sys-devel-gcc-4.4.3-r2-24228
        ebuild_scrub_environment /var/tmp/paludis/environment-sys-devel-gcc-4.4.3-r2-24228
        ebuild_safe_source /var/tmp/paludis/environment-sys-devel-gcc-4.4.3-r2-24228
        rm /var/tmp/paludis/environment-sys-devel-gcc-4.4.3-r2-24228
        >>> Done builtin_initmisc
        >>> Starting builtin_infovars
        ACCEPT_KEYWORDS=x86
        CBUILD=i686-pc-linux-gnu
        CFLAGS=-march=i686 -pipe -O2
        CHOST=i686-pc-linux-gnu
        CONFIG_PROTECT=/etc /etc/entropy /usr/share/X11/xkb 
        CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo 
        CPPFLAGS=
        CTARGET=i686-pc-linux-gnu
        CXXFLAGS=-march=i686 -pipe -O2
        DISTDIR=/var/db/pkg/sys-devel/gcc-4.4.3-r2
        FEATURES=
        FFLAGS=
        GENTOO_MIRRORS=
        INSTALL_MASK=
        LANG=
        LC_ALL=C
        LDFLAGS=-Wl,-O1,--as-needed
        LINGUAS=bg en
        MAKEOPTS=-j2 -s 
        PORTAGE_COMPRESS=
        PORTAGE_COMPRESS_FLAGS=
        PORTAGE_CONFIGROOT=
        PORTAGE_RSYNC_EXTRA_OPTS=
        PORTAGE_RSYNC_OPTS=
        PORTAGE_TMPDIR=/var/tmp/paludis
        PORTDIR=/var/db/pkg/sys-devel/gcc-4.4.3-r2
        PORTDIR_OVERLAY=
        SYNC=
        USE=fortran gcj mudflap nls nptl objc objc++ objc-gc openmp x86 alsa_cards_darla20 alsa_cards_darla24 alsa_cards_emu10k1 alsa_cards_emu10k1x alsa_cards_gina20 alsa_cards_gina24 alsa_cards_hdsp alsa_cards_hdspm alsa_cards_ice1712 alsa_cards_indigo alsa_cards_indigoio alsa_cards_layla20 alsa_cards_layla24 alsa_cards_mia alsa_cards_mixart alsa_cards_mona alsa_cards_pcxhr alsa_cards_rme32 alsa_cards_rme96 alsa_cards_sb16 alsa_cards_sbawe alsa_cards_sscape alsa_cards_usb-usx2y alsa_cards_usbusx2y alsa_cards_vx222 alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mmap_emul alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apache2_modules_actions apache2_modules_alias apache2_modules_auth_basic apache2_modules_authn_alias apache2_modules_authn_anon apache2_modules_authn_dbm apache2_modules_authn_default apache2_modules_authn_file apache2_modules_authz_dbm apache2_modules_authz_default apache2_modules_authz_groupfile apache2_modules_authz_host apache2_modules_authz_owner apache2_modules_authz_user apache2_modules_autoindex apache2_modules_cache apache2_modules_dav apache2_modules_dav_fs apache2_modules_dav_lock apache2_modules_deflate apache2_modules_dir apache2_modules_disk_cache apache2_modules_env apache2_modules_expires apache2_modules_ext_filter apache2_modules_file_cache apache2_modules_filter apache2_modules_headers apache2_modules_include apache2_modules_info apache2_modules_log_config apache2_modules_logio apache2_modules_mem_cache apache2_modules_mime apache2_modules_mime_magic apache2_modules_negotiation apache2_modules_rewrite apache2_modules_setenvif apache2_modules_speling apache2_modules_status apache2_modules_unique_id apache2_modules_userdir apache2_modules_usertrack apache2_modules_vhost_alias apache2_mpms_prefork cameras_adc65 cameras_agfa_cl20 cameras_aox cameras_barbie cameras_canon cameras_casio_qv cameras_clicksmart310 cameras_digigr8 cameras_digita cameras_dimagev cameras_dimera3500 cameras_directory cameras_enigma13 cameras_fuji cameras_gsmart300 cameras_hp215 cameras_iclick cameras_jamcam cameras_jd11 cameras_kodak_dc120 cameras_kodak_dc210 cameras_kodak_dc240 cameras_kodak_dc3200 cameras_kodak_ez200 cameras_konica cameras_konica_qm150 cameras_largan cameras_lg_gsm cameras_mars cameras_mustek cameras_panasonic_coolshot cameras_panasonic_dc1000 cameras_panasonic_dc1580 cameras_panasonic_l859 cameras_pccam300 cameras_pccam600 cameras_polaroid_pdc320 cameras_polaroid_pdc640 cameras_polaroid_pdc700 cameras_ptp2 cameras_ricoh cameras_ricoh_g3 cameras_samsung cameras_sierra cameras_sipix_blink cameras_sipix_blink2 cameras_sipix_web2 cameras_smal cameras_sonix cameras_sony_dscf1 cameras_sony_dscf55 cameras_soundvision cameras_spca50x cameras_sq905 cameras_stv0674 cameras_stv0680 cameras_sx330z cameras_template cameras_toshiba_pdrm11 elibc_glibc input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_void kernel_linux lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text linguas_bg linguas_en lirc_devices_audio lirc_devices_audio_alsa lirc_devices_serial ruby_targets_ruby18 userland_GNU video_cards_fbdev video_cards_radeonhd video_cards_vesa x86 
        >>> Done builtin_infovars
        >>> Starting pkg_info
        >>> Done pkg_info
        >>> Completed ebuild phases initmisc infovars info
        >>> Running ebuild phase tidyup as paludisbuild:paludisbuild...
        >>> Starting builtin_tidyup
        rm -fr /var/tmp/paludis/sys-devel-gcc-4.4.3-r2-info
        >>> Done builtin_tidyup
        >>> Completed ebuild phase tidyup

Package sys-devel/gcc-4.4.3-r2:4.4::gentoo:

        >>> Running ebuild phase killold as paludisbuild:paludisbuild...
        >>> Starting builtin_killold
        >>> Done builtin_killold
        >>> Completed ebuild phase killold
        >>> Running ebuild phases initmisc infovars as paludisbuild:paludisbuild...
        >>> Starting builtin_initmisc
        >>> Done builtin_initmisc
        >>> Starting builtin_infovars
        ACCEPT_KEYWORDS=x86
        CBUILD=i686-pc-linux-gnu
        CFLAGS=-Os -march=i686 -fomit-frame-pointer -pipe
        CHOST=i686-pc-linux-gnu
        CONFIG_PROTECT= 
        CONFIG_PROTECT_MASK= 
        CPPFLAGS=
        CTARGET=i686-pc-linux-gnu
        CXXFLAGS=-Os -march=i686 -fomit-frame-pointer -pipe
        DISTDIR=/usr/portage/distfiles
        FEATURES=
        FFLAGS=
        GENTOO_MIRRORS=
        INSTALL_MASK=
        LANG=
        LC_ALL=C
        LDFLAGS=-Wl,-O1,--as-needed
        LINGUAS=bg en
        MAKEOPTS=-j2 -s 
        PORTAGE_COMPRESS=
        PORTAGE_COMPRESS_FLAGS=
        PORTAGE_CONFIGROOT=
        PORTAGE_RSYNC_EXTRA_OPTS=
        PORTAGE_RSYNC_OPTS=
        PORTAGE_TMPDIR=/var/tmp/paludis
        PORTDIR=/usr/portage
        PORTDIR_OVERLAY=
        SYNC=
Comment 1 Jory A. Pratt gentoo-dev 2010-05-16 16:26:30 UTC
Without an actuall error message nothing can be done.
Comment 2 Rumen Yotov 2010-05-17 14:54:14 UTC
Hi,

Only now could get the info.
Will check the message logs, FLAGS etc, only later.
Tries with none hot/loaded system etc.
Here goes the error message:
>>> Done src_configure
>>> Starting builtin_saveenv
>>> Done builtin_saveenv
>>> Completed ebuild phases loadenv configure saveenv
>>> Running ebuild phases loadenv compile saveenv as paludisbuild:paludisbuild...
>>> Starting builtin_loadenv
>>> Done builtin_loadenv
>>> Starting src_compile
make -j2 -s CC=@echo compiling $< && i686-pc-linux-gnu-gcc CXX=@echo compiling $< && i686-pc-linux-gnu-g++ LINK=@echo
linking $@ && i686-pc-linux-gnu-g++
uic dialogs/qprintsettingsoutput.ui
uic dialogs/qprintwidget.ui
uic dialogs/qpagesetupwidget.ui
uic dialogs/qfiledialog.ui
compiling kernel/qt_gui_pch.h
moc kernel/qaction.h
moc kernel/qactiongroup.h
moc kernel/qapplication.h
moc kernel/qwidget.h
moc kernel/qwidgetaction.h
moc kernel/qgesturemanager_p.h
moc image/qmovie.h
compiling kernel/qt_gui_pch.h
moc text/qtextcontrol_p.h
moc text/qabstracttextdocumentlayout.h
moc text/qtextdocumentlayout_p.h
moc text/qsyntaxhighlighter.h
moc styles/qstylesheetstyle_p.h
moc widgets/qabstractspinbox.h
moc widgets/qcalendarwidget.h
moc widgets/qcombobox.h
moc widgets/qdatetimeedit.h
moc widgets/qdialogbuttonbox.h
moc widgets/qdockwidget.h
moc widgets/qfontcombobox.h
moc widgets/qgroupbox.h
moc widgets/qlabel.h
moc widgets/qlineedit.h
moc widgets/qmdiarea.h
moc widgets/qmdisubwindow.h
moc widgets/qmenu.h
moc widgets/qmenubar.h
compiling widgets/qmenudata.cpp

compiling widgets/qprogressbar.cpp
i686-pc-linux-gnu-g++: Internal error: Segmentation fault (program cc1plus)
Please submit a full bug report.
See <http://bugs.gentoo.org/> for instructions.
make: *** [.obj/release-shared/qmenudata.o] Error 1
make: *** Waiting for unfinished jobs....

i686-pc-linux-gnu-g++: Internal error: Segmentation fault (program cc1plus)
Please submit a full bug report.
See <http://bugs.gentoo.org/> for instructions.
make: *** [.obj/release-shared/qprogressbar.o] Error 1
/usr/libexec/paludis/utils/emake: emake returned error 2

!!! ERROR in x11-libs/qt-gui-4.6.2-r1::gentoo:
!!! In build_directories at line 879
!!! emake failed

!!! Call stack:
!!!    * build_directories (/var/tmp/paludis/x11-libs-qt-gui-4.6.2-r1/temp/loadsaveenv:879)
!!!    * qt4-build_src_compile (/var/tmp/paludis/x11-libs-qt-gui-4.6.2-r1/temp/loadsaveenv:4872)
!!!    * src_compile (/var/tmp/paludis/x11-libs-qt-gui-4.6.2-r1/temp/loadsaveenv:5213)
!!!    * ebuild_f_compile (/usr/libexec/paludis/2/src_compile.bash:56)
!!!    * ebuild_main (/usr/libexec/paludis/ebuild.bash:647)
!!!    * main (/usr/libexec/paludis/ebuild.bash:675)

diefunc: making ebuild PID 4466 exit with error
die trap: exiting with error.

Install error:
  * In program reconcilio :
  * When performing the Fix Linkage action:
  * When executing install task:
  * When installing 'x11-libs/qt-gui-4.6.2-r1:4::gentoo' replacing { 'x11-libs/qt-gui-4.6.2-r1:4::installed' }:
  * When running an ebuild command on 'x11-libs/qt-gui-4.6.2-r1:4::gentoo':
  * Install failed for 'x11-libs/qt-gui-4.6.2-r1:4::gentoo'


*** Messages log: /var/log/paludis/1273722665-install-x11-libs_qt-gui-4.6.2-r1:4::gentoo.messages
*** Output log: /var/log/paludis/1273722665-install-x11-libs_qt-gui-4.6.2-r1:4::gentoo.out
*** Messages log: /var/log/paludis/1273722665-install-x11-libs_qt-gui-4.6.2-r1:4::gentoo.messages
*** Output log: /var/log/paludis/1273722665-install-x11-libs_qt-gui-4.6.2-r1:4::gentoo.out

Summary of failures:

* x11-libs/qt-gui-4.6.2-r1:4::gentoo: failure

Total: 1 package, 0 successes, 0 skipped, 1 failure, 0 unreached

Resume command: paludis --log-level qa --preserve-world --install --serialised 0.37
'package;=x11-libs/qt-gui-4.6.2-r1:4::gentoo;installed;has_all_deps;P'