I use the gnustep overlay and everything emerges OK. But when i try to openapp an application (Azalea, Gorm, OuterSpace, ProjectManager), i have a segmentation fault. I have backtraces of all the cored apps (I'll put the Azalea one in attach). Reproducible: Always Steps to Reproduce: 1.openapp Azalea 2. 3. Actual Results: cedric@endymion ~ $ openapp Azalea Segmentation fault cedric@endymion ~ $ emerge --info: Portage 2.1.2.11 (default-linux/amd64/2006.1/desktop, gcc-4.1.2, glibc-2.5-r4, 2.6.22-gentoo-r2 x86_64) ================================================================= System uname: 2.6.22-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System release 1.12.9 Timestamp of tree: Fri, 17 Aug 2007 08:20:01 +0000 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r4 dev-python/pycrypto: 2.0.1-r6 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.23b virtual/os-headers: 2.6.21 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -Os -pipe -frename-registers -fweb -funit-at-a-time -ftree-pre -fgcse-sm -fgcse-las -fgcse-after-reload -fmerge-all-constants -ggdb" 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" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=athlon64 -Os -pipe -frename-registers -fweb -funit-at-a-time -ftree-pre -fgcse-sm -fgcse-las -fgcse-after-reload -fmerge-all-constants -ggdb" DISTDIR="/usr/portage/distfiles" FEATURES="collision-protect distlocks metadata-transfer sandbox sfperms splitdebug strict userpriv" GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="C" LC_ALL="C" LDFLAGS="-Wl,-z,now" LINGUAS="fr en_US en_GB" 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 --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/layman/enlightenment /usr/portage/local/layman/sunrise /usr/portage/local/layman/gnustep /usr/portage/local/mine" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 apache2 apm arts audiofile avi bash-completion berkdb bitmap-fonts blender-game bzip2 cdinstall cdparanoia cdr chroot cle266 crypt css cups dbus dedicated dga diskio dts dv dvb dvd dvdnav dvdr dvdread elf emerald encode erandom expat faad fame fbcon ffmpeg fftw firefox flac font-server gcc-libffi gcj gd gif glitz gnustep gphoto2 gpm graphviz gstreamer hal icq imap imlib innodb ipv6 irc ithreads jack java jfs joystick jpeg jpeg2k kcal kde kdeenablefinal konqueror kqemu largeterminal lcms libwww live lm_sensors lzo mad maildir memlimit mikmod mjpeg mng modperl mozilla moznocompose moznoirc moznomail mozsvg mp3 mpeg mplayer mpm-worker msn musepack musicbrainz ncurses net network nls no-old-linux no_wxgtk1 nptl nptlonly nsplugin ntfs nvidia objc offensive ogg oggvorbis on-the-fly-crypt openal openexr opengl pam pcre pdf pdfkit pdflib perl png postgres python qt qt3 quicktime rdesktop readline rtc sasl sblive sdl slang slp sndfile speex spell sql ssl subversion svg theora threads tidy tiff truetype truetype-fonts type1-fonts unicode usb userlocales v4l v4l2 vcd vdesktop vhosts videos visualization vlm vmmouse vorbis wmf xanim xattr xcomposite xfs xine xinerama xml xml2 xorg xpm xprint xrandr xv xvid xvmc yv12 zlib" ALSA_CARDS="emu10k1" ELIBC="glibc" INPUT_DEVICES="keyboard mouse joystick" KERNEL="linux" LINGUAS="fr en_US en_GB" USERLAND="GNU" VIDEO_CARDS="nv nvidia" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS gnustep-*/* packages: [I] gnustep-apps/gorm (1.2.1[1]@08/13/07): A clone of the NeXTstep Interface Builder application for GNUstep [I] gnustep-apps/projectmanager (0.2[1]@08/12/07): ProjectManager is another IDE for GNUstep [I] gnustep-apps/azalea [1] (0.2@08/12/07): A window manager for GNUstep based on OpenBox 3 [I] gnustep-apps/keyarcher [1] (0.1@08/12/07): Reads keyed archives content [I] gnustep-apps/outerspace [1] (0.2@08/12/07): Spacial file manager for the Etoile project [I] gnustep-apps/plconv [1] (0.1@08/12/07): Command-line tool for converting between different property-list formats [I] gnustep-base/gnustep-back-art (0.12.0[1]@08/12/07): libart_lgpl back-end component for the GNUstep GUI Library [I] gnustep-base/gnustep-base (1.14.0[1]@08/12/07): The GNUstep Base Library is a library of general-purpose, non-graphical Objective C objects. [I] gnustep-base/gnustep-gui (0.12.0[1]@08/12/07): Library of GUI classes written in Obj-C [I] gnustep-base/gnustep-make (2.0.1[1]@08/12/07): GNUstep Makefile Package [I] gnustep-base/mknfonts (0.5-r1[1]@08/12/07): Provides the tool to create .nfont packages suitable for use with gnustep-back-art. [I] gnustep-libs/distributedview [1] (0.2@08/12/07): Etoile project extensions framework, provides a flexible icon view [I] gnustep-libs/etoile-ui [1] (0.2@08/12/07): AppKit framework extensions from the Etoile project [I] gnustep-libs/highlighterkit [1] (0.1@08/12/07): Syntax highlighter framework [I] gnustep-libs/iconkit [1] (0.2@08/12/07): framework used to create icons using different elements [I] gnustep-libs/inspectorkit [1] (0.2@08/12/07): Commonly used inspector adapted for Etoile [I] gnustep-libs/panekit [1] (0.2@08/12/07): provides various features to build flexible Pane-based interfaces [I] gnustep-libs/wizardkit [1] (0.1@08/12/07): Wizard support framework [I] gnustep-libs/xwindowserverkit [1] (0.2@08/12/07): framework to integrate GNUstep with X window system [1] /usr/portage/local/layman/gnustep
Created attachment 128369 [details] Azalea backtrace
Hi Cedric, Could you please emerge all (or some relevant) packages with USE="debug" FEATURES="nostrip"? If you're familiar with gdb, generating a stack-trace would help. Thanks!
no need to bug bug-wranglers any more.
> CFLAGS="-march=athlon64 -Os -pipe -frename-registers -fweb -funit-at-a-time > -ftree-pre -fgcse-sm -fgcse-las -fgcse-after-reload -fmerge-all-constants > -ggdb" > CXXFLAGS="-march=athlon64 -Os -pipe -frename-registers -fweb -funit-at-a-time > -ftree-pre -fgcse-sm -fgcse-las -fgcse-after-reload -fmerge-all-constants > -ggdb" > LDFLAGS="-Wl,-z,now" ZOMG, your box must me glowin'! Sanitize your C[XX]FLAGS and remove the loads of evil crap there before ever reporting bugs again.(In reply to comment #0) @grobian - no need to waste time here, this is totally unsupported and ridiculous.
@jakub: I by chance have waves of segfaults and aborts myself @cedric: oops, sorry, didn't see you attached backtrace already.
@truedfx: any chance you can say something about that backtrace?
@jakub: C[XX]FLAGS="-march=athlon64 -Os -pipe -ggdb" and doing emerge -e world, hope it is OK by now ? Sorry for that :-( @grobian: should i really put debug in my USE flag ? Or is it OK with what you have ?
(In reply to comment #7) > @grobian: should i really put debug in my USE flag ? Or is it OK with what you > have ? Only for gnustep, yes please do.
ok, did rebuild all gnustep with debug (and sanitized CFLAGS) and still seg fault. new bt in attach
Created attachment 128467 [details] Azalea backtrace (USE=+debug)
I am trying to look into this, but I am not seeing anything obviously wrong. However, this appears to be specific to libffi, so you could work around it for now by unsetting the gcc-libffi flag, and using ffcall instead. It won't fix the bug, but it should allow you to get things working sooner.
hello, first sorry for the late answer (MB died). I can confirm that with the ffcall lib, all is OK. I can launch every gnustep apps i emerged. Thank you
Upstream found the problem, patch added to latest gnustep-base-1.16.1 Now libffi support works on amd64 :)