Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 104694 - If I want emerge tiff or freetype I must use -fPIC
Summary: If I want emerge tiff or freetype I must use -fPIC
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-03 03:57 UTC by Francesco
Modified: 2005-09-05 04:09 UTC (History)
1 user (show)

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 Francesco 2005-09-03 03:57:25 UTC
If I try to emerge tiff or freetype on amd64, emerge crash. It require the -fPIC
flag. If I use "CFLAGS="+fPIC" emerge tiff" it works.


Reproducible: Always
Steps to Reproduce:
1.emerge tiff
[error]
1.emerge freetype
Actual Results:  
Emerge crash. It says that I must use the -fPIC flag.

Expected Results:  
Compile the program normally. It shouldn't ask me the -fPIC flag.

My make.conf
CHOST="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -pipe -O2"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
USE="amd64 X bash-completion gtk gtk2 gnome kde qt alsa"
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-09-03 04:13:28 UTC
Please file bugs about packages in Gentoo Linux product, not Bugzilla. 
 
And please provide more info, as I don't think that "emerge crashed", probably 
it just failed to compile, so please provide a log. 
Comment 2 Francesco 2005-09-03 04:34:27 UTC
Yes, it crash when compile. I've try to emerge tiff and freetype for give you
the log files, but now they doesn't display this error. I've see it 4 days ago.
Comment 3 SpanKY gentoo-dev 2005-09-04 13:59:35 UTC
you neglected to post `emerge info` like the bug report page told you to

we also cant guess ... you need to post the actual error message
Comment 4 Francesco 2005-09-05 02:58:09 UTC
It's resolved. Adding -O2 in make.conf it doesn't give me those errors.
Comment 5 Jim Laflin 2005-09-05 03:40:15 UTC
Francesco. You had -O2 in your make.conf in the initial report

PS. 
emerge info
Is much more helpful

Jim
Comment 6 Francesco 2005-09-05 04:00:54 UTC
punto64 / # emerge info
Portage 2.0.51.22-r2 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r1,
2.6.10-5-amd64-k8 x86_64)
=================================================================
System uname: 2.6.10-5-amd64-k8 x86_64
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -pipe -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=k8 -pipe -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/"
LANG="it_IT.UTF-8"
LINGUAS="it"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa amd64 avi bash-completion berkdb bitmap-fonts crypt cups curl eds
encode esd fam foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 imlib ipv6
jpeg kde lzw lzw-tiff mad mp3 mpeg ncurses nls opengl pam pdflib perl png python
qt quicktime readline sdl spell ssl tcpd tiff truetype-fonts type1-fonts usb
userlocales xml xml2 xpm xv zlib linguas_it userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 7 Francesco 2005-09-05 04:09:03 UTC
Now I can compile tiff and freetype using -02 or not. I don't understand...