Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 88845 - KDE 3.4 compiles, but kaboodle and noatun do not work. Solved w/ CFLAGS adjustment. -Wl,-z,now
Summary: KDE 3.4 compiles, but kaboodle and noatun do not work. Solved w/ CFLAGS adju...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-12 06:38 UTC by Ray Ferguson
Modified: 2005-04-12 06:55 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 Ray Ferguson 2005-04-12 06:38:33 UTC
I had problems w/ kde-3.3 kaboodle locking my system up.  After much fun w/ sysrq and several reboots, I decided to give 3.4 a try.  With 3.4, kaboodle would give me dcop connection errors and just not work. Same w/ noatun.

I started scaling back the CFLAGS and recompiling to see if that would help. While doing so, this flashed onto the screen right before the install step:

QA Notice: /usr/kde/3.4/bin/kpac_dhcp_helper is setXid, dynamically linked and using lazy bindings.
This combination is generally discouraged. Try: CFLAGS='-Wl,-z,now' emerge kdelibs
QA Notice: /usr/kde/3.4/bin/kgrantpty is setXid, dynamically linked and using lazy bindings.
This combination is generally discouraged. Try: CFLAGS='-Wl,-z,now' emerge kdelibs

I then proceeded with the following which fixed the problem. I suspect just recompiling kde-libs might have been sufficient, but I was off to bed for the night anyway.:

root@a7v ferguson 0 # ACCEPT_KEYWORDS='~x86' CFLAGS="-mcpu=athlon -03 -pipe -Wl,-z,now "  emerge -pv kdelibs arts artsplugin-audiofile artsplugin-mpeglib artsplugin-mpg123 artsplugin-xine arts kaboodle

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] kde-base/kdelibs-3.4.0  +alsa +arts +cups -debug +doc -jpeg2k -kdeenablefinal -kerberos -openexr +spell +ssl +tiff -xinerama -zeroconf 0 kB
[ebuild   R   ] kde-base/arts-3.4.0  +alsa +arts +artswrappersuid -debug +esd -hardened -jack -kdeenablefinal +mad +oggvorbis -xinerama 0 kB
[ebuild   R   ] kde-base/artsplugin-audiofile-3.4.0  +arts -debug -kdeenablefinal -kdexdeltas -xinerama 0 kB
[ebuild   R   ] kde-base/artsplugin-mpeglib-3.4.0  +arts -debug -kdeenablefinal -kdexdeltas -xinerama 0 kB
[ebuild   R   ] kde-base/artsplugin-mpg123-3.4.0  +arts -debug -kdeenablefinal -kdexdeltas -xinerama 0 kB
[ebuild   R   ] kde-base/artsplugin-xine-3.4.0  +arts -debug -kdeenablefinal -kdexdeltas -xinerama 0 kB
[ebuild   R   ] kde-base/kaboodle-3.4.0  +arts +audiofile -debug -kdeenablefinal -kdexdeltas +xine -xinerama 0 kB



Reproducible: Always
Steps to Reproduce:
Compile kde-libs without those flags.

Actual Results:  
Kaboodle doesn't work.

Expected Results:  
Worked.

root@a7v ferguson 1 # emerge info
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5, glibc-2.3.4.20041102-r1,
2.6.11-gentoo-r5 i686)
=================================================================
System uname: 2.6.11-gentoo-r5 i686 AMD Athlon(TM) XP 2000+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.2.3-r5,dev-lang/python-2.3.4-r1 [2.3.4
(#1, Apr  4 2005, 00:08:17)]
dev-lang/python:     2.2.3-r5, 2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.7.9-r1, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.4.19-r1, 2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-xp -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /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/ /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=athlon-xp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks notitles sandbox sfperms userpriv"
GENTOO_MIRRORS="ftp://mirrors.tds.net/gentoo
ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/
http://mirror.datapipe.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="3dfx 3dnow GAPING_SECURITY_HOLE X aac aalib acpi aim alsa apm arts
artswrappersuid audiofile avi bash-completion berkdb bitmap-fonts bonobo
cdparanoia cdr crypt cscope cups curl dga directfb divx4linux doc dts dvd dvdr
dvdread emboss encode escreen esd ethereal etwin evo fam fbcon ffmpeg flac
font-server foomaticdb fortran gb gd gdbm ggi gif gnome gphoto gphoto2 gpm
gstreamer gtk gtk2 gtkhtml guile icq imagemagick imap imlib innodb ipv6 irc
jabber java jpeg kde ldap libg++ libgda libwww live lj lm_sensors lzo mad
maildir mikmod mmx mng motif mozilla mp3 mpeg msn mysql ncurses nls nvidia odbc
offensive oggvorbis opengl oss pam pdflib perl pic plotutils png python qt
quicktime quotes readline real rrdtool rss rtc ruby scanner sdl slang snmp spell
sqlite sse ssl svga tcltk tcpd tetex tiff truetype truetype-fonts twin
type1-fonts usb vim-with-x wifi x86 xanim xine xml xml2 xmms xv xvid yahoo zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Gregorio Guidi (RETIRED) gentoo-dev 2005-04-12 06:55:27 UTC
Sorry, but there's no evidence that the "-z now" flag is related to the problem, it could have been something else, maybe the CFLAGS you had before?

I'm closing it as INVALID until it can be reproduced consistently (you can try recompile kaboodle again without that flag, for instance).