Source: masscan
Version: 1.0.3-90-g2441f18~ds0-1

It failed to build on most architectures:

http://buildd.debian.org/status/package.php?p=masscan&suite=sid

In many cases the error was something like:

/tmp/ccDGfkrV.s: Assembler messages:
/tmp/ccDGfkrV.s:323: Error: unknown mnemonic `lfence' -- `lfence'
/tmp/ccDGfkrV.s:1521: Error: unknown mnemonic `sfence' -- `sfence'

It comes from this code in src/pixie-threads.h:

#if defined(__arm__)
#define rte_wmb() __sync_synchronize()
#define rte_rmb() __sync_synchronize()
#define rte_pause()
#else
#define rte_wmb() asm volatile("sfence;" : : : "memory")
#define rte_rmb() asm volatile("lfence;" : : : "memory")
#define rte_pause()   asm volatile ("pause")
#endif

So it's trying to use the Intel-specific stuff on every Debian
architecture apart from armel and armhf.

You could try changing the condition to something like:

#if !defined(__x86_64__) && !defined(__i386__)


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to