[lttng-dev] Compile failure on OSX 10.8

Anand Buddhdev anandb at ripe.net
Fri Jun 21 11:23:40 EDT 2013


Hi people,

I'm trying to compile userspace-rcu 0.7.7 on OSX 10.8.4, and it's
failing. The configure phase completes, but make fails like this:

$ make
make  all-recursive
Making all in .
  CC     wfqueue.lo
  CC     wfstack.lo
  CC     compat_arch_x86.lo
/var/folders/9f/pv25pv1j7k54m9q11sz79w0h0000gn/T//cc2LG2nk.s:44:suffix
or operands invalid for `pushf'
/var/folders/9f/pv25pv1j7k54m9q11sz79w0h0000gn/T//cc2LG2nk.s:44:suffix
or operands invalid for `pop'
/var/folders/9f/pv25pv1j7k54m9q11sz79w0h0000gn/T//cc2LG2nk.s:55:suffix
or operands invalid for `push'
/var/folders/9f/pv25pv1j7k54m9q11sz79w0h0000gn/T//cc2LG2nk.s:55:suffix
or operands invalid for `popf'
/var/folders/9f/pv25pv1j7k54m9q11sz79w0h0000gn/T//cc2LG2nk.s:60:suffix
or operands invalid for `pushf'
/var/folders/9f/pv25pv1j7k54m9q11sz79w0h0000gn/T//cc2LG2nk.s:60:suffix
or operands invalid for `pop'
/var/folders/9f/pv25pv1j7k54m9q11sz79w0h0000gn/T//cc2LG2nk.s:65:suffix
or operands invalid for `push'
/var/folders/9f/pv25pv1j7k54m9q11sz79w0h0000gn/T//cc2LG2nk.s:65:suffix
or operands invalid for `popf'
make[2]: *** [compat_arch_x86.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

CC is just gcc, which is:

$ gcc --version
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build
5658) (LLVM build 2336.11.00)

Anyone know what the problem is, and how to fix it?

Regards,

Anand



More information about the lttng-dev mailing list