[pkg-firebird-general] Bug#545925: Bug#545925: Bug#545925: firebird2.1: FTFBS on sh4

Damyan Ivanov dmn at debian.org
Thu Sep 10 13:36:14 UTC 2009


-=| Damyan Ivanov, Thu, Sep 10, 2009 at 09:47:12AM +0300 |=-
> The patch needs to go into upstream first, so that the 
> implementation IDs don't change later when they release sh4 support, 
> causing incompatibilities between databases created with Deiban 
> package/upstream and upstream/Debian engine.
> 
> If you want to take this upstream yourself, you need to send 
> a bugreport using their bugtracker[1], attaching a patch to CVS 
> HEAD[2] (sending me the link so that I can track it would be nice). If 
> not, I'll deal with this somwehere in the future.
> 
>     [1] http://tracker.firebirdsql.org/
>     [2] http://sourceforge.net/scm/?type=cvs&group_id=9028

I have prepared a patch to upstream CVS head. The only missing piece 
of information is the alignment rules of sh4. Are there such rules? 
For example, may a long long int pointer reside on odd address or not?

On x86-based hardware unaligned access is ok, but on sparc it is not.

I am attaching a program that I use to check various hardware details, 
like pointer size and such. It is compiled with simple "g++ 
archtests.cpp -o archtests". If it runs fine on sh4, then unaligned 
access is OK. If you get bus error or similar, unaligned access is 
prohibited.

Thanks again.

-- 
dam
-------------- next part --------------
A non-text attachment was scrubbed...
Name: archtests.cpp
Type: text/x-c++src
Size: 3318 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-firebird-general/attachments/20090910/f9411ae8/attachment.cpp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-firebird-general/attachments/20090910/f9411ae8/attachment.pgp>


More information about the pkg-firebird-general mailing list