[pkg-firebird-general] Bug#412356: firebird1.5_1.5.4.4910rc1+20070131-2(experimental/hppa/swawa): Tries to use -march=i586 on hppa

Damyan Ivanov dam at modsoftsys.com
Tue Feb 27 12:18:36 CET 2007


severity 412356 whishlist
tags 412356 wontfix -experimental
retitle 412356 firebird1.5 should support more architectures
thanks

Hi, Marc,

(this explanation became rather long. In short, hppa is not a target
architecture for firebird1.5 but thanks for caring anyway)

-=| Marc 'HE' Brockschmidt, 26.02.2007 02:21 |=-
> This looks like a seriously broken Makefile:
> 
> | ./configure --build hppa-linux-gnu --disable-static --disable-rpath --enable-superserver --prefix=/usr/lib/firebird/1.5
> | checking whether make sets $(MAKE)... yes
> | checking build system type... hppa-unknown-linux-gnu
> | checking host system type... hppa-unknown-linux-gnu
> | checking target system type... hppa-unknown-linux-gnu
> [...]
> | make[4]: Entering directory `/build/buildd/firebird1.5-1.5.4.4910rc1+20070131/src'
> | g++ -DTERMINATE_IDLE_LOCK_MANAGER -DTERMINATE_IDLE_LOCK_MANAGER -I../src/include/gen -I../src/include -ggdb -O3 -march=i586 -mtune=i686 -fno-omit-frame-pointer -fno-builtin -DNDEBUG -DLINUX -pipe -MMD -fPIC  -DPROD_BUILD -DTERMINATE_IDLE_LOCK_MANAGER -I../src/include/gen -I../src/include -ggdb -O3 -march=i586 -mtune=i686 -fno-omit-frame-pointer -fno-builtin -DNDEBUG -DLINUX -pipe -MMD -fPIC  -DPROD_BUILD -I../src/include/gen -I../src/include -ggdb -O3 -march=i586 -mtune=i686 -fno-omit-frame-pointer -fno-builtin -DNDEBUG -DLINUX -pipe -MMD -fPIC  -DPROD_BUILD -DTERMINATE_IDLE_LOCK_MANAGER -I../src/include/gen -I../src/include -ggdb -O3 -march=i586 -mtune=i686 -fno-omit-frame-pointer -fno-builtin -DNDEBUG -DLINUX -pipe -MMD -fPIC  -DPROD_BUILD -I../src/include/gen -I../src/include -ggdb -O3 -march=i586 -mtune=i686 -fno-omit-frame-pointer -fno-builtin -DNDEBUG -DLINUX -pipe -MMD -fPIC  -DPROD_BUILD -I../src/include/gen -I../src/include -ggdb -O3 -march=i586 -mtune=i686 -fno-
omit-frame-pointer -fno-builtin -DNDEBUG -DLINUX -pipe -MMD -fPIC  -DPROD_BUILD -c ../src/common/classes/alloc.cpp -o ../temp/libfbcommon/common/classes/alloc.o
> | cc1plus: error: unrecognized command line option "-march=i586"
> 
> A complete build log can be found at
> http://experimental.debian.net/build.php?arch=hppa&pkg=firebird1.5&ver=1.5.4.4910rc1+20070131-2

Actually, firebird1.5 (old package name firebird2) is supported by
upstream on very few architectures - i386, sparc32, amd64 (with
reservations) and k(free|net)bsd (with even more reservations).

Porting firebird1.5 to any new architecture is not practical due to
two reasons:

1) 1.5 is a dead branch. All new development is done for 2.x and this
includes porting to new architectures. The sole idea of firebird1.5
debian packages is to continue support for large, legacy applications
that can't (yet) be moved on firebrid2.0[1]

2) Firebird uses a unique number for each architecture it supports.
This is called "implementation id" internally and is stored in each
created database. This is a way to tell the server if compatible
architecture was used to create the database and is it safe to
operate. Implementation IDs are assigned sequentially upstream, first
in CVS HEAD, then in any actively developed branch (2.x now).

  [1] Whether this can happen before Lenny is yet to be seen. I'd be
the first to throw away the 1.5 packages and provide only 2.x ones
when 1.5 is no longer used/needed.

So porting firebird1.5 to new architecture, although not that hard,
would involve first porting CVS HEAD, assigning Implementation ID and
making the needed changes in the build process, then backporting the
changes to firebird1.5. Considering that firebird never run on the
architecture, it is much better to start with recent version (2.x),
instead of all the hassle of supporting 1.5, without upstream caring.



	dam
-- 
Damyan Ivanov                           Modular Software Systems
phone +359(2)928-2611, 929-3993              fax +359(2)920-0994
mobile +359(88)856-6067              JID dam at jabber.minus273.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-firebird-general/attachments/20070227/ec55b6d3/signature.pgp


More information about the pkg-firebird-general mailing list