Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 67160 - duke3d compile break with option -fPIC
Summary: duke3d compile break with option -fPIC
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-11 14:53 UTC by Csaba Tóth
Modified: 2011-09-14 20:39 UTC (History)
0 users

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 Csaba Tóth 2004-10-11 14:53:37 UTC
I can't compile the games-fps/duke3d game with the -fPIC gcc option. But without it, it compiled correctly.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




The correct emerge info (I use the USE="-pic" additional parameter, because i
compiled the game with the `USE="-pic" emerge duke3d` command):

kiki ~ # USE="-pic" emerge info
Portage 2.0.51_rc9 (default-linux/x86/2004.3, gcc-3.4.2,
glibc-2.3.4.20040808-r0, 2.6.8-gentoo-r7 i686)
=================================================================
System uname: 2.6.8-gentoo-r7 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.80GHz
Gentoo Base System version 1.5.3
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -mtune=pentium4 -mfpmath=sse -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -mtune=pentium4 -mfpmath=sse -pipe
-fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache distlocks fixpackages sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/ http://gentoo.mirror.icd.hu/
http://gentoo.mirror.sdf.fr/ 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="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X Xaw3d aac accounting acpi acpi4linux alsa apache2 apm arts audiofile avi
bcmath berkdb bitmap-fonts bootsplash bzlib cdb cdparanoia cdr cdrom clamac
clamav crypt ctype cups curl curlwrappers dbase dbm devfs devfs26 directfb
divx4linux dlloader dv dvb dvd dvdr dvdread encode esd exif f77 fam fbcon fftw
flac foomaticdb freetype fs ftp gcj gd gdbm geoip ggi gif gimp gimpprint gmp
gnutls gphoto2 gpm gtk gtk2 guile hal iconv icq image imagemagick imap imlib
inifile intl irda jack java javascript jikes jpeg jpeg2k junit kde lcd lcms
lesstif libg++ libwww lirc live lm_sensors lzo lzw lzw-tiff mad mcal memlimit
mhash mikmod mime mixer mmap mmx mmx2 mng motif mozcalendar mozdevelop mozilla
mozsvg mozxmlterm mp3 mpeg mpeg4 mplayer msn nas ncurses nethack network nls
nptl ntlm nvidia objc odbc oggvorbis openal opengl openssh oscar pam
parse-clocks pcap pcmcia pcntl pcre pdf pdflib perl png pnp posix postgres ppds
pthreads pwdb python qt quicktime readline recode samba scanner sdl shared
sharedmemsimplexml skey slang smartcard smime sms sockets speex spell sse sse2
ssl svg svga sysvipc tcltk tcpd theora threads tidy tiff transcode truetype
type1 unicode usb userlocales v4l v4l2 virus-scan vnc wmf wxwin wxwindows x86
xfs xine xinerama xinetd xml xml2 xmlrpc xmms xpm xprint xscreensaver xv xvid
yahoo zlib linguas_hu linguas_en"
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2004-11-20 00:21:50 UTC
Sorry, I don't understand what you mean.  Do you claim that having "pic" in your USE flags changes the way the game is compiled?  From the summary, it seems like you're saying that you have "-fPIC" in your CFLAGS but I don't see that in your emerge --info output so I don't know you're talking about.

Please provide more information, perhaps the whole output from the attempted emerge and reopen the bug when you have.  Thanks.
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2004-12-27 19:39:27 UTC
no reply.  closing.
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2011-09-14 20:39:59 UTC
clean up bug list after bugzilla update