View previous topic :: View next topic |
Author |
Message |
ony n00b
Joined: 04 Jan 2005 Posts: 7
|
Posted: Thu Jul 20, 2006 7:19 pm Post subject: 32bit apps segfault [solved] |
|
|
Hi!
I'm using amd64 gentoo system and it's been a week now, since my system segfaults on every 32bit application (mplayer-bin, opera, firefox-bin, ...). I think it happened just after moving to 2006.0 profile (from 2005.1), but I'm not sure, I made more changes that time.
I'm using portage-xgl overlay and my system is up to date (emerge -uDN world). I tried to recompile glibc (with different use flags), kernel and emul-* packages. None helped.
Glibc doesn't show multilib support, however in this profile multilib should be forced by default. When I compile glibc, it compiles twice, first with x86 ABI, then with amd64 ABI.
Code: | [~] equery uses glibc
[ Searching for packages matching glibc... ]
[ Colour Code : set unset ]
[ Legend : Left column (U) - USE flags from make.conf ]
[ : Right column (I) - USE flags packages was installed with ]
[ Found these USE variables for sys-libs/glibc-2.3.6-r4 ]
U I
- - build : !!internal use only!! DO NOT SET THIS FLAG YOURSELF!, used for creating build images and the first half of bootstrapping.
- - erandom : Enable erandom/frandom support in glibc for ssp
- - glibc-compat20 : Enable the glibc-compat addon.
- - glibc-omitfp : Configure glibc with --enable-omitfp which lets the build system determine when it is safe to use -fomit-frame-pointer
- - hardened : activate default security enhancements for toolchain (gcc, glibc, binutils)
- - multilib : On 64bit systems, if you want to be able to compile 32bit and 64bit binaries
+ + nls : Adds Native Language Support (using gettext - GNU locale utilities)
+ + nptl : Enable support for Native POSIX Threads Library, the new threading module (requires linux-2.6 or better usually)
+ + nptlonly : Disables building the linuxthreads fallback in glibc ebuilds that support building both linuxthreads and nptl.
- - profile : Adds profile support to builds of packages (will likely vary from ebuild to ebuild in support)
- - selinux : !!internal use only!! Security Enhanced Linux support, this must be set by the selinux profile or breakage will occur
|
Code: | [~] epm -qGa | grep emul-linux
app-emulation/emul-linux-x86-gtklibs-2.8.8
app-emulation/emul-linux-x86-xlibs-7.0-r1
app-emulation/emul-linux-x86-sdl-2.3
app-emulation/emul-linux-x86-soundlibs-2.3
app-emulation/emul-linux-x86-baselibs-2.5.1
app-emulation/emul-linux-x86-compat-1.0-r1
app-emulation/emul-linux-x86-qtlibs-3.4.4
app-emulation/emul-linux-x86-medialibs-1.2
app-emulation/emul-linux-x86-java-1.4.2.03-r1
[~] epm -qGa | grep glibc
sys-libs/glibc-2.3.6-r4
|
I've got CONFIG_IA32_EMULATION and CONFIG_IA32_AOUT turned on in my kernel.
Code: | [~] emerge --info
Portage 2.1-r1 (default-linux/amd64/2006.0, gcc-3.4.6/amd64-vanilla, glibc-2.3.6-r4, 2.6.16-gentoo-r13 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r13 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.15
ccache version 2.4 [enabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python: 2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: 2.4-r2
dev-util/confcache: [Not Present]
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.59-r7
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils: 2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=athlon64 -w -s -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=athlon64 -w -s -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages metadata-transfer sfperms strict"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
LANG="cs_CZ.utf8"
LC_ALL="cs_CZ.utf8"
LDFLAGS="-Wl,-O1,--enable-new-dtags,--sort-common,-s"
LINGUAS="cs"
MAKEOPTS="-j2 -s -w"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/portage-xgl"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aac aalib alsa amd64 arts audiofile avi bash-completion berkdb bitmap-fonts browserplugin bzip2 cairo cdda cddb cli crypt cups curl divx4linux dlloader dpms dri eds emboss encode esd exif expat ffmpeg firefox font-server foomaticdb fortran gdbm gif glut gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal idn imagemagick imlib ipv6 isdnlog ithreads java jpeg jpeg2k junit kde kdeenablefinal lcms libcaca lm_sensors logitech-mouse lzw lzw-tiff mad mng mp3 mpeg ncurses new-login nls nptl nptlonly nsplugin nvidia offensive ogg oggvorbis opengl pam pcre pdflib perl png pppd python qt qt3 qt4 quicktime readline reflection rtc samba sblive sdl session slang spell spl ssl tcpd theora threads tiff truetype truetype-fonts type1-fonts unicode usb vim-with-x visualization vorbis xcomposite xine xinetd xml2 xorg xosd xpm xrandr xscreensaver xv xvid zlib elibc_glibc input_devices_mouse input_devices_evdev input_devices_keyboard kernel_linux linguas_cs userland_GNU video_cards_nv video_cards_nvidia video_cards_v4l"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
|
Code: | [~] opera
Segmentation fault
[~] mplayer-bin
28839: ��/usr/bin/mplayer-bin: line 2: 28839 Segmentation fault /opt/mplayer-bin/bin/mplayer-bin "$@"
[~] firefox-bin
28877: Έ� 28877: Έ�/usr/libexec/mozilla-launcher: line 357: 28877 Segmentation fault DISPLAY=$s $remote -a ${progname} "$@"
28878: �� 28878: ��/usr/libexec/mozilla-launcher: line 357: 28878 Segmentation fault DISPLAY=$s $remote -a ${progname} "$@"
Unknown error 139 from mozilla-xremote-client
28883: Θ� 28883: Θ�/usr/libexec/mozilla-launcher: line 117: 28883 Segmentation fault "$mozbin" "$@"
firefox-bin exited with non-zero status (139)
|
And revdep-rebuild doesn't want to merge anything (except for azureus-bin, which is probably ok since it is bin (and azureus works fine)), however it displays some broken dependencies:
Code: | [~] revdep-rebuild
Configuring search environment for revdep-rebuild
Checking reverse dependencies...
Packages containing binaries and libraries broken by a package update
will be emerged.
Collecting system binaries and libraries... done.
(/root/.revdep-rebuild.1_files)
Collecting complete LD_LIBRARY_PATH... done.
(/root/.revdep-rebuild.2_ldpath)
Checking dynamic linking consistency...
broken /emul/linux/x86/usr/lib/directfb-0.9.22/gfxdrivers/libdirectfb_matrox.so (requires libsysfs.so.1)
broken /emul/linux/x86/usr/lib/directfb-0.9.22/gfxdrivers/libdirectfb_nvidia.so (requires libsysfs.so.1)
broken /usr/lib/azureus/libswt-cairo-gtk-3139.so (requires libcairo.so.1)
broken /usr/lib64/azureus/libswt-cairo-gtk-3139.so (requires libcairo.so.1)
broken /emul/linux/x86/usr/lib/directfb-0.9.22/gfxdrivers/libdirectfb_matrox.la (requires /lib/libsysfs.la)
broken /emul/linux/x86/usr/lib/directfb-0.9.22/gfxdrivers/libdirectfb_nvidia.la (requires /lib/libsysfs.la)
broken /emul/linux/x86/usr/lib/directfb-0.9.22/inputdrivers/libdirectfb_sdlinput.la (requires /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la)
broken /emul/linux/x86/usr/lib/directfb-0.9.22/inputdrivers/libdirectfb_sdlinput.la (requires /usr/lib/libggi.la)
broken /emul/linux/x86/usr/lib/directfb-0.9.22/inputdrivers/libdirectfb_sdlinput.la (requires /usr/lib/libgii.la)
broken /emul/linux/x86/usr/lib/directfb-0.9.22/inputdrivers/libdirectfb_sdlinput.la (requires /usr/lib/libgg.la)
broken /emul/linux/x86/usr/lib/directfb-0.9.22/systems/libdirectfb_sdl.la (requires /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/libstdc++.la)
broken /emul/linux/x86/usr/lib/directfb-0.9.22/systems/libdirectfb_sdl.la (requires /usr/lib/libggi.la)
broken /emul/linux/x86/usr/lib/directfb-0.9.22/systems/libdirectfb_sdl.la (requires /usr/lib/libgii.la)
broken /emul/linux/x86/usr/lib/directfb-0.9.22/systems/libdirectfb_sdl.la (requires /usr/lib/libgg.la)
broken /emul/linux/x86/usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-ani.la (requires /emul/linux/x86/usr/lib/libgdk_pixbuf-2.0.la)
broken /emul/linux/x86/usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-bmp.la (requires /emul/linux/x86/usr/lib/libgdk_pixbuf-2.0.la)
broken /emul/linux/x86/usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-gif.la (requires /emul/linux/x86/usr/lib/libgdk_pixbuf-2.0.la)
broken /emul/linux/x86/usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-ico.la (requires /emul/linux/x86/usr/lib/libgdk_pixbuf-2.0.la)
broken /emul/linux/x86/usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-jpeg.la (requires /emul/linux/x86/usr/lib/libgdk_pixbuf-2.0.la)
broken /emul/linux/x86/usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-pcx.la (requires /emul/linux/x86/usr/lib/libgdk_pixbuf-2.0.la)
broken /emul/linux/x86/usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-png.la (requires /emul/linux/x86/usr/lib/libgdk_pixbuf-2.0.la)
broken /emul/linux/x86/usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-pnm.la (requires /emul/linux/x86/usr/lib/libgdk_pixbuf-2.0.la)
broken /emul/linux/x86/usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-ras.la (requires /emul/linux/x86/usr/lib/libgdk_pixbuf-2.0.la)
broken /emul/linux/x86/usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-tga.la (requires /emul/linux/x86/usr/lib/libgdk_pixbuf-2.0.la)
broken /emul/linux/x86/usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-tiff.la (requires //usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/libstdc++.la)
broken /emul/linux/x86/usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-tiff.la (requires /emul/linux/x86/usr/lib/libgdk_pixbuf-2.0.la)
broken /emul/linux/x86/usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-wbmp.la (requires /emul/linux/x86/usr/lib/libgdk_pixbuf-2.0.la)
broken /emul/linux/x86/usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-xbm.la (requires /emul/linux/x86/usr/lib/libgdk_pixbuf-2.0.la)
broken /emul/linux/x86/usr/lib/gtk-2.0/2.4.0/loaders/libpixbufloader-xpm.la (requires /emul/linux/x86/usr/lib/libgdk_pixbuf-2.0.la)
broken /usr/lib/kde3/konqsidebar_baghirasidebar.la (requires /usr/kde/3.4/lib64/libkonqsidebarplugin.la)
broken /usr/lib/kde3/konqsidebar_baghirasidebar.la (requires /usr/kde/3.4/lib64/libkparts.la)
broken /usr/lib/kde3/konqsidebar_baghirasidebar.la (requires /usr/kde/3.4/lib64/libkio.la)
broken /usr/lib/kde3/konqsidebar_baghirasidebar.la (requires /usr/kde/3.4/lib64/libkdeui.la)
broken /usr/lib/kde3/konqsidebar_baghirasidebar.la (requires /usr/kde/3.4/lib64/libkdesu.la)
broken /usr/lib/kde3/konqsidebar_baghirasidebar.la (requires /usr/kde/3.4/lib64/libkwalletclient.la)
broken /usr/lib/kde3/konqsidebar_baghirasidebar.la (requires /usr/kde/3.4/lib64/libkdecore.la)
broken /usr/lib/kde3/konqsidebar_baghirasidebar.la (requires /usr/kde/3.4/lib64/libDCOP.la)
broken /usr/lib/kde3/konqsidebar_baghirasidebar.la (requires /usr/kde/3.4/lib64/libkdefx.la)
broken /usr/lib64/kde3/konqsidebar_baghirasidebar.la (requires /usr/kde/3.4/lib64/libkonqsidebarplugin.la)
broken /usr/lib64/kde3/konqsidebar_baghirasidebar.la (requires /usr/kde/3.4/lib64/libkparts.la)
broken /usr/lib64/kde3/konqsidebar_baghirasidebar.la (requires /usr/kde/3.4/lib64/libkio.la)
broken /usr/lib64/kde3/konqsidebar_baghirasidebar.la (requires /usr/kde/3.4/lib64/libkdeui.la)
broken /usr/lib64/kde3/konqsidebar_baghirasidebar.la (requires /usr/kde/3.4/lib64/libkdesu.la)
broken /usr/lib64/kde3/konqsidebar_baghirasidebar.la (requires /usr/kde/3.4/lib64/libkwalletclient.la)
broken /usr/lib64/kde3/konqsidebar_baghirasidebar.la (requires /usr/kde/3.4/lib64/libkdecore.la)
broken /usr/lib64/kde3/konqsidebar_baghirasidebar.la (requires /usr/kde/3.4/lib64/libDCOP.la)
broken /usr/lib64/kde3/konqsidebar_baghirasidebar.la (requires /usr/kde/3.4/lib64/libkdefx.la)
done.
(/root/.revdep-rebuild.3_rebuild)
Assigning files to ebuilds... done.
(/root/.revdep-rebuild.4_ebuilds)
Evaluating package order... done.
(/root/.revdep-rebuild.5_order)
All prepared. Starting rebuild...
emerge --oneshot =net-p2p/azureus-bin-2.4.0.2
... |
Any ideas where's the problem?
Thanks for any advice.
Last edited by ony on Wed Aug 02, 2006 9:08 pm; edited 1 time in total |
|
Back to top |
|
|
ony n00b
Joined: 04 Jan 2005 Posts: 7
|
Posted: Fri Jul 28, 2006 10:24 am Post subject: |
|
|
Hi again,
now I have rebuilt every package installed, but the problem remains.
Code: | epm -qGa | sed 's/^/=/' | xargs -l1 emerge -1 |
|
|
Back to top |
|
|
ony n00b
Joined: 04 Jan 2005 Posts: 7
|
Posted: Wed Aug 02, 2006 9:08 pm Post subject: solved |
|
|
Heureka! I have finally solved the problem. I unmerged every emul-linux-* package, deleted /emul directory and emerged emul-linux-* packages again. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|