Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 141857 - libfl.a in sys-devel/flex is not compiled with -fPIC for amd64
Summary: libfl.a in sys-devel/flex is not compiled with -fPIC for amd64
Status: RESOLVED DUPLICATE of bug 131460
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: Normal minor (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-26 23:56 UTC by Eugene Kim
Modified: 2006-07-30 16:30 UTC (History)
1 user (show)

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


Attachments
flex-2.5.33-fPIC.patch (flex-2.5.33-fPIC.patch,1.89 KB, patch)
2006-07-28 13:28 UTC, Patrick McLean
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eugene Kim 2006-07-26 23:56:15 UTC
Portage 2.1-r1 (default-linux/amd64/2005.0, gcc-4.1.1, glibc-2.3.6-r4, 2.6.16-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.15
ccache version 2.3 [disabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
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-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -pipe -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf"
CXXFLAGS="-march=athlon64 -pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks fixpackages metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -Wl,--strip-all"
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 X alsa amuled asf avi berkdb bitmap-fonts bzip2 cli crypt cups cvs divx4linux dlloader dri dvd eds emboss encode ffmpeg flac foomaticdb fortran gecko-sdk gif gpm gstreamer gtk gtk2 imagemagick imlib ipv6 isdnlog java jpeg kde live lzw lzw-tiff mad mozilla mp3 mpeg mplayer mysql ncurses network nls nptlonly ogg opengl oscar oss pam pcre pdf pdflib perl png pppd python qt qt3 qt4 quicktime readline reflection sdl session spell spl ssl tcpd tiff truetype-fonts type1-fonts usb visualization vorbis xcomposite xine xinerama xmms xorg xpm xv zlib zvbi elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nv video_cards_nvidia video_cards_vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS


libfl.a (and perhaps other libraries within flex) need(s) to be built with -fPIC for amd64.  

i also posted this here:
http://forums.gentoo.org/viewtopic-t-469719-highlight-.html
Comment 1 Patrick McLean gentoo-dev 2006-07-28 13:28:11 UTC
Created attachment 92952 [details, diff]
flex-2.5.33-fPIC.patch

Ok, flex's makefile is a bit messy, and this is a pretty nasty hack, but it seems to do the trick, I will commit this once base-system ok's it.
Comment 2 SpanKY gentoo-dev 2006-07-30 16:30:54 UTC

*** This bug has been marked as a duplicate of 131460 ***