Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 37600 - openssl-0.9.7.rc1 build fails with athlon-xp in CFLAGS
Summary: openssl-0.9.7.rc1 build fails with athlon-xp in CFLAGS
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-08 06:06 UTC by Alistair
Modified: 2004-01-09 00:54 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 Alistair 2004-01-08 06:06:33 UTC
if $CFLAGS contains athlon-xp, the ebuild will cause compile to fail as it edits $CFLAGS and attempts to stomp on march switches.  Unfortunately if you have athlon-xp in there, it leaves behind the -xp -- which causes the compile to fail with 
"language p not found"

Reproducible: Always
Steps to Reproduce:
1. ensure that CFLAGS comtains -mcpu=athlon-xp
2. complete bootstrap.sh
3. run emerge system
Actual Results:  
Edited top level makefile in /var/tmp/portage/openssl-0.9.7c-r1/work/
openssl-0.9.7c/ and removed the -xp from the CFLAGS in this makefile -- ran 
make manually --worked fine. 
 

Expected Results:  
emerge system should have completed normally. 

Portage 2.0.49-r20 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20031222-r0, 
2.6.0) 
================================================================= 
System uname: 2.6.0 i686 Unknown CPU Type 
Gentoo Base System version 1.4.3.12 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-O3 -mcpu=athlon-xp -march=athlon -funroll-loops -pipe" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
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="-O3 -mcpu=athlon-xp -march=athlon -funroll-loops -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache sandbox" 
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/
Linux/distributions/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="X apm arts avi berkdb crypt cups encode foomaticdb gdbm gif gnome gpm gtk 
gtk2 imlib jpeg kde libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis 
opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell 
ssl svga tcpd truetype x86 xml2 xmms xv zlib
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-01-08 13:12:41 UTC
fixed in cvs as it effects me too.
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-01-09 00:54:10 UTC
closing as it's fixed