← Back to team overview

pbxt-discuss team mailing list archive

Re: Compile failure on OS

 

Hi Sergey,

As Vlad mentioned the problem must be Mac OS X on PowerPC. We actually do not support that at the moment.

Otherwise, Mac OS X is my primary development environment, so is one of our best supported platforms (on x86 based Macs).

We will need find an alternative for the atomic ops on PPC...

On Aug 21, 2009, at 3:58 PM, Sergey Petrunya wrote:

Hi!

We're getting a compile error when trying to compile PBXT+Maria on ppc MacOS X:

http://askmonty.org/buildbot/builders/macosx-g5-dbg/builds/12/steps/compile/logs/stdio

looking at the bottom there, one sees:

if ccache gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../ include -I../../../include -I../../../regex -I../../../storage/innobase/ include -I../../../sql -I. -g -Wimplicit -Wreturn-type -Wswitch - Wtrigraphs
 -Wcomment -W -Wchar-subscripts -Wformat -Wparentheses -Wsign-compare
 -Wwrite-strings -Wunused-function -Wunused-label -Wunused-value
 -Wunused-variable -Wreorder -Wctor-dtor-privacy -Wnon-virtual-dtor
-felide-constructors -fno-exceptions -fno-rtti - DUNIV_MUST_NOT_INLINE -DEXTRA_DEBUG -DFORCE_INIT_OF_VARS -DSAFEMALLOC - DPEDANTIC_SAFEMALLOC -O0
 -g3 -gdwarf-2   -fno-implicit-templates -fno-exceptions -fno-rtti
 -D_P1003_1B_VISIBLE -DSIGNAL_WITH_VIO_CLOSE -DSIGNALS_DONT_BREAK_READ
 -DIGNORE_SIGHUP_SIGQUIT  -DDONT_DECLARE_CXA_PURE_VIRTUAL -MT
libpbxt_a-datalog_xt.o -MD -MP -MF ".deps/libpbxt_a-datalog_xt.Tpo" -c -o libpbxt_a-datalog_xt.o `test -f 'datalog_xt.cc' || echo './'`datalog_xt.cc; \
   then mv -f ".deps/libpbxt_a-datalog_xt.Tpo"
   ".deps/libpbxt_a-datalog_xt.Po"; else rm -f
   ".deps/libpbxt_a-datalog_xt.Tpo"; exit 1; fi
lock_xt.h: In function 'void xt_atomic_inc2(volatile u_int16_t*)':
lock_xt.h:194: error: '__sync_fetch_and_add' was not declared in this scope
lock_xt.h: In function 'void xt_atomic_dec2(volatile u_int16_t*)':
lock_xt.h:209: error: '__sync_fetch_and_sub' was not declared in this scope
lock_xt.h: At global scope:
lock_xt.h:584: warning: 'struct XTRowLockList' only defines private
constructors and has no friends
lock_xt.h:640: warning: 'struct XTRowLocks' only defines private
constructors and has no friends

Is PBXT expected to work on MacOS X G5?

BR
Sergey
--
Sergey Petrunia, Software Developer
Monty Program AB, http://askmonty.org
Blog: http://s.petrunia.net/blog

_______________________________________________
Mailing list: https://launchpad.net/~pbxt-discuss
Post to     : pbxt-discuss@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~pbxt-discuss
More help   : https://help.launchpad.net/ListHelp



--
Paul McCullagh
PrimeBase Technologies
www.primebase.org
www.blobstreaming.org
pbxt.blogspot.com






References