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

Sebastian Andrzej Siewior bigeasy at linutronix.de
Thu Jun 17 17:10:58 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 8e16f38..085ed03 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 -DVIO_DEBUG -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.6.6.1


--ikeVEW9yuYc//A+q--



------------=_1276812365-3968-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 586253-close) by bugs.debian.org; 17 Jun 2010 22:03:01 +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, 157; hammy, 151; neutral, 146; 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=-11.4 required=4.0 tests=AWL,BAYES_00,FROMDEVELOPER,
	FUZZY_XPILL,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 1OPNAr-0000gX-JB
	for 586253-close at bugs.debian.org; Thu, 17 Jun 2010 22:03:01 +0000
Received: from dak by ries.debian.org with local (Exim 4.69)
	(envelope-from <envelope at ftp-master.debian.org>)
	id 1OPNAp-000705-Ai; Thu, 17 Jun 2010 22:02:59 +0000
From: Damyan Ivanov <dmn at debian.org>
To: 586253-close at bugs.debian.org
X-DAK: dak process-upload
X-Debian: DAK
X-Debian-Package: firebird2.1
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Subject: Bug#586253: fixed in firebird2.1 2.1.3.18185-0.ds1-9
Message-Id: <E1OPNAp-000705-Ai at ries.debian.org>
Sender: Archive Administrator <dak at ries.debian.org>
Date: Thu, 17 Jun 2010 22:02:59 +0000

Source: firebird2.1
Source-Version: 2.1.3.18185-0.ds1-9

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

firebird2.1-classic_2.1.3.18185-0.ds1-9_amd64.deb
  to main/f/firebird2.1/firebird2.1-classic_2.1.3.18185-0.ds1-9_amd64.deb
firebird2.1-common-doc_2.1.3.18185-0.ds1-9_all.deb
  to main/f/firebird2.1/firebird2.1-common-doc_2.1.3.18185-0.ds1-9_all.deb
firebird2.1-common_2.1.3.18185-0.ds1-9_amd64.deb
  to main/f/firebird2.1/firebird2.1-common_2.1.3.18185-0.ds1-9_amd64.deb
firebird2.1-dev_2.1.3.18185-0.ds1-9_all.deb
  to main/f/firebird2.1/firebird2.1-dev_2.1.3.18185-0.ds1-9_all.deb
firebird2.1-doc_2.1.3.18185-0.ds1-9_all.deb
  to main/f/firebird2.1/firebird2.1-doc_2.1.3.18185-0.ds1-9_all.deb
firebird2.1-examples_2.1.3.18185-0.ds1-9_all.deb
  to main/f/firebird2.1/firebird2.1-examples_2.1.3.18185-0.ds1-9_all.deb
firebird2.1-server-common_2.1.3.18185-0.ds1-9_amd64.deb
  to main/f/firebird2.1/firebird2.1-server-common_2.1.3.18185-0.ds1-9_amd64.deb
firebird2.1-super_2.1.3.18185-0.ds1-9_amd64.deb
  to main/f/firebird2.1/firebird2.1-super_2.1.3.18185-0.ds1-9_amd64.deb
firebird2.1_2.1.3.18185-0.ds1-9.diff.gz
  to main/f/firebird2.1/firebird2.1_2.1.3.18185-0.ds1-9.diff.gz
firebird2.1_2.1.3.18185-0.ds1-9.dsc
  to main/f/firebird2.1/firebird2.1_2.1.3.18185-0.ds1-9.dsc
libfbembed2.1_2.1.3.18185-0.ds1-9_amd64.deb
  to main/f/firebird2.1/libfbembed2.1_2.1.3.18185-0.ds1-9_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 586253 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.1 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: Fri, 18 Jun 2010 00:25:19 +0300
Source: firebird2.1
Binary: firebird2.1-super firebird2.1-classic libfbembed2.1 firebird2.1-common firebird2.1-server-common firebird2.1-dev firebird2.1-examples firebird2.1-doc firebird2.1-common-doc
Architecture: source all amd64
Version: 2.1.3.18185-0.ds1-9
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.1-classic - Firebird Classic Server - an RDBMS based on InterBase 6.0 code
 firebird2.1-common - common files for firebird 2.1 servers and clients
 firebird2.1-common-doc - copyright, licensing and changelogs of firebird2.1
 firebird2.1-dev - Development files for Firebird - an RDBMS based on InterBase 6.0
 firebird2.1-doc - Documentation files for firebird database version 2.1
 firebird2.1-examples - Examples for Firebird - an RDBMS based on InterBase 6.0 code
 firebird2.1-server-common - common files for firebird 2.1 servers
 firebird2.1-super - Firebird Super Server - an RDBMS based on InterBase 6.0 code
 libfbembed2.1 - Firebird embedded client/server library
Closes: 586253
Changes: 
 firebird2.1 (2.1.3.18185-0.ds1-9) unstable; urgency=low
 .
   * add powerpc-no-mcpu.patch fixing miscompile on powerpcspe Thanks to
     Sebastian Andrzej Siewior (Closes: #586253)
   * override lintian warning about -common-doc being an empty package
   * debconf-updatepo refreshed all .po files
Checksums-Sha1: 
 dd3438ded39e09b661c7840e595a733258a84ba3 2306 firebird2.1_2.1.3.18185-0.ds1-9.dsc
 853c19b67386a8dac9c4dfc3213f183e40282791 117272 firebird2.1_2.1.3.18185-0.ds1-9.diff.gz
 f88bad48fc3be9428cfff8075d176ea072fd5b21 58604 firebird2.1-dev_2.1.3.18185-0.ds1-9_all.deb
 b483558b2b64129eda17a6217edad8be64d1b60a 164498 firebird2.1-examples_2.1.3.18185-0.ds1-9_all.deb
 24371f05b3dd2e0a03fb58a7ff5d8fa2e661e831 974334 firebird2.1-doc_2.1.3.18185-0.ds1-9_all.deb
 89df1bb4b75689b9f210c25f798003893fc7ccca 471016 firebird2.1-common-doc_2.1.3.18185-0.ds1-9_all.deb
 9ab7e345b65d1366de3e4ec59ff9320db5a1b691 2965384 firebird2.1-super_2.1.3.18185-0.ds1-9_amd64.deb
 777a8046e0937f9145e31c567af2ce3406de29d6 1575042 firebird2.1-classic_2.1.3.18185-0.ds1-9_amd64.deb
 0e096b7e836b841878b922ad56f02eb386a6858a 1370066 libfbembed2.1_2.1.3.18185-0.ds1-9_amd64.deb
 7e5a1e58b80701f0350a83019493647bfca86bd8 470770 firebird2.1-common_2.1.3.18185-0.ds1-9_amd64.deb
 7d78b121c8bfbf96d3a5fefcede84010c214f49f 136032 firebird2.1-server-common_2.1.3.18185-0.ds1-9_amd64.deb
Checksums-Sha256: 
 f6ba0483e32b0002a13ec9b717b0531876123ad9ddc8beae3ca03ca611cde80a 2306 firebird2.1_2.1.3.18185-0.ds1-9.dsc
 80b8123969bbad0441b05a1e71a7497ba8e4e90d2a223352a539ad1e11376f01 117272 firebird2.1_2.1.3.18185-0.ds1-9.diff.gz
 ece7675790898dfeaa4d31c6dff9d9e94703d096052d3f40dc30add4f391ea10 58604 firebird2.1-dev_2.1.3.18185-0.ds1-9_all.deb
 617d95ec9bcac1b2b245910412d6316d0b5bfc072d3f18459e9256d1d8b21671 164498 firebird2.1-examples_2.1.3.18185-0.ds1-9_all.deb
 46ecb90b301a359bc1c7e53c1dd5b9084e5267ff897dc1c51b477dd60f3d95c8 974334 firebird2.1-doc_2.1.3.18185-0.ds1-9_all.deb
 e8e180533dac82bc9402464db9835e175879b34c1833667b4896f8382c3c3abc 471016 firebird2.1-common-doc_2.1.3.18185-0.ds1-9_all.deb
 c5219168282f96cbdcc59fa9fbc6fb7aeff1990fccbe03011063f4374b59d4ec 2965384 firebird2.1-super_2.1.3.18185-0.ds1-9_amd64.deb
 bb8706ea0ea762508d3bd16cd8103328e55d1579f8e9f75c4dd33500fc1de3cc 1575042 firebird2.1-classic_2.1.3.18185-0.ds1-9_amd64.deb
 0bf077c6dad8e39c24e3fbde36d8f197888874c0857a897d926087f6dd14703a 1370066 libfbembed2.1_2.1.3.18185-0.ds1-9_amd64.deb
 13989e7b18bd275f23cae5fdd8c5dacea38bda9773a781fa92b0b846f0a67821 470770 firebird2.1-common_2.1.3.18185-0.ds1-9_amd64.deb
 9d3330aa943c1cb5dc9236fc0568388b6529ac4ab01a2a7128a26566008fb5e6 136032 firebird2.1-server-common_2.1.3.18185-0.ds1-9_amd64.deb
Files: 
 8d4d84deb1b89053daffbe249fc0ea9d 2306 database optional firebird2.1_2.1.3.18185-0.ds1-9.dsc
 c53662600adf8950a5a61eee5204404d 117272 database optional firebird2.1_2.1.3.18185-0.ds1-9.diff.gz
 64a69fd3f11e5e8b2fa5844c59d32fa1 58604 libdevel optional firebird2.1-dev_2.1.3.18185-0.ds1-9_all.deb
 f592f50a9fda5485b37b47a30e68ae17 164498 doc optional firebird2.1-examples_2.1.3.18185-0.ds1-9_all.deb
 1e2c3017e87a1b30d53693051a197c5f 974334 doc optional firebird2.1-doc_2.1.3.18185-0.ds1-9_all.deb
 e0b596d73b9593eed0afcbf3a040f664 471016 doc optional firebird2.1-common-doc_2.1.3.18185-0.ds1-9_all.deb
 0f8254fe1ddf3362c596f52e7643cc55 2965384 database optional firebird2.1-super_2.1.3.18185-0.ds1-9_amd64.deb
 bb916ef35c0bed5af2e605c2d6d9cbe1 1575042 database optional firebird2.1-classic_2.1.3.18185-0.ds1-9_amd64.deb
 af0a2c1f845c3f3cc54b83c4aa001cfc 1370066 libs optional libfbembed2.1_2.1.3.18185-0.ds1-9_amd64.deb
 e674c11b63261ad148a410e84a4c6ee2 470770 database optional firebird2.1-common_2.1.3.18185-0.ds1-9_amd64.deb
 9bea8d2f77f7ef7dc2a61659b9e9f7b5 136032 database optional firebird2.1-server-common_2.1.3.18185-0.ds1-9_amd64.deb

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

iQIcBAEBCAAGBQJMGpeeAAoJEOQbTFV/DYC+8O4P/inzVmajO/M9DqN8MEtRmvwI
J37Fc/iANeqKl7ZtOWGhjlSmcekoxpKSWPxiIL8X3BP6EdQkBVe/SQhE4z44+7I+
CUcu4VLvGsOdYdzr1Y49k5Y5PavTvofiFnyV4LWrTQPC/wQ1YNeoqglh/Gqr4HA7
0XCeDaqJwOX8CCVsoB3PLu9iYILbsUmS0+LrKJKkmZ2eIQA1PVnT8Kep3+lYYjfX
dgcTPqN3vdsmv3i4adPVyIrhBa8WnUWQHPb0ejy948ibhYtJJJhmN0Wm9OYSL1aE
B3aCeh1aWxbOhP9tRiPqJyvLV5MLY8A8/GSX6F2aw8zLiWTuKBg565DmzcCzGtTP
ojFVuxIVmWD3JCnHSsi7d7IM2DtPOoZNpsAalu4KL+D5lB1aM8IAX9yHayURC1zX
LhXkYcEeHVVpeiIAHKTXvi4gZ2zI47FwI63Mni0IrMak+WKMVneVFYTTYW95TZFa
BqZIXTYVUt1sGfPqbf9NMhnDRZCwn55cJa9NIAjHSaAyQjEUFZ5tme9ulxAgnoXZ
CQfqxEchjzUg1ujiBoulO+r+vzjsjmk+TNyjmFc3RDBe7vHqXOY3RYyqiEHAclMV
RWkgrXD4TST/BNKpSbOvFs4f4E2lIFc5ef4g1KZzbjtTGXl8VP2FJRW+humgo7sE
/CeUWVogm+S6UFSvrLNF
=+c+p
-----END PGP SIGNATURE-----



------------=_1276812365-3968-0--



More information about the pkg-firebird-general mailing list