Skip to contentSkip to conversation

Compile failure on OSX 10.8

DISCUSSION Christian Babeux 3 participants 7 messages Jun 21, 2013 – Jul 8, 2013 7 messages not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

Hi Anand,

You might have to pass an additional host flag to configure e.g.:

./configure --host=i686-apple-darwin11

If I remember correctly, the compiler on OSX was compiled to run on a 64-bit platform but _only_ produce 32-bit binaries. Our configure script wrongly detect an x86-64 host, so you need to force it to use i686.

Could you post the output of your config.log?

Thanks,

Christian

Quoted 47 lines · Anand Buddhdev

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

_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

#3 lore raw
In reply to a message not in the archive

Hi Christian,

OSX 10.8 *is* 64-bit. I often compile other stuff on it, and the compiler happily produces 64-bit binaries, for example:

$ file ~/Homebrew/Cellar/mutt/1.5.21/bin/mutt
/Users/anandb/Homebrew/Cellar/mutt/1.5.21/bin/mutt: Mach-O 64-bit
executable x86_64

I've attached my config.log here (the one that fails to build).

However, I then passed "--host=i686-apple-darwin11" to configure, and then make runs just fine, and completes. But the library it produces appears to be 64-bit:

$ file .libs/liburcu.1.dylib
.libs/liburcu.1.dylib: Mach-O 64-bit dynamically linked shared library
x86_64

What am I missing?

Regards,

Anand

Quoted 11 lines · Christian Babeux

Hi Anand,

You might have to pass an additional host flag to configure e.g.:

./configure --host=i686-apple-darwin11

If I remember correctly, the compiler on OSX was compiled to run on a 64-bit platform but _only_ produce 32-bit binaries. Our configure script wrongly detect an x86-64 host, so you need to force it to use i686.

Quoted 5 lines

Could you post the output of your config.log?

Thanks,

Christian

This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake.

It was created by userspace-rcu configure 0.7.7, which was generated by GNU Autoconf 2.69. Invocation command line was

  $ ./configure 

## --------- ##
## Platform. ##
## --------- ##

hostname = clabbers
uname -m = x86_64
uname -r = 12.4.0
uname -s = Darwin
uname -v = Darwin Kernel Version 12.4.0: Wed May 1 17:57:12 PDT 2013; root:xnu-2050.24.15~1/RELEASE_X86_64

/usr/bin/uname -p = i386
/bin/uname -X = unknown

/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = Mach kernel version:

	 Darwin Kernel Version 12.4.0: Wed May  1 17:57:12 PDT 2013; root:xnu-2050.24.15~1/RELEASE_X86_64

Kernel configured for up to 2 processors.
2 processors are physically available.
2 processors are logically available.
Processor type: i486 (Intel 80486)
Processors active: 0 1
Primary memory available: 4.00 gigabytes
Default processor set: 161 tasks, 731 threads, 2 processors Load average: 1.18, Mach factor: 1.11

/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /Users/anandb/mypython/bin
PATH: /Users/anandb/bin
PATH: /Users/anandb/Homebrew/bin
PATH: /Users/anandb/Homebrew/sbin
PATH: /usr/bin
PATH: /bin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/local/bin
PATH: /usr/local/MacGPG2/bin

## ----------- ##
## Core tests. ##
## ----------- ##

configure:2319: checking build system type
configure:2333: result: i386-apple-darwin12.4.0
configure:2353: checking host system type
configure:2366: result: i386-apple-darwin12.4.0
configure:2386: checking target system type
configure:2399: result: i386-apple-darwin12.4.0
configure:2442: checking for a BSD-compatible install
configure:2510: result: /usr/bin/install -c
configure:2521: checking whether build environment is sane
configure:2571: result: yes
configure:2712: checking for a thread-safe mkdir -p
configure:2751: result: config/install-sh -c -d
configure:2764: checking for gawk
configure:2794: result: no
configure:2764: checking for mawk
configure:2794: result: no
configure:2764: checking for nawk
configure:2794: result: no
configure:2764: checking for awk
configure:2780: found /usr/bin/awk
configure:2791: result: awk
configure:2802: checking whether make sets $(MAKE)
configure:2824: result: yes
configure:2915: checking whether make supports nested variables
configure:2932: result: yes
configure:3037: checking for style of include used by make
configure:3065: result: GNU
configure:3136: checking for gcc
configure:3152: found /usr/bin/gcc
configure:3163: result: gcc
configure:3392: checking for C compiler version
configure:3401: gcc --version >&5
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00) Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3412: $? = 0
configure:3401: gcc -v >&5
Using built-in specs.
Target: i686-apple-darwin11
Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2336.11~182/src/configure --disable-checking --enable-werror --prefix=/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin11 --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2336.11~182/dst-llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11 --target=i686-apple-darwin11 --with-gxx-include-dir=/usr/include/c++/4.2.1 Thread model: posix
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
configure:3412: $? = 0
configure:3401: gcc -V >&5
llvm-gcc-4.2: argument to `-V' is missing
configure:3412: $? = 1
configure:3401: gcc -qversion >&5
i686-apple-darwin11-llvm-gcc-4.2: no input files
configure:3412: $? = 1
configure:3432: checking whether the C compiler works
configure:3454: gcc conftest.c >&5
configure:3458: $? = 0
configure:3506: result: yes
configure:3509: checking for C compiler default output file name
configure:3511: result: a.out
configure:3517: checking for suffix of executables
configure:3524: gcc -o conftest conftest.c >&5
configure:3528: $? = 0
configure:3550: result:
configure:3572: checking whether we are cross compiling
configure:3580: gcc -o conftest conftest.c >&5
configure:3584: $? = 0
configure:3591: ./conftest
configure:3595: $? = 0
configure:3610: result: no
configure:3615: checking for suffix of object files
configure:3637: gcc -c conftest.c >&5
configure:3641: $? = 0
configure:3662: result: o
configure:3666: checking whether we are using the GNU C compiler
configure:3685: gcc -c conftest.c >&5
configure:3685: $? = 0
configure:3694: result: yes
configure:3703: checking whether gcc accepts -g
configure:3723: gcc -c -g conftest.c >&5
configure:3723: $? = 0
configure:3764: result: yes
configure:3781: checking for gcc option to accept ISO C89
configure:3844: gcc -c -g -O2 conftest.c >&5
configure:3844: $? = 0
configure:3857: result: none needed
configure:3879: checking dependency style of gcc
configure:3990: result: gcc3
configure:4008: checking for thread local storage (TLS) class
configure:4031: gcc -o conftest -g -O2 conftest.c >&5
conftest.c:11: error: thread-local storage not supported for this target
configure:4031: $? = 1
configure: failed program was:

| /* confdefs.h */
| #define PACKAGE_NAME "userspace-rcu"
| #define PACKAGE_TARNAME "userspace-rcu"
| #define PACKAGE_VERSION "0.7.7"
| #define PACKAGE_STRING "userspace-rcu 0.7.7"
| #define PACKAGE_BUGREPORT "mathieu dot desnoyers at efficios dot com"
| #define PACKAGE_URL ""
| #define PACKAGE "userspace-rcu"
| #define VERSION "0.7.7"
| /* end confdefs.h.  */
| __thread int foo;
| int
| main ()
| {
| ++foo;
|   ;
|   return 0;
| }

configure:4031: gcc -o conftest -g -O2 conftest.c >&5
conftest.c: In function '__declspec':
conftest.c:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token conftest.c:11: error: declaration for parameter 'foo' but no such parameter conftest.c:18: error: expected '{' at end of input
configure:4031: $? = 1
configure: failed program was:

| /* confdefs.h */
| #define PACKAGE_NAME "userspace-rcu"
| #define PACKAGE_TARNAME "userspace-rcu"
| #define PACKAGE_VERSION "0.7.7"
| #define PACKAGE_STRING "userspace-rcu 0.7.7"
| #define PACKAGE_BUGREPORT "mathieu dot desnoyers at efficios dot com"
| #define PACKAGE_URL ""
| #define PACKAGE "userspace-rcu"
| #define VERSION "0.7.7"
| /* end confdefs.h.  */
| __declspec(thread) int foo;
| int
| main ()
| {
| ++foo;
|   ;
|   return 0;
| }

configure:4044: result: none
configure:4121: checking for gcc
configure:4148: result: gcc
configure:4377: checking for C compiler version
configure:4386: gcc --version >&5
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00) Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:4397: $? = 0
configure:4386: gcc -v >&5
Using built-in specs.
Target: i686-apple-darwin11
Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2336.11~182/src/configure --disable-checking --enable-werror --prefix=/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin11 --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2336.11~182/dst-llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11 --target=i686-apple-darwin11 --with-gxx-include-dir=/usr/include/c++/4.2.1 Thread model: posix
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
configure:4397: $? = 0
configure:4386: gcc -V >&5
llvm-gcc-4.2: argument to `-V' is missing
configure:4397: $? = 1
configure:4386: gcc -qversion >&5
i686-apple-darwin11-llvm-gcc-4.2: no input files
configure:4397: $? = 1
configure:4401: checking whether we are using the GNU C compiler
configure:4429: result: yes
configure:4438: checking whether gcc accepts -g
configure:4499: result: yes
configure:4516: checking for gcc option to accept ISO C89
configure:4592: result: none needed
configure:4614: checking dependency style of gcc
configure:4725: result: gcc3
configure:4740: checking whether make sets $(MAKE)
configure:4762: result: yes
configure:4817: checking how to print strings
configure:4844: result: printf
configure:4865: checking for a sed that does not truncate output
configure:4929: result: /usr/bin/sed
configure:4947: checking for grep that handles long lines and -e
configure:5005: result: /usr/bin/grep
configure:5010: checking for egrep
configure:5072: result: /usr/bin/grep -E
configure:5077: checking for fgrep
configure:5139: result: /usr/bin/grep -F
configure:5174: checking for ld used by gcc
configure:5241: result: /usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld
configure:5248: checking if the linker (/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) is GNU ld
configure:5263: result: no
configure:5275: checking for BSD- or MS-compatible name lister (nm)
configure:5324: result: /usr/bin/nm
configure:5454: checking the name lister (/usr/bin/nm) interface
configure:5461: gcc -c -g -O2 conftest.c >&5
configure:5464: /usr/bin/nm "conftest.o"
configure:5467: output
00000000000001a0 S _some_variable
configure:5474: result: BSD nm
configure:5477: checking whether ln -s works
configure:5481: result: yes
configure:5489: checking the maximum length of command line arguments
configure:5619: result: 196608
configure:5636: checking whether the shell understands some XSI constructs
configure:5646: result: yes
configure:5650: checking whether the shell understands "+="
configure:5656: result: yes
configure:5691: checking how to convert i386-apple-darwin12.4.0 file names to i386-apple-darwin12.4.0 format
configure:5731: result: func_convert_file_noop
configure:5738: checking how to convert i386-apple-darwin12.4.0 file names to toolchain format
configure:5758: result: func_convert_file_noop
configure:5765: checking for /usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld option to reload object files
configure:5772: result: -r
configure:5846: checking for objdump
configure:5876: result: no
configure:5905: checking how to recognize dependent libraries
configure:6107: result: pass_all
configure:6192: checking for dlltool
configure:6222: result: no
configure:6252: checking how to associate runtime and link libraries
configure:6279: result: printf %s\n
configure:6339: checking for ar
configure:6355: found /usr/bin/ar
configure:6366: result: ar
configure:6403: checking for archiver @FILE support
configure:6420: gcc -c -g -O2 conftest.c >&5
configure:6420: $? = 0
configure:6423: ar cru libconftest.a @conftest.lst >&5
ar: @conftest.lst: No such file or directory
configure:6426: $? = 1
configure:6446: result: no
configure:6504: checking for strip
configure:6520: found /usr/bin/strip
configure:6531: result: strip
configure:6603: checking for ranlib
configure:6619: found /usr/bin/ranlib
configure:6630: result: ranlib
configure:6732: checking command to parse /usr/bin/nm output from gcc object
configure:6852: gcc -c -g -O2 conftest.c >&5
configure:6855: $? = 0
configure:6859: /usr/bin/nm conftest.o \| sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
configure:6862: $? = 0
cannot find nm_test_var in conftest.nm
configure:6852: gcc -c -g -O2 conftest.c >&5
configure:6855: $? = 0
configure:6859: /usr/bin/nm conftest.o \| sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
configure:6862: $? = 0
configure:6928: gcc -o conftest -g -O2 conftest.c conftstm.o >&5
configure:6931: $? = 0
configure:6969: result: ok
configure:7006: checking for sysroot
configure:7036: result: no
configure:7292: checking for mt
configure:7322: result: no
configure:7342: checking if : is a manifest tool
configure:7348: : '-?'
configure:7356: result: no
configure:7412: checking for dsymutil
configure:7428: found /usr/bin/dsymutil
configure:7439: result: dsymutil
configure:7504: checking for nmedit
configure:7520: found /usr/bin/nmedit
configure:7531: result: nmedit
configure:7596: checking for lipo
configure:7612: found /usr/bin/lipo
configure:7623: result: lipo
configure:7688: checking for otool
configure:7704: found /usr/bin/otool
configure:7715: result: otool
configure:7780: checking for otool64
configure:7810: result: no
configure:7855: checking for -single_module linker flag
gcc -g -O2 -o libconftest.dylib -dynamiclib -Wl,-single_module conftest.c
configure:7888: result: yes
configure:7891: checking for -exported_symbols_list linker flag
configure:7911: gcc -o conftest -g -O2 -Wl,-exported_symbols_list,conftest.sym conftest.c >&5
configure:7911: $? = 0
configure:7921: result: yes
configure:7924: checking for -force_load linker flag
gcc -g -O2 -c -o conftest.o conftest.c
ar cru libconftest.a conftest.o
ranlib libconftest.a
gcc -g -O2 -o conftest conftest.c -Wl,-force_load,./libconftest.a
configure:7956: result: yes
configure:7998: checking how to run the C preprocessor
configure:8029: gcc -E conftest.c
configure:8029: $? = 0
configure:8043: gcc -E conftest.c
conftest.c:11:28: error: ac_nonexistent.h: No such file or directory
configure:8043: $? = 1
configure: failed program was:

| /* confdefs.h */
| #define PACKAGE_NAME "userspace-rcu"
| #define PACKAGE_TARNAME "userspace-rcu"
| #define PACKAGE_VERSION "0.7.7"
| #define PACKAGE_STRING "userspace-rcu 0.7.7"
| #define PACKAGE_BUGREPORT "mathieu dot desnoyers at efficios dot com"
| #define PACKAGE_URL ""
| #define PACKAGE "userspace-rcu"
| #define VERSION "0.7.7"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>

configure:8068: result: gcc -E
configure:8088: gcc -E conftest.c
configure:8088: $? = 0
configure:8102: gcc -E conftest.c
conftest.c:11:28: error: ac_nonexistent.h: No such file or directory configure:8102: $? = 1
configure: failed program was:

| /* confdefs.h */
| #define PACKAGE_NAME "userspace-rcu"
| #define PACKAGE_TARNAME "userspace-rcu"
| #define PACKAGE_VERSION "0.7.7"
| #define PACKAGE_STRING "userspace-rcu 0.7.7"
| #define PACKAGE_BUGREPORT "mathieu dot desnoyers at efficios dot com"
| #define PACKAGE_URL ""
| #define PACKAGE "userspace-rcu"
| #define VERSION "0.7.7"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>

configure:8131: checking for ANSI C header files
configure:8151: gcc -c -g -O2 conftest.c >&5
configure:8151: $? = 0
configure:8224: gcc -o conftest -g -O2 conftest.c >&5
configure:8224: $? = 0
configure:8224: ./conftest
configure:8224: $? = 0
configure:8235: result: yes
configure:8248: checking for sys/types.h
configure:8248: gcc -c -g -O2 conftest.c >&5
configure:8248: $? = 0
configure:8248: result: yes
configure:8248: checking for sys/stat.h
configure:8248: gcc -c -g -O2 conftest.c >&5
configure:8248: $? = 0
configure:8248: result: yes
configure:8248: checking for stdlib.h
configure:8248: gcc -c -g -O2 conftest.c >&5
configure:8248: $? = 0
configure:8248: result: yes
configure:8248: checking for string.h
configure:8248: gcc -c -g -O2 conftest.c >&5
configure:8248: $? = 0
configure:8248: result: yes
configure:8248: checking for memory.h
configure:8248: gcc -c -g -O2 conftest.c >&5
configure:8248: $? = 0
configure:8248: result: yes
configure:8248: checking for strings.h
configure:8248: gcc -c -g -O2 conftest.c >&5
configure:8248: $? = 0
configure:8248: result: yes
configure:8248: checking for inttypes.h
configure:8248: gcc -c -g -O2 conftest.c >&5
configure:8248: $? = 0
configure:8248: result: yes
configure:8248: checking for stdint.h
configure:8248: gcc -c -g -O2 conftest.c >&5
configure:8248: $? = 0
configure:8248: result: yes
configure:8248: checking for unistd.h
configure:8248: gcc -c -g -O2 conftest.c >&5
configure:8248: $? = 0
configure:8248: result: yes
configure:8262: checking for dlfcn.h
configure:8262: gcc -c -g -O2 conftest.c >&5
configure:8262: $? = 0
configure:8262: result: yes
configure:8468: checking for objdir
configure:8483: result: .libs
configure:8754: checking if gcc supports -fno-rtti -fno-exceptions
configure:8772: gcc -c -g -O2 -fno-rtti -fno-exceptions conftest.c >&5
cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C
configure:8776: $? = 0
configure:8789: result: no
configure:9116: checking for gcc option to produce PIC
configure:9123: result: -fno-common -DPIC
configure:9131: checking if gcc PIC flag -fno-common -DPIC works
configure:9149: gcc -c -g -O2 -fno-common -DPIC -DPIC conftest.c >&5
configure:9153: $? = 0
configure:9166: result: yes
configure:9195: checking if gcc static flag -static works
configure:9223: result: no
configure:9238: checking if gcc supports -c -o file.o
configure:9259: gcc -c -g -O2 -o out/conftest2.o conftest.c >&5
configure:9263: $? = 0
configure:9285: result: yes
configure:9293: checking if gcc supports -c -o file.o
configure:9340: result: yes
configure:9373: checking whether the gcc linker (/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) supports shared libraries configure:10530: result: yes
configure:10770: checking dynamic linker characteristics
configure:11515: result: darwin12.4.0 dyld
configure:11622: checking how to hardcode library paths into programs
configure:11647: result: immediate
configure:12187: checking whether stripping libraries is possible
configure:12201: result: yes
configure:12227: checking if libtool supports shared libraries
configure:12229: result: yes
configure:12232: checking whether to build shared libraries
configure:12253: result: yes
configure:12256: checking whether to build static libraries
configure:12260: result: yes
configure:12299: checking for inline
configure:12315: gcc -c -g -O2 conftest.c >&5
configure:12315: $? = 0
configure:12323: result: inline
configure:12341: checking for pid_t
configure:12341: gcc -c -g -O2 conftest.c >&5
configure:12341: $? = 0
configure:12341: gcc -c -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:59: error: expected expression before ')' token
configure:12341: $? = 1
configure: failed program was:

| /* confdefs.h */
| #define PACKAGE_NAME "userspace-rcu"
| #define PACKAGE_TARNAME "userspace-rcu"
| #define PACKAGE_VERSION "0.7.7"
| #define PACKAGE_STRING "userspace-rcu 0.7.7"
| #define PACKAGE_BUGREPORT "mathieu dot desnoyers at efficios dot com"
| #define PACKAGE_URL ""
| #define PACKAGE "userspace-rcu"
| #define VERSION "0.7.7"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| if (sizeof ((pid_t)))
| 	    return 0;
|   ;
|   return 0;
| }

configure:12341: result: yes
configure:12352: checking for size_t configure:12352: gcc -c -g -O2 conftest.c >&5 configure:12352: $? = 0
configure:12352: gcc -c -g -O2 conftest.c >&5 conftest.c: In function 'main':
conftest.c:59: error: expected expression before ')' token configure:12352: $? = 1
configure: failed program was:

| /* confdefs.h */
| #define PACKAGE_NAME "userspace-rcu"
| #define PACKAGE_TARNAME "userspace-rcu"
| #define PACKAGE_VERSION "0.7.7"
| #define PACKAGE_STRING "userspace-rcu 0.7.7"
| #define PACKAGE_BUGREPORT "mathieu dot desnoyers at efficios dot com"
| #define PACKAGE_URL ""
| #define PACKAGE "userspace-rcu"
| #define VERSION "0.7.7"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| if (sizeof ((size_t)))
| 	    return 0;
|   ;
|   return 0;
| }

configure:12352: result: yes
configure:12367: checking for stdlib.h
configure:12367: result: yes
configure:12377: checking for GNU libc compatible malloc
configure:12401: gcc -o conftest -g -O2 conftest.c >&5
configure:12401: $? = 0
configure:12401: ./conftest
configure:12401: $? = 0
configure:12411: result: yes
configure:12438: checking for stdlib.h
configure:12438: result: yes
configure:12438: checking for unistd.h
configure:12438: result: yes
configure:12438: checking for sys/param.h
configure:12438: gcc -c -g -O2 conftest.c >&5 configure:12438: $? = 0
configure:12438: result: yes
configure:12458: checking for getpagesize
configure:12458: gcc -o conftest -g -O2 conftest.c >&5
configure:12458: $? = 0
configure:12458: result: yes
configure:12467: checking for working mmap
configure:12614: gcc -o conftest -g -O2 conftest.c >&5
configure:12614: $? = 0
configure:12614: ./conftest
configure:12614: $? = 0
configure:12624: result: yes
configure:12636: checking for bzero
configure:12636: gcc -o conftest -g -O2 conftest.c >&5
conftest.c:53: warning: conflicting types for built-in function 'bzero' configure:12636: $? = 0
configure:12636: result: yes
configure:12636: checking for gettimeofday
configure:12636: gcc -o conftest -g -O2 conftest.c >&5
configure:12636: $? = 0
configure:12636: result: yes
configure:12636: checking for munmap
configure:12636: gcc -o conftest -g -O2 conftest.c >&5
configure:12636: $? = 0
configure:12636: result: yes
configure:12636: checking for sched_getcpu
configure:12636: gcc -o conftest -g -O2 conftest.c >&5
Undefined symbols for architecture x86_64:
"_sched_getcpu", referenced from:
_main in ccIJufMt.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
configure:12636: $? = 1
configure: failed program was:

| /* confdefs.h */
| #define PACKAGE_NAME "userspace-rcu"
| #define PACKAGE_TARNAME "userspace-rcu"
| #define PACKAGE_VERSION "0.7.7"
| #define PACKAGE_STRING "userspace-rcu 0.7.7"
| #define PACKAGE_BUGREPORT "mathieu dot desnoyers at efficios dot com"
| #define PACKAGE_URL ""
| #define PACKAGE "userspace-rcu"
| #define VERSION "0.7.7"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_STDLIB_H 1
| #define HAVE_MALLOC 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_BZERO 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_MUNMAP 1
| /* end confdefs.h.  */
| /* Define sched_getcpu to an innocuous variant, in case <limits.h> declares sched_getcpu.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define sched_getcpu innocuous_sched_getcpu
| 
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char sched_getcpu (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
| 
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 
| #undef sched_getcpu
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char sched_getcpu ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub_sched_getcpu || defined __stub___sched_getcpu
| choke me
| #endif
| 
| int
| main ()
| {
| return sched_getcpu ();
|   ;
|   return 0;
| }

configure:12636: result: no
configure:12636: checking for strtoul
configure:12636: gcc -o conftest -g -O2 conftest.c >&5
configure:12636: $? = 0
configure:12636: result: yes
configure:12636: checking for sysconf
configure:12636: gcc -o conftest -g -O2 conftest.c >&5
configure:12636: $? = 0
configure:12636: result: yes
configure:12744: checking if architecture really supports the mfence instruction configure:12758: result: no
configure:12766: checking for sys_futex()
configure:12778: gcc -c -g -O2 conftest.c >&5
conftest.c:39:4: error: #error "futexes not available" configure:12778: $? = 1
configure: failed program was:

| /* confdefs.h */
| #define PACKAGE_NAME "userspace-rcu"
| #define PACKAGE_TARNAME "userspace-rcu"
| #define PACKAGE_VERSION "0.7.7"
| #define PACKAGE_STRING "userspace-rcu 0.7.7"
| #define PACKAGE_BUGREPORT "mathieu dot desnoyers at efficios dot com"
| #define PACKAGE_URL ""
| #define PACKAGE "userspace-rcu"
| #define VERSION "0.7.7"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_STDLIB_H 1
| #define HAVE_MALLOC 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_BZERO 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_MUNMAP 1
| #define HAVE_STRTOUL 1
| #define HAVE_SYSCONF 1
| #define CONFIG_RCU_COMPAT_ARCH 1
| /* end confdefs.h.  */
| 
| 		#include <sys/syscall.h>
| 		#ifndef __NR_futex
| 		#error "futexes not available"
| 		#endif
| 
| 

configure:12788: result: no
configure:12858: checking for cpu_set_t
configure:12858: gcc -c -g -O2 -D_GNU_SOURCE conftest.c >&5 conftest.c: In function 'main':
conftest.c:42: error: 'cpu_set_t' undeclared (first use in this function) conftest.c:42: error: (Each undeclared identifier is reported only once conftest.c:42: error: for each function it appears in.) configure:12858: $? = 1
configure: failed program was:

| /* confdefs.h */
| #define PACKAGE_NAME "userspace-rcu"
| #define PACKAGE_TARNAME "userspace-rcu"
| #define PACKAGE_VERSION "0.7.7"
| #define PACKAGE_STRING "userspace-rcu 0.7.7"
| #define PACKAGE_BUGREPORT "mathieu dot desnoyers at efficios dot com"
| #define PACKAGE_URL ""
| #define PACKAGE "userspace-rcu"
| #define VERSION "0.7.7"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_STDLIB_H 1
| #define HAVE_MALLOC 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_BZERO 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_MUNMAP 1
| #define HAVE_STRTOUL 1
| #define HAVE_SYSCONF 1
| #define CONFIG_RCU_COMPAT_ARCH 1
| #define CONFIG_RCU_SMP 1
| /* end confdefs.h.  */
| #include <sched.h>
| 
| int
| main ()
| {
| if (sizeof (cpu_set_t))
| 	 return 0;
|   ;
|   return 0;
| }

configure:12858: result: no
configure:12873: checking whether CPU_ZERO works configure:12889: gcc -c -g -O2 -D_GNU_SOURCE conftest.c >&5 conftest.c:38:1: warning: "_GNU_SOURCE" redefined <command-line>: warning: this is the location of the previous definition conftest.c: In function 'main':
conftest.c:42: error: 'cpu_set_t' undeclared (first use in this function) conftest.c:42: error: (Each undeclared identifier is reported only once conftest.c:42: error: for each function it appears in.) conftest.c:42: error: expected ';' before 'foo' conftest.c:42: error: 'foo' undeclared (first use in this function) configure:12889: $? = 1
configure: failed program was:

| /* confdefs.h */
| #define PACKAGE_NAME "userspace-rcu"
| #define PACKAGE_TARNAME "userspace-rcu"
| #define PACKAGE_VERSION "0.7.7"
| #define PACKAGE_STRING "userspace-rcu 0.7.7"
| #define PACKAGE_BUGREPORT "mathieu dot desnoyers at efficios dot com"
| #define PACKAGE_URL ""
| #define PACKAGE "userspace-rcu"
| #define VERSION "0.7.7"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_STDLIB_H 1
| #define HAVE_MALLOC 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_BZERO 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_MUNMAP 1
| #define HAVE_STRTOUL 1
| #define HAVE_SYSCONF 1
| #define CONFIG_RCU_COMPAT_ARCH 1
| #define CONFIG_RCU_SMP 1
| /* end confdefs.h.  */
| 
| 		#define _GNU_SOURCE
| 		#include <sched.h>
| 		int main()
| 		{
| 			cpu_set_t foo; CPU_ZERO(&foo);
| 			return 0;
| 		}
| 
| 

configure:12898: result: no
configure:12905: checking whether CPU_SET works configure:12921: gcc -c -g -O2 -D_GNU_SOURCE conftest.c >&5 conftest.c:38:1: warning: "_GNU_SOURCE" redefined <command-line>: warning: this is the location of the previous definition conftest.c: In function 'main':
conftest.c:42: error: 'cpu_set_t' undeclared (first use in this function) conftest.c:42: error: (Each undeclared identifier is reported only once conftest.c:42: error: for each function it appears in.) conftest.c:42: error: expected ';' before 'foo' conftest.c:42: error: 'foo' undeclared (first use in this function) configure:12921: $? = 1
configure: failed program was:

| /* confdefs.h */
| #define PACKAGE_NAME "userspace-rcu"
| #define PACKAGE_TARNAME "userspace-rcu"
| #define PACKAGE_VERSION "0.7.7"
| #define PACKAGE_STRING "userspace-rcu 0.7.7"
| #define PACKAGE_BUGREPORT "mathieu dot desnoyers at efficios dot com"
| #define PACKAGE_URL ""
| #define PACKAGE "userspace-rcu"
| #define VERSION "0.7.7"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_STDLIB_H 1
| #define HAVE_MALLOC 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_BZERO 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_MUNMAP 1
| #define HAVE_STRTOUL 1
| #define HAVE_SYSCONF 1
| #define CONFIG_RCU_COMPAT_ARCH 1
| #define CONFIG_RCU_SMP 1
| /* end confdefs.h.  */
| 
| 		#define _GNU_SOURCE
| 		#include <sched.h>
| 		int main()
| 		{
| 			cpu_set_t foo, mask; CPU_SET(0, &foo);
| 			return 0;
| 		}
| 
| 

configure:12930: result: no
configure:12939: checking for sched_setaffinity
configure:12939: gcc -o conftest -g -O2 -D_GNU_SOURCE conftest.c >&5
Undefined symbols for architecture x86_64:
"_sched_setaffinity", referenced from:
_main in ccehKEfR.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
configure:12939: $? = 1
configure: failed program was:

| /* confdefs.h */
| #define PACKAGE_NAME "userspace-rcu"
| #define PACKAGE_TARNAME "userspace-rcu"
| #define PACKAGE_VERSION "0.7.7"
| #define PACKAGE_STRING "userspace-rcu 0.7.7"
| #define PACKAGE_BUGREPORT "mathieu dot desnoyers at efficios dot com"
| #define PACKAGE_URL ""
| #define PACKAGE "userspace-rcu"
| #define VERSION "0.7.7"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_STDLIB_H 1
| #define HAVE_MALLOC 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_BZERO 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_MUNMAP 1
| #define HAVE_STRTOUL 1
| #define HAVE_SYSCONF 1
| #define CONFIG_RCU_COMPAT_ARCH 1
| #define CONFIG_RCU_SMP 1
| /* end confdefs.h.  */
| /* Define sched_setaffinity to an innocuous variant, in case <limits.h> declares sched_setaffinity.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define sched_setaffinity innocuous_sched_setaffinity
| 
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char sched_setaffinity (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
| 
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 
| #undef sched_setaffinity
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char sched_setaffinity ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub_sched_setaffinity || defined __stub___sched_setaffinity
| choke me
| #endif
| 
| int
| main ()
| {
| return sched_setaffinity ();
|   ;
|   return 0;
| }

configure:12939: result: no
configure:13145: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by userspace-rcu config.status 0.7.7, which was generated by GNU Autoconf 2.69. Invocation command line was

  CONFIG_FILES    = 
  CONFIG_HEADERS  = 
  CONFIG_LINKS    = 
  CONFIG_COMMANDS = 
  $ ./config.status 

on clabbers

config.status:1118: creating Makefile config.status:1118: creating doc/Makefile config.status:1118: creating tests/Makefile config.status:1118: creating liburcu.pc config.status:1118: creating liburcu-bp.pc config.status:1118: creating liburcu-cds.pc config.status:1118: creating liburcu-qsbr.pc config.status:1118: creating liburcu-mb.pc config.status:1118: creating liburcu-signal.pc config.status:1118: creating config.h config.status:1118: creating urcu/config.h config.status:1359: linking urcu/arch/x86.h to urcu/arch.h config.status:1359: linking urcu/uatomic/x86.h to urcu/uatomic.h config.status:1378: executing depfiles commands config.status:1378: executing libtool commands

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i386-apple-darwin12.4.0
ac_cv_c_compiler_gnu=yes
ac_cv_c_inline=inline
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_func_bzero=yes
ac_cv_func_getpagesize=yes
ac_cv_func_gettimeofday=yes
ac_cv_func_malloc_0_nonnull=yes
ac_cv_func_mmap_fixed_mapped=yes
ac_cv_func_munmap=yes
ac_cv_func_sched_getcpu=no
ac_cv_func_sched_setaffinity=no
ac_cv_func_strtoul=yes
ac_cv_func_sysconf=yes
ac_cv_header_dlfcn_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_param_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=i386-apple-darwin12.4.0
ac_cv_objext=o
ac_cv_path_EGREP='/usr/bin/grep -E'
ac_cv_path_FGREP='/usr/bin/grep -F'
ac_cv_path_GREP=/usr/bin/grep
ac_cv_path_SED=/usr/bin/sed
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=awk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_AR=ar
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_DSYMUTIL=dsymutil
ac_cv_prog_ac_ct_LIPO=lipo
ac_cv_prog_ac_ct_NMEDIT=nmedit
ac_cv_prog_ac_ct_OTOOL=otool
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_make_make_set=yes
ac_cv_target=i386-apple-darwin12.4.0
ac_cv_tls=none
ac_cv_type_cpu_set_t=no
ac_cv_type_pid_t=yes
ac_cv_type_size_t=yes
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_make_support_nested_variables=yes
lt_cv_apple_cc_single_mod=yes
lt_cv_ar_at_file=no
lt_cv_deplibs_check_method=pass_all
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
lt_cv_ld_exported_symbols_list=yes
lt_cv_ld_force_load=yes
lt_cv_ld_reload_flag=-r
lt_cv_nm_interface='BSD nm'
lt_cv_objdir=.libs
lt_cv_path_LD=/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld
lt_cv_path_NM=/usr/bin/nm
lt_cv_path_mainfest_tool=no
lt_cv_prog_compiler_c_o=yes
lt_cv_prog_compiler_pic='-fno-common -DPIC'
lt_cv_prog_compiler_pic_works=yes
lt_cv_prog_compiler_rtti_exceptions=no
lt_cv_prog_compiler_static_works=no
lt_cv_prog_gnu_ld=no
lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'''
lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\''' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\''' lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[BCDEGRST]* .* \(.*\)$/extern char \1;/p'\'''
lt_cv_sys_max_cmd_len=196608
lt_cv_to_host_file_cmd=func_convert_file_noop
lt_cv_to_tool_file_cmd=func_convert_file_noop

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /Users/anandb/Software/userspace-rcu-0.7.7/config/missing --run aclocal-1.11' AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='0'
AM_V='$(V)'
AR='ar'
ARCHTYPE='x86'
AUTOCONF='${SHELL} /Users/anandb/Software/userspace-rcu-0.7.7/config/missing --run autoconf' AUTOHEADER='${SHELL} /Users/anandb/Software/userspace-rcu-0.7.7/config/missing --run autoheader' AUTOMAKE='${SHELL} /Users/anandb/Software/userspace-rcu-0.7.7/config/missing --run automake-1.11' AWK='awk'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2'
COMPAT_ARCH_FALSE='#'
COMPAT_ARCH_TRUE=''
COMPAT_FUTEX_FALSE='#'
COMPAT_FUTEX_TRUE=''
CPP='gcc -E'
CPPFLAGS=''
CYGPATH_W='echo'
DEFS='-DHAVE_CONFIG_H'
DEPDIR='.deps'
DLLTOOL='false'
DSYMUTIL='dsymutil'
DUMPBIN=''
ECHO_C='\c'
ECHO_N=''
ECHO_T=''
EGREP='/usr/bin/grep -E'
EXEEXT=''
FGREP='/usr/bin/grep -F'
GREP='/usr/bin/grep'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LD='/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LIPO='lipo'
LN_S='ln -s'
LTLIBOBJS=''
MAKEINFO='${SHELL} /Users/anandb/Software/userspace-rcu-0.7.7/config/missing --run makeinfo' MANIFEST_TOOL=':'
MKDIR_P='config/install-sh -c -d'
NM='/usr/bin/nm'
NMEDIT='nmedit'
OBJDUMP='false'
OBJEXT='o'
OTOOL64=':'
OTOOL='otool'
PACKAGE='userspace-rcu'
PACKAGE_BUGREPORT='mathieu dot desnoyers at efficios dot com' PACKAGE_NAME='userspace-rcu'
PACKAGE_STRING='userspace-rcu 0.7.7'
PACKAGE_TARNAME='userspace-rcu'
PACKAGE_URL=''
PACKAGE_VERSION='0.7.7'
PATH_SEPARATOR=':'
RANLIB='ranlib'
SED='/usr/bin/sed'
SET_MAKE=''
SHELL='/bin/sh'
STRIP='strip'
SUBARCHTYPE='x86compat'
URCU_LIBRARY_VERSION='1:0:0'
VERSION='0.7.7'
ac_ct_AR='ar'
ac_ct_CC='gcc'
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE='#'
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build='i386-apple-darwin12.4.0'
build_alias=''
build_cpu='i386'
build_os='darwin12.4.0'
build_vendor='apple'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='${prefix}'
host='i386-apple-darwin12.4.0'
host_alias=''
host_cpu='i386'
host_os='darwin12.4.0'
host_vendor='apple'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /Users/anandb/Software/userspace-rcu-0.7.7/config/install-sh' libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(top_builddir)/config/install-sh -c -d'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr/local'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='i386-apple-darwin12.4.0'
target_alias=''
target_cpu='i386'
target_os='darwin12.4.0'
target_vendor='apple'

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "userspace-rcu"
#define PACKAGE_TARNAME "userspace-rcu"
#define PACKAGE_VERSION "0.7.7"
#define PACKAGE_STRING "userspace-rcu 0.7.7"
#define PACKAGE_BUGREPORT "mathieu dot desnoyers at efficios dot com" #define PACKAGE_URL ""
#define PACKAGE "userspace-rcu"
#define VERSION "0.7.7"
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
#define HAVE_STDLIB_H 1
#define HAVE_MALLOC 1
#define HAVE_STDLIB_H 1
#define HAVE_UNISTD_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_GETPAGESIZE 1
#define HAVE_MMAP 1
#define HAVE_BZERO 1
#define HAVE_GETTIMEOFDAY 1
#define HAVE_MUNMAP 1
#define HAVE_STRTOUL 1
#define HAVE_SYSCONF 1
#define CONFIG_RCU_COMPAT_ARCH 1
#define CONFIG_RCU_SMP 1

configure: exit 0

_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

#5 lore raw
In reply to a message not in the archive

Hmm that's really weird :/. For some reason configure detect an i386 CPU which is certainly not right. Could you post your config.log with and without the --host flag (specifying which is which)?

There might be some slight incompatibilities on OSX and the CPU detection mechanism we are using...

Christian

Quoted 43 lines · Anand Buddhdev

Hi Christian,

OSX 10.8 *is* 64-bit. I often compile other stuff on it, and the compiler happily produces 64-bit binaries, for example:

$ file ~/Homebrew/Cellar/mutt/1.5.21/bin/mutt
/Users/anandb/Homebrew/Cellar/mutt/1.5.21/bin/mutt: Mach-O 64-bit
executable x86_64

I've attached my config.log here (the one that fails to build).

However, I then passed "--host=i686-apple-darwin11" to configure, and then make runs just fine, and completes. But the library it produces appears to be 64-bit:

$ file .libs/liburcu.1.dylib
.libs/liburcu.1.dylib: Mach-O 64-bit dynamically linked shared library
x86_64

What am I missing?

Regards,

Anand

Quoted 16 lines · Christian Babeux

Hi Anand,

You might have to pass an additional host flag to configure e.g.:

./configure --host=i686-apple-darwin11

If I remember correctly, the compiler on OSX was compiled to run on a 64-bit platform but _only_ produce 32-bit binaries. Our configure script wrongly detect an x86-64 host, so you need to force it to use i686.

Could you post the output of your config.log?

Thanks,

Christian

#7 lore raw
In reply to a message not in the archive

Hi Christian,

I've attached both here.

Anand

Quoted 6 lines · Christian Babeux

Hmm that's really weird :/. For some reason configure detect an i386 CPU which is certainly not right. Could you post your config.log with and without the --host flag (specifying which is which)?

There might be some slight incompatibilities on OSX and the CPU detection mechanism we are using...

This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake.

It was created by userspace-rcu configure 0.7.7, which was generated by GNU Autoconf 2.69. Invocation command line was

  $ ./configure --host=i686-apple-darwin11

## --------- ##
## Platform. ##
## --------- ##

hostname = clabbers
uname -m = x86_64
uname -r = 12.4.0
uname -s = Darwin
uname -v = Darwin Kernel Version 12.4.0: Wed May 1 17:57:12 PDT 2013; root:xnu-2050.24.15~1/RELEASE_X86_64

/usr/bin/uname -p = i386
/bin/uname -X = unknown

/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = Mach kernel version:

	 Darwin Kernel Version 12.4.0: Wed May  1 17:57:12 PDT 2013; root:xnu-2050.24.15~1/RELEASE_X86_64

Kernel configured for up to 2 processors.
2 processors are physically available.
2 processors are logically available.
Processor type: i486 (Intel 80486)
Processors active: 0 1
Primary memory available: 4.00 gigabytes
Default processor set: 112 tasks, 586 threads, 2 processors Load average: 1.06, Mach factor: 1.41

/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /Users/anandb/mypython/bin
PATH: /Users/anandb/bin
PATH: /Users/anandb/Homebrew/bin
PATH: /Users/anandb/Homebrew/sbin
PATH: /usr/bin
PATH: /bin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/local/bin
PATH: /usr/local/MacGPG2/bin

## ----------- ##
## Core tests. ##
## ----------- ##

configure:2319: checking build system type
configure:2333: result: i386-apple-darwin12.4.0
configure:2353: checking host system type
configure:2366: result: i686-apple-darwin11
configure:2386: checking target system type
configure:2399: result: i686-apple-darwin11
configure:2442: checking for a BSD-compatible install
configure:2510: result: /usr/bin/install -c
configure:2521: checking whether build environment is sane
configure:2571: result: yes
configure:2620: checking for i686-apple-darwin11-strip
configure:2650: result: no
configure:2660: checking for strip
configure:2676: found /usr/bin/strip
configure:2687: result: strip
configure:2712: checking for a thread-safe mkdir -p
configure:2751: result: config/install-sh -c -d
configure:2764: checking for gawk
configure:2794: result: no
configure:2764: checking for mawk
configure:2794: result: no
configure:2764: checking for nawk
configure:2794: result: no
configure:2764: checking for awk
configure:2780: found /usr/bin/awk
configure:2791: result: awk
configure:2802: checking whether make sets $(MAKE)
configure:2824: result: yes
configure:2915: checking whether make supports nested variables
configure:2932: result: yes
configure:3037: checking for style of include used by make
configure:3065: result: GNU
configure:3096: checking for i686-apple-darwin11-gcc
configure:3126: result: no
configure:3136: checking for gcc
configure:3152: found /usr/bin/gcc
configure:3163: result: gcc
configure:3392: checking for C compiler version
configure:3401: gcc --version >&5
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00) Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3412: $? = 0
configure:3401: gcc -v >&5
Using built-in specs.
Target: i686-apple-darwin11
Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2336.11~182/src/configure --disable-checking --enable-werror --prefix=/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin11 --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2336.11~182/dst-llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11 --target=i686-apple-darwin11 --with-gxx-include-dir=/usr/include/c++/4.2.1 Thread model: posix
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
configure:3412: $? = 0
configure:3401: gcc -V >&5
llvm-gcc-4.2: argument to `-V' is missing
configure:3412: $? = 1
configure:3401: gcc -qversion >&5
i686-apple-darwin11-llvm-gcc-4.2: no input files
configure:3412: $? = 1
configure:3432: checking whether the C compiler works
configure:3454: gcc conftest.c >&5
configure:3458: $? = 0
configure:3506: result: yes
configure:3509: checking for C compiler default output file name
configure:3511: result: a.out
configure:3517: checking for suffix of executables
configure:3524: gcc -o conftest conftest.c >&5
configure:3528: $? = 0
configure:3550: result:
configure:3572: checking whether we are cross compiling
configure:3580: gcc -o conftest conftest.c >&5
configure:3584: $? = 0
configure:3591: ./conftest
configure:3595: $? = 0
configure:3610: result: no
configure:3615: checking for suffix of object files
configure:3637: gcc -c conftest.c >&5
configure:3641: $? = 0
configure:3662: result: o
configure:3666: checking whether we are using the GNU C compiler
configure:3685: gcc -c conftest.c >&5
configure:3685: $? = 0
configure:3694: result: yes
configure:3703: checking whether gcc accepts -g
configure:3723: gcc -c -g conftest.c >&5
configure:3723: $? = 0
configure:3764: result: yes
configure:3781: checking for gcc option to accept ISO C89
configure:3844: gcc -c -g -O2 conftest.c >&5
configure:3844: $? = 0
configure:3857: result: none needed
configure:3879: checking dependency style of gcc
configure:3990: result: gcc3
configure:4008: checking for thread local storage (TLS) class
configure:4031: gcc -o conftest -g -O2 conftest.c >&5
conftest.c:11: error: thread-local storage not supported for this target
configure:4031: $? = 1
configure: failed program was:

| /* confdefs.h */
| #define PACKAGE_NAME "userspace-rcu"
| #define PACKAGE_TARNAME "userspace-rcu"
| #define PACKAGE_VERSION "0.7.7"
| #define PACKAGE_STRING "userspace-rcu 0.7.7"
| #define PACKAGE_BUGREPORT "mathieu dot desnoyers at efficios dot com"
| #define PACKAGE_URL ""
| #define PACKAGE "userspace-rcu"
| #define VERSION "0.7.7"
| /* end confdefs.h.  */
| __thread int foo;
| int
| main ()
| {
| ++foo;
|   ;
|   return 0;
| }

configure:4031: gcc -o conftest -g -O2 conftest.c >&5
conftest.c: In function '__declspec':
conftest.c:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token conftest.c:11: error: declaration for parameter 'foo' but no such parameter conftest.c:18: error: expected '{' at end of input
configure:4031: $? = 1
configure: failed program was:

| /* confdefs.h */
| #define PACKAGE_NAME "userspace-rcu"
| #define PACKAGE_TARNAME "userspace-rcu"
| #define PACKAGE_VERSION "0.7.7"
| #define PACKAGE_STRING "userspace-rcu 0.7.7"
| #define PACKAGE_BUGREPORT "mathieu dot desnoyers at efficios dot com"
| #define PACKAGE_URL ""
| #define PACKAGE "userspace-rcu"
| #define VERSION "0.7.7"
| /* end confdefs.h.  */
| __declspec(thread) int foo;
| int
| main ()
| {
| ++foo;
|   ;
|   return 0;
| }

configure:4044: result: none
configure:4081: checking for i686-apple-darwin11-gcc
configure:4108: result: gcc
configure:4377: checking for C compiler version
configure:4386: gcc --version >&5
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00) Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:4397: $? = 0
configure:4386: gcc -v >&5
Using built-in specs.
Target: i686-apple-darwin11
Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2336.11~182/src/configure --disable-checking --enable-werror --prefix=/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin11 --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2336.11~182/dst-llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11 --target=i686-apple-darwin11 --with-gxx-include-dir=/usr/include/c++/4.2.1 Thread model: posix
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
configure:4397: $? = 0
configure:4386: gcc -V >&5
llvm-gcc-4.2: argument to `-V' is missing
configure:4397: $? = 1
configure:4386: gcc -qversion >&5
i686-apple-darwin11-llvm-gcc-4.2: no input files
configure:4397: $? = 1
configure:4401: checking whether we are using the GNU C compiler
configure:4429: result: yes
configure:4438: checking whether gcc accepts -g
configure:4499: result: yes
configure:4516: checking for gcc option to accept ISO C89
configure:4592: result: none needed
configure:4614: checking dependency style of gcc
configure:4725: result: gcc3
configure:4740: checking whether make sets $(MAKE)
configure:4762: result: yes
configure:4817: checking how to print strings
configure:4844: result: printf
configure:4865: checking for a sed that does not truncate output
configure:4929: result: /usr/bin/sed
configure:4947: checking for grep that handles long lines and -e
configure:5005: result: /usr/bin/grep
configure:5010: checking for egrep
configure:5072: result: /usr/bin/grep -E
configure:5077: checking for fgrep
configure:5139: result: /usr/bin/grep -F
configure:5174: checking for ld used by gcc
configure:5241: result: /usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld
configure:5248: checking if the linker (/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) is GNU ld
configure:5263: result: no
configure:5275: checking for BSD- or MS-compatible name lister (nm)
configure:5324: result: no
configure:5338: checking for i686-apple-darwin11-dumpbin
configure:5368: result: no
configure:5338: checking for i686-apple-darwin11-link
configure:5368: result: no
configure:5382: checking for dumpbin
configure:5412: result: no
configure:5382: checking for link
configure:5398: found /bin/link
configure:5409: result: link -dump
configure:5454: checking the name lister (nm) interface
configure:5461: gcc -c -g -O2 conftest.c >&5
configure:5464: nm "conftest.o"
configure:5467: output
00000000000001a0 S _some_variable
configure:5474: result: BSD nm
configure:5477: checking whether ln -s works
configure:5481: result: yes
configure:5489: checking the maximum length of command line arguments
configure:5619: result: 196608
configure:5636: checking whether the shell understands some XSI constructs
configure:5646: result: yes
configure:5650: checking whether the shell understands "+="
configure:5656: result: yes
configure:5691: checking how to convert i386-apple-darwin12.4.0 file names to i686-apple-darwin11 format
configure:5731: result: func_convert_file_noop
configure:5738: checking how to convert i386-apple-darwin12.4.0 file names to toolchain format
configure:5758: result: func_convert_file_noop
configure:5765: checking for /usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld option to reload object files
configure:5772: result: -r
configure:5806: checking for i686-apple-darwin11-objdump
configure:5836: result: no
configure:5846: checking for objdump
configure:5876: result: no
configure:5905: checking how to recognize dependent libraries
configure:6107: result: pass_all
configure:6152: checking for i686-apple-darwin11-dlltool
configure:6182: result: no
configure:6192: checking for dlltool
configure:6222: result: no
configure:6252: checking how to associate runtime and link libraries
configure:6279: result: printf %s\n
configure:6295: checking for i686-apple-darwin11-ar
configure:6325: result: no
configure:6339: checking for ar
configure:6355: found /usr/bin/ar
configure:6366: result: ar
configure:6403: checking for archiver @FILE support
configure:6420: gcc -c -g -O2 conftest.c >&5
configure:6420: $? = 0
configure:6423: ar cru libconftest.a @conftest.lst >&5
ar: @conftest.lst: No such file or directory
configure:6426: $? = 1
configure:6446: result: no
configure:6464: checking for i686-apple-darwin11-strip
configure:6491: result: strip
configure:6563: checking for i686-apple-darwin11-ranlib
configure:6593: result: no
configure:6603: checking for ranlib
configure:6619: found /usr/bin/ranlib
configure:6630: result: ranlib
configure:6732: checking command to parse nm output from gcc object
configure:6852: gcc -c -g -O2 conftest.c >&5
configure:6855: $? = 0
configure:6859: nm conftest.o \| sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
configure:6862: $? = 0
cannot find nm_test_var in conftest.nm
configure:6852: gcc -c -g -O2 conftest.c >&5
configure:6855: $? = 0
configure:6859: nm conftest.o \| sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
configure:6862: $? = 0
configure:6928: gcc -o conftest -g -O2 conftest.c conftstm.o >&5
configure:6931: $? = 0
configure:6969: result: ok
configure:7006: checking for sysroot
configure:7036: result: no
configure:7252: checking for i686-apple-darwin11-mt
configure:7282: result: no
configure:7292: checking for mt
configure:7322: result: no
configure:7342: checking if : is a manifest tool
configure:7348: : '-?'
configure:7356: result: no
configure:7372: checking for i686-apple-darwin11-dsymutil
configure:7402: result: no
configure:7412: checking for dsymutil
configure:7428: found /usr/bin/dsymutil
configure:7439: result: dsymutil
configure:7464: checking for i686-apple-darwin11-nmedit
configure:7494: result: no
configure:7504: checking for nmedit
configure:7520: found /usr/bin/nmedit
configure:7531: result: nmedit
configure:7556: checking for i686-apple-darwin11-lipo
configure:7586: result: no
configure:7596: checking for lipo
configure:7612: found /usr/bin/lipo
configure:7623: result: lipo
configure:7648: checking for i686-apple-darwin11-otool
configure:7678: result: no
configure:7688: checking for otool
configure:7704: found /usr/bin/otool
configure:7715: result: otool
configure:7740: checking for i686-apple-darwin11-otool64
configure:7770: result: no
configure:7780: checking for otool64
configure:7810: result: no
configure:7855: checking for -single_module linker flag
gcc -g -O2 -o libconftest.dylib -dynamiclib -Wl,-single_module conftest.c
configure:7888: result: yes
configure:7891: checking for -exported_symbols_list linker flag
configure:7911: gcc -o conftest -g -O2 -Wl,-exported_symbols_list,conftest.sym conftest.c >&5
configure:7911: $? = 0
configure:7921: result: yes
configure:7924: checking for -force_load linker flag
gcc -g -O2 -c -o conftest.o conftest.c
ar cru libconftest.a conftest.o
ranlib libconftest.a
gcc -g -O2 -o conftest conftest.c -Wl,-force_load,./libconftest.a
configure:7956: result: yes
configure:7998: checking how to run the C preprocessor
configure:8029: gcc -E conftest.c
configure:8029: $? = 0
configure:8043: gcc -E conftest.c
conftest.c:11:28: error: ac_nonexistent.h: No such file or directory
configure:8043: $? = 1
configure: failed program was:

| /* confdefs.h */
| #define PACKAGE_NAME "userspace-rcu"
| #define PACKAGE_TARNAME "userspace-rcu"
| #define PACKAGE_VERSION "0.7.7"
| #define PACKAGE_STRING "userspace-rcu 0.7.7"
| #define PACKAGE_BUGREPORT "mathieu dot desnoyers at efficios dot com"
| #define PACKAGE_URL ""
| #define PACKAGE "userspace-rcu"
| #define VERSION "0.7.7"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>

configure:8068: result: gcc -E
configure:8088: gcc -E conftest.c
configure:8088: $? = 0
configure:8102: gcc -E conftest.c
conftest.c:11:28: error: ac_nonexistent.h: No such file or directory configure:8102: $? = 1
configure: failed program was:

| /* confdefs.h */
| #define PACKAGE_NAME "userspace-rcu"
| #define PACKAGE_TARNAME "userspace-rcu"
| #define PACKAGE_VERSION "0.7.7"
| #define PACKAGE_STRING "userspace-rcu 0.7.7"
| #define PACKAGE_BUGREPORT "mathieu dot desnoyers at efficios dot com"
| #define PACKAGE_URL ""
| #define PACKAGE "userspace-rcu"
| #define VERSION "0.7.7"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>

configure:8131: checking for ANSI C header files
configure:8151: gcc -c -g -O2 conftest.c >&5
configure:8151: $? = 0
configure:8224: gcc -o conftest -g -O2 conftest.c >&5
configure:8224: $? = 0
configure:8224: ./conftest
configure:8224: $? = 0
configure:8235: result: yes
configure:8248: checking for sys/types.h
configure:8248: gcc -c -g -O2 conftest.c >&5
configure:8248: $? = 0
configure:8248: result: yes
configure:8248: checking for sys/stat.h
configure:8248: gcc -c -g -O2 conftest.c >&5
configure:8248: $? = 0
configure:8248: result: yes
configure:8248: checking for stdlib.h
configure:8248: gcc -c -g -O2 conftest.c >&5
configure:8248: $? = 0
configure:8248: result: yes
configure:8248: checking for string.h
configure:8248: gcc -c -g -O2 conftest.c >&5
configure:8248: $? = 0
configure:8248: result: yes
configure:8248: checking for memory.h
configure:8248: gcc -c -g -O2 conftest.c >&5
configure:8248: $? = 0
configure:8248: result: yes
configure:8248: checking for strings.h
configure:8248: gcc -c -g -O2 conftest.c >&5
configure:8248: $? = 0
configure:8248: result: yes
configure:8248: checking for inttypes.h
configure:8248: gcc -c -g -O2 conftest.c >&5
configure:8248: $? = 0
configure:8248: result: yes
configure:8248: checking for stdint.h
configure:8248: gcc -c -g -O2 conftest.c >&5
configure:8248: $? = 0
configure:8248: result: yes
configure:8248: checking for unistd.h
configure:8248: gcc -c -g -O2 conftest.c >&5
configure:8248: $? = 0
configure:8248: result: yes
configure:8262: checking for dlfcn.h
configure:8262: gcc -c -g -O2 conftest.c >&5
configure:8262: $? = 0
configure:8262: result: yes
configure:8468: checking for objdir
configure:8483: result: .libs
configure:8754: checking if gcc supports -fno-rtti -fno-exceptions
configure:8772: gcc -c -g -O2 -fno-rtti -fno-exceptions conftest.c >&5
cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C
configure:8776: $? = 0
configure:8789: result: no
configure:9116: checking for gcc option to produce PIC
configure:9123: result: -fno-common -DPIC
configure:9131: checking if gcc PIC flag -fno-common -DPIC works
configure:9149: gcc -c -g -O2 -fno-common -DPIC -DPIC conftest.c >&5
configure:9153: $? = 0
configure:9166: result: yes
configure:9195: checking if gcc static flag -static works
configure:9223: result: no
configure:9238: checking if gcc supports -c -o file.o
configure:9259: gcc -c -g -O2 -o out/conftest2.o conftest.c >&5
configure:9263: $? = 0
configure:9285: result: yes
configure:9293: checking if gcc supports -c -o file.o
configure:9340: result: yes
configure:9373: checking whether the gcc linker (/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) supports shared libraries configure:10530: result: yes
configure:10770: checking dynamic linker characteristics
configure:11515: result: darwin11 dyld
configure:11622: checking how to hardcode library paths into programs
configure:11647: result: immediate
configure:12187: checking whether stripping libraries is possible
configure:12201: result: yes
configure:12227: checking if libtool supports shared libraries
configure:12229: result: yes
configure:12232: checking whether to build shared libraries
configure:12253: result: yes
configure:12256: checking whether to build static libraries
configure:12260: result: yes
configure:12299: checking for inline
configure:12315: gcc -c -g -O2 conftest.c >&5
configure:12315: $? = 0
configure:12323: result: inline
configure:12341: checking for pid_t
configure:12341: gcc -c -g -O2 conftest.c >&5
configure:12341: $? = 0
configure:12341: gcc -c -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:59: error: expected expression before ')' token
configure:12341: $? = 1
configure: failed program was:

| /* confdefs.h */
| #define PACKAGE_NAME "userspace-rcu"
| #define PACKAGE_TARNAME "userspace-rcu"
| #define PACKAGE_VERSION "0.7.7"
| #define PACKAGE_STRING "userspace-rcu 0.7.7"
| #define PACKAGE_BUGREPORT "mathieu dot desnoyers at efficios dot com"
| #define PACKAGE_URL ""
| #define PACKAGE "userspace-rcu"
| #define VERSION "0.7.7"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| if (sizeof ((pid_t)))
| 	    return 0;
|   ;
|   return 0;
| }

configure:12341: result: yes
configure:12352: checking for size_t configure:12352: gcc -c -g -O2 conftest.c >&5 configure:12352: $? = 0
configure:12352: gcc -c -g -O2 conftest.c >&5 conftest.c: In function 'main':
conftest.c:59: error: expected expression before ')' token configure:12352: $? = 1
configure: failed program was:

| /* confdefs.h */
| #define PACKAGE_NAME "userspace-rcu"
| #define PACKAGE_TARNAME "userspace-rcu"
| #define PACKAGE_VERSION "0.7.7"
| #define PACKAGE_STRING "userspace-rcu 0.7.7"
| #define PACKAGE_BUGREPORT "mathieu dot desnoyers at efficios dot com"
| #define PACKAGE_URL ""
| #define PACKAGE "userspace-rcu"
| #define VERSION "0.7.7"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| if (sizeof ((size_t)))
| 	    return 0;
|   ;
|   return 0;
| }

configure:12352: result: yes
configure:12367: checking for stdlib.h
configure:12367: result: yes
configure:12377: checking for GNU libc compatible malloc
configure:12401: gcc -o conftest -g -O2 conftest.c >&5
configure:12401: $? = 0
configure:12401: ./conftest
configure:12401: $? = 0
configure:12411: result: yes
configure:12438: checking for stdlib.h
configure:12438: result: yes
configure:12438: checking for unistd.h
configure:12438: result: yes
configure:12438: checking for sys/param.h
configure:12438: gcc -c -g -O2 conftest.c >&5 configure:12438: $? = 0
configure:12438: result: yes
configure:12458: checking for getpagesize
configure:12458: gcc -o conftest -g -O2 conftest.c >&5
configure:12458: $? = 0
configure:12458: result: yes
configure:12467: checking for working mmap
configure:12614: gcc -o conftest -g -O2 conftest.c >&5
configure:12614: $? = 0
configure:12614: ./conftest
configure:12614: $? = 0
configure:12624: result: yes
configure:12636: checking for bzero
configure:12636: gcc -o conftest -g -O2 conftest.c >&5
conftest.c:53: warning: conflicting types for built-in function 'bzero' configure:12636: $? = 0
configure:12636: result: yes
configure:12636: checking for gettimeofday
configure:12636: gcc -o conftest -g -O2 conftest.c >&5
configure:12636: $? = 0
configure:12636: result: yes
configure:12636: checking for munmap
configure:12636: gcc -o conftest -g -O2 conftest.c >&5
configure:12636: $? = 0
configure:12636: result: yes
configure:12636: checking for sched_getcpu
configure:12636: gcc -o conftest -g -O2 conftest.c >&5
Undefined symbols for architecture x86_64:
"_sched_getcpu", referenced from:
_main in ccsPS8CS.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
configure:12636: $? = 1
configure: failed program was:

| /* confdefs.h */
| #define PACKAGE_NAME "userspace-rcu"
| #define PACKAGE_TARNAME "userspace-rcu"
| #define PACKAGE_VERSION "0.7.7"
| #define PACKAGE_STRING "userspace-rcu 0.7.7"
| #define PACKAGE_BUGREPORT "mathieu dot desnoyers at efficios dot com"
| #define PACKAGE_URL ""
| #define PACKAGE "userspace-rcu"
| #define VERSION "0.7.7"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_STDLIB_H 1
| #define HAVE_MALLOC 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_BZERO 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_MUNMAP 1
| /* end confdefs.h.  */
| /* Define sched_getcpu to an innocuous variant, in case <limits.h> declares sched_getcpu.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define sched_getcpu innocuous_sched_getcpu
| 
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char sched_getcpu (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
| 
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 
| #undef sched_getcpu
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char sched_getcpu ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub_sched_getcpu || defined __stub___sched_getcpu
| choke me
| #endif
| 
| int
| main ()
| {
| return sched_getcpu ();
|   ;
|   return 0;
| }

configure:12636: result: no
configure:12636: checking for strtoul
configure:12636: gcc -o conftest -g -O2 conftest.c >&5
configure:12636: $? = 0
configure:12636: result: yes
configure:12636: checking for sysconf
configure:12636: gcc -o conftest -g -O2 conftest.c >&5
configure:12636: $? = 0
configure:12636: result: yes
configure:12744: checking if architecture really supports the mfence instruction configure:12758: result: no
configure:12766: checking for sys_futex()
configure:12778: gcc -c -g -O2 conftest.c >&5
conftest.c:38:4: error: #error "futexes not available" configure:12778: $? = 1
configure: failed program was:

| /* confdefs.h */
| #define PACKAGE_NAME "userspace-rcu"
| #define PACKAGE_TARNAME "userspace-rcu"
| #define PACKAGE_VERSION "0.7.7"
| #define PACKAGE_STRING "userspace-rcu 0.7.7"
| #define PACKAGE_BUGREPORT "mathieu dot desnoyers at efficios dot com"
| #define PACKAGE_URL ""
| #define PACKAGE "userspace-rcu"
| #define VERSION "0.7.7"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_STDLIB_H 1
| #define HAVE_MALLOC 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_BZERO 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_MUNMAP 1
| #define HAVE_STRTOUL 1
| #define HAVE_SYSCONF 1
| /* end confdefs.h.  */
| 
| 		#include <sys/syscall.h>
| 		#ifndef __NR_futex
| 		#error "futexes not available"
| 		#endif
| 
| 

configure:12788: result: no
configure:12858: checking for cpu_set_t
configure:12858: gcc -c -g -O2 -D_GNU_SOURCE conftest.c >&5 conftest.c: In function 'main':
conftest.c:41: error: 'cpu_set_t' undeclared (first use in this function) conftest.c:41: error: (Each undeclared identifier is reported only once conftest.c:41: error: for each function it appears in.) configure:12858: $? = 1
configure: failed program was:

| /* confdefs.h */
| #define PACKAGE_NAME "userspace-rcu"
| #define PACKAGE_TARNAME "userspace-rcu"
| #define PACKAGE_VERSION "0.7.7"
| #define PACKAGE_STRING "userspace-rcu 0.7.7"
| #define PACKAGE_BUGREPORT "mathieu dot desnoyers at efficios dot com"
| #define PACKAGE_URL ""
| #define PACKAGE "userspace-rcu"
| #define VERSION "0.7.7"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_STDLIB_H 1
| #define HAVE_MALLOC 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_BZERO 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_MUNMAP 1
| #define HAVE_STRTOUL 1
| #define HAVE_SYSCONF 1
| #define CONFIG_RCU_SMP 1
| /* end confdefs.h.  */
| #include <sched.h>
| 
| int
| main ()
| {
| if (sizeof (cpu_set_t))
| 	 return 0;
|   ;
|   return 0;
| }

configure:12858: result: no
configure:12873: checking whether CPU_ZERO works configure:12889: gcc -c -g -O2 -D_GNU_SOURCE conftest.c >&5 conftest.c:37:1: warning: "_GNU_SOURCE" redefined <command-line>: warning: this is the location of the previous definition conftest.c: In function 'main':
conftest.c:41: error: 'cpu_set_t' undeclared (first use in this function) conftest.c:41: error: (Each undeclared identifier is reported only once conftest.c:41: error: for each function it appears in.) conftest.c:41: error: expected ';' before 'foo' conftest.c:41: error: 'foo' undeclared (first use in this function) configure:12889: $? = 1
configure: failed program was:

| /* confdefs.h */
| #define PACKAGE_NAME "userspace-rcu"
| #define PACKAGE_TARNAME "userspace-rcu"
| #define PACKAGE_VERSION "0.7.7"
| #define PACKAGE_STRING "userspace-rcu 0.7.7"
| #define PACKAGE_BUGREPORT "mathieu dot desnoyers at efficios dot com"
| #define PACKAGE_URL ""
| #define PACKAGE "userspace-rcu"
| #define VERSION "0.7.7"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_STDLIB_H 1
| #define HAVE_MALLOC 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_BZERO 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_MUNMAP 1
| #define HAVE_STRTOUL 1
| #define HAVE_SYSCONF 1
| #define CONFIG_RCU_SMP 1
| /* end confdefs.h.  */
| 
| 		#define _GNU_SOURCE
| 		#include <sched.h>
| 		int main()
| 		{
| 			cpu_set_t foo; CPU_ZERO(&foo);
| 			return 0;
| 		}
| 
| 

configure:12898: result: no
configure:12905: checking whether CPU_SET works configure:12921: gcc -c -g -O2 -D_GNU_SOURCE conftest.c >&5 conftest.c:37:1: warning: "_GNU_SOURCE" redefined <command-line>: warning: this is the location of the previous definition conftest.c: In function 'main':
conftest.c:41: error: 'cpu_set_t' undeclared (first use in this function) conftest.c:41: error: (Each undeclared identifier is reported only once conftest.c:41: error: for each function it appears in.) conftest.c:41: error: expected ';' before 'foo' conftest.c:41: error: 'foo' undeclared (first use in this function) configure:12921: $? = 1
configure: failed program was:

| /* confdefs.h */
| #define PACKAGE_NAME "userspace-rcu"
| #define PACKAGE_TARNAME "userspace-rcu"
| #define PACKAGE_VERSION "0.7.7"
| #define PACKAGE_STRING "userspace-rcu 0.7.7"
| #define PACKAGE_BUGREPORT "mathieu dot desnoyers at efficios dot com"
| #define PACKAGE_URL ""
| #define PACKAGE "userspace-rcu"
| #define VERSION "0.7.7"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_STDLIB_H 1
| #define HAVE_MALLOC 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_BZERO 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_MUNMAP 1
| #define HAVE_STRTOUL 1
| #define HAVE_SYSCONF 1
| #define CONFIG_RCU_SMP 1
| /* end confdefs.h.  */
| 
| 		#define _GNU_SOURCE
| 		#include <sched.h>
| 		int main()
| 		{
| 			cpu_set_t foo, mask; CPU_SET(0, &foo);
| 			return 0;
| 		}
| 
| 

configure:12930: result: no
configure:12939: checking for sched_setaffinity
configure:12939: gcc -o conftest -g -O2 -D_GNU_SOURCE conftest.c >&5
Undefined symbols for architecture x86_64:
"_sched_setaffinity", referenced from:
_main in ccUxWJEJ.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
configure:12939: $? = 1
configure: failed program was:

| /* confdefs.h */
| #define PACKAGE_NAME "userspace-rcu"
| #define PACKAGE_TARNAME "userspace-rcu"
| #define PACKAGE_VERSION "0.7.7"
| #define PACKAGE_STRING "userspace-rcu 0.7.7"
| #define PACKAGE_BUGREPORT "mathieu dot desnoyers at efficios dot com"
| #define PACKAGE_URL ""
| #define PACKAGE "userspace-rcu"
| #define VERSION "0.7.7"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_STDLIB_H 1
| #define HAVE_MALLOC 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_BZERO 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_MUNMAP 1
| #define HAVE_STRTOUL 1
| #define HAVE_SYSCONF 1
| #define CONFIG_RCU_SMP 1
| /* end confdefs.h.  */
| /* Define sched_setaffinity to an innocuous variant, in case <limits.h> declares sched_setaffinity.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define sched_setaffinity innocuous_sched_setaffinity
| 
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char sched_setaffinity (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
| 
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 
| #undef sched_setaffinity
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char sched_setaffinity ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub_sched_setaffinity || defined __stub___sched_setaffinity
| choke me
| #endif
| 
| int
| main ()
| {
| return sched_setaffinity ();
|   ;
|   return 0;
| }

configure:12939: result: no
configure:13145: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by userspace-rcu config.status 0.7.7, which was generated by GNU Autoconf 2.69. Invocation command line was

  CONFIG_FILES    = 
  CONFIG_HEADERS  = 
  CONFIG_LINKS    = 
  CONFIG_COMMANDS = 
  $ ./config.status 

on clabbers

config.status:1117: creating Makefile config.status:1117: creating doc/Makefile config.status:1117: creating tests/Makefile config.status:1117: creating liburcu.pc config.status:1117: creating liburcu-bp.pc config.status:1117: creating liburcu-cds.pc config.status:1117: creating liburcu-qsbr.pc config.status:1117: creating liburcu-mb.pc config.status:1117: creating liburcu-signal.pc config.status:1117: creating config.h config.status:1117: creating urcu/config.h config.status:1358: linking urcu/arch/x86.h to urcu/arch.h config.status:1358: linking urcu/uatomic/x86.h to urcu/uatomic.h config.status:1377: executing depfiles commands config.status:1377: executing libtool commands

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i386-apple-darwin12.4.0
ac_cv_c_compiler_gnu=yes
ac_cv_c_inline=inline
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=i686-apple-darwin11
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_func_bzero=yes
ac_cv_func_getpagesize=yes
ac_cv_func_gettimeofday=yes
ac_cv_func_malloc_0_nonnull=yes
ac_cv_func_mmap_fixed_mapped=yes
ac_cv_func_munmap=yes
ac_cv_func_sched_getcpu=no
ac_cv_func_sched_setaffinity=no
ac_cv_func_strtoul=yes
ac_cv_func_sysconf=yes
ac_cv_header_dlfcn_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_param_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=i686-apple-darwin11
ac_cv_objext=o
ac_cv_path_EGREP='/usr/bin/grep -E'
ac_cv_path_FGREP='/usr/bin/grep -F'
ac_cv_path_GREP=/usr/bin/grep
ac_cv_path_SED=/usr/bin/sed
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=awk
ac_cv_prog_CC=gcc
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_STRIP=strip
ac_cv_prog_ac_ct_AR=ar
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_DSYMUTIL=dsymutil
ac_cv_prog_ac_ct_DUMPBIN='link -dump'
ac_cv_prog_ac_ct_LIPO=lipo
ac_cv_prog_ac_ct_NMEDIT=nmedit
ac_cv_prog_ac_ct_OTOOL=otool
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_make_make_set=yes
ac_cv_target=i686-apple-darwin11
ac_cv_tls=none
ac_cv_type_cpu_set_t=no
ac_cv_type_pid_t=yes
ac_cv_type_size_t=yes
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_make_support_nested_variables=yes
lt_cv_apple_cc_single_mod=yes
lt_cv_ar_at_file=no
lt_cv_deplibs_check_method=pass_all
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
lt_cv_ld_exported_symbols_list=yes
lt_cv_ld_force_load=yes
lt_cv_ld_reload_flag=-r
lt_cv_nm_interface='BSD nm'
lt_cv_objdir=.libs
lt_cv_path_LD=/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld
lt_cv_path_NM=no
lt_cv_path_mainfest_tool=no
lt_cv_prog_compiler_c_o=yes
lt_cv_prog_compiler_pic='-fno-common -DPIC'
lt_cv_prog_compiler_pic_works=yes
lt_cv_prog_compiler_rtti_exceptions=no
lt_cv_prog_compiler_static_works=no
lt_cv_prog_gnu_ld=no
lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'''
lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\''' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\''' lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[BCDEGRST]* .* \(.*\)$/extern char \1;/p'\'''
lt_cv_sys_max_cmd_len=196608
lt_cv_to_host_file_cmd=func_convert_file_noop
lt_cv_to_tool_file_cmd=func_convert_file_noop

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /Users/anandb/Software/userspace-rcu-0.7.7/config/missing --run aclocal-1.11' AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='0'
AM_V='$(V)'
AR='ar'
ARCHTYPE='x86'
AUTOCONF='${SHELL} /Users/anandb/Software/userspace-rcu-0.7.7/config/missing --run autoconf' AUTOHEADER='${SHELL} /Users/anandb/Software/userspace-rcu-0.7.7/config/missing --run autoheader' AUTOMAKE='${SHELL} /Users/anandb/Software/userspace-rcu-0.7.7/config/missing --run automake-1.11' AWK='awk'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2'
COMPAT_ARCH_FALSE=''
COMPAT_ARCH_TRUE='#'
COMPAT_FUTEX_FALSE='#'
COMPAT_FUTEX_TRUE=''
CPP='gcc -E'
CPPFLAGS=''
CYGPATH_W='echo'
DEFS='-DHAVE_CONFIG_H'
DEPDIR='.deps'
DLLTOOL='false'
DSYMUTIL='dsymutil'
DUMPBIN=':'
ECHO_C='\c'
ECHO_N=''
ECHO_T=''
EGREP='/usr/bin/grep -E'
EXEEXT=''
FGREP='/usr/bin/grep -F'
GREP='/usr/bin/grep'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LD='/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LIPO='lipo'
LN_S='ln -s'
LTLIBOBJS=''
MAKEINFO='${SHELL} /Users/anandb/Software/userspace-rcu-0.7.7/config/missing --run makeinfo' MANIFEST_TOOL=':'
MKDIR_P='config/install-sh -c -d'
NM='nm'
NMEDIT='nmedit'
OBJDUMP='false'
OBJEXT='o'
OTOOL64=':'
OTOOL='otool'
PACKAGE='userspace-rcu'
PACKAGE_BUGREPORT='mathieu dot desnoyers at efficios dot com' PACKAGE_NAME='userspace-rcu'
PACKAGE_STRING='userspace-rcu 0.7.7'
PACKAGE_TARNAME='userspace-rcu'
PACKAGE_URL=''
PACKAGE_VERSION='0.7.7'
PATH_SEPARATOR=':'
RANLIB='ranlib'
SED='/usr/bin/sed'
SET_MAKE=''
SHELL='/bin/sh'
STRIP='strip'
SUBARCHTYPE=''
URCU_LIBRARY_VERSION='1:0:0'
VERSION='0.7.7'
ac_ct_AR='ar'
ac_ct_CC='gcc'
ac_ct_DUMPBIN='link -dump'
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE='#'
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build='i386-apple-darwin12.4.0'
build_alias=''
build_cpu='i386'
build_os='darwin12.4.0'
build_vendor='apple'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='${prefix}'
host='i686-apple-darwin11'
host_alias='i686-apple-darwin11'
host_cpu='i686'
host_os='darwin11'
host_vendor='apple'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /Users/anandb/Software/userspace-rcu-0.7.7/config/install-sh' libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(top_builddir)/config/install-sh -c -d'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr/local'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='i686-apple-darwin11'
target_alias=''
target_cpu='i686'
target_os='darwin11'
target_vendor='apple'

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "userspace-rcu"
#define PACKAGE_TARNAME "userspace-rcu"
#define PACKAGE_VERSION "0.7.7"
#define PACKAGE_STRING "userspace-rcu 0.7.7"
#define PACKAGE_BUGREPORT "mathieu dot desnoyers at efficios dot com" #define PACKAGE_URL ""
#define PACKAGE "userspace-rcu"
#define VERSION "0.7.7"
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
#define HAVE_STDLIB_H 1
#define HAVE_MALLOC 1
#define HAVE_STDLIB_H 1
#define HAVE_UNISTD_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_GETPAGESIZE 1
#define HAVE_MMAP 1
#define HAVE_BZERO 1
#define HAVE_GETTIMEOFDAY 1
#define HAVE_MUNMAP 1
#define HAVE_STRTOUL 1
#define HAVE_SYSCONF 1
#define CONFIG_RCU_SMP 1

configure: exit 0

This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake.

It was created by userspace-rcu configure 0.7.7, which was generated by GNU Autoconf 2.69. Invocation command line was

  $ ./configure 

## --------- ##
## Platform. ##
## --------- ##

hostname = clabbers
uname -m = x86_64
uname -r = 12.4.0
uname -s = Darwin
uname -v = Darwin Kernel Version 12.4.0: Wed May 1 17:57:12 PDT 2013; root:xnu-2050.24.15~1/RELEASE_X86_64

/usr/bin/uname -p = i386
/bin/uname -X = unknown

/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = Mach kernel version:

	 Darwin Kernel Version 12.4.0: Wed May  1 17:57:12 PDT 2013; root:xnu-2050.24.15~1/RELEASE_X86_64

Kernel configured for up to 2 processors.
2 processors are physically available.
2 processors are logically available.
Processor type: i486 (Intel 80486)
Processors active: 0 1
Primary memory available: 4.00 gigabytes
Default processor set: 112 tasks, 601 threads, 2 processors Load average: 0.86, Mach factor: 1.46

/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /Users/anandb/mypython/bin
PATH: /Users/anandb/bin
PATH: /Users/anandb/Homebrew/bin
PATH: /Users/anandb/Homebrew/sbin
PATH: /usr/bin
PATH: /bin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/local/bin
PATH: /usr/local/MacGPG2/bin

## ----------- ##
## Core tests. ##
## ----------- ##

configure:2319: checking build system type
configure:2333: result: i386-apple-darwin12.4.0
configure:2353: checking host system type
configure:2366: result: i386-apple-darwin12.4.0
configure:2386: checking target system type
configure:2399: result: i386-apple-darwin12.4.0
configure:2442: checking for a BSD-compatible install
configure:2510: result: /usr/bin/install -c
configure:2521: checking whether build environment is sane
configure:2571: result: yes
configure:2712: checking for a thread-safe mkdir -p
configure:2751: result: config/install-sh -c -d
configure:2764: checking for gawk
configure:2794: result: no
configure:2764: checking for mawk
configure:2794: result: no
configure:2764: checking for nawk
configure:2794: result: no
configure:2764: checking for awk
configure:2780: found /usr/bin/awk
configure:2791: result: awk
configure:2802: checking whether make sets $(MAKE)
configure:2824: result: yes
configure:2915: checking whether make supports nested variables
configure:2932: result: yes
configure:3037: checking for style of include used by make
configure:3065: result: GNU
configure:3136: checking for gcc
configure:3152: found /usr/bin/gcc
configure:3163: result: gcc
configure:3392: checking for C compiler version
configure:3401: gcc --version >&5
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00) Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3412: $? = 0
configure:3401: gcc -v >&5
Using built-in specs.
Target: i686-apple-darwin11
Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2336.11~182/src/configure --disable-checking --enable-werror --prefix=/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin11 --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2336.11~182/dst-llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11 --target=i686-apple-darwin11 --with-gxx-include-dir=/usr/include/c++/4.2.1 Thread model: posix
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
configure:3412: $? = 0
configure:3401: gcc -V >&5
llvm-gcc-4.2: argument to `-V' is missing
configure:3412: $? = 1
configure:3401: gcc -qversion >&5
i686-apple-darwin11-llvm-gcc-4.2: no input files
configure:3412: $? = 1
configure:3432: checking whether the C compiler works
configure:3454: gcc conftest.c >&5
configure:3458: $? = 0
configure:3506: result: yes
configure:3509: checking for C compiler default output file name
configure:3511: result: a.out
configure:3517: checking for suffix of executables
configure:3524: gcc -o conftest conftest.c >&5
configure:3528: $? = 0
configure:3550: result:
configure:3572: checking whether we are cross compiling
configure:3580: gcc -o conftest conftest.c >&5
configure:3584: $? = 0
configure:3591: ./conftest
configure:3595: $? = 0
configure:3610: result: no
configure:3615: checking for suffix of object files
configure:3637: gcc -c conftest.c >&5
configure:3641: $? = 0
configure:3662: result: o
configure:3666: checking whether we are using the GNU C compiler
configure:3685: gcc -c conftest.c >&5
configure:3685: $? = 0
configure:3694: result: yes
configure:3703: checking whether gcc accepts -g
configure:3723: gcc -c -g conftest.c >&5
configure:3723: $? = 0
configure:3764: result: yes
configure:3781: checking for gcc option to accept ISO C89
configure:3844: gcc -c -g -O2 conftest.c >&5
configure:3844: $? = 0
configure:3857: result: none needed
configure:3879: checking dependency style of gcc
configure:3990: result: gcc3
configure:4008: checking for thread local storage (TLS) class
configure:4031: gcc -o conftest -g -O2 conftest.c >&5
conftest.c:11: error: thread-local storage not supported for this target
configure:4031: $? = 1
configure: failed program was:

| /* confdefs.h */
| #define PACKAGE_NAME "userspace-rcu"
| #define PACKAGE_TARNAME "userspace-rcu"
| #define PACKAGE_VERSION "0.7.7"
| #define PACKAGE_STRING "userspace-rcu 0.7.7"
| #define PACKAGE_BUGREPORT "mathieu dot desnoyers at efficios dot com"
| #define PACKAGE_URL ""
| #define PACKAGE "userspace-rcu"
| #define VERSION "0.7.7"
| /* end confdefs.h.  */
| __thread int foo;
| int
| main ()
| {
| ++foo;
|   ;
|   return 0;
| }

configure:4031: gcc -o conftest -g -O2 conftest.c >&5
conftest.c: In function '__declspec':
conftest.c:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token conftest.c:11: error: declaration for parameter 'foo' but no such parameter conftest.c:18: error: expected '{' at end of input
configure:4031: $? = 1
configure: failed program was:

| /* confdefs.h */
| #define PACKAGE_NAME "userspace-rcu"
| #define PACKAGE_TARNAME "userspace-rcu"
| #define PACKAGE_VERSION "0.7.7"
| #define PACKAGE_STRING "userspace-rcu 0.7.7"
| #define PACKAGE_BUGREPORT "mathieu dot desnoyers at efficios dot com"
| #define PACKAGE_URL ""
| #define PACKAGE "userspace-rcu"
| #define VERSION "0.7.7"
| /* end confdefs.h.  */
| __declspec(thread) int foo;
| int
| main ()
| {
| ++foo;
|   ;
|   return 0;
| }

configure:4044: result: none
configure:4121: checking for gcc
configure:4148: result: gcc
configure:4377: checking for C compiler version
configure:4386: gcc --version >&5
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00) Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:4397: $? = 0
configure:4386: gcc -v >&5
Using built-in specs.
Target: i686-apple-darwin11
Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2336.11~182/src/configure --disable-checking --enable-werror --prefix=/Applications/Xcode.app/Contents/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin11 --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2336.11~182/dst-llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11 --target=i686-apple-darwin11 --with-gxx-include-dir=/usr/include/c++/4.2.1 Thread model: posix
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
configure:4397: $? = 0
configure:4386: gcc -V >&5
llvm-gcc-4.2: argument to `-V' is missing
configure:4397: $? = 1
configure:4386: gcc -qversion >&5
i686-apple-darwin11-llvm-gcc-4.2: no input files
configure:4397: $? = 1
configure:4401: checking whether we are using the GNU C compiler
configure:4429: result: yes
configure:4438: checking whether gcc accepts -g
configure:4499: result: yes
configure:4516: checking for gcc option to accept ISO C89
configure:4592: result: none needed
configure:4614: checking dependency style of gcc
configure:4725: result: gcc3
configure:4740: checking whether make sets $(MAKE)
configure:4762: result: yes
configure:4817: checking how to print strings
configure:4844: result: printf
configure:4865: checking for a sed that does not truncate output
configure:4929: result: /usr/bin/sed
configure:4947: checking for grep that handles long lines and -e
configure:5005: result: /usr/bin/grep
configure:5010: checking for egrep
configure:5072: result: /usr/bin/grep -E
configure:5077: checking for fgrep
configure:5139: result: /usr/bin/grep -F
configure:5174: checking for ld used by gcc
configure:5241: result: /usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld
configure:5248: checking if the linker (/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) is GNU ld
configure:5263: result: no
configure:5275: checking for BSD- or MS-compatible name lister (nm)
configure:5324: result: /usr/bin/nm
configure:5454: checking the name lister (/usr/bin/nm) interface
configure:5461: gcc -c -g -O2 conftest.c >&5
configure:5464: /usr/bin/nm "conftest.o"
configure:5467: output
00000000000001a0 S _some_variable
configure:5474: result: BSD nm
configure:5477: checking whether ln -s works
configure:5481: result: yes
configure:5489: checking the maximum length of command line arguments
configure:5619: result: 196608
configure:5636: checking whether the shell understands some XSI constructs
configure:5646: result: yes
configure:5650: checking whether the shell understands "+="
configure:5656: result: yes
configure:5691: checking how to convert i386-apple-darwin12.4.0 file names to i386-apple-darwin12.4.0 format
configure:5731: result: func_convert_file_noop
configure:5738: checking how to convert i386-apple-darwin12.4.0 file names to toolchain format
configure:5758: result: func_convert_file_noop
configure:5765: checking for /usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld option to reload object files
configure:5772: result: -r
configure:5846: checking for objdump
configure:5876: result: no
configure:5905: checking how to recognize dependent libraries
configure:6107: result: pass_all
configure:6192: checking for dlltool
configure:6222: result: no
configure:6252: checking how to associate runtime and link libraries
configure:6279: result: printf %s\n
configure:6339: checking for ar
configure:6355: found /usr/bin/ar
configure:6366: result: ar
configure:6403: checking for archiver @FILE support
configure:6420: gcc -c -g -O2 conftest.c >&5
configure:6420: $? = 0
configure:6423: ar cru libconftest.a @conftest.lst >&5
ar: @conftest.lst: No such file or directory
configure:6426: $? = 1
configure:6446: result: no
configure:6504: checking for strip
configure:6520: found /usr/bin/strip
configure:6531: result: strip
configure:6603: checking for ranlib
configure:6619: found /usr/bin/ranlib
configure:6630: result: ranlib
configure:6732: checking command to parse /usr/bin/nm output from gcc object
configure:6852: gcc -c -g -O2 conftest.c >&5
configure:6855: $? = 0
configure:6859: /usr/bin/nm conftest.o \| sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
configure:6862: $? = 0
cannot find nm_test_var in conftest.nm
configure:6852: gcc -c -g -O2 conftest.c >&5
configure:6855: $? = 0
configure:6859: /usr/bin/nm conftest.o \| sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm
configure:6862: $? = 0
configure:6928: gcc -o conftest -g -O2 conftest.c conftstm.o >&5
configure:6931: $? = 0
configure:6969: result: ok
configure:7006: checking for sysroot
configure:7036: result: no
configure:7292: checking for mt
configure:7322: result: no
configure:7342: checking if : is a manifest tool
configure:7348: : '-?'
configure:7356: result: no
configure:7412: checking for dsymutil
configure:7428: found /usr/bin/dsymutil
configure:7439: result: dsymutil
configure:7504: checking for nmedit
configure:7520: found /usr/bin/nmedit
configure:7531: result: nmedit
configure:7596: checking for lipo
configure:7612: found /usr/bin/lipo
configure:7623: result: lipo
configure:7688: checking for otool
configure:7704: found /usr/bin/otool
configure:7715: result: otool
configure:7780: checking for otool64
configure:7810: result: no
configure:7855: checking for -single_module linker flag
gcc -g -O2 -o libconftest.dylib -dynamiclib -Wl,-single_module conftest.c
configure:7888: result: yes
configure:7891: checking for -exported_symbols_list linker flag
configure:7911: gcc -o conftest -g -O2 -Wl,-exported_symbols_list,conftest.sym conftest.c >&5
configure:7911: $? = 0
configure:7921: result: yes
configure:7924: checking for -force_load linker flag
gcc -g -O2 -c -o conftest.o conftest.c
ar cru libconftest.a conftest.o
ranlib libconftest.a
gcc -g -O2 -o conftest conftest.c -Wl,-force_load,./libconftest.a
configure:7956: result: yes
configure:7998: checking how to run the C preprocessor
configure:8029: gcc -E conftest.c
configure:8029: $? = 0
configure:8043: gcc -E conftest.c
conftest.c:11:28: error: ac_nonexistent.h: No such file or directory
configure:8043: $? = 1
configure: failed program was:

| /* confdefs.h */
| #define PACKAGE_NAME "userspace-rcu"
| #define PACKAGE_TARNAME "userspace-rcu"
| #define PACKAGE_VERSION "0.7.7"
| #define PACKAGE_STRING "userspace-rcu 0.7.7"
| #define PACKAGE_BUGREPORT "mathieu dot desnoyers at efficios dot com"
| #define PACKAGE_URL ""
| #define PACKAGE "userspace-rcu"
| #define VERSION "0.7.7"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>

configure:8068: result: gcc -E
configure:8088: gcc -E conftest.c
configure:8088: $? = 0
configure:8102: gcc -E conftest.c
conftest.c:11:28: error: ac_nonexistent.h: No such file or directory configure:8102: $? = 1
configure: failed program was:

| /* confdefs.h */
| #define PACKAGE_NAME "userspace-rcu"
| #define PACKAGE_TARNAME "userspace-rcu"
| #define PACKAGE_VERSION "0.7.7"
| #define PACKAGE_STRING "userspace-rcu 0.7.7"
| #define PACKAGE_BUGREPORT "mathieu dot desnoyers at efficios dot com"
| #define PACKAGE_URL ""
| #define PACKAGE "userspace-rcu"
| #define VERSION "0.7.7"
| /* end confdefs.h.  */
| #include <ac_nonexistent.h>

configure:8131: checking for ANSI C header files
configure:8151: gcc -c -g -O2 conftest.c >&5
configure:8151: $? = 0
configure:8224: gcc -o conftest -g -O2 conftest.c >&5
configure:8224: $? = 0
configure:8224: ./conftest
configure:8224: $? = 0
configure:8235: result: yes
configure:8248: checking for sys/types.h
configure:8248: gcc -c -g -O2 conftest.c >&5
configure:8248: $? = 0
configure:8248: result: yes
configure:8248: checking for sys/stat.h
configure:8248: gcc -c -g -O2 conftest.c >&5
configure:8248: $? = 0
configure:8248: result: yes
configure:8248: checking for stdlib.h
configure:8248: gcc -c -g -O2 conftest.c >&5
configure:8248: $? = 0
configure:8248: result: yes
configure:8248: checking for string.h
configure:8248: gcc -c -g -O2 conftest.c >&5
configure:8248: $? = 0
configure:8248: result: yes
configure:8248: checking for memory.h
configure:8248: gcc -c -g -O2 conftest.c >&5
configure:8248: $? = 0
configure:8248: result: yes
configure:8248: checking for strings.h
configure:8248: gcc -c -g -O2 conftest.c >&5
configure:8248: $? = 0
configure:8248: result: yes
configure:8248: checking for inttypes.h
configure:8248: gcc -c -g -O2 conftest.c >&5
configure:8248: $? = 0
configure:8248: result: yes
configure:8248: checking for stdint.h
configure:8248: gcc -c -g -O2 conftest.c >&5
configure:8248: $? = 0
configure:8248: result: yes
configure:8248: checking for unistd.h
configure:8248: gcc -c -g -O2 conftest.c >&5
configure:8248: $? = 0
configure:8248: result: yes
configure:8262: checking for dlfcn.h
configure:8262: gcc -c -g -O2 conftest.c >&5
configure:8262: $? = 0
configure:8262: result: yes
configure:8468: checking for objdir
configure:8483: result: .libs
configure:8754: checking if gcc supports -fno-rtti -fno-exceptions
configure:8772: gcc -c -g -O2 -fno-rtti -fno-exceptions conftest.c >&5
cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C
configure:8776: $? = 0
configure:8789: result: no
configure:9116: checking for gcc option to produce PIC
configure:9123: result: -fno-common -DPIC
configure:9131: checking if gcc PIC flag -fno-common -DPIC works
configure:9149: gcc -c -g -O2 -fno-common -DPIC -DPIC conftest.c >&5
configure:9153: $? = 0
configure:9166: result: yes
configure:9195: checking if gcc static flag -static works
configure:9223: result: no
configure:9238: checking if gcc supports -c -o file.o
configure:9259: gcc -c -g -O2 -o out/conftest2.o conftest.c >&5
configure:9263: $? = 0
configure:9285: result: yes
configure:9293: checking if gcc supports -c -o file.o
configure:9340: result: yes
configure:9373: checking whether the gcc linker (/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld) supports shared libraries configure:10530: result: yes
configure:10770: checking dynamic linker characteristics
configure:11515: result: darwin12.4.0 dyld
configure:11622: checking how to hardcode library paths into programs
configure:11647: result: immediate
configure:12187: checking whether stripping libraries is possible
configure:12201: result: yes
configure:12227: checking if libtool supports shared libraries
configure:12229: result: yes
configure:12232: checking whether to build shared libraries
configure:12253: result: yes
configure:12256: checking whether to build static libraries
configure:12260: result: yes
configure:12299: checking for inline
configure:12315: gcc -c -g -O2 conftest.c >&5
configure:12315: $? = 0
configure:12323: result: inline
configure:12341: checking for pid_t
configure:12341: gcc -c -g -O2 conftest.c >&5
configure:12341: $? = 0
configure:12341: gcc -c -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:59: error: expected expression before ')' token
configure:12341: $? = 1
configure: failed program was:

| /* confdefs.h */
| #define PACKAGE_NAME "userspace-rcu"
| #define PACKAGE_TARNAME "userspace-rcu"
| #define PACKAGE_VERSION "0.7.7"
| #define PACKAGE_STRING "userspace-rcu 0.7.7"
| #define PACKAGE_BUGREPORT "mathieu dot desnoyers at efficios dot com"
| #define PACKAGE_URL ""
| #define PACKAGE "userspace-rcu"
| #define VERSION "0.7.7"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| if (sizeof ((pid_t)))
| 	    return 0;
|   ;
|   return 0;
| }

configure:12341: result: yes
configure:12352: checking for size_t configure:12352: gcc -c -g -O2 conftest.c >&5 configure:12352: $? = 0
configure:12352: gcc -c -g -O2 conftest.c >&5 conftest.c: In function 'main':
conftest.c:59: error: expected expression before ')' token configure:12352: $? = 1
configure: failed program was:

| /* confdefs.h */
| #define PACKAGE_NAME "userspace-rcu"
| #define PACKAGE_TARNAME "userspace-rcu"
| #define PACKAGE_VERSION "0.7.7"
| #define PACKAGE_STRING "userspace-rcu 0.7.7"
| #define PACKAGE_BUGREPORT "mathieu dot desnoyers at efficios dot com"
| #define PACKAGE_URL ""
| #define PACKAGE "userspace-rcu"
| #define VERSION "0.7.7"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| /* end confdefs.h.  */
| #include <stdio.h>
| #ifdef HAVE_SYS_TYPES_H
| # include <sys/types.h>
| #endif
| #ifdef HAVE_SYS_STAT_H
| # include <sys/stat.h>
| #endif
| #ifdef STDC_HEADERS
| # include <stdlib.h>
| # include <stddef.h>
| #else
| # ifdef HAVE_STDLIB_H
| #  include <stdlib.h>
| # endif
| #endif
| #ifdef HAVE_STRING_H
| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
| #  include <memory.h>
| # endif
| # include <string.h>
| #endif
| #ifdef HAVE_STRINGS_H
| # include <strings.h>
| #endif
| #ifdef HAVE_INTTYPES_H
| # include <inttypes.h>
| #endif
| #ifdef HAVE_STDINT_H
| # include <stdint.h>
| #endif
| #ifdef HAVE_UNISTD_H
| # include <unistd.h>
| #endif
| int
| main ()
| {
| if (sizeof ((size_t)))
| 	    return 0;
|   ;
|   return 0;
| }

configure:12352: result: yes
configure:12367: checking for stdlib.h
configure:12367: result: yes
configure:12377: checking for GNU libc compatible malloc
configure:12401: gcc -o conftest -g -O2 conftest.c >&5
configure:12401: $? = 0
configure:12401: ./conftest
configure:12401: $? = 0
configure:12411: result: yes
configure:12438: checking for stdlib.h
configure:12438: result: yes
configure:12438: checking for unistd.h
configure:12438: result: yes
configure:12438: checking for sys/param.h
configure:12438: gcc -c -g -O2 conftest.c >&5 configure:12438: $? = 0
configure:12438: result: yes
configure:12458: checking for getpagesize
configure:12458: gcc -o conftest -g -O2 conftest.c >&5
configure:12458: $? = 0
configure:12458: result: yes
configure:12467: checking for working mmap
configure:12614: gcc -o conftest -g -O2 conftest.c >&5
configure:12614: $? = 0
configure:12614: ./conftest
configure:12614: $? = 0
configure:12624: result: yes
configure:12636: checking for bzero
configure:12636: gcc -o conftest -g -O2 conftest.c >&5
conftest.c:53: warning: conflicting types for built-in function 'bzero' configure:12636: $? = 0
configure:12636: result: yes
configure:12636: checking for gettimeofday
configure:12636: gcc -o conftest -g -O2 conftest.c >&5
configure:12636: $? = 0
configure:12636: result: yes
configure:12636: checking for munmap
configure:12636: gcc -o conftest -g -O2 conftest.c >&5
configure:12636: $? = 0
configure:12636: result: yes
configure:12636: checking for sched_getcpu
configure:12636: gcc -o conftest -g -O2 conftest.c >&5
Undefined symbols for architecture x86_64:
"_sched_getcpu", referenced from:
_main in ccfveuwi.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
configure:12636: $? = 1
configure: failed program was:

| /* confdefs.h */
| #define PACKAGE_NAME "userspace-rcu"
| #define PACKAGE_TARNAME "userspace-rcu"
| #define PACKAGE_VERSION "0.7.7"
| #define PACKAGE_STRING "userspace-rcu 0.7.7"
| #define PACKAGE_BUGREPORT "mathieu dot desnoyers at efficios dot com"
| #define PACKAGE_URL ""
| #define PACKAGE "userspace-rcu"
| #define VERSION "0.7.7"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_STDLIB_H 1
| #define HAVE_MALLOC 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_BZERO 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_MUNMAP 1
| /* end confdefs.h.  */
| /* Define sched_getcpu to an innocuous variant, in case <limits.h> declares sched_getcpu.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define sched_getcpu innocuous_sched_getcpu
| 
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char sched_getcpu (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
| 
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 
| #undef sched_getcpu
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char sched_getcpu ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub_sched_getcpu || defined __stub___sched_getcpu
| choke me
| #endif
| 
| int
| main ()
| {
| return sched_getcpu ();
|   ;
|   return 0;
| }

configure:12636: result: no
configure:12636: checking for strtoul
configure:12636: gcc -o conftest -g -O2 conftest.c >&5
configure:12636: $? = 0
configure:12636: result: yes
configure:12636: checking for sysconf
configure:12636: gcc -o conftest -g -O2 conftest.c >&5
configure:12636: $? = 0
configure:12636: result: yes
configure:12744: checking if architecture really supports the mfence instruction configure:12758: result: no
configure:12766: checking for sys_futex()
configure:12778: gcc -c -g -O2 conftest.c >&5
conftest.c:39:4: error: #error "futexes not available" configure:12778: $? = 1
configure: failed program was:

| /* confdefs.h */
| #define PACKAGE_NAME "userspace-rcu"
| #define PACKAGE_TARNAME "userspace-rcu"
| #define PACKAGE_VERSION "0.7.7"
| #define PACKAGE_STRING "userspace-rcu 0.7.7"
| #define PACKAGE_BUGREPORT "mathieu dot desnoyers at efficios dot com"
| #define PACKAGE_URL ""
| #define PACKAGE "userspace-rcu"
| #define VERSION "0.7.7"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_STDLIB_H 1
| #define HAVE_MALLOC 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_BZERO 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_MUNMAP 1
| #define HAVE_STRTOUL 1
| #define HAVE_SYSCONF 1
| #define CONFIG_RCU_COMPAT_ARCH 1
| /* end confdefs.h.  */
| 
| 		#include <sys/syscall.h>
| 		#ifndef __NR_futex
| 		#error "futexes not available"
| 		#endif
| 
| 

configure:12788: result: no
configure:12858: checking for cpu_set_t
configure:12858: gcc -c -g -O2 -D_GNU_SOURCE conftest.c >&5 conftest.c: In function 'main':
conftest.c:42: error: 'cpu_set_t' undeclared (first use in this function) conftest.c:42: error: (Each undeclared identifier is reported only once conftest.c:42: error: for each function it appears in.) configure:12858: $? = 1
configure: failed program was:

| /* confdefs.h */
| #define PACKAGE_NAME "userspace-rcu"
| #define PACKAGE_TARNAME "userspace-rcu"
| #define PACKAGE_VERSION "0.7.7"
| #define PACKAGE_STRING "userspace-rcu 0.7.7"
| #define PACKAGE_BUGREPORT "mathieu dot desnoyers at efficios dot com"
| #define PACKAGE_URL ""
| #define PACKAGE "userspace-rcu"
| #define VERSION "0.7.7"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_STDLIB_H 1
| #define HAVE_MALLOC 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_BZERO 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_MUNMAP 1
| #define HAVE_STRTOUL 1
| #define HAVE_SYSCONF 1
| #define CONFIG_RCU_COMPAT_ARCH 1
| #define CONFIG_RCU_SMP 1
| /* end confdefs.h.  */
| #include <sched.h>
| 
| int
| main ()
| {
| if (sizeof (cpu_set_t))
| 	 return 0;
|   ;
|   return 0;
| }

configure:12858: result: no
configure:12873: checking whether CPU_ZERO works configure:12889: gcc -c -g -O2 -D_GNU_SOURCE conftest.c >&5 conftest.c:38:1: warning: "_GNU_SOURCE" redefined <command-line>: warning: this is the location of the previous definition conftest.c: In function 'main':
conftest.c:42: error: 'cpu_set_t' undeclared (first use in this function) conftest.c:42: error: (Each undeclared identifier is reported only once conftest.c:42: error: for each function it appears in.) conftest.c:42: error: expected ';' before 'foo' conftest.c:42: error: 'foo' undeclared (first use in this function) configure:12889: $? = 1
configure: failed program was:

| /* confdefs.h */
| #define PACKAGE_NAME "userspace-rcu"
| #define PACKAGE_TARNAME "userspace-rcu"
| #define PACKAGE_VERSION "0.7.7"
| #define PACKAGE_STRING "userspace-rcu 0.7.7"
| #define PACKAGE_BUGREPORT "mathieu dot desnoyers at efficios dot com"
| #define PACKAGE_URL ""
| #define PACKAGE "userspace-rcu"
| #define VERSION "0.7.7"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_STDLIB_H 1
| #define HAVE_MALLOC 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_BZERO 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_MUNMAP 1
| #define HAVE_STRTOUL 1
| #define HAVE_SYSCONF 1
| #define CONFIG_RCU_COMPAT_ARCH 1
| #define CONFIG_RCU_SMP 1
| /* end confdefs.h.  */
| 
| 		#define _GNU_SOURCE
| 		#include <sched.h>
| 		int main()
| 		{
| 			cpu_set_t foo; CPU_ZERO(&foo);
| 			return 0;
| 		}
| 
| 

configure:12898: result: no
configure:12905: checking whether CPU_SET works configure:12921: gcc -c -g -O2 -D_GNU_SOURCE conftest.c >&5 conftest.c:38:1: warning: "_GNU_SOURCE" redefined <command-line>: warning: this is the location of the previous definition conftest.c: In function 'main':
conftest.c:42: error: 'cpu_set_t' undeclared (first use in this function) conftest.c:42: error: (Each undeclared identifier is reported only once conftest.c:42: error: for each function it appears in.) conftest.c:42: error: expected ';' before 'foo' conftest.c:42: error: 'foo' undeclared (first use in this function) configure:12921: $? = 1
configure: failed program was:

| /* confdefs.h */
| #define PACKAGE_NAME "userspace-rcu"
| #define PACKAGE_TARNAME "userspace-rcu"
| #define PACKAGE_VERSION "0.7.7"
| #define PACKAGE_STRING "userspace-rcu 0.7.7"
| #define PACKAGE_BUGREPORT "mathieu dot desnoyers at efficios dot com"
| #define PACKAGE_URL ""
| #define PACKAGE "userspace-rcu"
| #define VERSION "0.7.7"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_STDLIB_H 1
| #define HAVE_MALLOC 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_BZERO 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_MUNMAP 1
| #define HAVE_STRTOUL 1
| #define HAVE_SYSCONF 1
| #define CONFIG_RCU_COMPAT_ARCH 1
| #define CONFIG_RCU_SMP 1
| /* end confdefs.h.  */
| 
| 		#define _GNU_SOURCE
| 		#include <sched.h>
| 		int main()
| 		{
| 			cpu_set_t foo, mask; CPU_SET(0, &foo);
| 			return 0;
| 		}
| 
| 

configure:12930: result: no
configure:12939: checking for sched_setaffinity
configure:12939: gcc -o conftest -g -O2 -D_GNU_SOURCE conftest.c >&5
Undefined symbols for architecture x86_64:
"_sched_setaffinity", referenced from:
_main in ccckdk8V.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
configure:12939: $? = 1
configure: failed program was:

| /* confdefs.h */
| #define PACKAGE_NAME "userspace-rcu"
| #define PACKAGE_TARNAME "userspace-rcu"
| #define PACKAGE_VERSION "0.7.7"
| #define PACKAGE_STRING "userspace-rcu 0.7.7"
| #define PACKAGE_BUGREPORT "mathieu dot desnoyers at efficios dot com"
| #define PACKAGE_URL ""
| #define PACKAGE "userspace-rcu"
| #define VERSION "0.7.7"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_STDLIB_H 1
| #define HAVE_MALLOC 1
| #define HAVE_STDLIB_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_GETPAGESIZE 1
| #define HAVE_MMAP 1
| #define HAVE_BZERO 1
| #define HAVE_GETTIMEOFDAY 1
| #define HAVE_MUNMAP 1
| #define HAVE_STRTOUL 1
| #define HAVE_SYSCONF 1
| #define CONFIG_RCU_COMPAT_ARCH 1
| #define CONFIG_RCU_SMP 1
| /* end confdefs.h.  */
| /* Define sched_setaffinity to an innocuous variant, in case <limits.h> declares sched_setaffinity.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define sched_setaffinity innocuous_sched_setaffinity
| 
| /* System header to define __stub macros and hopefully few prototypes,
|     which can conflict with char sched_setaffinity (); below.
|     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|     <limits.h> exists even on freestanding compilers.  */
| 
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| 
| #undef sched_setaffinity
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char sched_setaffinity ();
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub_sched_setaffinity || defined __stub___sched_setaffinity
| choke me
| #endif
| 
| int
| main ()
| {
| return sched_setaffinity ();
|   ;
|   return 0;
| }

configure:12939: result: no
configure:13145: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by userspace-rcu config.status 0.7.7, which was generated by GNU Autoconf 2.69. Invocation command line was

  CONFIG_FILES    = 
  CONFIG_HEADERS  = 
  CONFIG_LINKS    = 
  CONFIG_COMMANDS = 
  $ ./config.status 

on clabbers

config.status:1118: creating Makefile config.status:1118: creating doc/Makefile config.status:1118: creating tests/Makefile config.status:1118: creating liburcu.pc config.status:1118: creating liburcu-bp.pc config.status:1118: creating liburcu-cds.pc config.status:1118: creating liburcu-qsbr.pc config.status:1118: creating liburcu-mb.pc config.status:1118: creating liburcu-signal.pc config.status:1118: creating config.h config.status:1299: config.h is unchanged config.status:1118: creating urcu/config.h config.status:1299: urcu/config.h is unchanged config.status:1359: linking urcu/arch/x86.h to urcu/arch.h config.status:1359: linking urcu/uatomic/x86.h to urcu/uatomic.h config.status:1378: executing depfiles commands config.status:1378: executing libtool commands

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i386-apple-darwin12.4.0
ac_cv_c_compiler_gnu=yes
ac_cv_c_inline=inline
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_func_bzero=yes
ac_cv_func_getpagesize=yes
ac_cv_func_gettimeofday=yes
ac_cv_func_malloc_0_nonnull=yes
ac_cv_func_mmap_fixed_mapped=yes
ac_cv_func_munmap=yes
ac_cv_func_sched_getcpu=no
ac_cv_func_sched_setaffinity=no
ac_cv_func_strtoul=yes
ac_cv_func_sysconf=yes
ac_cv_header_dlfcn_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_param_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=i386-apple-darwin12.4.0
ac_cv_objext=o
ac_cv_path_EGREP='/usr/bin/grep -E'
ac_cv_path_FGREP='/usr/bin/grep -F'
ac_cv_path_GREP=/usr/bin/grep
ac_cv_path_SED=/usr/bin/sed
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=awk
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_ac_ct_AR=ar
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_DSYMUTIL=dsymutil
ac_cv_prog_ac_ct_LIPO=lipo
ac_cv_prog_ac_ct_NMEDIT=nmedit
ac_cv_prog_ac_ct_OTOOL=otool
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_make_make_set=yes
ac_cv_target=i386-apple-darwin12.4.0
ac_cv_tls=none
ac_cv_type_cpu_set_t=no
ac_cv_type_pid_t=yes
ac_cv_type_size_t=yes
am_cv_CC_dependencies_compiler_type=gcc3
am_cv_make_support_nested_variables=yes
lt_cv_apple_cc_single_mod=yes
lt_cv_ar_at_file=no
lt_cv_deplibs_check_method=pass_all
lt_cv_file_magic_cmd='$MAGIC_CMD'
lt_cv_file_magic_test_file=
lt_cv_ld_exported_symbols_list=yes
lt_cv_ld_force_load=yes
lt_cv_ld_reload_flag=-r
lt_cv_nm_interface='BSD nm'
lt_cv_objdir=.libs
lt_cv_path_LD=/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld
lt_cv_path_NM=/usr/bin/nm
lt_cv_path_mainfest_tool=no
lt_cv_prog_compiler_c_o=yes
lt_cv_prog_compiler_pic='-fno-common -DPIC'
lt_cv_prog_compiler_pic_works=yes
lt_cv_prog_compiler_rtti_exceptions=no
lt_cv_prog_compiler_static_works=no
lt_cv_prog_gnu_ld=no
lt_cv_sharedlib_from_linklib_cmd='printf %s\n'
lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p'\'' | sed '\''/ __gnu_lto/d'\'''
lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\''' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[BCDEGRST]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\''' lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[BCDEGRST]* .* \(.*\)$/extern char \1;/p'\'''
lt_cv_sys_max_cmd_len=196608
lt_cv_to_host_file_cmd=func_convert_file_noop
lt_cv_to_tool_file_cmd=func_convert_file_noop

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /Users/anandb/Software/userspace-rcu-0.7.7/config/missing --run aclocal-1.11' AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='0'
AM_V='$(V)'
AR='ar'
ARCHTYPE='x86'
AUTOCONF='${SHELL} /Users/anandb/Software/userspace-rcu-0.7.7/config/missing --run autoconf' AUTOHEADER='${SHELL} /Users/anandb/Software/userspace-rcu-0.7.7/config/missing --run autoheader' AUTOMAKE='${SHELL} /Users/anandb/Software/userspace-rcu-0.7.7/config/missing --run automake-1.11' AWK='awk'
CC='gcc'
CCDEPMODE='depmode=gcc3'
CFLAGS='-g -O2'
COMPAT_ARCH_FALSE='#'
COMPAT_ARCH_TRUE=''
COMPAT_FUTEX_FALSE='#'
COMPAT_FUTEX_TRUE=''
CPP='gcc -E'
CPPFLAGS=''
CYGPATH_W='echo'
DEFS='-DHAVE_CONFIG_H'
DEPDIR='.deps'
DLLTOOL='false'
DSYMUTIL='dsymutil'
DUMPBIN=''
ECHO_C='\c'
ECHO_N=''
ECHO_T=''
EGREP='/usr/bin/grep -E'
EXEEXT=''
FGREP='/usr/bin/grep -F'
GREP='/usr/bin/grep'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LD='/usr/llvm-gcc-4.2/libexec/gcc/i686-apple-darwin11/4.2.1/ld'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
LIPO='lipo'
LN_S='ln -s'
LTLIBOBJS=''
MAKEINFO='${SHELL} /Users/anandb/Software/userspace-rcu-0.7.7/config/missing --run makeinfo' MANIFEST_TOOL=':'
MKDIR_P='config/install-sh -c -d'
NM='/usr/bin/nm'
NMEDIT='nmedit'
OBJDUMP='false'
OBJEXT='o'
OTOOL64=':'
OTOOL='otool'
PACKAGE='userspace-rcu'
PACKAGE_BUGREPORT='mathieu dot desnoyers at efficios dot com' PACKAGE_NAME='userspace-rcu'
PACKAGE_STRING='userspace-rcu 0.7.7'
PACKAGE_TARNAME='userspace-rcu'
PACKAGE_URL=''
PACKAGE_VERSION='0.7.7'
PATH_SEPARATOR=':'
RANLIB='ranlib'
SED='/usr/bin/sed'
SET_MAKE=''
SHELL='/bin/sh'
STRIP='strip'
SUBARCHTYPE='x86compat'
URCU_LIBRARY_VERSION='1:0:0'
VERSION='0.7.7'
ac_ct_AR='ar'
ac_ct_CC='gcc'
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE='#'
am__fastdepCC_FALSE='#'
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build='i386-apple-darwin12.4.0'
build_alias=''
build_cpu='i386'
build_os='darwin12.4.0'
build_vendor='apple'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='${prefix}'
host='i386-apple-darwin12.4.0'
host_alias=''
host_cpu='i386'
host_os='darwin12.4.0'
host_vendor='apple'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /Users/anandb/Software/userspace-rcu-0.7.7/config/install-sh' libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(top_builddir)/config/install-sh -c -d'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr/local'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='i386-apple-darwin12.4.0'
target_alias=''
target_cpu='i386'
target_os='darwin12.4.0'
target_vendor='apple'

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "userspace-rcu"
#define PACKAGE_TARNAME "userspace-rcu"
#define PACKAGE_VERSION "0.7.7"
#define PACKAGE_STRING "userspace-rcu 0.7.7"
#define PACKAGE_BUGREPORT "mathieu dot desnoyers at efficios dot com" #define PACKAGE_URL ""
#define PACKAGE "userspace-rcu"
#define VERSION "0.7.7"
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
#define HAVE_STDLIB_H 1
#define HAVE_MALLOC 1
#define HAVE_STDLIB_H 1
#define HAVE_UNISTD_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_GETPAGESIZE 1
#define HAVE_MMAP 1
#define HAVE_BZERO 1
#define HAVE_GETTIMEOFDAY 1
#define HAVE_MUNMAP 1
#define HAVE_STRTOUL 1
#define HAVE_SYSCONF 1
#define CONFIG_RCU_COMPAT_ARCH 1
#define CONFIG_RCU_SMP 1

configure: exit 0

_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

#9 lore raw
In reply to a message not in the archive

Hi Christian,

Were you able to figure out from the config.log files why the architecture detection wasn't working properly?

Anand

Quoted 14 lines · Anand Buddhdev

Hi Christian,

I've attached both here.

Anand

Quoted 6 lines · Christian Babeux

Hmm that's really weird :/. For some reason configure detect an i386 CPU which is certainly not right. Could you post your config.log with and without the --host flag (specifying which is which)?

There might be some slight incompatibilities on OSX and the CPU detection mechanism we are using...

#11 lore raw
In reply to a message not in the archive

Hi Anand,

I've opened a bug for this issue [1]. My first diagnostic was incorrect. Configure detect the CPU as a 386, which is quite wrong. This in turns cause a lot of issues :

This enable the x86 compat layer in liburcu which in turns barf on these:

__asm__ __volatile__ ("pushfl; popl %0" : "=r" (res) : );

[...]

__asm__ __volatile__ ("pushl %0; popfl" : : "r" (newflags) : "cc");

The compiler on Mac OSX has specifically been compiled to run on x86_64 (seen in config.log, --host=x86_64-apple-darwin11). The pushfl, popfl instructions are not present on x86_64, so the assembler fails...

The workaround would be to force the build/host flag at configure time to this (similar to [2]) :

./configure --build=x86_64-apple-darwin11

We will have to either fix this in the configure.ac script or document this bug.

Christian

[1] - http://bugs.lttng.org/issues/578
[2] - https://trac.macports.org/ticket/21011

Quoted 23 lines · Anand Buddhdev

Hi Christian,

Were you able to figure out from the config.log files why the architecture detection wasn't working properly?

Anand

Quoted 14 lines · Anand Buddhdev

Hi Christian,

I've attached both here.

Anand

Quoted 6 lines · Christian Babeux

Hmm that's really weird :/. For some reason configure detect an i386 CPU which is certainly not right. Could you post your config.log with and without the --host flag (specifying which is which)?

There might be some slight incompatibilities on OSX and the CPU detection mechanism we are using...

#13 lore raw
In reply to a message not in the archive

Documented in README file:

commit 9e6b9f8afa8e70854a4e09e326de45dbd7e63bef

Author: Mathieu Desnoyers <[email protected]>
Date:   Mon Jul 8 12:22:00 2013 -0400

Document build work-around on MacOS X

Quoted 62 lines · * Christian Babeux ([email protected]) wrote:

Hi Anand,

I've opened a bug for this issue [1]. My first diagnostic was incorrect. Configure detect the CPU as a 386, which is quite wrong. This in turns cause a lot of issues :

This enable the x86 compat layer in liburcu which in turns barf on these:

__asm__ __volatile__ ("pushfl; popl %0" : "=r" (res) : );

[...]

__asm__ __volatile__ ("pushl %0; popfl" : : "r" (newflags) : "cc");

The compiler on Mac OSX has specifically been compiled to run on x86_64 (seen in config.log, --host=x86_64-apple-darwin11). The pushfl, popfl instructions are not present on x86_64, so the assembler fails...

The workaround would be to force the build/host flag at configure time to this (similar to [2]) :

./configure --build=x86_64-apple-darwin11

We will have to either fix this in the configure.ac script or document this bug.

Christian

[1] - http://bugs.lttng.org/issues/578
[2] - https://trac.macports.org/ticket/21011

Quoted 23 lines · Anand Buddhdev

Hi Christian,

Were you able to figure out from the config.log files why the architecture detection wasn't working properly?

Anand

Quoted 14 lines · Anand Buddhdev

Hi Christian,

I've attached both here.

Anand

Quoted 6 lines · Christian Babeux

Hmm that's really weird :/. For some reason configure detect an i386 CPU which is certainly not right. Could you post your config.log with and without the --host flag (specifying which is which)?

There might be some slight incompatibilities on OSX and the CPU detection mechanism we are using...

_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Signature · 3 lines
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com