Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 185055 - net-misc/italc-1.0.3 does not compile without -fPIC explicitly added to CFLAGS
Summary: net-misc/italc-1.0.3 does not compile without -fPIC explicitly added to CFLAGS
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 191573
  Show dependency tree
 
Reported: 2007-07-12 09:53 UTC by Marco Clocchiatti
Modified: 2007-11-03 17:20 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
italc-1.0.3 log output (italc-1.0.3.log,21.10 KB, text/plain)
2007-07-12 09:54 UTC, Marco Clocchiatti
Details
fPIC patch (make.patch,18.30 KB, patch)
2007-07-25 01:02 UTC, Kenneth Prugh (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Clocchiatti 2007-07-12 09:53:42 UTC
s939 ~ # emerge --info
Portage 2.1.2.9 (!/usr/portage/profiles/default-linux/amd64/2007.0/desktop, gcc-4.1.2/amd64-vanilla, glibc-2.5-r4, 2.6.21-gentoo-r3-s939 x86_64)
=================================================================
System uname: 2.6.21-gentoo-r3-s939 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System release 1.12.9
Timestamp of tree: Thu, 12 Jul 2007 00:30:10 +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: 2.0.0_rc2-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
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/libtool:   1.5.23b
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -fweb -frename-registers -ftracer"
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/fax /usr/share/X11/xkb /usr/share/config /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /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 -fweb -frename-registers -ftracer"
DISTDIR="/tmp/gentoo-tmp/distfiles"
FEATURES="buildpkg ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://gd.tuwien.ac.at/opsys/linux/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LANG="it_IT@euro"
LC_ALL="it_IT.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="it en_GB"
MAKEOPTS="-j3 -s"
PKGDIR="/tmp/gentoo-tmp/packages64"
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="/tmp/gentoo-tmp/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/gechi /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amd64 apache2 arts asf audiofile avi bash-completion beagle berkdb bitmap-fonts branding browserplugin bzip2 bzlib cairo caps cddb cdparanoia cdr chroot cli cpdflib cpudetection cracklib crypt cspell cups curl dba dbus dga directfb dlloader dmi dri dv dvd dvdr dvdread dvx4linux eds emboss encode esd evo exif expat fam fbcon ffmpeg flac foomaticdb fortran fpx ftp gd gdbm gif gimp gmp gnome gphoto2 gpm graphviz gstreamer gtk gtk2 gtkhtml hal iconv ieee1394 imlib innodb isdnlog jack java javascript jbig jikes jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kdexdeltas lcms ldap libcaca libg++ live lm_sensors locales lzo mad mailwrapper md5sum memlimit midi mikmod mime mmx mng motif mozilla mp3 mpeg mplayer mssql mudflap mysql mythtv nas ncurses network nls nptl nptlonly nsplugin nvidia ogg oggvorbis openexr opengl openmp oss pam pam_chroot pam_console pam_timestamp pcmcia pcre pdf perl php png portaudio posix ppds pppd pulseaudio pwdb python qt qt3 qt3support qt4 quicktime readline reflection rle rtc samba scanner sdl seamonkey session slang speex spell spl sse sse2 ssl svg tcltk tcpd tetex tga theora threads tidy tiff tokenizer trace truetype truetype-fonts type1-fonts udev unicode usb utempter vorbis wmf xcomposite xine xml xml2 xmlreader xmlwriter xorg xpm xprint 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev penmount" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it en_GB" USERLAND="GNU" VIDEO_CARDS="nvidia vesa nv vga vmware"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Reproducible: Always

Actual Results:  
see attacched log output.


adding -fPIC in CFLAGS, it compiles fine.
Comment 1 Marco Clocchiatti 2007-07-12 09:54:48 UTC
Created attachment 124624 [details]
italc-1.0.3 log output
Comment 2 Kenneth Prugh (RETIRED) gentoo-dev 2007-07-25 01:02:02 UTC
Created attachment 125946 [details, diff]
fPIC patch

This patch fixes the -fPIC problem, it just needs to be included via epatch in the ebuild. I probably went about this horribly wrong, and it would be nice if I did that a dev give some helpful advice.