Package: firebird2.5 Version: 2.5.0.25920~ReleaseCandidate2.ds2-7 Severity: wishlist Tags: patch sid User: debian-powerpc...@breakpoint.cc Usertags: powerpcspe
Please add the attached patch so it does not miscompile on powerpcspe [0]. [0] http://wiki.debian.org/PowerPCSPEPort Sebastian
>From 2cad122c740b0d118471c7f9398e5cb1433c6d63 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior <bige...@linutronix.de> Date: Wed, 16 Jun 2010 18:34:49 +0200 Subject: [PATCH] remove -mcpu=powerpc from cflags on powerpc -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 <bige...@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