Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 192533 - openexr-1.6.0 and ilmbase-1.0.0 urge -fPIC to compile properly.
Summary: openexr-1.6.0 and ilmbase-1.0.0 urge -fPIC to compile properly.
Status: VERIFIED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High minor (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-14 19:05 UTC by Mario García H.
Modified: 2007-09-14 21:11 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 Mario García H. 2007-09-14 19:05:25 UTC
-fPIC "CFLAG" is mandatory in order to compile ilmbase and openexr. Looks like they work "ok" before adding the flag to the AMD64 architecture.

The affected packages are: media-libs/openexr, media-libs/ilmbase as far as I know. But the whole lib controls should be affected too...

Reproducible: Always

Steps to Reproduce:
Try to compile without -fPIC. Got it!
Comment 1 Mario García H. 2007-09-14 19:19:43 UTC
** IMPORTANT **
Tried with CFLAGS="-march=athlon64 -O1 -pipe" and NO LD_FLAGS at all...  
****************

System uname: 2.6.22-gentoo-r6 x86_64 AMD Turion(tm) 64 Mobile Technology ML-34
Timestamp of tree: Fri, 14 Sep 2007 16:01:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.5.1-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.10-r4
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61-r1
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.18
sys-devel/gcc-config: 1.4.0-r2
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O1 -march=athlon64 -mtune=athlon64 -msse3 -mfpmath=sse -fforce-addr -fno-thread-jumps -ftree-vectorize -fschedule-insns2 -fsched2-use-superblocks -freorder-blocks-and-partition -fno-merge-constants -fcse-skip-blocks -fgcse -fregmove -fcse-follow-jumps -ffloat-store -falign-jumps -falign-labels -falign-loops=4 -falign-functions=16 -maccumulate-outgoing-args -minline-all-stringops -fsee -fprefetch-loop-arrays -ftracer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/metalog.conf /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O1 -march=athlon64 -mtune=athlon64 -msse3 -mfpmath=sse -fforce-addr -fno-thread-jumps -ftree-vectorize -fschedule-insns2 -fsched2-use-superblocks -freorder-blocks-and-partition -fno-merge-constants -fcse-skip-blocks -fgcse -fregmove -fcse-follow-jumps -ffloat-store -falign-jumps -falign-labels -falign-loops=4 -falign-functions=16 -maccumulate-outgoing-args -minline-all-stringops -fsee -fprefetch-loop-arrays -ftracer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://gentoo.osuosl.org/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://gentoo.mirrors.tera-byte.com/ http://ftp.public.fix.fi/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp.physics.auth.gr/pub/mirrors/gentoo/ "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en es"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib acpi alsa amd64 ao aotuv artworkextra audiofile berkdb bidi bindist bitmap-fonts bzip2 caps cddb cdparanoia cdr cli cracklib crypt cups db dbus dcraw djbfft djvu dri dts dv dvb dvd dvdnav dvdr encode exif expat fbcon ffmpeg fftw flac fontconfig fortran gd gdbm gif gnome gnutls gpm gs gtk hal iconv ieee1394 imlib isdnlog jack jack-tmpfs jbig jpeg jpeg2k lcms libcaca libnotify libsamplerate lzo mad md5sum midi mikmod mmap mmx mmxext mng modplug mp3 mpeg mudflap musepack ncurses netjack nls nptl nptlonly nsplugin offensive ogg openal openexr opengl openmp osc pam pcre perl photo-viewer png pnm portaudio pppd pulseaudio python quicktime rar readline reflection reiser4 reiserfs rtc sasl sdl session slang sndfile speex spell spl sqlite sse sse2 ssl ssse3 svg tcpd tetex theora threads tiff timidity truetype truetype-fonts type1-fonts unicode v4l v4l2 vim-syntax vorbis wma x264 xml xorg xpm xprint xv xvid yv12 zlib" ALSA_CARDS="atiixp atiixp-modem usb-audio" 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="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en es" USERLAND="GNU" VIDEO_CARDS="vesa fglrx radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-09-14 19:21:30 UTC
Post the actual errors, we cannot fix anything without haivng basic information available.