First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 104685
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: AMD64 Project <amd64@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Stephane Rodet <stephane.rodet@laposte.net>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 104685 depends on: Show dependency tree
Bug 104685 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: 2005-09-03 02:28 0000
======================== Emerge Error ========================================  

/bin/sh ../../libtool --silent --mode=link --tag=CXX g++  -Wnon-virtual-dtor  
-Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes  
-Wwrite-strings -O2 -Os -march=athlon64 -pipe -fno-exceptions -fno-check-new  
-fno-common    -o libsmokeqt.la  
-rpath /var/tmp/portage/PerlQt-3.008-r1/image/usr/lib -version-info 3:1:2  
-no-undefined  -L/usr/lib64 -L/usr/qt/3/lib  
-L/var/tmp/portage/PerlQt-3.008-r1/image/usr/lib  -I.  
-R /var/tmp/portage/PerlQt-3.008-r1/image/usr/lib -R /usr/qt/3/lib  
-R /usr/lib64 smokedata.lo x_1.lo x_2.lo x_3.lo x_4.lo x_5.lo x_6.lo x_7.lo  
x_8.lo x_9.lo x_10.lo x_11.lo x_12.lo x_13.lo x_14.lo x_15.lo x_16.lo x_17.lo  
x_18.lo x_19.lo x_20.lo -lqt-mt -ldl   -lresolv -lpng -lz -lm -lSM -lICE  
-lXext -lX11  -lSM -lICE -lpthread -lglut -lMesaGLU -lGL  -lSM -lICE   
-L/usr/lib64 -lX11 -lXext -lXmu -lXt -lXi  -lm  
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:
.libs/smokedata.o:  
relocation R_X86_64_32S against `a local symbol' can not be used when making a  
shared object; recompile with -fPIC  
.libs/smokedata.o: could not read symbols: Bad value  
collect2: ld returned 1 exit status  
make[2]: *** [libsmokeqt.la] Error 1  
make[2]: Leaving directory  
`/var/tmp/portage/PerlQt-3.008-r1/work/PerlQt-3.008/smoke/qt'  
make[1]: *** [install-recursive] Error 1  
make[1]: Leaving directory  
`/var/tmp/portage/PerlQt-3.008-r1/work/PerlQt-3.008/smoke'  
make: *** [install-recursive] Error 1  

!!! ERROR: dev-perl/PerlQt-3.008-r1 failed.  
!!! Function perl-module_src_install, Line 144, Exitcode 2  
!!! (no error message)  
!!! If you need support, post the topmost build error, NOT this status  
message. 

Reproducible: Always
Steps to Reproduce:
1. emerge PerlQt 


Actual Results:  
return code 1, error 

Expected Results:  
the package should have compiled and installed correctly 

============================== Emerge Info ===================================  
# emerge info  
Portage 2.0.51.22-r2 (default-linux/amd64/2004.3, gcc-3.4.4, glibc-2.3.5-r1,  
2.6.7-gentoo-r14 x86_64)  
=================================================================  
System uname: 2.6.7-gentoo-r14 x86_64 AMD Athlon(tm) 64 Processor 3000+  
Gentoo Base System version 1.6.13  
ccache version 2.3 [disabled]  
dev-lang/python:     2.3.5  
sys-apps/sandbox:    1.2.12  
sys-devel/autoconf:  2.13, 2.59-r6  
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6  
sys-devel/binutils:  2.15.92.0.2-r10  
sys-devel/libtool:   1.5.18-r1  
virtual/os-headers:  2.6.11-r2  
ACCEPT_KEYWORDS="amd64"  
AUTOCLEAN="yes"  
CBUILD="x86_64-pc-linux-gnu"  
CFLAGS="-Os -march=athlon64 -pipe"  
CHOST="x86_64-pc-linux-gnu"  
CONFIG_PROTECT="/etc /usr/kde/2/share/config /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/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/control"  
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"  
CXXFLAGS="-Os -march=athlon64 -pipe"  
DISTDIR="/usr/portage/distfiles"  
FEATURES="autoconfig distlocks sandbox sfperms strict"  
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo  
http://gentoo.oregonstate.edu  
http://www.ibiblio.org/pub/Linux/distributions/gentoo"  
MAKEOPTS="-j2"  
PKGDIR="/usr/portage/packages"  
PORTAGE_TMPDIR="/var/tmp"  
PORTDIR="/usr/portage"  
PORTDIR_OVERLAY="/root/portage"  
SYNC="rsync://rsync.gentoo.org/gentoo-portage"  
USE="X acpi alsa amd64 arts audiofile avi bash-completion berkdb bitmap-fonts  
cdparanoia crypt cups curl dvd eds emacs encode esd fam flac foomaticdb  
fortran gdbm gif gpm gstreamer gtk2 imagemagick imlib ipv6 ithreads jabber  
jack java jpeg junit kde libwww lzw lzw-tiff mad mikmod mime motif mp3 mpeg  
msn multilib mysql ncurses nls ogg oggvorbis opengl pam pdflib perl png  
postgres python qt quicktime readline ruby sdl slang spell ssl tcltk tcpd test  
tetex tiff truetype-fonts type1-fonts usb userlocales vorbis xine xml xml2  
xmms xpm xv xvid zlib zvbi userland_GNU kernel_linux elibc_glibc"  
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS

------- Comment #1 From Stephane Rodet 2005-09-03 11:31:32 0000 -------
Right, adding -fPIC to the flags solved the problem. 

------- Comment #2 From Jim Laflin 2005-09-03 15:09:18 0000 -------
Adding -fPIC does fix the problem, but it's not a suitable resolution (you
should not add fPIC to cflags for the entire package, only the shared libraries)

Once the fPIC stuff is fixed, there's multilib-strict to look at :) (bug #104749)

Jim

------- Comment #3 From Simon Stelling (RETIRED) 2005-09-04 05:26:55 0000 -------
just for the record, this is fixed in PerlQt-3.009

------- Comment #4 From Simon Stelling (RETIRED) 2005-09-07 13:16:48 0000 -------
fixed, thanks for reporting

First Last Prev Next    No search results available      Search page      Enter new bug