[zeromq-dev] non-x86 support

Martin Lucina mato at kotelna.sk
Mon Feb 1 14:26:55 CET 2010


avbidder at fortytwo.ch said:
> (Offline right now; the full build report is linked from the Debian bug 
> report at <http://bugs.debian.org/src:zeromq>.  I'll try to build from git 
> on a non-x86 machine later this week, I've seen you have a newer openpgm in 
> git.)

Good catch.

Just confirming this, I tried building the Debian package on an IA64
machine and got this:

../foreign/openpgm/libpgm-2.0.20rc5/openpgm/pgm/time.c:137: warning: ‘tsc_to_ns’ defined but not used
../foreign/openpgm/libpgm-2.0.20rc5/openpgm/pgm/time.c: In function ‘tsc_update’:
../foreign/openpgm/libpgm-2.0.20rc5/openpgm/pgm/time.c:470: error: impossible register constraint in ‘asm’
make[3]: *** [libzmq_la-time.lo] Error 1

Which is indeed the "rdtsc" call.

> Fallback will be to specify --with-openpgm only on x86/x86_64 architectures, 
> but if it's only the TSC  thing I'm sure there is an easy solution.

That would be a shame :-)

Stephen or Malo could you comment on what we need to do to make this build
on non-x86 platforms?

-mato



More information about the zeromq-dev mailing list