Package: firebird2.1 Version: 2.1.3.18185-0.ds1-8 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 08f24f83d6d190fb695415d43675c61e7cb9bd71 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior <bige...@linutronix.de> Date: Thu, 17 Jun 2010 19:10:58 +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 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