Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 156867 - >=sys-apps/dbus-1.0.0 gets miscompiled on amd64 at greater optimization than -O1
Summary: >=sys-apps/dbus-1.0.0 gets miscompiled on amd64 at greater optimization than -O1
Status: RESOLVED DUPLICATE of bug 155589
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Project Gentopia
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 155589
  Show dependency tree
 
Reported: 2006-12-01 21:01 UTC by Avuton Olrich
Modified: 2006-12-02 09: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 Avuton Olrich 2006-12-01 21:01:46 UTC
It's taken me forever to find this bug, and lots of debugging time :). I've been using knetworkmanager from gentopia for quite a while, and after the dbus upgrade to 1* I couldn't get it to start anymore. After much debugging with knetworkmanager's author, the guys in #dbus, etc. I figured out libdbus miscompiles with anything greater than -O1 in gcc-4.1.1-r3, I'm not sure what other gentoo GCC versions it would effect, but it's been happening for a little over 10 days now, at least.

So, to summarize.
If I compile dbus with CFLAGS="-march=k8 -O2 -g -pipe", knetworkmanager will fail as such: http://bugs.gentoo.org/show_bug.cgi?id=155589

If I compile dbus with CFLAGS="-march=k8 -O1 -g -pipe", knetworkmanager starts as it should and works fine.

Any other information needed please let me know.

emerge --info:
Portage 2.1.2_rc2-r3 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.18.3-g898d8514-dirty x86_64)
=================================================================
System uname: 2.6.18.3-g898d8514-dirty x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+
Gentoo Base System version 1.12.6
Last Sync: Fri, 01 Dec 2006 13:00:01 +0000
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
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.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O1 -g -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /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/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=k8 -O1 -g -pipe"
DISTDIR="/usr/distfiles"
FEATURES="autoconfig distlocks metadata-transfer nostrip sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j4"
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-overlays/portage /usr/local/portage-overlays/layman/gentopia /usr/local/portage-overlays/mpd-portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 64bit 7zip X a52 aac acpi addbookmarks agg aim aimextras alias alsa amazon amrr artist-screen asf async audiofile autoreplace bash-completion bittorrent bonjour branding browserplugin bzip2 c++ cairo cardbus cdda cddb cdparanoia cli clock-screen connectionstatus contactnotes cracklib crypt crypto_libgcrypt crypto_openssl css cups curl curlwrappers cvs dbus debug devmap dhcp divx dlloader dlopen double-precision dts dv dvb dvd dvdr dvdread dvi elibc_glibc encode ext-iiimf ext-png ext-zlib fastbuild ffmpeg firefox flac ftp gadu gcc-libffi gcc64 gcj geoip gif glep glib glitz gmail gmedia gpm gstreamer gtalk gzip hal highlight history hwmixer i8x0 icq id3 ieee1394 imlib input_devices_evdev input_devices_keyboard input_devices_mouse java java5 javascript jikes jingle jpeg jpeg2k kde kdehiddenvisibility kernel_linux key-screen lame lcms libsamplerate linuxkeys live lyrics-screen lzo lzw mad meanwhile mjpeg mng mouse mozbranding mozilla mozsvg mp3 mp4 mp4live mpeg mpeg2 mplayer msn music ncurses net netpbm network nfs nntp no-htdocs no-old-linux nonblock-update noweb nowlistening nptl nptlonly nsplugin nvidia nxclient ogg openal opengl openssl opensslcrypt oscar pam pam_console paste64 pch pcre pdf perl php png ppds pulseaudio python qt3 qt4 quicktime rar raw-mode readline realmedia reiser4 rss rtc sametime scanner sdl sdl-sound sdlaudio search-screen session slp sms sndfile speex spell ssl statistics subversion svg svgz sysfs szip t1lib texteffect theora threads tiff truetype truetype-fonts type1 type1-fonts udev unicode unzip usb userland_GNU vfat video_cards_nvidia videos vnc vorbis vorbis-psy webpresence wma wmf wmp wordperfect x264 xanim xforms xfs xft xinerama xorg xprint xrandr xscreensaver xv xvid xvmc xvnc yahoo zip zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2006-12-02 09:54:24 UTC
You failed to provide a test case.

You failed to mention who you talked to in #dbus.

You failed to take into account that D-Bus has no issue for a lot of people on amd64, including upstream authors, so without a test case, nothing can be done.

You failed to provide a meaningful backtrace in your other bug, http://www.gentoo.org/proj/en/qa/backtraces.xml

And lastly, this is just the same issue in the other bug just reported in a new bug, hence it's a dup.

*** This bug has been marked as a duplicate of 155589 ***