[PATCH] remove -mcpu=powerpc from cflags on powerpc

Sebastian Andrzej Siewior bigeasy at linutronix.de
Wed Jun 16 16:34:49 UTC 2010


-mcpu=powerpc assumes certain powerpc and will create wrong code if the
default cpu is not compatible with with -mcpu=powerpc. This is the case
on softfloat toolchains for instance.

This patch removes the -mcpu= state from cflags and the default cpu will
be used.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy at linutronix.de>
---
 builds/posix/prefix.linux_powerpc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/builds/posix/prefix.linux_powerpc b/builds/posix/prefix.linux_powerpc
index 7ae4487..a91897a 100644
--- a/builds/posix/prefix.linux_powerpc
+++ b/builds/posix/prefix.linux_powerpc
@@ -18,7 +18,7 @@
 #
 # 2 Oct 2002, Nickolay Samofatov - Major cleanup
 
-PROD_FLAGS=-ggdb -fno-omit-frame-pointer -fsigned-char -DNDEBUG -DLINUX -pipe -MMD -fPIC -fmessage-length=0 -DLINUX -DPowerPC -DPPC -O3 -mcpu=powerpc
+PROD_FLAGS=-ggdb -fno-omit-frame-pointer -fsigned-char -DNDEBUG -DLINUX -pipe -MMD -fPIC -fmessage-length=0 -DLINUX -DPowerPC -DPPC -O3
 DEV_FLAGS=-ggdb -O0 -DLINUX -pipe -MMD -p -fPIC -Wall -Wno-switch -Wno-parentheses -Wno-unknown-pragmas -Wno-unused-variable -fmessage-length=0 -fsigned-char -DLINUX -DPowerPC -DPPC
 #DEV_FLAGS=-DUSE_VALGRIND -ggdb -O0 -DLINUX -pipe -MMD -p -fPIC -Wall -Wno-switch -Wno-parentheses -Wno-unknown-pragmas -Wno-unused-variable -fmessage-length=0 -DLINUX -DPowerPC -DPPC
 
-- 
1.5.6.5


--3lcZGd9BuhuYXNfi--



------------=_1276801572-12733-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 586254-close) by bugs.debian.org; 17 Jun 2010 19:04:15 +0000
X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02
	(2008-06-10) on busoni.debian.org
X-Spam-Level: 
X-Spam-Bayes: score:0.0000 Tokens: new, 134; hammy, 151; neutral, 152; spammy,
	0. spammytokens: hammytokens:0.000-+--HX-Debian:DAK,
	0.000-+--H*RU:128.148.34.103, 0.000-+--H*rp:D*ftp-master.debian.org,
	0.000-+--HX-DAK:process-upload, 0.000-+--UD:diff.gz
X-Spam-Status: No, score=-12.3 required=4.0 tests=AWL,BAYES_00,FROMDEVELOPER,
	FVGT_m_MULTI_ODD,HAS_BUG_NUMBER,IMPRONONCABLE_1,IMPRONONCABLE_2,
	MURPHY_DRUGS_REL8,MURPHY_WRONG_WORD1,MURPHY_WRONG_WORD2,PGPSIGNATURE
	autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02
Return-path: <envelope at ftp-master.debian.org>
Received: from ries.debian.org ([128.148.34.103])
	from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=ries.debian.org,EMAIL=hostmaster at ries.debian.org (verified)
	by busoni.debian.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.69)
	(envelope-from <envelope at ftp-master.debian.org>)
	id 1OPKNr-00033k-6l
	for 586254-close at bugs.debian.org; Thu, 17 Jun 2010 19:04:15 +0000
Received: from dak by ries.debian.org with local (Exim 4.69)
	(envelope-from <envelope at ftp-master.debian.org>)
	id 1OPKNp-00027c-6E; Thu, 17 Jun 2010 19:04:13 +0000
From: Damyan Ivanov <dmn at debian.org>
To: 586254-close at bugs.debian.org
X-DAK: dak process-upload
X-Debian: DAK
X-Debian-Package: firebird2.5
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Subject: Bug#586254: fixed in firebird2.5 2.5.0.25920~ReleaseCandidate2.ds2-8
Message-Id: <E1OPKNp-00027c-6E at ries.debian.org>
Sender: Archive Administrator <dak at ries.debian.org>
Date: Thu, 17 Jun 2010 19:04:13 +0000

Source: firebird2.5
Source-Version: 2.5.0.25920~ReleaseCandidate2.ds2-8

We believe that the bug you reported is fixed in the latest version of
firebird2.5, which is due to be installed in the Debian FTP archive:

firebird2.5-classic-common_2.5.0.25920~ReleaseCandidate2.ds2-8_amd64.deb
  to main/f/firebird2.5/firebird2.5-classic-common_2.5.0.25920~ReleaseCandidate2.ds2-8_amd64.deb
firebird2.5-classic_2.5.0.25920~ReleaseCandidate2.ds2-8_amd64.deb
  to main/f/firebird2.5/firebird2.5-classic_2.5.0.25920~ReleaseCandidate2.ds2-8_amd64.deb
firebird2.5-common-doc_2.5.0.25920~ReleaseCandidate2.ds2-8_all.deb
  to main/f/firebird2.5/firebird2.5-common-doc_2.5.0.25920~ReleaseCandidate2.ds2-8_all.deb
firebird2.5-common_2.5.0.25920~ReleaseCandidate2.ds2-8_amd64.deb
  to main/f/firebird2.5/firebird2.5-common_2.5.0.25920~ReleaseCandidate2.ds2-8_amd64.deb
firebird2.5-dev_2.5.0.25920~ReleaseCandidate2.ds2-8_all.deb
  to main/f/firebird2.5/firebird2.5-dev_2.5.0.25920~ReleaseCandidate2.ds2-8_all.deb
firebird2.5-doc_2.5.0.25920~ReleaseCandidate2.ds2-8_all.deb
  to main/f/firebird2.5/firebird2.5-doc_2.5.0.25920~ReleaseCandidate2.ds2-8_all.deb
firebird2.5-examples_2.5.0.25920~ReleaseCandidate2.ds2-8_all.deb
  to main/f/firebird2.5/firebird2.5-examples_2.5.0.25920~ReleaseCandidate2.ds2-8_all.deb
firebird2.5-server-common_2.5.0.25920~ReleaseCandidate2.ds2-8_amd64.deb
  to main/f/firebird2.5/firebird2.5-server-common_2.5.0.25920~ReleaseCandidate2.ds2-8_amd64.deb
firebird2.5-super_2.5.0.25920~ReleaseCandidate2.ds2-8_amd64.deb
  to main/f/firebird2.5/firebird2.5-super_2.5.0.25920~ReleaseCandidate2.ds2-8_amd64.deb
firebird2.5-superclassic_2.5.0.25920~ReleaseCandidate2.ds2-8_amd64.deb
  to main/f/firebird2.5/firebird2.5-superclassic_2.5.0.25920~ReleaseCandidate2.ds2-8_amd64.deb
firebird2.5_2.5.0.25920~ReleaseCandidate2.ds2-8.diff.gz
  to main/f/firebird2.5/firebird2.5_2.5.0.25920~ReleaseCandidate2.ds2-8.diff.gz
firebird2.5_2.5.0.25920~ReleaseCandidate2.ds2-8.dsc
  to main/f/firebird2.5/firebird2.5_2.5.0.25920~ReleaseCandidate2.ds2-8.dsc
libfbclient2_2.5.0.25920~ReleaseCandidate2.ds2-8_amd64.deb
  to main/f/firebird2.5/libfbclient2_2.5.0.25920~ReleaseCandidate2.ds2-8_amd64.deb
libfbembed2.5_2.5.0.25920~ReleaseCandidate2.ds2-8_amd64.deb
  to main/f/firebird2.5/libfbembed2.5_2.5.0.25920~ReleaseCandidate2.ds2-8_amd64.deb
libib-util_2.5.0.25920~ReleaseCandidate2.ds2-8_amd64.deb
  to main/f/firebird2.5/libib-util_2.5.0.25920~ReleaseCandidate2.ds2-8_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 586254 at bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Damyan Ivanov <dmn at debian.org> (supplier of updated firebird2.5 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster at debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 17 Jun 2010 21:34:06 +0300
Source: firebird2.5
Binary: firebird2.5-super firebird2.5-classic firebird2.5-superclassic libfbclient2 libfbembed2.5 libib-util firebird2.5-common firebird2.5-server-common firebird2.5-classic-common firebird2.5-dev firebird2.5-examples firebird2.5-doc firebird2.5-common-doc
Architecture: source all amd64
Version: 2.5.0.25920~ReleaseCandidate2.ds2-8
Distribution: unstable
Urgency: low
Maintainer: Debian Firebird Group <pkg-firebird-general at lists.alioth.debian.org>
Changed-By: Damyan Ivanov <dmn at debian.org>
Description: 
 firebird2.5-classic - Firebird Classic Server - an RDBMS based on InterBase 6.0 code
 firebird2.5-classic-common - common files for firebird 2.5 "classic" and "superclassic" server
 firebird2.5-common - common files for firebird 2.5 servers and clients
 firebird2.5-common-doc - copyright, licnesing and changelogs of firebird2.5
 firebird2.5-dev - Development files for Firebird - an RDBMS based on InterBase 6.0
 firebird2.5-doc - Documentation files for firebird database version 2.5
 firebird2.5-examples - Examples for Firebird - an RDBMS based on InterBase 6.0 code
 firebird2.5-server-common - common files for firebird 2.5 servers
 firebird2.5-super - Firebird Super Server - an RDBMS based on InterBase 6.0 code
 firebird2.5-superclassic - Firebird SupecClassic Server - an RDBMS based on InterBase 6.0 co
 libfbclient2 - Firebird client library
 libfbembed2.5 - Firebird embedded client/server library
 libib-util - Firebird UDF support library
Closes: 586254
Changes: 
 firebird2.5 (2.5.0.25920~ReleaseCandidate2.ds2-8) unstable; urgency=low
 .
   * add a patch fixing miscompilation on powerpcspe
     Thanks to Sebastian Andrzej Siewior (Closes: #586254)
Checksums-Sha1: 
 9b89f46ab7c2037cec9a773571a1ca1be6c8e53b 2525 firebird2.5_2.5.0.25920~ReleaseCandidate2.ds2-8.dsc
 0d68a68222624305cf4cfa8ee13d16490ae0e673 139993 firebird2.5_2.5.0.25920~ReleaseCandidate2.ds2-8.diff.gz
 ecf7faf103907a710a4574e47df2e44c4b1d3bc7 65358 firebird2.5-dev_2.5.0.25920~ReleaseCandidate2.ds2-8_all.deb
 f2f24cb905083b870ae4acf4b618dde89ed4685c 167786 firebird2.5-examples_2.5.0.25920~ReleaseCandidate2.ds2-8_all.deb
 0f749e0035fad5e03498f0054cd6de06586282a4 173684 firebird2.5-doc_2.5.0.25920~ReleaseCandidate2.ds2-8_all.deb
 d337b4cfb077a2dd41411660c9ab1d3b0faf23d7 624628 firebird2.5-common-doc_2.5.0.25920~ReleaseCandidate2.ds2-8_all.deb
 9bf8cd07b61c7f6e3d4ec70241513d53fa10643f 3488908 firebird2.5-super_2.5.0.25920~ReleaseCandidate2.ds2-8_amd64.deb
 2ebe3b3e94c1e263139b50afe89d151a610a2cbd 33326 firebird2.5-classic_2.5.0.25920~ReleaseCandidate2.ds2-8_amd64.deb
 bdfcde3336286ffb488c4c94a4c316302dc013c1 212794 firebird2.5-superclassic_2.5.0.25920~ReleaseCandidate2.ds2-8_amd64.deb
 7c9e6c4562157f8b3733df24d69eaaa3dd38c997 337012 libfbclient2_2.5.0.25920~ReleaseCandidate2.ds2-8_amd64.deb
 1c6a6940f0c88c333830bf4ddcb93176a36b8e68 1900488 libfbembed2.5_2.5.0.25920~ReleaseCandidate2.ds2-8_amd64.deb
 a0ddeaf2cdedf1fc6c67e63a202350785c914a8e 3864 libib-util_2.5.0.25920~ReleaseCandidate2.ds2-8_amd64.deb
 ed394e6f9c4acf07d28b23b842e89e846413a8d1 492320 firebird2.5-common_2.5.0.25920~ReleaseCandidate2.ds2-8_amd64.deb
 6abb4d639127a587704307f9d1c57b2b70916bb7 407854 firebird2.5-server-common_2.5.0.25920~ReleaseCandidate2.ds2-8_amd64.deb
 154d660ebed3335a5744a4411b7a39858b7cba76 1564434 firebird2.5-classic-common_2.5.0.25920~ReleaseCandidate2.ds2-8_amd64.deb
Checksums-Sha256: 
 074a63d782c4553e6484d54687e64edcc6f1ec5d4668cbbf192b665cfdbfc032 2525 firebird2.5_2.5.0.25920~ReleaseCandidate2.ds2-8.dsc
 93563fb5a03e5e0fb9ea5604aee746b93803b2b2be8e0873fbb2e0e8d2f97291 139993 firebird2.5_2.5.0.25920~ReleaseCandidate2.ds2-8.diff.gz
 40801eca2f852b82e1f4bc02bbff1058b76cf154a69316abc736ae61dab22d4b 65358 firebird2.5-dev_2.5.0.25920~ReleaseCandidate2.ds2-8_all.deb
 7499d49f142384a2a3c0d164397ca5ec93c2f68a12caea0470a83d26a866ac27 167786 firebird2.5-examples_2.5.0.25920~ReleaseCandidate2.ds2-8_all.deb
 200a2eab9324e87d6053d5c679ffbc50035caf17496b15319bda81320181e21b 173684 firebird2.5-doc_2.5.0.25920~ReleaseCandidate2.ds2-8_all.deb
 79b1538dd459f402a553411ea2fa6ed56fd9ebaad793b1ba631a0cdf81ed3802 624628 firebird2.5-common-doc_2.5.0.25920~ReleaseCandidate2.ds2-8_all.deb
 364266ce64b4e52f3283105a731ce3bdc68bb15dad397f7a5e471412d7a13f83 3488908 firebird2.5-super_2.5.0.25920~ReleaseCandidate2.ds2-8_amd64.deb
 7ed4c36995cf7115d2ebba9b354b41f38368d5660727d12ab1ae5e182658766f 33326 firebird2.5-classic_2.5.0.25920~ReleaseCandidate2.ds2-8_amd64.deb
 89d44bfc58b35500fbfaf0520be5417ad6590222d8732209ddbd97da3a76ea45 212794 firebird2.5-superclassic_2.5.0.25920~ReleaseCandidate2.ds2-8_amd64.deb
 41d188b780a714e4861bbcf71f243117bf742bd8dcdf863aad30109269179e2d 337012 libfbclient2_2.5.0.25920~ReleaseCandidate2.ds2-8_amd64.deb
 b7d727fb7bcec67bb7bacb5b21aefa19d41cf0bf18651c414d53f5fdcab13a31 1900488 libfbembed2.5_2.5.0.25920~ReleaseCandidate2.ds2-8_amd64.deb
 a1ca8d82563a25eeb9f14cab6037faf6ac8629ad88ebbce339bc800591392de5 3864 libib-util_2.5.0.25920~ReleaseCandidate2.ds2-8_amd64.deb
 c9bbbba3ab16bd058efc048c2ba46089a62de9a6126ac361a2ecd1ad5f6d92b9 492320 firebird2.5-common_2.5.0.25920~ReleaseCandidate2.ds2-8_amd64.deb
 4a407f2c0078113eac080d3b5addb6a02a4a009587505c1deefce91585f6b2a1 407854 firebird2.5-server-common_2.5.0.25920~ReleaseCandidate2.ds2-8_amd64.deb
 5975ca2bb8bca97755690ba828756c050661c60b8cbdf9df0d4344b913ee1d68 1564434 firebird2.5-classic-common_2.5.0.25920~ReleaseCandidate2.ds2-8_amd64.deb
Files: 
 f489a2af97aa6978b8021eac42523701 2525 database optional firebird2.5_2.5.0.25920~ReleaseCandidate2.ds2-8.dsc
 39e2d4f7c13b596dff9d437a46e97ec0 139993 database optional firebird2.5_2.5.0.25920~ReleaseCandidate2.ds2-8.diff.gz
 2c830ff8228696ca86e7f234f9271d0f 65358 libdevel optional firebird2.5-dev_2.5.0.25920~ReleaseCandidate2.ds2-8_all.deb
 d26f6b9742848b966586baca84abdc8a 167786 doc optional firebird2.5-examples_2.5.0.25920~ReleaseCandidate2.ds2-8_all.deb
 486bf9fd3fc5cafdb22dbcaa49565419 173684 doc optional firebird2.5-doc_2.5.0.25920~ReleaseCandidate2.ds2-8_all.deb
 7240520c9680a94eba76550d6044a387 624628 doc optional firebird2.5-common-doc_2.5.0.25920~ReleaseCandidate2.ds2-8_all.deb
 97805f0786cf4fd818f917f2ce3c9f7c 3488908 database optional firebird2.5-super_2.5.0.25920~ReleaseCandidate2.ds2-8_amd64.deb
 78508c82429cf38eb544861e477c276d 33326 database optional firebird2.5-classic_2.5.0.25920~ReleaseCandidate2.ds2-8_amd64.deb
 861afee4a6a301ef824420cf33630c7d 212794 database optional firebird2.5-superclassic_2.5.0.25920~ReleaseCandidate2.ds2-8_amd64.deb
 476fd5c0d1e272bdf92b585e36e519fa 337012 libs optional libfbclient2_2.5.0.25920~ReleaseCandidate2.ds2-8_amd64.deb
 79ea3375775b0b78a0b16a4872b03447 1900488 libs optional libfbembed2.5_2.5.0.25920~ReleaseCandidate2.ds2-8_amd64.deb
 e80ee52c0957fa2162ad34be9f09c7da 3864 libs optional libib-util_2.5.0.25920~ReleaseCandidate2.ds2-8_amd64.deb
 7114e6a13d15c616bb9a7a72a667ef09 492320 database optional firebird2.5-common_2.5.0.25920~ReleaseCandidate2.ds2-8_amd64.deb
 333d499dcb5c642849572355207bf1f5 407854 database optional firebird2.5-server-common_2.5.0.25920~ReleaseCandidate2.ds2-8_amd64.deb
 82986abed7497af85cb3ae52789c8121 1564434 database optional firebird2.5-classic-common_2.5.0.25920~ReleaseCandidate2.ds2-8_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIcBAEBCAAGBQJMGm3nAAoJEOQbTFV/DYC+boUQAJP3oY8qwi4a7/a3a04o3ZT/
Re1q4rrWU5F35pqexWll80LdK391vXmVbpH5xJ1EH6WHsYlFkgbPB1OxoLJHTEao
NC/jad7aotm8npEQhjB4XzxOMpLvQdRZ+8AKsuY4bER458Ho18BRlSCHptZfRTSj
vvOCiUtKM9GzMa+2w/LT0aW0X9mr+vybAlE2v9Elfls/htVkwll4p7iS6L6VocJz
TSX6ipEtmzZTio2IW5gHjbKcwd7VG+MsE12wWQTiCHZyD7ySst8cqFxoh3r750op
7mooNPtqVSNxVk+9rBNnkb1vFj0r0WDPzYfdZcmdlkbwXtot49WLGhHwWcYotYTf
GdSEQXYRBeiutzsit4CR1z3oZM447dKVHmYwpq3Uh48l+Sirn7YqRUYI6lC5tG6l
jprISvBMW8whC6mUsSWD+hGa7Yf9usPosVswyyyxUrcf691mZZyox3/99iaJvlBG
qhYm5oNXMCTlthq28ANZEdbABu9emJQGRc9u6kRGYUSCE2q5S8rAET/WpedaC/xN
Q/WMsda7/MP2wuHKFgv4hJ3IsmLVo+OcJj9MJyFhSHDXJNwLd1f3sfB/YkcWTxIr
TAH6RH2u3Gdte7thbXcvJTZIQ6T3AhdUMNKTq8bKMYpd5jniqYkYVOg1eIAhQM2r
PoAo7kA5mxNEg7TRZyFS
=nxMc
-----END PGP SIGNATURE-----



------------=_1276801572-12733-0--



More information about the pkg-firebird-general mailing list