Bug#147500: [pkg-firebird-general] Bug#147500: firebird2 on sparc
Daniel Smolik
marvin at mydatex.cz
Sun Mar 4 20:44:00 CET 2007
Emanuele Rocca napsal(a):
> Hello,
>
> * Damyan Ivanov <dam at modsoftsys.com>, [2006-09-15 9:15 +0300]:
>
>> Clint Adams -- 15.09.2006 07:50 --:
>> > debian/patches/fix-mcpu-to-mtune.dpatch changes -mcpu=ultrasparc to
>> > -march=ultrasparc.
>> >
>> > This is invalid and should be dropped altogether.
>>
>> Thank you for your interest for building firebird2 on sparc.
>>
>> The above patch snipplet was modelled around the changes for
>> i386/amd64 and sort of blindly applied to sparc too. This is now
>> removed in the pkg-firebird svn repository.
>>
>> Does firebird2 packages build on sparc after this change? If yes, I'll
>> be glad to initiate an upload that adds sparc to the list of supported
>> architectures.
>
>
> Now firebird builds correctly on sparc:
> http://people.debian.org/~ema/firebird2_1.5.3.4870-12_sparc.build
>
> What I did was just dropping the -march=ultrasparc patch and adding
> sparc to the list of supported architectures (see attached patch).
>
> ciao,
> ema
Hello,
I am interseted to build firebird on Sparc too. But with attached patch
I haven't success. I mean that gcc options -march=ultrasparc etc. mus
be completly disabled to property build on SPARC. But this patch don't
do this for me. I do:
dpkg-source -x firebird2_1.5.3.4870-12.dsc
dpkg-source: warning: extracting unsigned source package
(./firebird2_1.5.3.4870-12.dsc)
dpkg-source: extracting firebird2 in firebird2-1.5.3.4870
dpkg-source: unpacking firebird2_1.5.3.4870.orig.tar.gz
dpkg-source: applying ./firebird2_1.5.3.4870-12.diff.gz
patch -p1 < /home/marvin/firebird.patch
But this says something abou reversly patch applied etc.
If I by hand edit
builds/posix/prefix.linux_sparc32
# you may remove it if engine is getting compiled with any other GCC
version
PROD_FLAGS=-m32 -O3 -DNDEBUG -DLINUX -pipe -MMD -fPIC -Dsparc
DEV_FLAGS=-ggdb -m32 -DLINUX -DDEBUG_GDS_ALLOC -pipe -MMD -p -fPIC -Wall
-Wno-switch -Dsparc
Now looks like this. And compilation starts and run.
Any sugestions ?
Thanks
Dan
More information about the pkg-firebird-general
mailing list