View previous topic :: View next topic |
Author |
Message |
flclncc n00b
Joined: 02 Mar 2005 Posts: 29
|
Posted: Thu Sep 13, 2007 12:06 pm Post subject: [SOLVED] [fPIC] Problem compiling dev-util/kdesvn-0.11.2 |
|
|
Hi, I filled this bug report: #189232
The problem began, I believe, after the recent expat upgrade. I tried to re-emerge kdesvn and it failed with the error:
Code: |
[ 15%] Building CXX object src/svnqt/CMakeFiles/svnqt.dir/svnfilestream.o
Linking CXX shared library ../../lib/libsvnqt.so
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libX11.a(AllCells.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/lib64/libX11.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: ** [lib/libsvnqt.so.3.1.1] Erro 1
make[1]: ** [src/svnqt/CMakeFiles/svnqt.dir/all] Erro 2
make: ** [all] Erro 2
|
This is bad because kdesvn is one of my main productivity app.
Yesterday I got a similar problem with gtk-engines-qt-0.8:
Code: |
Linking CXX shared library libqtengine.so
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../x86_64-pc-linux-gnu/bin/ld: /lib64/libSM.a(sm_client.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/lib64/libSM.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: ** [src/libqtengine.so] Erro 1
make[1]: ** [src/CMakeFiles/qtengine.dir/all] Erro 2
make: ** [all] Erro 2
|
I searched into this problem and all I could find was related to gcc-4.2.0 and amd64. The point is that I'm using gcc-4.1.2.
So far the most obvious thing in common between kdesvn and gtk-engine-qt is cmake! It seems that even when I put "-fPIC" on CFLAGS/CXXFLAGS cmake ignores it.
I would really appreciate any help on this matter as kdesvn is really important.
This is my emerge --info FYI:
Code: |
Portage 2.1.2.12 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.5-r4, 2.6.22-gentoo-r2-flc x86_64)
=================================================================
System uname: 2.6.22-gentoo-r2-flc x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System release 1.12.9
Timestamp of tree: Wed, 12 Sep 2007 11:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash: 3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python: 2.3.5-r3, 2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache: 2.4-r7
sys-apps/baselayout: 1.12.9-r2
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.24
virtual/os-headers: 2.6.21
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
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/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS=" http://mirror.datapipe.net/gentoo http://www.las.ic.unicamp.br/pub/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://mirror.datapipe.net/gentoo"
LANG="pt_BR.UTF-8"
LINGUAS="pt_BR en"
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/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext GAPING_SECURITY_HOLE S3TC X Xaw3d a52 aac aalib acl acpi acpi4linux
aim alsa amd amd64 aotuv async atlas auctex audiofile avi
bash-completion berkdb bidi bitmap-fonts bittorrent blas bootsplash branding bzip2 bzlib
c++ cap ccache cddb cdparanoia cdr cdrom cgi chroot clisp cln codecs crypt ctype cups
dbus dga divx4linux dlloader dnd dnsdb doc double-precision dri dv dvd dvdr dvdread
edl emul-linux en encode expat ext-png ext-zlib
f2c f77 faad fastcgi fbcon fbdev ffmpeg fftw font-server foomaticdb foreign-package fortran freetype fuse
gcl gd gdbm gif gimpprint ginac glade glgd glibc-omitfp glut gmail gnomedb gnuplot gphoto2 gpm gsl gtk gtk2
hal hdf5
icq idea ieee1394 imagemagick imap imlib imlib2 immqt-bc innodb
java javascript jpeg jpeg2k
kde kdehiddenvisibility kdepim
latex lcms leim libcaca libgda live ltsp lzo
mad matroska md5sum mdb metalink midi mime ming mmx mmx2 mmxext mng motif mozcalendar
mozilla moznopango mozsvg mp3 mpeg mpeg4 mplayer msn mupad-noscilab musepack musicbrainz
ncurses network nls nomalloccheck noreiserfs nptl nptlonly nsplugin nvidia
objc offensive ogg oggvorbis openal opengl operanom2 oscar
pam parse-clocks pcre pdflib perl php pic plotutils plugins png posix povray ppds pthreads python
qt qt3
readline roundrobin rss rtc
samba sasl sdl skey slang slp speedo speex spell sse sse2 ssl startup-notification stencil-buffer subversion svg sysvipc
t1lib tcltk tcpd tetex tga theora tiff tlen transcode truetype truetype-fonts type1 type1-fonts
unicode
v4l v4l2 vcd videos vim-with-x visualization vorbis
wmf wsconvert wxwindows
xchatdccserver xchattext xcomposite xfs xine xml xml2 xmlrpc xorg xosd xscreensaver xsl xv xvid
yahoo yaz
zlib"
ALSA_CARDS="emu10k1"
ALSA_PCM_PLUGINS="alisp midi adpcm alaw asym copy dmix dshare dsnoop empty extplug
file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol"
ELIBC="glibc"
INPUT_DEVICES="keyboard mouse evdev"
KERNEL="linux"
LINGUAS="pt_BR en"
USERLAND="GNU"
VIDEO_CARDS="nvidia nv vesa"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
|
edit: cleaned up long lines. --bunder
Last edited by flclncc on Wed Oct 10, 2007 1:25 pm; edited 1 time in total |
|
Back to top |
|
|
s.hase Apprentice
Joined: 19 Nov 2004 Posts: 293
|
Posted: Thu Sep 13, 2007 3:10 pm Post subject: |
|
|
Did you run revdep-rebuild after the expat upgrade? |
|
Back to top |
|
|
flclncc n00b
Joined: 02 Mar 2005 Posts: 29
|
Posted: Thu Sep 13, 2007 4:29 pm Post subject: |
|
|
s.hase wrote: | Did you run revdep-rebuild after the expat upgrade? |
Yes, many times. |
|
Back to top |
|
|
flclncc n00b
Joined: 02 Mar 2005 Posts: 29
|
Posted: Mon Sep 17, 2007 7:17 pm Post subject: |
|
|
Just finished a
Code: |
emerge -vatDe world
|
Didn't make any difference. This makes me sad . |
|
Back to top |
|
|
tanderson Retired Dev
Joined: 11 Apr 2007 Posts: 193
|
Posted: Mon Sep 17, 2007 8:40 pm Post subject: |
|
|
Hi!
This issue really doesn't happen to me on stable amd64. Everything runs perfectly. What version of Cmake do you use?
Code: | Portage 2.1.3.9 (default-linux/amd64/2007.0/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 3400+
Timestamp of tree: Mon, 17 Sep 2007 01:48:01 +0000
ccache version 2.4 [disabled]
app-shells/bash: 3.2_p17
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
dev-util/ccache: 2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.61
sys-devel/automake: 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.17-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool: 1.5.24
virtual/os-headers: 2.6.21
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
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/terminfo"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict test unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
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="/overlay /usr/portage/local/kde"
SYNC="rsync://kv80/gentoo-portage"
USE="X acl acpi aiglx aim alsa amd64 arts berkdb bitmap-fonts branding cairo cli cracklib crypt cups dbus dri dvd dvdread emboss encode esd evo fam firefox fortran gdbm gif gpm gstreamer gtk hal iconv imap ipv6 isdnlog jpeg kde kerberos mad midi mikmod mmx mp3 mpeg mpeg3 mqsli mudflap mysql ncurses nls nptl nptlonly nvidia ogg opengl openmp oss pam pcre pdf perl png pppd python qt3 qt3support quicktime readline reflection sdl session sockets spell spl sqlite3 sse sse2 ssl svg tcpd test tiff truetype truetype-fonts type1-fonts unicode vim vorbis xcomposite xine xml xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
|
_________________ No Man is Just a Number!
--The Prisoner |
|
Back to top |
|
|
flclncc n00b
Joined: 02 Mar 2005 Posts: 29
|
Posted: Tue Sep 18, 2007 1:15 am Post subject: |
|
|
Quote: | What version of Cmake do you use? |
Code: | es cmake
[ Results for search key : cmake ]
[ Applications found : 2 ]
* dev-util/cmake
Latest version available: 2.4.6-r1
Latest version installed: 2.4.6-r1
Size of downloaded files: [no/bad digest]
Homepage: http://www.cmake.org/
Description: Cross platform Make
License: CMake |
|
|
Back to top |
|
|
Xeper n00b
Joined: 03 Jun 2003 Posts: 17 Location: Duisburg/Germany
|
Posted: Wed Sep 19, 2007 9:24 am Post subject: |
|
|
Hi
I've got a very similar problem.
Quote: |
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: warning: creating a DT_TEXTREL in object.
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/main_skel.o: relocation R_X86_64_PC32 against `vtable for QMemArray<char>' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
|
This happens while Im compiling kdelibs-3.5.7-r3.
I get a very similar message with qt-4.3.1-r1 as well with qt-4.3.1.
(If someone needs other information, just ask)
Im a paludis user so:
Quote: |
Built by paludisbuild@thelema on 2007-08-26T12:21:46+0200
CXX: x86_64-pc-linux-gnu-g++ 4.2.0 (Gentoo 4.2.0 p1.4)
CXXFLAGS: -O2 -march=nocona -pipe
LDFLAGS:
DATADIR: /usr/share
LIBDIR: /usr/lib64
LIBEXECDIR: /usr/libexec
SYSCONFDIR: /etc
stdlib: GNU libstdc++ 20070514
libebt: 1.3.0
libwrapiter: 1.0.0
sandbox: enabled
Repository virtuals:
Configuration information:
format: virtuals
Repository installed_virtuals:
Configuration information:
format: installed_virtuals
Repository gentoo:
Configuration information:
buildroot: /var/tmp/paludis
cache: /usr/portage/metadata/cache
distdir: /usr/portage/distfiles
eclassdirs: /usr/portage/eclass
format: ebuild
location: /usr/portage
names_cache: /usr/portage/.cache/names
newsdir: /usr/portage/metadata/news
pkgdir: /usr/portage/packages
profiles: /usr/portage/profiles/default-linux/amd64/2007.0
securitydir: /usr/portage/metadata/glsa
setsdir: /usr/portage/sets
sync: rsync://rsync.europe.gentoo.org/gentoo-portage
sync_options:
write_cache: /var/cache/paludis/metadata
Package information:
app-admin/eselect-compiler: (none)
app-shells/bash: 3.2_p17
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
dev-util/ccache: 2.4-r7
dev-util/confcache: (none)
sys-apps/baselayout: 1.12.9-r2
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.16.91.0.6, 2.16.91.0.7, 2.16.92, 2.16.93, 2.17, 2.17.50.0.2, 2.17.50.0.3, 2.17.50.0.5, 2.17.50.0.6, 2.17.50.0.7, 2.17.50.0.8, 2.17.50.0.9, 2.17.50.0.11, 2.17.50.0.12, 2.17.50.0.14, 2.17.50.0.16
sys-devel/gcc-config: 1.3.16
sys-devel/libtool: 1.5.24
virtual/os-headers: 2.6.22-r2
Variable information:
ACCEPT_KEYWORDS:
CBUILD: x86_64-pc-linux-gnu
CFLAGS: -O3 -march=native -pipe -msse3 -mfpmath=sse -fomit-frame-pointer --fast-math
CHOST: x86_64-pc-linux-gnu
CONFIG_PROTECT:
CONFIG_PROTECT_MASK:
CTARGET:
CXXFLAGS: -O3 -march=native -pipe -msse3 -mfpmath=sse -fomit-frame-pointer --fast-math
DISTDIR: /usr/portage/distfiles
FEATURES:
GENTOO_MIRRORS:
INSTALL_MASK:
LANG:
LC_ALL:
LDFLAGS: -Wl,-O1 -Wl,--as-needed
LINGUAS:
MAKEOPTS: -j5
PORTAGE_COMPRESS:
PORTAGE_COMPRESS_FLAGS:
PORTAGE_RSYNC_EXTRA_OPTS:
PORTAGE_RSYNC_OPTS:
PORTAGE_TMPDIR: /var/tmp/paludis
PORTDIR: /usr/portage
PORTDIR_OVERLAY:
SYNC:
USE:
Repository installed:
Configuration information:
buildroot: /var/tmp/paludis
format: vdb
location: /var/db/pkg
names_cache: /var/db/pkg/.cache/names
provides_cache: /var/db/pkg/.cache/provides
root: /
world: /var/db/pkg/world
Repository local:
Configuration information:
buildroot: /var/tmp/paludis
cache: /var/empty
distdir: /usr/portage/distfiles
eclassdirs: /usr/portage/eclass /usr/portage/local/eclass
format: ebuild
location: /usr/portage/local
master_repository: gentoo
names_cache: /usr/portage/local/.cache/names
newsdir: /usr/portage/local/metadata/news
pkgdir: /usr/portage/packages
profiles: /usr/portage/profiles/default-linux/amd64/2007.0
securitydir: /usr/portage/local/metadata/glsa
setsdir: /usr/portage/local/sets
sync:
sync_options:
write_cache: /var/cache/paludis/metadata
Repository xeffects:
Configuration information:
buildroot: /var/tmp/paludis
cache: /var/empty
distdir: /usr/portage/distfiles
eclassdirs: /usr/portage/eclass /usr/portage/local/xeffects/eclass
format: ebuild
location: /usr/portage/local/xeffects
master_repository: gentoo
names_cache: /usr/portage/local/xeffects/.cache/names
newsdir: /usr/portage/local/xeffects/metadata/news
pkgdir: /usr/portage/packages
profiles: /usr/portage/profiles/default-linux/amd64/2007.0
securitydir: /usr/portage/local/xeffects/metadata/glsa
setsdir: /usr/portage/local/xeffects/sets
sync: svn://svn.gentoo-xeffects.org/xeffects/trunk
sync_options:
write_cache: /var/cache/paludis/metadata
|
And here is emerge --info:
Quote: |
Portage 2.1.3.9 (default-linux/amd64/2007.0, gcc-4.2.0, glibc-2.6-r0, 2.6.22-gentoo-r5-thelema x86_64)
=================================================================
System uname: 2.6.22-gentoo-r5-thelema x86_64 Intel(R) Core(TM)2 Quad CPU @ 2.40GHz
Timestamp of tree: Sat, 15 Sep 2007 13:50:01 +0000
ccache version 2.4 [enabled]
app-shells/bash: 3.2_p17
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
dev-util/ccache: 2.4-r7
sys-apps/baselayout: 1.12.9-r2
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.16.91.0.6, 2.16.91.0.7, 2.16.92, 2.16.93, 2.17, 2.17.50.0.2, 2.17.50.0.3, 2.17.50.0.5, 2.17.50.0.6, 2.17.50.0.7, 2.17.50.0.8, 2.17.50.0.9, 2.17.50.0.11, 2.17.50.0.12, 2.17.50.0.14, 2.17.50.0.16
sys-devel/gcc-config: 1.3.16
sys-devel/libtool: 1.5.24
virtual/os-headers: 2.6.22-r2
ABI="amd64"
ACCEPT_KEYWORDS="amd64"
ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol"
ANT_HOME="/usr/share/ant-core"
ARCH="amd64"
ASFLAGS_x86="--32"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CCACHE_DIR="/warehouse/ccache"
CCACHE_SIZE="2G"
CDEFINE_amd64="__x86_64__"
CDEFINE_x86="__i386__"
CFLAGS="-O3 -march=native -pipe -msse3 -mfpmath=sse -fomit-frame-pointer --fast-math"
CFLAGS_x86="-m32 -L/emul/linux/x86/lib -L/emul/linux/x86/usr/lib"
CG_COMPILER_EXE="/usr/bin/cgc"
CHOST="x86_64-pc-linux-gnu"
CHOST_amd64="x86_64-pc-linux-gnu"
CHOST_x86="i686-pc-linux-gnu"
CLASSPATH="."
CLEAN_DELAY="5"
COLON_SEPARATED="XDG_DATA_DIRS"
COLUMNS="83"
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/init.d /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/splash /etc/terminfo"
CVS_RSH="ssh"
CXXFLAGS="{-O3 -march=native -pipe -msse3 -mfpmath=sse -fomit-frame-pointer --fast-math}"
DCCC_PATH="/usr/lib/distcc/bin"
DEFAULT_ABI="amd64"
DISTCC_LOG=""
DISTCC_VERBOSE="0"
DISTDIR="/usr/portage/distfiles"
DVB_CARDS="usb-vp7045"
EDITOR="/bin/nano"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="--verbose --ask"
EMERGE_WARNING_DELAY="10"
FEATURES="ccache confcache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp -O ${DISTDIR}/${FILE} ${URI}"
GCC_PATH="/usr/x86_64-pc-linux-gnu/gcc-bin/4.2.0"
GCC_SPECS=""
GDK_USE_XFT="1"
GENERATION="2"
GENTOO_MIRRORS=" ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo"
G_BROKEN_FILENAMES="1"
G_FILENAME_ENCODING="UTF-8"
HOME="/root"
INFOPATH="/usr/share/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.16.91.0.6/info: /usr/share/gcc-data/x86_64-pc-linux-gnu/4.2.0/info"
INPUT_DEVICES="evdev keyboard mouse joystick"
JAVAC="/etc/java-config-2/current-system-vm/bin/javac"
JAVA_HOME="/etc/java-config-2/current-system-vm"
JDK_HOME="/etc/java-config-2/current-system-vm"
KDEDIRS="/usr:/usr/local:/usr/kde/3.5"
KDM_LANG="de_DE.utf8"
KERNEL="linux"
LANG="de_DE.utf8"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LC_ALL="de_DE.utf8"
LDFLAGS_x86="-m elf_i386 -L/emul/linux/x86/lib -L/emul/linux/x86/usr/lib"
LDPATH="/usr/local/lib://usr/lib32/opengl/nvidia/lib://usr/lib64/opengl/nvidia/lib:/lib:/usr/lib:/lib64: /usr/lib64:/usr/local/lib64:/lib32:/usr/lib32:/usr/local/lib32:/usr/x86_64-pc-linux-gnu/lib: /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.0:/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.0/32: /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2:/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/32: /usr/lib64/nspr:/usr/lib64/nss:/usr/lib32/openmotif-2.2:/opt/blackdown-jdk-1.4.2.03/jre/lib/amd64/: /opt/blackdown-jdk-1.4.2.03/jre/lib/amd64/native_threads/:/opt/blackdown-jdk-1.4.2.03/jre/lib/amd64/classic/: /opt/blackdown-jdk-1.4.2.03/jre/lib/amd64/server/:/usr/lib/qt4:/usr/lib64/qt4:/usr/lib32/qt4:/usr/kde/3.5/lib: /usr/kde/3.5/lib64:/usr/kde/3.5/lib32:/usr/qt/3/lib:/usr/qt/3/lib64:/usr/qt/3/lib32:/opt/firefox:/usr/games/lib: /usr/games/lib32:/usr/lib64/libstdc++-v3/"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe.sh %s"
LIBDIR_amd64="lib64"
LIBDIR_x86="lib32"
LINES="26"
LINGUAS="de"
LOGNAME="root"
MAKEOPTS="-j5"
MANPATH="/etc/java-config-2/current-system-vm/man: /usr/local/share/man: /usr/share/man: /usr/share/binutils-data/x86_64-pc-linux-gnu/2.16.91.0.6/man: /usr/share/gcc-data/x86_64-pc-linux-gnu/4.2.0/man: /opt/blackdown-jdk-1.4.2.03/man: /etc/java-config/system-vm/man/:/usr/lib64/php5/man/:/usr/kde/3.5/share/man: /usr/qt/3/doc/man"
MULTILIB_ABIS="amd64 x86"
MULTILIB_STRICT_DENY="64-bit.*shared object"
MULTILIB_STRICT_DIRS="/lib /usr/lib /usr/kde/*/lib /usr/qt/*/lib /usr/X11R6/lib"
MULTILIB_STRICT_EXEMPT="(perl5|gcc|gcc-lib|binutils|eclipse-3|debug|portage)"
OLDPWD="/home/therion"
OPENGL_PROFILE="nvidia"
PAGER="/usr/bin/less"
PALUDIS_OPTIONS="--log-level warning --dl-reinstall if-use-changed"
PATH="/sbin:/bin:/usr/sbin:/usr/bin"
PKGDIR="/usr/portage/packages"
PKG_CONFIG_PATH="/usr/qt/3/lib64/pkgconfig:/usr/qt/3/lib32/pkgconfig"
PORTAGE_ARCHLIST="ppc s390 amd64 x86 ppc64 x86-fbsd m68k arm sparc sh mips ia64 alpha ppc-macos hppa sparc-fbsd"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_BIN_PATH="/usr/lib64/portage/bin"
PORTAGE_CONFIGROOT="/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/var/cache/edb/dep"
PORTAGE_ELOG_CLASSES="log warn error"
PORTAGE_ELOG_MAILFROM="portage"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="root"
PORTAGE_ELOG_SYSTEM="save_summary echo"
PORTAGE_GID="250"
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_PYM_PATH="/usr/lib64/portage/pym"
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_RSYNC_RETRIES="3"
PORTAGE_TMPDIR="/warehouse/portage-tmp"
PORTAGE_WORKDIR_MODE="0700"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local"
PRELINK_PATH_MASK="/usr/lib/gstreamer-0.10:/usr/lib/klibc"
PS1="therion@%m %~ %# "
PWD="/home/therion"
PYTHONPATH="/usr/lib64/portage/pym"
QMAKESPEC="linux-g++"
QTDIR="/usr/qt/3"
RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp -O ${DISTDIR}/${FILE} ${URI}"
ROOT="/"
ROOTPATH="/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.2.0: /usr/x86_64-gentoo-linux-gnu/gcc-bin/4.2.0:/opt/blackdown-jdk-1.4.2.03/bin: /opt/blackdown-jdk-1.4.2.03/jre/bin:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/usr/qt/3/bin"
RPMDIR="/usr/portage/rpm"
SANE_CONFIG_DIR="/etc/sane.d"
SHELL="/bin/sash"
SHLVL="1"
SSH_CLIENT="80.139.67.221 5904 22"
SSH_CONNECTION="80.139.67.221 5904 84.62.130.147 22"
SSH_TTY="/dev/pts/1"
STAGE1_USE="nptl nptlonly unicode"
SVN="svn://coruscant.info/therion"
SYMLINK_LIB="yes"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
TERM="vt220"
USB_DEVFS_PATH="/dev/bus/usb"
USE="X a52 aac aalib acl acpi alsa amd64 apm arts audiofile avi bash-completion bidi bitmap-fonts bluetooth bzip2 cairo caps cddb cdinstall cdparanoia cdr chardet clamav cli cracklib crypt cups curl dbus directfb dlloader dri dts dv dvb dvd dvdr dvdread emerald encode esd exif fbcon ffmpeg flac font-server foomaticdb fortran ftp gdbm gif gimp glut gmp gnome gnutls gpm gstreamer gtk gtk2 hal hddtemp iconv idn imagemagick imap imlib innodb ipod ipv6 isdnlog jabber java javascript jikes jpeg kde kdehiddenvisibility libcaca libnotify lm_sensors logrotate lzw lzw-tiff mad mbox midi mikmod mime mmap mmx mmxext mozcalendar mozilla mp3 mp4 mpeg mplayer msn mudflap multislot musepack musicbrainz mysql ncurses nls nptl nptlonly nsplugin nvidia odbc ogg opengl openmp pam pcre pdf pdflib perl php png posix ppds pppd python qt qt3 qt4 quicktime readline reflection rtc ruby scanner sdl session sharedext spell spl sse sse2 ssl svg sysfs tcltk tcpd threads tiff truetype truetype-fonts type1-fonts unicode usb userlocales vcd visualization vorbis wma xcomposite xine xml xorg xpm xprint xscreensaver xsl xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" DVB_CARDS="usb-vp7045" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="fbdev nvidia nv"
USER="root"
USERLAND="GNU"
USE_EXPAND="ALSA_CARDS ALSA_PCM_PLUGINS CAMERAS CROSSCOMPILE_OPTS DVB_CARDS ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS INPUT_DEVICES KERNEL LCD_DEVICES LINGUAS LIRC_DEVICES MISDN_CARDS USERLAND VIDEO_CARDS"
USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND"
USE_ORDER="env:pkg:conf:defaults:pkginternal:env.d"
VIDEO_CARDS="fbdev nvidia nv"
VMHANDLE="blackdown-jdk-1.4.2"
XARGS="xargs -r"
XDG_DATA_DIRS="/usr/share:/usr/kde/3.5/share:/usr/local/share"
_="/bin/su"
|
Edit: Added some spaces to stop the post breaking the page layout. --Maedhros |
|
Back to top |
|
|
flclncc n00b
Joined: 02 Mar 2005 Posts: 29
|
Posted: Wed Sep 19, 2007 5:28 pm Post subject: |
|
|
Xeper wrote: | Hi
I've got a very similar problem.
This happens while Im compiling kdelibs-3.5.7-r3.
I get a very similar message with qt-4.3.1-r1 as well with qt-4.3.1.
|
That is usually associated with gcc-4.2.0 and "<=binutils-2.17-r*".
Oh, and would you mind editing your post changing the php codes "quote" to "code". Your post is way to wiiiiiiide.
[] |
|
Back to top |
|
|
Xeper n00b
Joined: 03 Jun 2003 Posts: 17 Location: Duisburg/Germany
|
Posted: Fri Sep 21, 2007 8:12 am Post subject: |
|
|
Hi
Im Sorry didnt know, for me it was a quote not a code
Anyways so you implying I shall test it with binutils-2.18*?
Can do so, no problem. |
|
Back to top |
|
|
flclncc n00b
Joined: 02 Mar 2005 Posts: 29
|
Posted: Tue Sep 25, 2007 1:41 am Post subject: |
|
|
[quote="Xeper"]
Anyways so you implying I shall test it with binutils-2.18*?
/quote]
Yup. Either that or use gcc-4.1.2, just be aware that binutils-2.18* may break something. |
|
Back to top |
|
|
nivw Apprentice
Joined: 09 Nov 2005 Posts: 261
|
Posted: Wed Sep 26, 2007 6:34 pm Post subject: |
|
|
thanks,
I upgarded to gcc 4.2 , according to the offical AMD document with recomended gcc flags.
I then found this issue .
after upgrading to binutils-2.18 , I am able to merge fine,
thnaks,
Niv |
|
Back to top |
|
|
flclncc n00b
Joined: 02 Mar 2005 Posts: 29
|
Posted: Wed Oct 10, 2007 12:51 pm Post subject: |
|
|
nivw wrote: | thanks,
I upgarded to gcc 4.2 , according to the offical AMD document with recomended gcc flags.
I then found this issue .
after upgrading to binutils-2.18 , I am able to merge fine,
thnaks,
Niv |
Would you be so kind as to try to emerge gtk-engines-qt-0.8 or kdesvn? Just let me know if it works. |
|
Back to top |
|
|
flclncc n00b
Joined: 02 Mar 2005 Posts: 29
|
Posted: Wed Oct 10, 2007 1:24 pm Post subject: |
|
|
I found the problem... There were a bunch of orphans *.a in "/lib"...
I did:
Code: |
cd /lib
mkdir /root/a-bak
mv libFS.a libfontenc.a liboldX.a libX11.a libXau.a libXcursor.a libXdamage.a libXdmcp.a libXevie.a libxf86config.a libXfixes.a libXfont.a libXft.a libXi.a libXinerama.a libxkbfile.a libxkbui.a libXmu.a libXmuu.a libXp.a libXpm.a libXprintAppUtil.a libXprintUtil.a libXrandr.a libXRes.a libXss.a libXt.a libXTrap.a libXtst.a libXv.a libXvMC.a libXxf86dga.a libXxf86misc.a libXxf86vm.a /root/a-bak
|
This is the second time I had something break because of orphaned file. The last time was molmol which failed to run because some libs from monolithic xorg were still around.
The moral is: orphaned files are evil and WILL eventually break your system. |
|
Back to top |
|
|
rlittle Apprentice
Joined: 17 Dec 2003 Posts: 200
|
Posted: Thu Feb 07, 2008 10:32 pm Post subject: |
|
|
How did you identify the files as orphans? I think this could help me with my incredibly ancient Gentoo machines.
I have the same "rebuild with -fPIC" when I try to build openldap.
[Edit]
I fixed it by deleting /usr/lib64/libldap_r.a I'd still like to know if there's a quick way to list all orphans.
PS: Thank!!! _________________ I need a better signature... |
|
Back to top |
|
|
flclncc n00b
Joined: 02 Mar 2005 Posts: 29
|
Posted: Fri Feb 08, 2008 5:27 pm Post subject: |
|
|
rlittle wrote: | How did you identify the files as orphans? I think this could help me with my incredibly ancient Gentoo machines.
I have the same "rebuild with -fPIC" when I try to build openldap.
[Edit]
I fixed it by deleting /usr/lib64/libldap_r.a I'd still like to know if there's a quick way to list all orphans.
PS: Thank!!! |
First emerge app-portage/portage-utils then run
Be aware that some of the files reported as orphans are not orphan at all, i.e., many gcc related files are reported and deleting those WILL break your system. The best thing is to move they to a safe backup before deleting them. One program that saved me was app-misc/vcp, because I deleted a lib that broke the 'mv' and the 'cp' commands! 'vcp' was the only way I had to copy these files from the backup.
Alternatively you could run qfile -o on each dir at a time, e.g.,
Code: | # qfile -o /usr/lib/ | ... |
|
Back to top |
|
|
rlittle Apprentice
Joined: 17 Dec 2003 Posts: 200
|
Posted: Sat Feb 09, 2008 6:00 am Post subject: |
|
|
Many many thanks flclncc!!
I'd heard of qfile, but never looked into what it did. I just cleaned up about 40 files (and probably 40 future problems ) thanks to you.
Have a nice day. _________________ I need a better signature... |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|