Summary: | cal3d refuses to compile on AMD64 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Aaron <aaron123456789> |
Component: | [OLD] Library | Assignee: | AMD64 Project <amd64> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | jasonn1976 |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Aaron
2005-10-11 08:00:19 UTC
I get the same error when I try to emerge it. My emerge --info follows. Portage 2.0.53_rc7 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r3, 2.6.14-gentoo-r1 x86_64) ================================================================= System uname: 2.6.14-gentoo-r1 x86_64 AMD Athlon(tm) 64 Processor 4000+ Gentoo Base System version 1.12.0_pre10 dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.13 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 sys-devel/libtool: 1.5.20-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe -fno-ident" 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 /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon64 -O2 -pipe -fno-ident -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict userpriv" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 3dnowex X acpi aim alsa apm arts audiofile avi bash-completion berkdb bitmap-fonts bzip2 cdr crypt curl directfb dvd dvdr dvdread eds emacs emul-linux-x86 encode ethereal expat fam fbcon ftp gif gnome gpm gstreamer gtk gtk2 icq idn imap imlib ipv6 jabber java javascript joystick jpeg kde kdeenablefinal lcms lm_sensors lua lzw lzw-tiff mad mhash mime mmap mng mozilla mp3 mpeg msn ncurses nls nptl nptlonly nvidia ogg openal opengl oscar pam pcre pdflib perl png python qt quicktime readline ruby samba sdl sharedmem simplexml sockets sox speex spell ssl svg szip tcltk theora threads tidy tiff truetype truetype-fonts type1-fonts udev usb userlocales vorbis wifi xine xinerama xml2 xmms xpm xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY >::basic_stringstream(std::_Ios_Openmode)@@GLIBCXX_3.4' can not be used when
making a shared object; recompile with -fPIC
Complies fine for me on amd64, per the error output, looks like you need to add pic to your use flags and rebuild glibc and whatever else..(emerge -Nav world)
Works fine here as well, emerge --info as follows: Portage 2.1-r1 (default-linux/amd64/2006.1, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-gentoo-r9 x86_64) ================================================================= System uname: 2.6.16-gentoo-r9 x86_64 AMD Sempron(tm) Processor 3300+ Gentoo Base System version 1.6.15 dev-lang/python: 2.4.2 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] 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-r2 sys-devel/binutils: 2.16.1-r2 sys-devel/gcc-config: 1.3.13-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=k8 -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/lib/X11/xkb /usr/lib64/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/" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=k8 -pipe" DISTDIR="/usr/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" 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'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/portage" PORTDIR_OVERLAY="/usr/local/overlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X alsa arts berkdb bitmap-fonts cdr cli crypt cups dri dvd dvdread ethereal ffmpeg flac flash fortran ftp gdbm gnome gpm gstreamer gtk gtk2 gtkhtml hal imagemagick ipv6 isdnlog jabber java javascript jpeg kde kdeenablefinal libg++ mp3 mpeg msn ncurses nls nptl nptlonly nsplugin ogg opengl pam pcre pda perl png ppds pppd python qt qt3 qt4 quicktime readline reflection samba session spl ssl tcpd tiff truetype-fonts type1-fonts udev unicode usb userlocales vcd vorbis xine xinerama xml xmms xorg xv xvid zlib elibc_glibc input_devices_evdev input_devices_mouse input_devices_keyboard kernel_linux userland_GNU" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS remove -fvisibility-inlines-hidden from CXXFLAGS, as emerge tells you every time you run it |