Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 47520 - strange beecrypt compile flags
Summary: strange beecrypt compile flags
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Stefan Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-11 09:59 UTC by Marcelo Borges Ribeiro
Modified: 2004-04-11 12:29 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 Marcelo Borges Ribeiro 2004-04-11 10:00:00 UTC
I installed beecrypt and I realize it uses mcpu=athlon-xp (from my make.conf) and also mcpu=pentiumpro (from ????). Won't this mcpu flag override my athlon-xp or may produce a broken binary ?  

Reproducible: Always
Steps to Reproduce:
1.have something different than pentiumpro in make.conf
2.emerge beecrypt
3.

Actual Results:  
(grab some lines during compile)  
mpw-py.lo -MD -MP -MF .deps/mpw-py.Tpo -c mpw-py.c -o mpw-py.o >/dev/null  
/bin/sh ../libtool --mode=link gcc  -mcpu=athlon-xp -O3 -fPIC -pipe -O3 
-fomit-frame-pointer -mcpu=pentiumpro   -o _bc.la -rpath /usr/l 

Expected Results:  
only my mcpu flag 

Portage 2.0.50-r3 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.5) 
================================================================= 
System uname: 2.6.5 i686 AMD Athlon(TM) XP 2400+ 
Gentoo Base System version 1.4.3.13p1 
distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[disabled] 
ccache version 2.3 [enabled] 
Autoconf: sys-devel/autoconf-2.58-r1 
Automake: sys-devel/automake-1.8.3 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-mcpu=athlon-xp -O3 -fPIC -pipe" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-mcpu=athlon-xp -O3 -fPIC -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache fixpackages sandbox" 
GENTOO_MIRRORS="http://gentoo.oregonstate.edu 
http://www.ibiblio.org/pub/Linux/distributions/gentoo" 
MAKEOPTS="-j3" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/root/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="3dnow X alsa apache2 apm arts avi berkdb bonobo cdr crypt cups encode esd 
foomaticdb gb gdbm gif gnome gpg gpm gtk gtk2 gtkhtml guile imlib java 
joystick jpeg kde ldap libg++ libwww lm_sensors mad mikmod mmx motif mozilla 
mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png ppds python qt 
quicktime readline sdl slang spell ssl svga tcl tcltk tcpd tetex tex tk 
truetype video_cards_radeon x86 xml xml2 xmms xv zlib"
Comment 1 Stefan Jones (RETIRED) gentoo-dev 2004-04-11 12:29:44 UTC
Good catch, thanks.

Will not break things though, but it is not quite right for Gentooers

Ok, changed it so it scans your CFLAGS and uses the ones which are set.