Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 104596 - crypto++-5.2.1.ebuild uses -mno-sse2 even on ppc
Summary: crypto++-5.2.1.ebuild uses -mno-sse2 even on ppc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: PPC Linux
: High minor (vote)
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-02 07:20 UTC by Daniel Grob
Modified: 2005-09-03 04:52 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 Daniel Grob 2005-09-02 07:20:41 UTC
The ebuild crypto++-5.2.1.ebuild uses -mno-sse2 even on ppc architecture, where
such a flag is not known to g++, which causes the merge to abort (g++
complaining it doesn't know this flag).

Reproducible: Always
Steps to Reproduce:
1. get a mac (-;
2. run gentoo
3. emerge crypto++-5.2.1

Actual Results:  
I've just commented those lines out, works like a charm now. 
Of course this is not severe, since ppc is marked as ~ anyway.

Expected Results:  
Expected the ebuild to check for architecture before applying cpu flags.

Portage 2.0.51.22-r2 (default-linux/ppc/2005.0, gcc-3.4.3-20050110,
glibc-2.3.5-r0, 2.6.12-gentoo-r6 ppc)
=================================================================
System uname: 2.6.12-gentoo-r6 ppc 7447A, altivec supported
Gentoo Base System version 1.6.11
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.8
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.5
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O1 -mcpu=7450 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O1 -mcpu=7450 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/
ftp://mirror.switch.ch/mirror/gentoo/ ftp://ftp.solnet.ch/mirror/Gentoo
http://gentoo.mirror.solnet.ch"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc X aalib aim alsa apache2 arts ats bash-completion berkdb bitmap-fonts
bzlib cdr crypt cups curl dba dedicated dga dio directfb dri dvd dvdr emboss esd
ethereal fam fbcon flash fortran ftp gd gdbm gif gpm gps gtk gtk2 icq
imagemagick imap imlib innodb jpeg kde ldap libwww mad mbox mime mng motif
mozilla mp3 mpeg msn mysql ncurses nls offensive ogg oggvorbis opengl oss pam
pcmcia pdflib perl php png python qt quicktime readline samba session slang snmp
sockets socks5 spell ssl svgalib tcpd tiff truetype truetype-fonts trusted
type1-fonts unicode usb vorbis xml xml2 xmms xv zlib userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Daniel Black (RETIRED) gentoo-dev 2005-09-03 04:52:52 UTC
fixed - thanks Daniel.