Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 124222
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: AMD64 Project <amd64@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Jose daLuz <jdaluz@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
emerge.dictd Output of emerge dictd text/plain Jose daLuz 2006-03-01 09:50 0000 31.16 KB Details
config.log config.log from dict emerge text/plain Jose daLuz 2006-03-01 10:13 0000 35.53 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 124222 depends on: 137653 Show dependency tree
Bug 124222 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-02-26 19:09 0000
Emerging dictd-1.10.0 I get the following error:

x86_64-pc-linux-gnu-gcc heap.os dictdplugin_dbi.os str.os plugins_common.os
strlcpy.os strlcat.os \
           -Llibmaa -lmaa  -ldl -lz -ldbi -ldl -shared -o dictdplugin_dbi.so
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../x86_64-pc-linux-gnu/bin/ld:
libmaa/libmaa.a(xmalloc.o): relocation R_X86_64_32 against `a local symbol' can
not be used when making a shared object; recompile with -fPIC
libmaa/libmaa.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [dictdplugin_dbi.so] Error 1

Since it's a new portage feature, I tried disabling confcache but that had no
impact on the problem.

emerge --info
Portage 2.1_pre5 (default-linux/amd64/2005.1, gcc-3.4.5, glibc-2.3.5-r3,
2.6.15-ck3-r1 x86_64)
=================================================================
System uname: 2.6.15-ck3-r1 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.0_pre16
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2-r1
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-r1
sys-devel/binutils:  2.16.1, 2.16.91.0.3, 2.16.91.0.5, 2.16.91.0.6
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r4
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env
/usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config
/usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS=""
FEATURES="autoconfig ccache confcache distlocks nostrip sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/"
LC_ALL="en_US"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/bmg-main /usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="amd64 X aac alsa avi bash-completion berkdb bitmap-fonts bzip2 cairo cdr
crypt cups dbus debug dvd dvdr eds emboss encode esd firefox flac foomaticdb
fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal imlib ipv6 java jpeg kde ldap
lzw lzw-tiff mad mono mozilla mp3 mpeg ncurses nls nptl ogg opengl pam pdflib
perl pic png python qt quicktime readline ruby samba sdl spell sqlite ssl tcpd
theora tiff truetype truetype-fonts type1-fonts usb userlocales vorbis xml2 xpm
xv zlib elibc_glibc input_devices_keyboard input_devices_mouse
input_devices_evdev kernel_linux userland_GNU video_cards_vga video_cards_vesa
video_cards_nv"
Unset:  ASFLAGS, CTARGET, LANG, LDFLAGS, LINGUAS, MAKEOPTS

------- Comment #1 From Patrick McLean 2006-02-27 18:09:58 0000 -------
I can't seem to reproduce this here, maybe this isn't an issue with gcc 4. I
will try again tomorrow on a gcc3 box.

Portage 2.1_pre4-r1 (default-linux/amd64/2006.0, gcc-4.0.2, glibc-2.3.6-r3,
2.6.15-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3400+
Gentoo Base System version 1.12.0_pre16
dev-lang/python:     2.4.2-r1
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-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -Os -fomit-frame-pointer -ffast-math -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon64 -Os -fomit-frame-pointer -ffast-math -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig cvs digest distlocks multilib-strict sandbox
sfperms strict"
GENTOO_MIRRORS="ftp://cs.ubishops.ca/pub/gentoo ftp://gentoo.risq.qc.ca
http://gentoo.oregonstate.edu http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/gnome /usr/local/gentopia"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac acpi alsa audiofile avi bash-completion berkdb
bitmap-fonts bzip2 c++ cairo caps cdparanoia cdr crypt cscope css cups curl
dbus dri dts dv dvd dvdr dvdread dvi edl eds emboss encode evo exif expat fat
ffmpeg fftw firefox flac foomaticdb gb gcj gdbm gif gimp gimpprint glibc-omitfp
glitz glut gmail gmp gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile
gzip hal hfs idea ieee1394 imagemagick imap imlib imlib2 iproute2 jabber java
jfs jpeg junit lcms libgda linuxkeys live lzo lzw lzw-tiff mad matroska mikmod
mmap mng mod mono mozdevelop mozilla mozsvg mp3 mpeg mplayer msn mythtv native
nautilus ncurses network nfs no-old-linux no_wxgtk1 noantlr nob nobcel
nobeanutils nobsh nocommonsnet nojsch nomotif nonfsv4 noplugin norhino noxalan
noxerces nptl nptlonly offensive ogg oggvorbis openal opengl pam pda pdflib
perl plugin png ppds python quicktime radeon readline real reiserfs rtc ruby
samba sdl slang sndfile speex spell sqlite ssl startup-notification stream
subversion svg tcltk tcpd tga theora tiff transcode truetype truetype-fonts
type1-fonts unicode usb userlocales v4l v4l2 vcd vorbis wmf wxwindows xml2 xpm
xprint xscreensaver xv xvid xvmc zlib elibc_glibc input_devices_mouse
input_devices_evdev input_devices_keyboard kernel_linux userland_GNU
video_cards_ati"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LINGUAS

------- Comment #2 From Patrick McLean 2006-03-01 09:38:19 0000 -------
I can't reproduce this on either gcc3 or gcc4, could you please attach the full
output when you try to emerge the package?

------- Comment #3 From Jose daLuz 2006-03-01 09:50:52 0000 -------
Created an attachment (id=81046) [details]
Output of emerge dictd

------- Comment #4 From Luis Medinas (RETIRED) 2006-03-01 10:05:48 0000 -------
i also don't have this problem. I don't think its a good idea to build a patch
for this case.

------- Comment #5 From Simon Stelling (RETIRED) 2006-03-01 10:09:42 0000 -------
the output of /var/tmp/portage/dictd-1.10.0/work/dictd-1.10.0/config.log would
be helpful, if you could attach that too... tia

------- Comment #6 From Jose daLuz 2006-03-01 10:13:26 0000 -------
Created an attachment (id=81048) [details]
config.log from dict emerge

------- Comment #7 From Patrick McLean 2006-03-01 11:12:39 0000 -------
maa:             local
zlib:            system
regex:           system
plugin support:  native
 judy plugin:    disabled
 dbi plugin:     enabled

looks like an automagic dependency, my system didn't have the dbi plugin
enabled, and the package has no USE flags

------- Comment #8 From Patrick McLean 2006-03-01 11:16:34 0000 -------
app-dicts: please fix the automagic dep so we can properly fix the fPIC issues

http://www.gentoo.org/proj/en/qa/automagic.xml

------- Comment #9 From Simon Stelling (RETIRED) 2006-06-22 13:49:40 0000 -------
one man one word: one bug one issue

(bug 137653 handles the automagic deps now)

------- Comment #10 From Simon Stelling (RETIRED) 2006-08-25 08:07:29 0000 -------
in case bug 137653 ever gets fixed, please reopen this one

------- Comment #11 From Wulf Krueger (RETIRED) 2007-08-18 01:22:24 0000 -------
 (In reply to comment #10)
> in case bug 137653 ever gets fixed, please reopen this one

As requested. The automagic stuff is fixed in dictd-1.10.9.

------- Comment #12 From Wulf Krueger (RETIRED) 2007-08-18 12:24:01 0000 -------
As the fPIC issue was fixed as well by my commit yesterday, I'm resolving this
as fixed.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug