[pkg-firebird-general] Bug#565861: firebird2.5: FTBFS [hppa] - error: 'AO_compare_and_swap_full' was not declared in this scope

Damyan Ivanov dmn at debian.org
Wed Jul 28 08:05:22 UTC 2010


retitle 565861 Please port to hppa ('IMPLEMENTATION' was not declared in this scope)
found 565861 2.5.0.26054~ReleaseCandidate3.ds2-1
severity 565861 wishlist
tags 565861 upstream
thanks

-=| dann frazier, Mon, Jan 18, 2010 at 08:51:29PM -0700 |=-
> g++ -ggdb -O3 -DNDEBUG -DLINUX -pipe -MMD -fPIC 
> -DFB_SEND_FLAGS=MSG_NOSIGNAL -I../src/include/gen -I../src/include 
> -I../src/vulcan -DNAMESPACE=Vulcan -pthread -g -O2   -DBOOT_BUILD  
> -fno-rtti -c ../src/jrd/gds.cpp -o ../temp/boot/jrd/gds.o
> In file included from ../src/include/../common/classes/alloc.h:43,
>                  from ../src/include/../common/classes/fb_string.h:39,
>                  from ../src/jrd/../jrd/os/path_utils.h:31,
>                  from ../src/jrd/gds.cpp:47:
> ../src/include/../common/classes/fb_atomic.h: In member function 'AtomicType Firebird::AtomicCounter::exchangeAdd(AtomicType)':
> ../src/include/../common/classes/fb_atomic.h:469: error: 'AO_compare_and_swap_full' was not declared in this scope
> ../src/include/../common/classes/fb_atomic.h: In member function 'AtomicType Firebird::AtomicCounter::setValue(AtomicType)':
> ../src/include/../common/classes/fb_atomic.h:506: error: 'AO_compare_and_swap_full' was not declared in this scope
> make[4]: *** [../temp/boot/jrd/gds.o] Error 1

Technicaly, this was fixed in 2.5.0.25784~ReleaseCandidate1.ds2-6 by
atomic_ops_require_cas.patch. However, the build fails a bit further:

g++ -ggdb -O3 -DNDEBUG -DLINUX -pipe -MMD -fPIC 
-DFB_SEND_FLAGS=MSG_NOSIGNAL -I../src/include/gen -I../src/include 
-I../src/vulcan -DNAMESPACE=Vulcan -pthread -g -O2   -DBOOT_BUILD  
-fno-rtti -c ../src/jrd/inf.cpp -o ../temp/boot/jrd/inf.o
../src/jrd/inf.cpp: In function 'void INF_database_info(const UCHAR*, 
SSHORT, UCHAR*, SSHORT)':
../src/jrd/inf.cpp:387: error: 'IMPLEMENTATION' was not declared in 
this scope
make[4]: *** [../temp/boot/jrd/inf.o] Error 1

This comes as no surprise, as firebird doesn't yet support linux/hppa 
upstream. The thing is that prior to version 3.0 (in alpha stages) 
firebird requires a special, unique IMPLEMENTATION define for each 
OS+hardware platform.

Retitling (+whishlist/upstream) the bug accordingly.

I'll contact upstream for ideas how to proceed. Not sure if they'd 
want new ports in 2.5 line.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-firebird-general/attachments/20100728/ca3ddeeb/attachment.pgp>


More information about the pkg-firebird-general mailing list