Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 152377 - [fPIC] net-www/nspluginwrapper-0.9.90.3 emerge fails
Summary: [fPIC] net-www/nspluginwrapper-0.9.90.3 emerge fails
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-22 08:24 UTC by Tom Mehrkam
Modified: 2006-10-22 10:17 UTC (History)
1 user (show)

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 Tom Mehrkam 2006-10-22 08:24:58 UTC
../src/rpc.c:1020: warning: 'rpc_message_skip_arg' defined but not used
x86_64-pc-linux-gnu-gcc -o npviewer-utils.o -c ../src/utils.c -I. -I.. -march=athlon64 -mtune=athlon64 -mmmx -m3dnow -msse -msse2 -fPIC -O2 -pipe -std=c99 -Wall -I../npapi -I../npapi/nspr -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12   -DNPW_COMPONENT_NAME="\"Viewer \""
x86_64-pc-linux-gnu-gcc -o npviewer.bin npviewer-npw-viewer.o npviewer-npw-rpc.o npviewer-rpc.o npviewer-debug.o npviewer-utils.o -L/usr/X11R6/lib64 -lX11 -lXext -lXt -ldl -lpthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0   -Wl,-shared -L/emul/linux/x86/usr/lib
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../lib64/crt1.o: relocation R_X86_64_32S against `__libc_csu_fini' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/../../../../lib64/crt1.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [npviewer.bin] Error 1

!!! ERROR: net-www/nspluginwrapper-0.9.90.3 failed.
Call stack:
  ebuild.sh, line 1568:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  nspluginwrapper-0.9.90.3.ebuild, line 53:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.

amiga-gentoo ~ # emerge --info
Portage 2.1.2_pre3-r5 (default-linux/amd64/2006.0, gcc-4.1.1, glibc-2.5-r0, 2.6.17-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.17-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3800+
Gentoo Base System version 1.12.5
Last Sync: Sun, 22 Oct 2006 06:00:03 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.5-r3, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
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.13-r3
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=athlon64 -mtune=athlon64 -mmmx -m3dnow -msse -msse2 -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/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=athlon64 -mtune=athlon64 -mmmx -m3dnow -msse -msse2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1 -Wl,-z,now -Wl,--sort-common"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 64bit 7zip X a52 aac aalib alsa amarok amazon apache2 asf ati bash-completion berkdb binary-drivers bitmap-fonts bittorrent bzip2 ccache cdda cddb cdparanoia cdr cgi cli cracklib crypt css cups dbus dlloader dri dvd dvdr dvdread eds elibc_glibc emboss encode evolution ffmpeg firefox foomaticdb fortran gif gpm gstreamer gtk gtk2 hal hou imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipod isdnlog javascript joystick jpeg kde kernel_linux largeterminal lm_sensors lzw lzw-tiff mad maildir mjpeg mp3 mpeg mplayer msn musicbrainz mysql mysqli ncurses nls nowin nptl nptlonly nsplugin ogg oggvorbis opengl openssh pam pcre pdf perl php png pnp postfix pppd python qt3 qt4 quicktime readline reflection rtc samba scanner sdl session sou spell spl ssl sysfs tcpd threads tiff transcode truetype-fonts type1-fonts usb userland_GNU v4l v4l2 vcd video_cards_nvidia videos vorbis xcomposite xine xinerama xml xmms xorg xpm xv xvid yahoo zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Patrick McLean gentoo-dev 2006-10-22 10:17:16 UTC
It looks like you didn't properly follow the gcc upgrade guide when you upgraded to gcc 4.1, please follow the guide and make sure to do a full "emerge -e world".

http://www.gentoo.org/doc/en/gcc-upgrading.xml