liuml07 / giri

Dynamic Program Slicing in LLVM Compiler
Other
134 stars 33 forks source link

Issue running Giri. #2

Closed alexeyignatiev closed 10 years ago

alexeyignatiev commented 10 years ago

Hello!

I'm trying to use Giri. I compiled it on the Ubuntu 13.10 x86_64 platform. More precisely version 3.4 was compiled with the use of LLVM 3.4.2. And now I'm trying to feed the "Hello World" example from the wiki to the tracer tool and I get the following failure:

$ tracer -trace hello.bc

Attribute 'zeroext' does not apply to functions! i32 (i32, i8) @main Broken module found, compilation aborted! 0 tracer 0x000000000059a335 llvm::sys::PrintStackTrace(_IO_FILE) + 37 1 tracer 0x000000000059a793 2 libpthread.so.0 0x00007fe84bef8bb0 3 libc.so.6 0x00007fe84b135f77 gsignal + 55 4 libc.so.6 0x00007fe84b1395e8 abort + 328 5 tracer 0x000000000054c2b4 6 tracer 0x000000000054bd7b 7 tracer 0x000000000052bbac llvm::FPPassManager::runOnFunction(llvm::Function&) + 348 8 tracer 0x000000000052be2b llvm::FPPassManager::runOnModule(llvm::Module&) + 43 9 tracer 0x000000000052c3a7 llvm::legacy::PassManagerImpl::run(llvm::Module&) + 967 10 tracer 0x000000000052c6fa llvm::legacy::PassManager::run(llvm::Module&) + 10 11 tracer 0x0000000000449149 main + 5321 12 libc.so.6 0x00007fe84b120de5 __libc_start_main + 245 13 tracer 0x0000000000447bbd Aborted (core dumped)

Could you please explain to me what I'm doing wrong? Is it because I did something wrong or version 3.4 is not compatible with LLVM 3.4.2? Thank you!

Regards, Alexey

liuml07 commented 10 years ago

Hi,

I did not test the 3.4.2 but I tried the 3.4 and it works. I don't know 3.4.2 because of my tight time budget for this cool project. I hope I could work more on this but I've got lots of work to do. Please try 3.4 if possible.

The version of giri is designed for the same version as LLVM. Thus if you could provide any pull request to make it work with LLVM 3.4.2, we'll releases a 3.4.2 branch for giri.

Some suggestion for the troubleshooting:

Hope this helps.

alexeyignatiev commented 10 years ago

Hi,

When writing the previous message, I did not check any tests. Instead, I created the same file (hello.c) myself. And then tried to use tracer from the Giri distribution.

Now I downloaded llvm-3.4 from the llvm.org website and compiled it. And then recompiled giri-3.4 using this version of LLVM. And now I do make in "test/HelloWorld" and I get the following:

aign@centaurus:~/src/giri-3.4/test/HelloWorld$ make make -s -C ../../build clang -g -O0 -c -emit-llvm hello-world.c -o hello-world.bc Args: ../../../llvm-3.4/Release+Debug+Asserts/bin/opt -load ../../build/Release+Debug+Asserts/lib/libdgutility.so -load ../../build/Release+Debug+Asserts/lib/libgiri.so -mergereturn -bbnum -lsnum -trace-giri -trace-file=hello-world.trace -remove-bbnum -remove-lsnum -stats -debug hello-world.bc -o hello-world.trace.bc Subtarget features: SSELevel 8, 3DNowLevel 0, 64bit 1 Total Number of Basic Blocks: 2 Number of monitored program points: 7 Inside QueryBasicBlockNumbers for module hello-world.bc Inside QueryLoadStoreNumbers for module hello-world.bc Attribute 'zeroext' does not apply to functions! i32 (i32, i8*) @main Broken module found, compilation aborted! 0 opt 0x00000000011be7c5 llvm::sys::PrintStackTrace(_IOFILE) + 37 1 opt 0x00000000011bec23 2 libpthread.so.0 0x00002ac4abb31bb0 3 libc.so.6 0x00002ac4ac797f77 gsignal + 55 4 libc.so.6 0x00002ac4ac79b5e8 abort + 328 5 opt 0x0000000001178504 6 opt 0x0000000001177fcb 7 opt 0x0000000001159f6c llvm::FPPassManager::runOnFunction(llvm::Function&) + 348 8 opt 0x000000000115a1eb llvm::FPPassManager::runOnModule(llvm::Module&) + 43 9 opt 0x000000000115a767 llvm::legacy::PassManagerImpl::run(llvm::Module&) + 967 10 opt 0x000000000115aaba llvm::legacy::PassManager::run(llvm::Module&) + 10 11 opt 0x000000000055cb89 main + 7321 12 libc.so.6 0x00002ac4ac782de5 __libc_start_main + 245 13 opt 0x0000000000557f7d Stack dump:

  1. Program arguments: ../../../llvm-3.4/Release+Debug+Asserts/bin/opt -load ../../build/Release+Debug+Asserts/lib/libdgutility.so -load ../../build/Release+Debug+Asserts/lib/libgiri.so -mergereturn -bbnum -lsnum -trace-giri -trace-file=hello-world.trace -remove-bbnum -remove-lsnum -stats -debug hello-world.bc -o hello-world.trace.bc
  2. Running pass 'Function Pass Manager' on module 'hello-world.bc'.
  3. Running pass 'Module Verifier' on function '@main' make: _\ [hello-world.trace.bc] Aborted (core dumped)

So it's essentially the same issue.

The problem is that I am completely new to LLVM and its Passes facility. And I don't really know if I should also compile the corresponding version of clang myself. Because now I use the version from Ubuntu (even though it must be the same since it is v3.4).

alexeyignatiev commented 10 years ago

Ok, I downloaded and compiled LLVM-3.4 with Clang-3.4. I also removed all Ubuntu-provided versions of LLVM and Clang and tried to make the test (HelloWorld). This is what I get:

aign@centaurus:~/src/giri-3.4/test/HelloWorld$ make make -s -C ../../build ../../../llvm-3.4/Release+Debug+Asserts/bin/clang -g -O0 -c -emit-llvm hello-world.c -o hello-world.bc Args: ../../../llvm-3.4/Release+Debug+Asserts/bin/opt -load ../../build/Release+Debug+Asserts/lib/libdgutility.so -load ../../build/Release+Debug+Asserts/lib/libgiri.so -mergereturn -bbnum -lsnum -trace-giri -trace-file=hello-world.trace -remove-bbnum -remove-lsnum -stats -debug hello-world.bc -o hello-world.trace.bc Subtarget features: SSELevel 8, 3DNowLevel 0, 64bit 1 Total Number of Basic Blocks: 2 Number of monitored program points: 10 Inside QueryBasicBlockNumbers for module hello-world.bc Inside QueryLoadStoreNumbers for module hello-world.bc ===-------------------------------------------------------------------------=== ... Statistics Collected ... ===-------------------------------------------------------------------------===

2 giri - Number of basic blocks 2 giri - Number of call instructions processed 1 giri - Number of load instructions processed 4 giri - Number of store instructions processed

../../../llvm-3.4/Release+Debug+Asserts/bin/llc -asm-verbose=false -O0 hello-world.trace.bc -o hello-world.trace.s ../../../llvm-3.4/Release+Debug+Asserts/bin/clang++ -fno-strict-aliasing hello-world.trace.s -o hello-world.trace.exe -L../../build/Release+Debug+Asserts/lib -lrtgiri ./hello-world.trace.exe [GIRI] Lock for instruction: call void @recordStartBB(i32 2, i8* bitcast (void ()* @giriCtor to i8)) make: ** [hello-world.trace] Floating point exception (core dumped) Args: ../../../llvm-3.4/Release+Debug+Asserts/bin/opt -load ../../build/Release+Debug+Asserts/lib/libdgutility.so -load ../../build/Release+Debug+Asserts/lib/libgiri.so -mergereturn -bbnum -lsnum -dgiri -trace-file=hello-world.trace -slice-file=hello-world.slice -remove-bbnum -remove-lsnum -stats -debug hello-world.bc -o /dev/null Subtarget features: SSELevel 8, 3DNowLevel 0, 64bit 1 Total Number of Basic Blocks: 1 Number of monitored program points: 10 Inside QueryBasicBlockNumbers for module hello-world.bc Inside QueryLoadStoreNumbers for module hello-world.bc opt: /home/aign/src/giri-3.4/lib/Giri/TraceFile.cpp:55: giri::TraceFile::TraceFile(string, const dg::QueryBasicBlockNumbers _, const dg::QueryLoadStoreNumbers *): Assertion `(fd > 0) && "Cannot open file!\n"' failed. 0 opt 0x00000000011be7c5 llvm::sys::PrintStackTrace(_IOFILE) + 37 1 opt 0x00000000011bec23 2 libpthread.so.0 0x00002b0cdd0b4bb0 3 libc.so.6 0x00002b0cddd1af77 gsignal + 55 4 libc.so.6 0x00002b0cddd1e5e8 abort + 328 5 libc.so.6 0x00002b0cddd13d43 6 libc.so.6 0x00002b0cddd13df2 7 libgiri.so 0x00002b0cde2cf301 giri::TraceFile::TraceFile(std::string, dg::QueryBasicBlockNumbers const, dg::QueryLoadStoreNumbers const) + 513 8 libgiri.so 0x00002b0cde2cb5e0 giri::DynamicGiri::runOnModule(llvm::Module&) + 320 9 opt 0x000000000115a767 llvm::legacy::PassManagerImpl::run(llvm::Module&) + 967 10 opt 0x000000000115aaba llvm::legacy::PassManager::run(llvm::Module&) + 10 11 opt 0x000000000055cb89 main + 7321 12 libc.so.6 0x00002b0cddd05de5 __libc_start_main + 245 13 opt 0x0000000000557f7d Stack dump:

  1. Program arguments: ../../../llvm-3.4/Release+Debug+Asserts/bin/opt -load ../../build/Release+Debug+Asserts/lib/libdgutility.so -load ../../build/Release+Debug+Asserts/lib/libgiri.so -mergereturn -bbnum -lsnum -dgiri -trace-file=hello-world.trace -slice-file=hello-world.slice -remove-bbnum -remove-lsnum -stats -debug hello-world.bc -o /dev/null
  2. Running pass 'Dynamic Backwards Slice Analysis' on module 'hello-world.bc'. make: *\ [hello-world.slice] Aborted (core dumped)
liuml07 commented 10 years ago

Hi,

I don't know about the Ubuntu package managed Clang, but I do think it matters. The problem is not caused by the giri code, but the .bc file generated by your clang does not work well with Giri tracing pass.

alexeyignatiev commented 10 years ago

Hi again. Look at my previous post. Now I don't use Ubuntu's clang. But I still have the issue.

liuml07 commented 10 years ago

Hi,

As to your second problem, I think it's caused by the hello-world.trace.exe executable file. The trace file hello-world.trace should be generated by this executable file, so that you could do the real slicing work next by dgiri pass. I think you can not run this file successfully. Once you run this executable file, it will report the floating point error.

Could you paste your Giri config.log file?

Thanks.

alexeyignatiev commented 10 years ago

Sure. Here it is:

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

It was created by [GIRI] configure [3.1], which was generated by GNU Autoconf 2.69. Invocation command line was

$ ../configure --with-llvmsrc=/home/aign/src/llvm-3.4 --with-llvmobj=/home/aign/src/llvm-3.4 --enable-optimized --enable-debug-symbols --enable-debug-runtime

---------

Platform.

---------

hostname = centaurus uname -m = x86_64 uname -r = 3.11.0-23-generic uname -s = Linux uname -v = #40-Ubuntu SMP Wed Jun 4 21:05:23 UTC 2014

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

/bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown

PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/sbin PATH: /usr/bin PATH: /sbin PATH: /bin PATH: /usr/games PATH: /usr/local/games PATH: /home/aign/bin/

-----------

Core tests.

-----------

configure:2555: checking llvm-config configure:2561: result: /home/aign/src/llvm-3.4/Release+Debug+Asserts/bin/llvm-config configure:2564: checking LLVM package version configure:2571: result: 3.4 configure:2663: checking for clang configure:2679: found /usr/bin/clang configure:2690: result: clang configure:2721: checking for C compiler version configure:2730: clang --version >&5 Ubuntu clang version 3.4-1ubuntu1 (trunk) (based on LLVM 3.4) Target: x86_64-pc-linux-gnu Thread model: posix configure:2741: $? = 0 configure:2730: clang -v >&5 Ubuntu clang version 3.4-1ubuntu1 (trunk) (based on LLVM 3.4) Target: x86_64-pc-linux-gnu Thread model: posix configure:2741: $? = 0 configure:2730: clang -V >&5 clang: error: argument to '-V' is missing (expected 1 value) clang: error: no input files configure:2741: $? = 1 configure:2730: clang -qversion >&5 clang: error: no input files configure:2741: $? = 1 configure:2761: checking whether the C compiler works configure:2783: clang conftest.c >&5 configure:2787: $? = 0 configure:2835: result: yes configure:2838: checking for C compiler default output file name configure:2840: result: a.out configure:2846: checking for suffix of executables configure:2853: clang -o conftest conftest.c >&5 configure:2857: $? = 0 configure:2879: result: configure:2901: checking whether we are cross compiling configure:2909: clang -o conftest conftest.c >&5 configure:2913: $? = 0 configure:2920: ./conftest configure:2924: $? = 0 configure:2939: result: no configure:2944: checking for suffix of object files configure:2966: clang -c conftest.c >&5 configure:2970: $? = 0 configure:2991: result: o configure:2995: checking whether we are using the GNU C compiler configure:3014: clang -c conftest.c >&5 configure:3014: $? = 0 configure:3023: result: yes configure:3032: checking whether clang accepts -g configure:3052: clang -c -g conftest.c >&5 configure:3052: $? = 0 configure:3093: result: yes configure:3110: checking for clang option to accept ISO C89 configure:3173: clang -c -g -O2 conftest.c >&5 configure:3173: $? = 0 configure:3186: result: none needed configure:3264: checking for clang++ configure:3280: found /usr/bin/clang++ configure:3291: result: clang++ configure:3318: checking for C++ compiler version configure:3327: clang++ --version >&5 Ubuntu clang version 3.4-1ubuntu1 (trunk) (based on LLVM 3.4) Target: x86_64-pc-linux-gnu Thread model: posix configure:3338: $? = 0 configure:3327: clang++ -v >&5 Ubuntu clang version 3.4-1ubuntu1 (trunk) (based on LLVM 3.4) Target: x86_64-pc-linux-gnu Thread model: posix configure:3338: $? = 0 configure:3327: clang++ -V >&5 clang: error: argument to '-V' is missing (expected 1 value) clang: error: no input files configure:3338: $? = 1 configure:3327: clang++ -qversion >&5 clang: error: no input files configure:3338: $? = 1 configure:3342: checking whether we are using the GNU C++ compiler configure:3361: clang++ -c conftest.cpp >&5 configure:3361: $? = 0 configure:3370: result: yes configure:3379: checking whether clang++ accepts -g configure:3399: clang++ -c -g conftest.cpp >&5 configure:3399: $? = 0 configure:3440: result: yes configure:3468: checking how to run the C preprocessor configure:3499: clang -E conftest.c configure:3499: $? = 0 configure:3513: clang -E conftest.c conftest.c:9:10: fatal error: 'ac_nonexistent.h' file not found

include

     ^

1 error generated. configure:3513: $? = 1 configure: failed program was: | /* confdefs.h _/ | #define PACKAGE_NAME "[GIRI]" | #define PACKAGE_TARNAME "--giri--" | #define PACKAGE_VERSION "[3.1]" | #define PACKAGE_STRING "[GIRI] [3.1]" | #define PACKAGE_BUGREPORT "https://github.com/liuml07/giri" | #define PACKAGEURL "" | / end confdefs.h. _/ | #include configure:3538: result: clang -E configure:3558: clang -E conftest.c configure:3558: $? = 0 configure:3572: clang -E conftest.c conftest.c:9:10: fatal error: 'ac_nonexistent.h' file not found

include

     ^
1 error generated. configure:3572: $? = 1 configure: failed program was: / confdefs.h / #define PACKAGE_NAME "[GIRI]" #define PACKAGE_TARNAME "--giri--" #define PACKAGE_VERSION "[3.1]" #define PACKAGE_STRING "[GIRI] [3.1]" #define PACKAGE_BUGREPORT "https://github.com/liuml07/giri" #define PACKAGE_URL "" / end confdefs.h. / #include configure:3635: checking build system type configure:3649: result: x86_64-unknown-linux-gnu configure:3669: checking host system type configure:3682: result: x86_64-unknown-linux-gnu configure:3702: checking target system type configure:3715: result: x86_64-unknown-linux-gnu configure:3742: checking type of operating system we're going to host on configure:3855: result: Linux configure:3858: checking type of operating system we're going to target configure:3910: result: Linux configure:3950: checking target architecture configure:3973: result: x86_64 configure:3993: checking for grep that handles long lines and -e configure:4051: result: /bin/grep configure:4056: checking for egrep configure:4118: result: /bin/grep -E configure:4123: checking for ANSI C header files configure:4143: clang -c -g -O2 conftest.c >&5 configure:4143: $? = 0 configure:4216: clang -o conftest -g -O2 conftest.c >&5 configure:4216: $? = 0 configure:4216: ./conftest configure:4216: $? = 0 configure:4227: result: yes configure:4240: checking for sys/types.h configure:4240: clang -c -g -O2 conftest.c >&5 configure:4240: $? = 0 configure:4240: result: yes configure:4240: checking for sys/stat.h configure:4240: clang -c -g -O2 conftest.c >&5 configure:4240: $? = 0 configure:4240: result: yes configure:4240: checking for stdlib.h configure:4240: clang -c -g -O2 conftest.c >&5 configure:4240: $? = 0 configure:4240: result: yes configure:4240: checking for string.h configure:4240: clang -c -g -O2 conftest.c >&5 configure:4240: $? = 0 configure:4240: result: yes configure:4240: checking for memory.h configure:4240: clang -c -g -O2 conftest.c >&5 configure:4240: $? = 0 configure:4240: result: yes configure:4240: checking for strings.h configure:4240: clang -c -g -O2 conftest.c >&5 configure:4240: $? = 0 configure:4240: result: yes configure:4240: checking for inttypes.h configure:4240: clang -c -g -O2 conftest.c >&5 configure:4240: $? = 0 configure:4240: result: yes configure:4240: checking for stdint.h configure:4240: clang -c -g -O2 conftest.c >&5 configure:4240: $? = 0 configure:4240: result: yes configure:4240: checking for unistd.h configure:4240: clang -c -g -O2 conftest.c >&5 configure:4240: $? = 0 configure:4240: result: yes configure:4252: checking whether byte ordering is bigendian configure:4267: clang -c -g -O2 conftest.c >&5 conftest.c:21:9: error: unknown type name 'not' not a universal capable compiler ^ conftest.c:21:14: error: expected ';' after top level declarator not a universal capable compiler ^ ; 2 errors generated. configure:4267: $? = 1 configure: failed program was: / confdefs.h / #define PACKAGE_NAME "[GIRI]" #define PACKAGE_TARNAME "--giri--" #define PACKAGE_VERSION "[3.1]" #define PACKAGE_STRING "[GIRI] [3.1]" #define PACKAGE_BUGREPORT "https://github.com/liuml07/giri" #define PACKAGE_URL "" #define LLVM_ON_UNIX 1 #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 / end confdefs.h. / #ifndef APPLE_CC not a universal capable compiler #endif typedef int dummy;
configure:4312: clang -c -g -O2 conftest.c >&5 configure:4312: $? = 0 configure:4330: clang -c -g -O2 conftest.c >&5 conftest.c:27:4: error: use of undeclared identifier 'not' not big endian ^ 1 error generated. configure:4330: $? = 1 configure: failed program was: / confdefs.h / #define PACKAGE_NAME "[GIRI]" #define PACKAGE_TARNAME "--giri--" #define PACKAGE_VERSION "[3.1]" #define PACKAGE_STRING "[GIRI] [3.1]" #define PACKAGE_BUGREPORT "https://github.com/liuml07/giri" #define PACKAGE_URL "" #define LLVM_ON_UNIX 1 #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 / end confdefs.h. / #include <sys/types.h> #include <sys/param.h>
int
main ()
{
#if BYTE_ORDER != BIG_ENDIAN
not big endian
#endif
;
return 0;
}
configure:4458: result: no configure:5287: checking optimization flags configure:5300: result: -O3 configure:5462: checking for BSD-compatible nm configure:5511: result: /usr/bin/nm -B configure:5517: checking for GNU make configure:5532: result: make configure:5543: checking whether ln -s works configure:5547: result: yes configure:5556: checking for cmp configure:5574: found /usr/bin/cmp configure:5587: result: /usr/bin/cmp configure:5597: checking for cp configure:5615: found /bin/cp configure:5628: result: /bin/cp configure:5638: checking for date configure:5656: found /bin/date configure:5669: result: /bin/date configure:5679: checking for find configure:5697: found /usr/bin/find configure:5710: result: /usr/bin/find configure:5720: checking for grep configure:5751: result: /bin/grep configure:5761: checking for mkdir configure:5779: found /bin/mkdir configure:5792: result: /bin/mkdir configure:5802: checking for mv configure:5820: found /bin/mv configure:5833: result: /bin/mv configure:5884: checking for ranlib configure:5900: found /usr/bin/ranlib configure:5911: result: ranlib configure:5976: checking for ar configure:5992: found /usr/bin/ar configure:6003: result: ar configure:6027: checking for rm configure:6045: found /bin/rm configure:6058: result: /bin/rm configure:6068: checking for sed configure:6086: found /bin/sed configure:6099: result: /bin/sed configure:6109: checking for tar configure:6127: found /bin/tar configure:6140: result: /bin/tar configure:6150: checking for pwd configure:6168: found /bin/pwd configure:6181: result: /bin/pwd configure:6192: checking for Graphviz configure:6223: result: echo Graphviz configure:6246: checking for dot configure:6277: result: echo dot configure:6300: checking for fdp configure:6331: result: echo fdp configure:6354: checking for neato configure:6385: result: echo neato configure:6408: checking for twopi configure:6439: result: echo twopi configure:6462: checking for circo configure:6493: result: echo circo configure:6518: checking for gv configure:6551: result: no configure:6518: checking for gsview32 configure:6551: result: no configure:6575: checking for dotty configure:6606: result: echo dotty configure:6629: checking for xdot.py configure:6660: result: echo xdot.py configure:6696: checking for a BSD-compatible install configure:6764: result: /usr/bin/install -c configure:6782: checking for bzip2 configure:6800: found /bin/bzip2 configure:6812: result: /bin/bzip2 configure:6822: checking for cat configure:6840: found /bin/cat configure:6852: result: /bin/cat configure:6862: checking for doxygen configure:6895: result: no configure:6902: checking for groff configure:6920: found /usr/bin/groff configure:6932: result: /usr/bin/groff configure:6942: checking for gzip configure:6960: found /bin/gzip configure:6972: result: /bin/gzip configure:6982: checking for pod2html configure:7000: found /usr/bin/pod2html configure:7012: result: /usr/bin/pod2html configure:7022: checking for pod2man configure:7040: found /usr/bin/pod2man configure:7052: result: /usr/bin/pod2man configure:7062: checking for pdfroff configure:7095: result: no configure:7102: checking for runtest configure:7135: result: no configure:7142: checking for the tclsh program in tclinclude directory configure:7169: result: none configure:7175: checking for tclsh8.4 configure:7208: result: no configure:7175: checking for tclsh8.4.8 configure:7208: result: no configure:7175: checking for tclsh8.4.7 configure:7208: result: no configure:7175: checking for tclsh8.4.6 configure:7208: result: no configure:7175: checking for tclsh8.4.5 configure:7208: result: no configure:7175: checking for tclsh8.4.4 configure:7208: result: no configure:7175: checking for tclsh8.4.3 configure:7208: result: no configure:7175: checking for tclsh8.4.2 configure:7208: result: no configure:7175: checking for tclsh8.4.1 configure:7208: result: no configure:7175: checking for tclsh8.4.0 configure:7208: result: no configure:7175: checking for tclsh8.3 configure:7208: result: no configure:7175: checking for tclsh8.3.5 configure:7208: result: no configure:7175: checking for tclsh8.3.4 configure:7208: result: no configure:7175: checking for tclsh8.3.3 configure:7208: result: no configure:7175: checking for tclsh8.3.2 configure:7208: result: no configure:7175: checking for tclsh8.3.1 configure:7208: result: no configure:7175: checking for tclsh8.3.0 configure:7208: result: no configure:7175: checking for tclsh configure:7193: found /usr/bin/tclsh configure:7205: result: /usr/bin/tclsh configure:7230: checking for zip configure:7248: found /usr/bin/zip configure:7260: result: /usr/bin/zip configure:7272: checking for ocamlc configure:7305: result: no configure:7317: checking for ocamlopt configure:7350: result: no configure:7362: checking for ocamldep configure:7395: result: no configure:7407: checking for ocamldoc configure:7440: result: no configure:7452: checking for gas configure:7485: result: no configure:7452: checking for as configure:7470: found /usr/bin/as configure:7482: result: /usr/bin/as configure:7494: checking for linker version configure:7510: result: 2.23.52.20130913 configure:7519: checking for compiler -Wl,-R option configure:7543: clang -o conftest -g -O2 -Wl,-R. conftest.c >&5 configure:7543: $? = 0 configure:7559: result: yes configure:7568: checking for compiler -Wl,-export-dynamic option configure:7592: clang -o conftest -g -O2 -Wl,-export-dynamic conftest.c >&5 configure:7592: $? = 0 configure:7608: result: yes configure:7617: checking for compiler -Wl,--version-script option configure:7663: clang -o conftest -g -O2 -Wl,--version-script=/tmp/foowFnNzF/export.map conftest.c >&5 configure:7663: $? = 0 configure:7681: result: yes configure:7691: checking for an ANSI C-conforming const configure:7757: clang -c -g -O2 conftest.c >&5 configure:7757: $? = 0 configure:7764: result: yes configure:7775: checking for dirent.h that defines DIR configure:7794: clang -c -g -O2 conftest.c >&5 configure:7794: $? = 0 configure:7802: result: yes configure:7815: checking for library containing opendir configure:7846: clang -o conftest -g -O2 conftest.c >&5 configure:7846: $? = 0 configure:7863: result: none required configure:7932: checking dlfcn.h usability configure:7932: clang -c -g -O2 conftest.c >&5 configure:7932: $? = 0 configure:7932: result: yes configure:7932: checking dlfcn.h presence configure:7932: clang -E conftest.c configure:7932: $? = 0 configure:7932: result: yes configure:7932: checking for dlfcn.h configure:7932: result: yes configure:7965: checking dynamic linker characteristics configure:8553: result: GNU/Linux ld.so configure:8563: checking which extension is used for loadable modules configure:8573: result: .so configure:8584: checking for the default library search path configure:8591: result: /lib /usr/lib /usr/lib/i386-linux-gnu/mesa /lib/i386-linux-gnu /usr/lib/i386-linux-gnu /lib/i686-linux-gnu /usr/lib/i686-linux-gnu /usr/local/lib /lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu/mesa /lib32 /usr/lib32 configure:8609: checking for objdir configure:8630: result: .libs configure:8643: checking command to parse /usr/bin/nm -B output from object configure:8748: clang -c -g -O2 conftest.c >&5 configure:8751: $? = 0 configure:8755: /usr/bin/nm -B conftest.o sed -n -e 's/^.[ ]([ABCDGIRSTW][ABCDGIRSTW])[ ][ ]_([_A-Za-z][A-Za-z0-9])$/\1 \2 \2/p' > conftest.nm configure:8758: $? = 0 configure:8810: clang -o conftest -g -O2 conftest.c conftstm.o >&5 configure:8813: $? = 0 configure:8851: result: ok configure:8856: checking whether libtool supports -dlopen/-dlpreopen configure:8868: result: yes configure:8885: checking for shl_load configure:8885: clang -o conftest -g -O2 conftest.c >&5 /tmp/conftest-cpHKAL.o: In function main': /home/aign/src/giri-3.4/build/conftest.c:75: undefined reference toshl_load' clang: error: linker command failed with exit code 1 (use -v to see invocation) configure:8885: $? = 1 configure: failed program was: / confdefs.h / #define PACKAGE_NAME "[GIRI]" #define PACKAGE_TARNAME "--giri--" #define PACKAGE_VERSION "[3.1]" #define PACKAGE_STRING "[GIRI] [3.1]" #define PACKAGE_BUGREPORT "https://github.com/liuml07/giri" #define PACKAGE_URL "" #define LLVM_ON_UNIX 1 #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 ENABLE_THREADS 1 #define ENABLE_PIC 1 #define ENABLE_TIMESTAMPS 1 #define LLVM_NATIVE_ARCH X86 #define LLVM_NATIVE_TARGET LLVMInitializeX86Target #define LLVM_NATIVE_TARGETINFO LLVMInitializeX86TargetInfo #define LLVM_NATIVE_TARGETMC LLVMInitializeX86TargetMC #define LLVM_NATIVE_ASMPRINTER LLVMInitializeX86AsmPrinter #define CLANG_RESOURCE_DIR "" #define C_INCLUDE_DIRS "" #define GCC_INSTALL_PREFIX "" #define BUG_REPORT_URL "http://llvm.org/bugs/" #define HOST_LINK_VERSION "2.23.52.20130913" #define HAVE_LINK_R 1 #define HAVE_LINK_EXPORT_DYNAMIC 1 #define HAVE_DIRENT_H 1 #define HAVE_DLFCN_H 1 #define LTDL_SHLIB_EXT ".so" #define LTDL_SYSSEARCHPATH "/lib:/usr/lib:/usr/lib/i386-linux-gnu/mesa:/lib/i386-linux-gnu:/usr/lib/i386-linux-gnu:/lib/i686-linux-gnu:/usr/lib/i686-linux-gnu:/usr/local/lib:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu/mesa:/lib32:/usr/lib32" #define LTDL_OBJDIR ".libs/" #define HAVE_PRELOADED_SYMBOLS 1 / end confdefs.h. / /_ Define shl_load to an innocuous variant, in case declares shl_load. For example, HP-UX 11i declares gettimeofday. _/ #define shl_load innocuous_shl_load
/_ System header to define __stub macros and hopefully few prototypes,
which can conflict with char shl_load (); below.
Prefer to if STDC is defined, since
exists even on freestanding compilers. _/
#ifdef STDC
# include
#else
# include
#endif
#undef shl_load
/_ 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 shl_load ();
/_ 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_shl_load defined __stub___shl_load
choke me
#endif
int
main ()
{
return shl_load ();
;
return 0;
}
configure:8885: result: no configure:8891: checking for shl_load in -ldld configure:8916: clang -o conftest -g -O2 conftest.c -ldld >&5 /usr/bin/ld: cannot find -ldld clang: error: linker command failed with exit code 1 (use -v to see invocation) configure:8916: $? = 1 configure: failed program was: / confdefs.h / #define PACKAGE_NAME "[GIRI]" #define PACKAGE_TARNAME "--giri--" #define PACKAGE_VERSION "[3.1]" #define PACKAGE_STRING "[GIRI] [3.1]" #define PACKAGE_BUGREPORT "https://github.com/liuml07/giri" #define PACKAGE_URL "" #define LLVM_ON_UNIX 1 #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 ENABLE_THREADS 1 #define ENABLE_PIC 1 #define ENABLE_TIMESTAMPS 1 #define LLVM_NATIVE_ARCH X86 #define LLVM_NATIVE_TARGET LLVMInitializeX86Target #define LLVM_NATIVE_TARGETINFO LLVMInitializeX86TargetInfo #define LLVM_NATIVE_TARGETMC LLVMInitializeX86TargetMC #define LLVM_NATIVE_ASMPRINTER LLVMInitializeX86AsmPrinter #define CLANG_RESOURCE_DIR "" #define C_INCLUDE_DIRS "" #define GCC_INSTALL_PREFIX "" #define BUG_REPORT_URL "http://llvm.org/bugs/" #define HOST_LINK_VERSION "2.23.52.20130913" #define HAVE_LINK_R 1 #define HAVE_LINK_EXPORT_DYNAMIC 1 #define HAVE_DIRENT_H 1 #define HAVE_DLFCN_H 1 #define LTDL_SHLIB_EXT ".so" #define LTDL_SYSSEARCHPATH "/lib:/usr/lib:/usr/lib/i386-linux-gnu/mesa:/lib/i386-linux-gnu:/usr/lib/i386-linux-gnu:/lib/i686-linux-gnu:/usr/lib/i686-linux-gnu:/usr/local/lib:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu/mesa:/lib32:/usr/lib32" #define LTDL_OBJDIR ".libs/" #define HAVE_PRELOADED_SYMBOLS 1 / end confdefs.h. /
/_ 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 shl_load ();
int
main ()
{
return shl_load ();
;
return 0;
}
configure:8925: result: no configure:8933: checking for dlopen in -ldl configure:8958: clang -o conftest -g -O2 conftest.c -ldl >&5 configure:8958: $? = 0 configure:8967: result: yes configure:9111: checking for dlerror configure:9111: clang -o conftest -g -O2 conftest.c -ldl >&5 configure:9111: $? = 0 configure:9111: result: yes configure:9130: checking for _ prefix in compiled symbols configure:9140: clang -c -g -O2 conftest.c >&5 conftest.c:2:12: warning: expression result unused [-Wunused-value] int main(){nm_test_func;return 0;} ^~~~ 1 warning generated. configure:9143: $? = 0 configure:9147: /usr/bin/nm -B conftest.o sed -n -e 's/^.[ ]([ABCDGIRSTW][ABCDGIRSTW])[ ][ ]_([_A-Za-z][A-Za-z0-9])$/\1 \2 \2/p' > conftest.nm configure:9150: $? = 0 configure:9172: result: no configure:9290: checking whether deplibs are loaded by dlopen configure:9371: result: yes configure:9381: checking argz.h usability configure:9381: clang -c -g -O2 conftest.c >&5 configure:9381: $? = 0 configure:9381: result: yes configure:9381: checking argz.h presence configure:9381: clang -E conftest.c configure:9381: $? = 0 configure:9381: result: yes configure:9381: checking for argz.h configure:9381: result: yes configure:9392: checking for error_t configure:9392: clang -c -g -O2 conftest.c >&5 configure:9392: $? = 0 configure:9392: clang -c -g -O2 conftest.c >&5 conftest.c:51:22: error: expected expression if (sizeof ((error_t))) ^ 1 error generated. configure:9392: $? = 1 configure: failed program was: / confdefs.h / #define PACKAGE_NAME "[GIRI]" #define PACKAGE_TARNAME "--giri--" #define PACKAGE_VERSION "[3.1]" #define PACKAGE_STRING "[GIRI] [3.1]" #define PACKAGE_BUGREPORT "https://github.com/liuml07/giri" #define PACKAGE_URL "" #define LLVM_ON_UNIX 1 #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 ENABLE_THREADS 1 #define ENABLE_PIC 1 #define ENABLE_TIMESTAMPS 1 #define LLVM_NATIVE_ARCH X86 #define LLVM_NATIVE_TARGET LLVMInitializeX86Target #define LLVM_NATIVE_TARGETINFO LLVMInitializeX86TargetInfo #define LLVM_NATIVE_TARGETMC LLVMInitializeX86TargetMC #define LLVM_NATIVE_ASMPRINTER LLVMInitializeX86AsmPrinter #define CLANG_RESOURCE_DIR "" #define C_INCLUDE_DIRS "" #define GCC_INSTALL_PREFIX "" #define BUG_REPORT_URL "http://llvm.org/bugs/" #define HOST_LINK_VERSION "2.23.52.20130913" #define HAVE_LINK_R 1 #define HAVE_LINK_EXPORT_DYNAMIC 1 #define HAVE_DIRENT_H 1 #define HAVE_DLFCN_H 1 #define LTDL_SHLIB_EXT ".so" #define LTDL_SYSSEARCHPATH "/lib:/usr/lib:/usr/lib/i386-linux-gnu/mesa:/lib/i386-linux-gnu:/usr/lib/i386-linux-gnu:/lib/i686-linux-gnu:/usr/lib/i686-linux-gnu:/usr/local/lib:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu/mesa:/lib32:/usr/lib32" #define LTDL_OBJDIR ".libs/" #define HAVE_PRELOADED_SYMBOLS 1 #define HAVE_LIBDL 1 #define HAVE_DLERROR 1 #define HAVE_ARGZ_H 1 / end confdefs.h. / #if HAVE_ARGZ_H # include #endif
int
main ()
{
if (sizeof ((error_t)))
return 0;
;
return 0;
}

configure:9392: result: yes configure:9413: checking for argz_append configure:9413: clang -o conftest -g -O2 conftest.c >&5 configure:9413: $? = 0 configure:9413: result: yes configure:9413: checking for argz_create_sep configure:9413: clang -o conftest -g -O2 conftest.c >&5 configure:9413: $? = 0 configure:9413: result: yes configure:9413: checking for argz_insert configure:9413: clang -o conftest -g -O2 conftest.c >&5 configure:9413: $? = 0 configure:9413: result: yes configure:9413: checking for argz_next configure:9413: clang -o conftest -g -O2 conftest.c >&5 configure:9413: $? = 0 configure:9413: result: yes configure:9413: checking for argz_stringify configure:9413: clang -o conftest -g -O2 conftest.c >&5 configure:9413: $? = 0 configure:9413: result: yes configure:9444: checking assert.h usability configure:9444: clang -c -g -O2 conftest.c >&5 configure:9444: $? = 0 configure:9444: result: yes configure:9444: checking assert.h presence configure:9444: clang -E conftest.c configure:9444: $? = 0 configure:9444: result: yes configure:9444: checking for assert.h configure:9444: result: yes configure:9444: checking ctype.h usability configure:9444: clang -c -g -O2 conftest.c >&5 configure:9444: $? = 0 configure:9444: result: yes configure:9444: checking ctype.h presence configure:9444: clang -E conftest.c configure:9444: $? = 0 configure:9444: result: yes configure:9444: checking for ctype.h configure:9444: result: yes configure:9444: checking errno.h usability configure:9444: clang -c -g -O2 conftest.c >&5 configure:9444: $? = 0 configure:9444: result: yes configure:9444: checking errno.h presence configure:9444: clang -E conftest.c configure:9444: $? = 0 configure:9444: result: yes configure:9444: checking for errno.h configure:9444: result: yes configure:9444: checking malloc.h usability configure:9444: clang -c -g -O2 conftest.c >&5 configure:9444: $? = 0 configure:9444: result: yes configure:9444: checking malloc.h presence configure:9444: clang -E conftest.c configure:9444: $? = 0 configure:9444: result: yes configure:9444: checking for malloc.h configure:9444: result: yes configure:9444: checking for memory.h configure:9444: result: yes configure:9444: checking for stdlib.h configure:9444: result: yes configure:9444: checking stdio.h usability configure:9444: clang -c -g -O2 conftest.c >&5 configure:9444: $? = 0 configure:9444: result: yes configure:9444: checking stdio.h presence configure:9444: clang -E conftest.c configure:9444: $? = 0 configure:9444: result: yes configure:9444: checking for stdio.h configure:9444: result: yes configure:9444: checking for unistd.h configure:9444: result: yes configure:9457: checking dl.h usability configure:9457: clang -c -g -O2 conftest.c >&5 conftest.c:91:10: fatal error: 'dl.h' file not found

include

     ^

1 error generated. configure:9457: $? = 1 configure: failed program was: | / confdefs.h / | #define PACKAGE_NAME "[GIRI]" | #define PACKAGE_TARNAME "--giri--" | #define PACKAGE_VERSION "[3.1]" | #define PACKAGE_STRING "[GIRI] [3.1]" | #define PACKAGE_BUGREPORT "https://github.com/liuml07/giri" | #define PACKAGE_URL "" | #define LLVM_ON_UNIX 1 | #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 ENABLE_THREADS 1 | #define ENABLE_PIC 1 | #define ENABLE_TIMESTAMPS 1 | #define LLVM_NATIVE_ARCH X86 | #define LLVM_NATIVE_TARGET LLVMInitializeX86Target | #define LLVM_NATIVE_TARGETINFO LLVMInitializeX86TargetInfo | #define LLVM_NATIVE_TARGETMC LLVMInitializeX86TargetMC | #define LLVM_NATIVE_ASMPRINTER LLVMInitializeX86AsmPrinter | #define CLANG_RESOURCE_DIR "" | #define C_INCLUDE_DIRS "" | #define GCC_INSTALL_PREFIX "" | #define BUG_REPORT_URL "http://llvm.org/bugs/" | #define HOST_LINK_VERSION "2.23.52.20130913" | #define HAVE_LINK_R 1 | #define HAVE_LINK_EXPORT_DYNAMIC 1 | #define HAVE_DIRENT_H 1 | #define HAVE_DLFCN_H 1 | #define LTDL_SHLIB_EXT ".so" | #define LTDL_SYSSEARCHPATH "/lib:/usr/lib:/usr/lib/i386-linux-gnu/mesa:/lib/i386-linux-gnu:/usr/lib/i386-linux-gnu:/lib/i686-linux-gnu:/usr/lib/i686-linux-gnu:/usr/local/lib:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu/mesa:/lib32:/usr/lib32" | #define LTDL_OBJDIR ".libs/" | #define HAVE_PRELOADED_SYMBOLS 1 | #define HAVE_LIBDL 1 | #define HAVE_DLERROR 1 | #define HAVE_ARGZ_H 1 | #define HAVE_ERROR_T 1 | #define HAVE_ARGZ_APPEND 1 | #define HAVE_ARGZ_CREATE_SEP 1 | #define HAVE_ARGZ_INSERT 1 | #define HAVE_ARGZ_NEXT 1 | #define HAVE_ARGZ_STRINGIFY 1 | #define HAVE_ASSERT_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_UNISTDH 1 | / end confdefs.h. _/ | #include | #ifdef HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:9457: result: no configure:9457: checking dl.h presence configure:9457: clang -E conftest.c conftest.c:58:10: fatal error: 'dl.h' file not found

include

     ^

1 error generated. configure:9457: $? = 1 configure: failed program was: | / confdefs.h / | #define PACKAGE_NAME "[GIRI]" | #define PACKAGE_TARNAME "--giri--" | #define PACKAGE_VERSION "[3.1]" | #define PACKAGE_STRING "[GIRI] [3.1]" | #define PACKAGE_BUGREPORT "https://github.com/liuml07/giri" | #define PACKAGE_URL "" | #define LLVM_ON_UNIX 1 | #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 ENABLE_THREADS 1 | #define ENABLE_PIC 1 | #define ENABLE_TIMESTAMPS 1 | #define LLVM_NATIVE_ARCH X86 | #define LLVM_NATIVE_TARGET LLVMInitializeX86Target | #define LLVM_NATIVE_TARGETINFO LLVMInitializeX86TargetInfo | #define LLVM_NATIVE_TARGETMC LLVMInitializeX86TargetMC | #define LLVM_NATIVE_ASMPRINTER LLVMInitializeX86AsmPrinter | #define CLANG_RESOURCE_DIR "" | #define C_INCLUDE_DIRS "" | #define GCC_INSTALL_PREFIX "" | #define BUG_REPORT_URL "http://llvm.org/bugs/" | #define HOST_LINK_VERSION "2.23.52.20130913" | #define HAVE_LINK_R 1 | #define HAVE_LINK_EXPORT_DYNAMIC 1 | #define HAVE_DIRENT_H 1 | #define HAVE_DLFCN_H 1 | #define LTDL_SHLIB_EXT ".so" | #define LTDL_SYSSEARCHPATH "/lib:/usr/lib:/usr/lib/i386-linux-gnu/mesa:/lib/i386-linux-gnu:/usr/lib/i386-linux-gnu:/lib/i686-linux-gnu:/usr/lib/i686-linux-gnu:/usr/local/lib:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu/mesa:/lib32:/usr/lib32" | #define LTDL_OBJDIR ".libs/" | #define HAVE_PRELOADED_SYMBOLS 1 | #define HAVE_LIBDL 1 | #define HAVE_DLERROR 1 | #define HAVE_ARGZ_H 1 | #define HAVE_ERROR_T 1 | #define HAVE_ARGZ_APPEND 1 | #define HAVE_ARGZ_CREATE_SEP 1 | #define HAVE_ARGZ_INSERT 1 | #define HAVE_ARGZ_NEXT 1 | #define HAVE_ARGZ_STRINGIFY 1 | #define HAVE_ASSERT_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_UNISTDH 1 | / end confdefs.h. _/ | #include configure:9457: result: no configure:9457: checking for dl.h configure:9457: result: no configure:9457: checking sys/dl.h usability configure:9457: clang -c -g -O2 conftest.c >&5 conftest.c:91:10: fatal error: 'sys/dl.h' file not found

include <sys/dl.h>

     ^

1 error generated. configure:9457: $? = 1 configure: failed program was: | / confdefs.h / | #define PACKAGE_NAME "[GIRI]" | #define PACKAGE_TARNAME "--giri--" | #define PACKAGE_VERSION "[3.1]" | #define PACKAGE_STRING "[GIRI] [3.1]" | #define PACKAGE_BUGREPORT "https://github.com/liuml07/giri" | #define PACKAGE_URL "" | #define LLVM_ON_UNIX 1 | #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 ENABLE_THREADS 1 | #define ENABLE_PIC 1 | #define ENABLE_TIMESTAMPS 1 | #define LLVM_NATIVE_ARCH X86 | #define LLVM_NATIVE_TARGET LLVMInitializeX86Target | #define LLVM_NATIVE_TARGETINFO LLVMInitializeX86TargetInfo | #define LLVM_NATIVE_TARGETMC LLVMInitializeX86TargetMC | #define LLVM_NATIVE_ASMPRINTER LLVMInitializeX86AsmPrinter | #define CLANG_RESOURCE_DIR "" | #define C_INCLUDE_DIRS "" | #define GCC_INSTALL_PREFIX "" | #define BUG_REPORT_URL "http://llvm.org/bugs/" | #define HOST_LINK_VERSION "2.23.52.20130913" | #define HAVE_LINK_R 1 | #define HAVE_LINK_EXPORT_DYNAMIC 1 | #define HAVE_DIRENT_H 1 | #define HAVE_DLFCN_H 1 | #define LTDL_SHLIB_EXT ".so" | #define LTDL_SYSSEARCHPATH "/lib:/usr/lib:/usr/lib/i386-linux-gnu/mesa:/lib/i386-linux-gnu:/usr/lib/i386-linux-gnu:/lib/i686-linux-gnu:/usr/lib/i686-linux-gnu:/usr/local/lib:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu/mesa:/lib32:/usr/lib32" | #define LTDL_OBJDIR ".libs/" | #define HAVE_PRELOADED_SYMBOLS 1 | #define HAVE_LIBDL 1 | #define HAVE_DLERROR 1 | #define HAVE_ARGZ_H 1 | #define HAVE_ERROR_T 1 | #define HAVE_ARGZ_APPEND 1 | #define HAVE_ARGZ_CREATE_SEP 1 | #define HAVE_ARGZ_INSERT 1 | #define HAVE_ARGZ_NEXT 1 | #define HAVE_ARGZ_STRINGIFY 1 | #define HAVE_ASSERT_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_UNISTDH 1 | / end confdefs.h. _/ | #include | #ifdef HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include <sys/dl.h> configure:9457: result: no configure:9457: checking sys/dl.h presence configure:9457: clang -E conftest.c conftest.c:58:10: fatal error: 'sys/dl.h' file not found

include <sys/dl.h>

     ^

1 error generated. configure:9457: $? = 1 configure: failed program was: | / confdefs.h / | #define PACKAGE_NAME "[GIRI]" | #define PACKAGE_TARNAME "--giri--" | #define PACKAGE_VERSION "[3.1]" | #define PACKAGE_STRING "[GIRI] [3.1]" | #define PACKAGE_BUGREPORT "https://github.com/liuml07/giri" | #define PACKAGE_URL "" | #define LLVM_ON_UNIX 1 | #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 ENABLE_THREADS 1 | #define ENABLE_PIC 1 | #define ENABLE_TIMESTAMPS 1 | #define LLVM_NATIVE_ARCH X86 | #define LLVM_NATIVE_TARGET LLVMInitializeX86Target | #define LLVM_NATIVE_TARGETINFO LLVMInitializeX86TargetInfo | #define LLVM_NATIVE_TARGETMC LLVMInitializeX86TargetMC | #define LLVM_NATIVE_ASMPRINTER LLVMInitializeX86AsmPrinter | #define CLANG_RESOURCE_DIR "" | #define C_INCLUDE_DIRS "" | #define GCC_INSTALL_PREFIX "" | #define BUG_REPORT_URL "http://llvm.org/bugs/" | #define HOST_LINK_VERSION "2.23.52.20130913" | #define HAVE_LINK_R 1 | #define HAVE_LINK_EXPORT_DYNAMIC 1 | #define HAVE_DIRENT_H 1 | #define HAVE_DLFCN_H 1 | #define LTDL_SHLIB_EXT ".so" | #define LTDL_SYSSEARCHPATH "/lib:/usr/lib:/usr/lib/i386-linux-gnu/mesa:/lib/i386-linux-gnu:/usr/lib/i386-linux-gnu:/lib/i686-linux-gnu:/usr/lib/i686-linux-gnu:/usr/local/lib:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu/mesa:/lib32:/usr/lib32" | #define LTDL_OBJDIR ".libs/" | #define HAVE_PRELOADED_SYMBOLS 1 | #define HAVE_LIBDL 1 | #define HAVE_DLERROR 1 | #define HAVE_ARGZ_H 1 | #define HAVE_ERROR_T 1 | #define HAVE_ARGZ_APPEND 1 | #define HAVE_ARGZ_CREATE_SEP 1 | #define HAVE_ARGZ_INSERT 1 | #define HAVE_ARGZ_NEXT 1 | #define HAVE_ARGZ_STRINGIFY 1 | #define HAVE_ASSERT_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_UNISTDH 1 | / end confdefs.h. _/ | #include <sys/dl.h> configure:9457: result: no configure:9457: checking for sys/dl.h configure:9457: result: no configure:9457: checking dld.h usability configure:9457: clang -c -g -O2 conftest.c >&5 conftest.c:91:10: fatal error: 'dld.h' file not found

include

     ^

1 error generated. configure:9457: $? = 1 configure: failed program was: | / confdefs.h / | #define PACKAGE_NAME "[GIRI]" | #define PACKAGE_TARNAME "--giri--" | #define PACKAGE_VERSION "[3.1]" | #define PACKAGE_STRING "[GIRI] [3.1]" | #define PACKAGE_BUGREPORT "https://github.com/liuml07/giri" | #define PACKAGE_URL "" | #define LLVM_ON_UNIX 1 | #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 ENABLE_THREADS 1 | #define ENABLE_PIC 1 | #define ENABLE_TIMESTAMPS 1 | #define LLVM_NATIVE_ARCH X86 | #define LLVM_NATIVE_TARGET LLVMInitializeX86Target | #define LLVM_NATIVE_TARGETINFO LLVMInitializeX86TargetInfo | #define LLVM_NATIVE_TARGETMC LLVMInitializeX86TargetMC | #define LLVM_NATIVE_ASMPRINTER LLVMInitializeX86AsmPrinter | #define CLANG_RESOURCE_DIR "" | #define C_INCLUDE_DIRS "" | #define GCC_INSTALL_PREFIX "" | #define BUG_REPORT_URL "http://llvm.org/bugs/" | #define HOST_LINK_VERSION "2.23.52.20130913" | #define HAVE_LINK_R 1 | #define HAVE_LINK_EXPORT_DYNAMIC 1 | #define HAVE_DIRENT_H 1 | #define HAVE_DLFCN_H 1 | #define LTDL_SHLIB_EXT ".so" | #define LTDL_SYSSEARCHPATH "/lib:/usr/lib:/usr/lib/i386-linux-gnu/mesa:/lib/i386-linux-gnu:/usr/lib/i386-linux-gnu:/lib/i686-linux-gnu:/usr/lib/i686-linux-gnu:/usr/local/lib:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu/mesa:/lib32:/usr/lib32" | #define LTDL_OBJDIR ".libs/" | #define HAVE_PRELOADED_SYMBOLS 1 | #define HAVE_LIBDL 1 | #define HAVE_DLERROR 1 | #define HAVE_ARGZ_H 1 | #define HAVE_ERROR_T 1 | #define HAVE_ARGZ_APPEND 1 | #define HAVE_ARGZ_CREATE_SEP 1 | #define HAVE_ARGZ_INSERT 1 | #define HAVE_ARGZ_NEXT 1 | #define HAVE_ARGZ_STRINGIFY 1 | #define HAVE_ASSERT_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_UNISTDH 1 | / end confdefs.h. _/ | #include | #ifdef HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:9457: result: no configure:9457: checking dld.h presence configure:9457: clang -E conftest.c conftest.c:58:10: fatal error: 'dld.h' file not found

include

     ^

1 error generated. configure:9457: $? = 1 configure: failed program was: | / confdefs.h / | #define PACKAGE_NAME "[GIRI]" | #define PACKAGE_TARNAME "--giri--" | #define PACKAGE_VERSION "[3.1]" | #define PACKAGE_STRING "[GIRI] [3.1]" | #define PACKAGE_BUGREPORT "https://github.com/liuml07/giri" | #define PACKAGE_URL "" | #define LLVM_ON_UNIX 1 | #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 ENABLE_THREADS 1 | #define ENABLE_PIC 1 | #define ENABLE_TIMESTAMPS 1 | #define LLVM_NATIVE_ARCH X86 | #define LLVM_NATIVE_TARGET LLVMInitializeX86Target | #define LLVM_NATIVE_TARGETINFO LLVMInitializeX86TargetInfo | #define LLVM_NATIVE_TARGETMC LLVMInitializeX86TargetMC | #define LLVM_NATIVE_ASMPRINTER LLVMInitializeX86AsmPrinter | #define CLANG_RESOURCE_DIR "" | #define C_INCLUDE_DIRS "" | #define GCC_INSTALL_PREFIX "" | #define BUG_REPORT_URL "http://llvm.org/bugs/" | #define HOST_LINK_VERSION "2.23.52.20130913" | #define HAVE_LINK_R 1 | #define HAVE_LINK_EXPORT_DYNAMIC 1 | #define HAVE_DIRENT_H 1 | #define HAVE_DLFCN_H 1 | #define LTDL_SHLIB_EXT ".so" | #define LTDL_SYSSEARCHPATH "/lib:/usr/lib:/usr/lib/i386-linux-gnu/mesa:/lib/i386-linux-gnu:/usr/lib/i386-linux-gnu:/lib/i686-linux-gnu:/usr/lib/i686-linux-gnu:/usr/local/lib:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu/mesa:/lib32:/usr/lib32" | #define LTDL_OBJDIR ".libs/" | #define HAVE_PRELOADED_SYMBOLS 1 | #define HAVE_LIBDL 1 | #define HAVE_DLERROR 1 | #define HAVE_ARGZ_H 1 | #define HAVE_ERROR_T 1 | #define HAVE_ARGZ_APPEND 1 | #define HAVE_ARGZ_CREATE_SEP 1 | #define HAVE_ARGZ_INSERT 1 | #define HAVE_ARGZ_NEXT 1 | #define HAVE_ARGZ_STRINGIFY 1 | #define HAVE_ASSERT_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_UNISTDH 1 | / end confdefs.h. _/ | #include configure:9457: result: no configure:9457: checking for dld.h configure:9457: result: no configure:9457: checking mach-o/dyld.h usability configure:9457: clang -c -g -O2 conftest.c >&5 conftest.c:91:10: fatal error: 'mach-o/dyld.h' file not found

include <mach-o/dyld.h>

     ^

1 error generated. configure:9457: $? = 1 configure: failed program was: | / confdefs.h / | #define PACKAGE_NAME "[GIRI]" | #define PACKAGE_TARNAME "--giri--" | #define PACKAGE_VERSION "[3.1]" | #define PACKAGE_STRING "[GIRI] [3.1]" | #define PACKAGE_BUGREPORT "https://github.com/liuml07/giri" | #define PACKAGE_URL "" | #define LLVM_ON_UNIX 1 | #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 ENABLE_THREADS 1 | #define ENABLE_PIC 1 | #define ENABLE_TIMESTAMPS 1 | #define LLVM_NATIVE_ARCH X86 | #define LLVM_NATIVE_TARGET LLVMInitializeX86Target | #define LLVM_NATIVE_TARGETINFO LLVMInitializeX86TargetInfo | #define LLVM_NATIVE_TARGETMC LLVMInitializeX86TargetMC | #define LLVM_NATIVE_ASMPRINTER LLVMInitializeX86AsmPrinter | #define CLANG_RESOURCE_DIR "" | #define C_INCLUDE_DIRS "" | #define GCC_INSTALL_PREFIX "" | #define BUG_REPORT_URL "http://llvm.org/bugs/" | #define HOST_LINK_VERSION "2.23.52.20130913" | #define HAVE_LINK_R 1 | #define HAVE_LINK_EXPORT_DYNAMIC 1 | #define HAVE_DIRENT_H 1 | #define HAVE_DLFCN_H 1 | #define LTDL_SHLIB_EXT ".so" | #define LTDL_SYSSEARCHPATH "/lib:/usr/lib:/usr/lib/i386-linux-gnu/mesa:/lib/i386-linux-gnu:/usr/lib/i386-linux-gnu:/lib/i686-linux-gnu:/usr/lib/i686-linux-gnu:/usr/local/lib:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu/mesa:/lib32:/usr/lib32" | #define LTDL_OBJDIR ".libs/" | #define HAVE_PRELOADED_SYMBOLS 1 | #define HAVE_LIBDL 1 | #define HAVE_DLERROR 1 | #define HAVE_ARGZ_H 1 | #define HAVE_ERROR_T 1 | #define HAVE_ARGZ_APPEND 1 | #define HAVE_ARGZ_CREATE_SEP 1 | #define HAVE_ARGZ_INSERT 1 | #define HAVE_ARGZ_NEXT 1 | #define HAVE_ARGZ_STRINGIFY 1 | #define HAVE_ASSERT_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_UNISTDH 1 | / end confdefs.h. _/ | #include | #ifdef HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include <mach-o/dyld.h> configure:9457: result: no configure:9457: checking mach-o/dyld.h presence configure:9457: clang -E conftest.c conftest.c:58:10: fatal error: 'mach-o/dyld.h' file not found

include <mach-o/dyld.h>

     ^
1 error generated. configure:9457: $? = 1 configure: failed program was: / confdefs.h / #define PACKAGE_NAME "[GIRI]" #define PACKAGE_TARNAME "--giri--" #define PACKAGE_VERSION "[3.1]" #define PACKAGE_STRING "[GIRI] [3.1]" #define PACKAGE_BUGREPORT "https://github.com/liuml07/giri" #define PACKAGE_URL "" #define LLVM_ON_UNIX 1 #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 ENABLE_THREADS 1 #define ENABLE_PIC 1 #define ENABLE_TIMESTAMPS 1 #define LLVM_NATIVE_ARCH X86 #define LLVM_NATIVE_TARGET LLVMInitializeX86Target #define LLVM_NATIVE_TARGETINFO LLVMInitializeX86TargetInfo #define LLVM_NATIVE_TARGETMC LLVMInitializeX86TargetMC #define LLVM_NATIVE_ASMPRINTER LLVMInitializeX86AsmPrinter #define CLANG_RESOURCE_DIR "" #define C_INCLUDE_DIRS "" #define GCC_INSTALL_PREFIX "" #define BUG_REPORT_URL "http://llvm.org/bugs/" #define HOST_LINK_VERSION "2.23.52.20130913" #define HAVE_LINK_R 1 #define HAVE_LINK_EXPORT_DYNAMIC 1 #define HAVE_DIRENT_H 1 #define HAVE_DLFCN_H 1 #define LTDL_SHLIB_EXT ".so" #define LTDL_SYSSEARCHPATH "/lib:/usr/lib:/usr/lib/i386-linux-gnu/mesa:/lib/i386-linux-gnu:/usr/lib/i386-linux-gnu:/lib/i686-linux-gnu:/usr/lib/i686-linux-gnu:/usr/local/lib:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu/mesa:/lib32:/usr/lib32" #define LTDL_OBJDIR ".libs/" #define HAVE_PRELOADED_SYMBOLS 1 #define HAVE_LIBDL 1 #define HAVE_DLERROR 1 #define HAVE_ARGZ_H 1 #define HAVE_ERROR_T 1 #define HAVE_ARGZ_APPEND 1 #define HAVE_ARGZ_CREATE_SEP 1 #define HAVE_ARGZ_INSERT 1 #define HAVE_ARGZ_NEXT 1 #define HAVE_ARGZ_STRINGIFY 1 #define HAVE_ASSERT_H 1 #define HAVE_CTYPE_H 1 #define HAVE_ERRNO_H 1 #define HAVE_MALLOC_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDIO_H 1 #define HAVE_UNISTD_H 1 / end confdefs.h. / #include <mach-o/dyld.h> configure:9457: result: no configure:9457: checking for mach-o/dyld.h configure:9457: result: no configure:9470: checking for string.h configure:9470: result: yes configure:9484: checking for strchr configure:9484: clang -o conftest -g -O2 conftest.c >&5 conftest.c:82:6: warning: incompatible redeclaration of library function 'strchr' [-Wincompatible-library-redeclaration] char strchr (); ^ conftest.c:82:6: note: 'strchr' is a builtin with type 'char (const char , int)' 1 warning generated. configure:9484: $? = 0 configure:9484: result: yes configure:9496: checking for strrchr configure:9496: clang -o conftest -g -O2 conftest.c >&5 conftest.c:83:6: warning: incompatible redeclaration of library function 'strrchr' [-Wincompatible-library-redeclaration] char strrchr (); ^ conftest.c:83:6: note: 'strrchr' is a builtin with type 'char (const char , int)' 1 warning generated. configure:9496: $? = 0 configure:9496: result: yes configure:9508: checking for memcpy configure:9508: clang -o conftest -g -O2 conftest.c >&5 conftest.c:84:6: warning: incompatible redeclaration of library function 'memcpy' [-Wincompatible-library-redeclaration] char memcpy (); ^ conftest.c:84:6: note: 'memcpy' is a builtin with type 'void (void , const void , unsigned long)' 1 warning generated. configure:9508: $? = 0 configure:9508: result: yes configure:9520: checking for memmove configure:9520: clang -o conftest -g -O2 conftest.c >&5 conftest.c:85:6: warning: incompatible redeclaration of library function 'memmove' [-Wincompatible-library-redeclaration] char memmove (); ^ conftest.c:85:6: note: 'memmove' is a builtin with type 'void (void , const void , unsigned long)' 1 warning generated. configure:9520: $? = 0 configure:9520: result: yes configure:9520: checking for strcmp configure:9520: clang -o conftest -g -O2 conftest.c >&5 conftest.c:86:6: warning: incompatible redeclaration of library function 'strcmp' [-Wincompatible-library-redeclaration] char strcmp (); ^ conftest.c:86:6: note: 'strcmp' is a builtin with type 'int (const char , const char )' 1 warning generated. configure:9520: $? = 0 configure:9520: result: yes configure:9532: checking for closedir configure:9532: clang -o conftest -g -O2 conftest.c >&5 configure:9532: $? = 0 configure:9532: result: yes configure:9532: checking for opendir configure:9532: clang -o conftest -g -O2 conftest.c >&5 configure:9532: $? = 0 configure:9532: result: yes configure:9532: checking for readdir configure:9532: clang -o conftest -g -O2 conftest.c >&5 configure:9532: $? = 0 configure:9532: result: yes configure:9543: checking tool compatibility configure:9576: clang -c -g -O2 conftest.c >&5 configure:9576: $? = 0 configure:9589: result: ok configure:9592: checking optional compiler flags configure:9600: result: -Wno-variadic-macros -Wno-missing-field-initializers -Wcovered-switch-default configure:9604: checking for sin in -lm configure:9629: clang -o conftest -g -O2 conftest.c -lm >&5 conftest.c:74:6: warning: incompatible redeclaration of library function 'sin' [-Wincompatible-library-redeclaration] char sin (); ^ conftest.c:74:6: note: 'sin' is a builtin with type 'double (double)' 1 warning generated. configure:9629: $? = 0 configure:9638: result: yes configure:9730: checking for library containing dlopen configure:9761: clang -o conftest -g -O2 conftest.c -lm >&5 /tmp/conftest-AUBMMU.o: In function main': /home/aign/src/giri-3.4/build/conftest.c:79: undefined reference todlopen' clang: error: linker command failed with exit code 1 (use -v to see invocation) configure:9761: $? = 1 configure: failed program was: / confdefs.h / #define PACKAGE_NAME "[GIRI]" #define PACKAGE_TARNAME "--giri--" #define PACKAGE_VERSION "[3.1]" #define PACKAGE_STRING "[GIRI] [3.1]" #define PACKAGE_BUGREPORT "https://github.com/liuml07/giri" #define PACKAGE_URL "" #define LLVM_ON_UNIX 1 #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 ENABLE_THREADS 1 #define ENABLE_PIC 1 #define ENABLE_TIMESTAMPS 1 #define LLVM_NATIVE_ARCH X86 #define LLVM_NATIVE_TARGET LLVMInitializeX86Target #define LLVM_NATIVE_TARGETINFO LLVMInitializeX86TargetInfo #define LLVM_NATIVE_TARGETMC LLVMInitializeX86TargetMC #define LLVM_NATIVE_ASMPRINTER LLVMInitializeX86AsmPrinter #define CLANG_RESOURCE_DIR "" #define C_INCLUDE_DIRS "" #define GCC_INSTALL_PREFIX "" #define BUG_REPORT_URL "http://llvm.org/bugs/" #define HOST_LINK_VERSION "2.23.52.20130913" #define HAVE_LINK_R 1 #define HAVE_LINK_EXPORT_DYNAMIC 1 #define HAVE_DIRENT_H 1 #define HAVE_DLFCN_H 1 #define LTDL_SHLIB_EXT ".so" #define LTDL_SYSSEARCHPATH "/lib:/usr/lib:/usr/lib/i386-linux-gnu/mesa:/lib/i386-linux-gnu:/usr/lib/i386-linux-gnu:/lib/i686-linux-gnu:/usr/lib/i686-linux-gnu:/usr/local/lib:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu/mesa:/lib32:/usr/lib32" #define LTDL_OBJDIR ".libs/" #define HAVE_PRELOADED_SYMBOLS 1 #define HAVE_LIBDL 1 #define HAVE_DLERROR 1 #define HAVE_ARGZ_H 1 #define HAVE_ERROR_T 1 #define HAVE_ARGZ_APPEND 1 #define HAVE_ARGZ_CREATE_SEP 1 #define HAVE_ARGZ_INSERT 1 #define HAVE_ARGZ_NEXT 1 #define HAVE_ARGZ_STRINGIFY 1 #define HAVE_ASSERT_H 1 #define HAVE_CTYPE_H 1 #define HAVE_ERRNO_H 1 #define HAVE_MALLOC_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDIO_H 1 #define HAVE_UNISTD_H 1 #define HAVE_STRING_H 1 #define HAVE_STRCHR 1 #define HAVE_STRRCHR 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCMP 1 #define HAVE_CLOSEDIR 1 #define HAVE_OPENDIR 1 #define HAVE_READDIR 1 #define HAVE_LIBM 1 / end confdefs.h. /
/_ 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 dlopen ();
int
main ()
{
return dlopen ();
;
return 0;
}

configure:9761: clang -o conftest -g -O2 conftest.c -ldl -lm >&5 configure:9761: $? = 0 configure:9778: result: -ldl configure:9855: checking for library containing mallinfo configure:9886: clang -o conftest -g -O2 conftest.c -ldl -lm >&5 configure:9886: $? = 0 configure:9903: result: none required configure:9915: checking for pthread_mutex_init in -lpthread configure:9940: clang -o conftest -g -O2 conftest.c -lpthread -ldl -lm >&5 configure:9940: $? = 0 configure:9949: result: yes configure:9960: checking for library containing pthread_mutex_lock configure:9991: clang -o conftest -g -O2 conftest.c -lpthread -ldl -lm >&5 configure:9991: $? = 0 configure:10008: result: none required configure:10018: checking for library containing pthread_rwlock_init configure:10049: clang -o conftest -g -O2 conftest.c -lpthread -ldl -lm >&5 configure:10049: $? = 0 configure:10066: result: none required configure:10076: checking for library containing pthread_getspecific configure:10107: clang -o conftest -g -O2 conftest.c -lpthread -ldl -lm >&5 configure:10107: $? = 0 configure:10124: result: none required configure:10371: checking for dirent.h that defines DIR configure:10398: result: yes configure:10411: checking for library containing opendir configure:10459: result: none required configure:10526: checking for MAP_ANONYMOUS vs. MAP_ANON configure:10550: clang -c -g -O2 conftest.c >&5 configure:10550: $? = 0 configure:10564: result: yes configure:10572: checking whether stat file-mode macros are broken configure:10599: clang -c -g -O2 conftest.c >&5 configure:10599: $? = 0 configure:10606: result: no configure:10614: checking for sys/wait.h that is POSIX.1 compatible configure:10640: clang -c -g -O2 conftest.c >&5 configure:10640: $? = 0 configure:10647: result: yes configure:10655: checking whether time.h and sys/time.h may both be included configure:10675: clang -c -g -O2 conftest.c >&5 configure:10675: $? = 0 configure:10682: result: yes configure:10694: checking for dlfcn.h configure:10694: result: yes configure:10694: checking execinfo.h usability configure:10694: clang -c -g -O2 conftest.c >&5 configure:10694: $? = 0 configure:10694: result: yes configure:10694: checking execinfo.h presence configure:10694: clang -E conftest.c configure:10694: $? = 0 configure:10694: result: yes configure:10694: checking for execinfo.h configure:10694: result: yes configure:10694: checking fcntl.h usability configure:10694: clang -c -g -O2 conftest.c >&5 configure:10694: $? = 0 configure:10694: result: yes configure:10694: checking fcntl.h presence configure:10694: clang -E conftest.c configure:10694: $? = 0 configure:10694: result: yes configure:10694: checking for fcntl.h configure:10694: result: yes configure:10694: checking for inttypes.h configure:10694: result: yes configure:10694: checking limits.h usability configure:10694: clang -c -g -O2 conftest.c >&5 configure:10694: $? = 0 configure:10694: result: yes configure:10694: checking limits.h presence configure:10694: clang -E conftest.c configure:10694: $? = 0 configure:10694: result: yes configure:10694: checking for limits.h configure:10694: result: yes configure:10694: checking link.h usability configure:10694: clang -c -g -O2 conftest.c >&5 configure:10694: $? = 0 configure:10694: result: yes configure:10694: checking link.h presence configure:10694: clang -E conftest.c configure:10694: $? = 0 configure:10694: result: yes configure:10694: checking for link.h configure:10694: result: yes configure:10707: checking for malloc.h configure:10707: result: yes configure:10707: checking setjmp.h usability configure:10707: clang -c -g -O2 conftest.c >&5 configure:10707: $? = 0 configure:10707: result: yes configure:10707: checking setjmp.h presence configure:10707: clang -E conftest.c configure:10707: $? = 0 configure:10707: result: yes configure:10707: checking for setjmp.h configure:10707: result: yes configure:10707: checking signal.h usability configure:10707: clang -c -g -O2 conftest.c >&5 configure:10707: $? = 0 configure:10707: result: yes configure:10707: checking signal.h presence configure:10707: clang -E conftest.c configure:10707: $? = 0 configure:10707: result: yes configure:10707: checking for signal.h configure:10707: result: yes configure:10707: checking for stdint.h configure:10707: result: yes configure:10707: checking termios.h usability configure:10707: clang -c -g -O2 conftest.c >&5 configure:10707: $? = 0 configure:10707: result: yes configure:10707: checking termios.h presence configure:10707: clang -E conftest.c configure:10707: $? = 0 configure:10707: result: yes configure:10707: checking for termios.h configure:10707: result: yes configure:10707: checking for unistd.h configure:10707: result: yes configure:10720: checking utime.h usability configure:10720: clang -c -g -O2 conftest.c >&5 configure:10720: $? = 0 configure:10720: result: yes configure:10720: checking utime.h presence configure:10720: clang -E conftest.c configure:10720: $? = 0 configure:10720: result: yes configure:10720: checking for utime.h configure:10720: result: yes configure:10720: checking windows.h usability configure:10720: clang -c -g -O2 conftest.c >&5 conftest.c:126:10: fatal error: 'windows.h' file not found

include

     ^

1 error generated. configure:10720: $? = 1 configure: failed program was: | / confdefs.h / | #define PACKAGE_NAME "[GIRI]" | #define PACKAGE_TARNAME "--giri--" | #define PACKAGE_VERSION "[3.1]" | #define PACKAGE_STRING "[GIRI] [3.1]" | #define PACKAGE_BUGREPORT "https://github.com/liuml07/giri" | #define PACKAGE_URL "" | #define LLVM_ON_UNIX 1 | #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 ENABLE_THREADS 1 | #define ENABLE_PIC 1 | #define ENABLE_TIMESTAMPS 1 | #define LLVM_NATIVE_ARCH X86 | #define LLVM_NATIVE_TARGET LLVMInitializeX86Target | #define LLVM_NATIVE_TARGETINFO LLVMInitializeX86TargetInfo | #define LLVM_NATIVE_TARGETMC LLVMInitializeX86TargetMC | #define LLVM_NATIVE_ASMPRINTER LLVMInitializeX86AsmPrinter | #define CLANG_RESOURCE_DIR "" | #define C_INCLUDE_DIRS "" | #define GCC_INSTALL_PREFIX "" | #define BUG_REPORT_URL "http://llvm.org/bugs/" | #define HOST_LINK_VERSION "2.23.52.20130913" | #define HAVE_LINK_R 1 | #define HAVE_LINK_EXPORT_DYNAMIC 1 | #define HAVE_DIRENT_H 1 | #define HAVE_DLFCN_H 1 | #define LTDL_SHLIB_EXT ".so" | #define LTDL_SYSSEARCHPATH "/lib:/usr/lib:/usr/lib/i386-linux-gnu/mesa:/lib/i386-linux-gnu:/usr/lib/i386-linux-gnu:/lib/i686-linux-gnu:/usr/lib/i686-linux-gnu:/usr/local/lib:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu/mesa:/lib32:/usr/lib32" | #define LTDL_OBJDIR ".libs/" | #define HAVE_PRELOADED_SYMBOLS 1 | #define HAVE_LIBDL 1 | #define HAVE_DLERROR 1 | #define HAVE_ARGZ_H 1 | #define HAVE_ERROR_T 1 | #define HAVE_ARGZ_APPEND 1 | #define HAVE_ARGZ_CREATE_SEP 1 | #define HAVE_ARGZ_INSERT 1 | #define HAVE_ARGZ_NEXT 1 | #define HAVE_ARGZ_STRINGIFY 1 | #define HAVE_ASSERT_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRCHR 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMCPY 1 | #define HAVE_MEMMOVE 1 | #define HAVE_STRCMP 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_LIBM 1 | #define HAVE_DLOPEN 1 | #define HAVE_MALLINFO 1 | #define HAVE_LIBPTHREAD 1 | #define HAVE_PTHREAD_MUTEX_LOCK 1 | #define HAVE_PTHREAD_RWLOCK_INIT 1 | #define HAVE_PTHREAD_GETSPECIFIC 1 | #define USE_UDIS86 0 | #define USE_OPROFILE 0 | #define HAVE_DIRENT_H 1 | #define HAVE_MMAP_ANONYMOUS 1 | #define HAVE_SYS_WAIT_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_DLFCN_H 1 | #define HAVE_EXECINFO_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LINK_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_UTIMEH 1 | / end confdefs.h. _/ | #include | #ifdef HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:10720: result: no configure:10720: checking windows.h presence configure:10720: clang -E conftest.c conftest.c:93:10: fatal error: 'windows.h' file not found

include

     ^

1 error generated. configure:10720: $? = 1 configure: failed program was: | / confdefs.h / | #define PACKAGE_NAME "[GIRI]" | #define PACKAGE_TARNAME "--giri--" | #define PACKAGE_VERSION "[3.1]" | #define PACKAGE_STRING "[GIRI] [3.1]" | #define PACKAGE_BUGREPORT "https://github.com/liuml07/giri" | #define PACKAGE_URL "" | #define LLVM_ON_UNIX 1 | #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 ENABLE_THREADS 1 | #define ENABLE_PIC 1 | #define ENABLE_TIMESTAMPS 1 | #define LLVM_NATIVE_ARCH X86 | #define LLVM_NATIVE_TARGET LLVMInitializeX86Target | #define LLVM_NATIVE_TARGETINFO LLVMInitializeX86TargetInfo | #define LLVM_NATIVE_TARGETMC LLVMInitializeX86TargetMC | #define LLVM_NATIVE_ASMPRINTER LLVMInitializeX86AsmPrinter | #define CLANG_RESOURCE_DIR "" | #define C_INCLUDE_DIRS "" | #define GCC_INSTALL_PREFIX "" | #define BUG_REPORT_URL "http://llvm.org/bugs/" | #define HOST_LINK_VERSION "2.23.52.20130913" | #define HAVE_LINK_R 1 | #define HAVE_LINK_EXPORT_DYNAMIC 1 | #define HAVE_DIRENT_H 1 | #define HAVE_DLFCN_H 1 | #define LTDL_SHLIB_EXT ".so" | #define LTDL_SYSSEARCHPATH "/lib:/usr/lib:/usr/lib/i386-linux-gnu/mesa:/lib/i386-linux-gnu:/usr/lib/i386-linux-gnu:/lib/i686-linux-gnu:/usr/lib/i686-linux-gnu:/usr/local/lib:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu/mesa:/lib32:/usr/lib32" | #define LTDL_OBJDIR ".libs/" | #define HAVE_PRELOADED_SYMBOLS 1 | #define HAVE_LIBDL 1 | #define HAVE_DLERROR 1 | #define HAVE_ARGZ_H 1 | #define HAVE_ERROR_T 1 | #define HAVE_ARGZ_APPEND 1 | #define HAVE_ARGZ_CREATE_SEP 1 | #define HAVE_ARGZ_INSERT 1 | #define HAVE_ARGZ_NEXT 1 | #define HAVE_ARGZ_STRINGIFY 1 | #define HAVE_ASSERT_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRCHR 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMCPY 1 | #define HAVE_MEMMOVE 1 | #define HAVE_STRCMP 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_LIBM 1 | #define HAVE_DLOPEN 1 | #define HAVE_MALLINFO 1 | #define HAVE_LIBPTHREAD 1 | #define HAVE_PTHREAD_MUTEX_LOCK 1 | #define HAVE_PTHREAD_RWLOCK_INIT 1 | #define HAVE_PTHREAD_GETSPECIFIC 1 | #define USE_UDIS86 0 | #define USE_OPROFILE 0 | #define HAVE_DIRENT_H 1 | #define HAVE_MMAP_ANONYMOUS 1 | #define HAVE_SYS_WAIT_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_DLFCN_H 1 | #define HAVE_EXECINFO_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LINK_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_UTIMEH 1 | / end confdefs.h. _/ | #include configure:10720: result: no configure:10720: checking for windows.h configure:10720: result: no configure:10733: checking sys/mman.h usability configure:10733: clang -c -g -O2 conftest.c >&5 configure:10733: $? = 0 configure:10733: result: yes configure:10733: checking sys/mman.h presence configure:10733: clang -E conftest.c configure:10733: $? = 0 configure:10733: result: yes configure:10733: checking for sys/mman.h configure:10733: result: yes configure:10733: checking sys/param.h usability configure:10733: clang -c -g -O2 conftest.c >&5 configure:10733: $? = 0 configure:10733: result: yes configure:10733: checking sys/param.h presence configure:10733: clang -E conftest.c configure:10733: $? = 0 configure:10733: result: yes configure:10733: checking for sys/param.h configure:10733: result: yes configure:10733: checking sys/resource.h usability configure:10733: clang -c -g -O2 conftest.c >&5 configure:10733: $? = 0 configure:10733: result: yes configure:10733: checking sys/resource.h presence configure:10733: clang -E conftest.c configure:10733: $? = 0 configure:10733: result: yes configure:10733: checking for sys/resource.h configure:10733: result: yes configure:10733: checking sys/time.h usability configure:10733: clang -c -g -O2 conftest.c >&5 configure:10733: $? = 0 configure:10733: result: yes configure:10733: checking sys/time.h presence configure:10733: clang -E conftest.c configure:10733: $? = 0 configure:10733: result: yes configure:10733: checking for sys/time.h configure:10733: result: yes configure:10733: checking sys/uio.h usability configure:10733: clang -c -g -O2 conftest.c >&5 configure:10733: $? = 0 configure:10733: result: yes configure:10733: checking sys/uio.h presence configure:10733: clang -E conftest.c configure:10733: $? = 0 configure:10733: result: yes configure:10733: checking for sys/uio.h configure:10733: result: yes configure:10746: checking for sys/types.h configure:10746: result: yes configure:10746: checking sys/ioctl.h usability configure:10746: clang -c -g -O2 conftest.c >&5 configure:10746: $? = 0 configure:10746: result: yes configure:10746: checking sys/ioctl.h presence configure:10746: clang -E conftest.c configure:10746: $? = 0 configure:10746: result: yes configure:10746: checking for sys/ioctl.h configure:10746: result: yes configure:10746: checking malloc/malloc.h usability configure:10746: clang -c -g -O2 conftest.c >&5 conftest.c:133:10: fatal error: 'malloc/malloc.h' file not found

include <malloc/malloc.h>

     ^

1 error generated. configure:10746: $? = 1 configure: failed program was: | / confdefs.h / | #define PACKAGE_NAME "[GIRI]" | #define PACKAGE_TARNAME "--giri--" | #define PACKAGE_VERSION "[3.1]" | #define PACKAGE_STRING "[GIRI] [3.1]" | #define PACKAGE_BUGREPORT "https://github.com/liuml07/giri" | #define PACKAGE_URL "" | #define LLVM_ON_UNIX 1 | #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 ENABLE_THREADS 1 | #define ENABLE_PIC 1 | #define ENABLE_TIMESTAMPS 1 | #define LLVM_NATIVE_ARCH X86 | #define LLVM_NATIVE_TARGET LLVMInitializeX86Target | #define LLVM_NATIVE_TARGETINFO LLVMInitializeX86TargetInfo | #define LLVM_NATIVE_TARGETMC LLVMInitializeX86TargetMC | #define LLVM_NATIVE_ASMPRINTER LLVMInitializeX86AsmPrinter | #define CLANG_RESOURCE_DIR "" | #define C_INCLUDE_DIRS "" | #define GCC_INSTALL_PREFIX "" | #define BUG_REPORT_URL "http://llvm.org/bugs/" | #define HOST_LINK_VERSION "2.23.52.20130913" | #define HAVE_LINK_R 1 | #define HAVE_LINK_EXPORT_DYNAMIC 1 | #define HAVE_DIRENT_H 1 | #define HAVE_DLFCN_H 1 | #define LTDL_SHLIB_EXT ".so" | #define LTDL_SYSSEARCHPATH "/lib:/usr/lib:/usr/lib/i386-linux-gnu/mesa:/lib/i386-linux-gnu:/usr/lib/i386-linux-gnu:/lib/i686-linux-gnu:/usr/lib/i686-linux-gnu:/usr/local/lib:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu/mesa:/lib32:/usr/lib32" | #define LTDL_OBJDIR ".libs/" | #define HAVE_PRELOADED_SYMBOLS 1 | #define HAVE_LIBDL 1 | #define HAVE_DLERROR 1 | #define HAVE_ARGZ_H 1 | #define HAVE_ERROR_T 1 | #define HAVE_ARGZ_APPEND 1 | #define HAVE_ARGZ_CREATE_SEP 1 | #define HAVE_ARGZ_INSERT 1 | #define HAVE_ARGZ_NEXT 1 | #define HAVE_ARGZ_STRINGIFY 1 | #define HAVE_ASSERT_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRCHR 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMCPY 1 | #define HAVE_MEMMOVE 1 | #define HAVE_STRCMP 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_LIBM 1 | #define HAVE_DLOPEN 1 | #define HAVE_MALLINFO 1 | #define HAVE_LIBPTHREAD 1 | #define HAVE_PTHREAD_MUTEX_LOCK 1 | #define HAVE_PTHREAD_RWLOCK_INIT 1 | #define HAVE_PTHREAD_GETSPECIFIC 1 | #define USE_UDIS86 0 | #define USE_OPROFILE 0 | #define HAVE_DIRENT_H 1 | #define HAVE_MMAP_ANONYMOUS 1 | #define HAVE_SYS_WAIT_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_DLFCN_H 1 | #define HAVE_EXECINFO_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LINK_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_MMAN_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_IOCTLH 1 | / end confdefs.h. _/ | #include | #ifdef HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include <malloc/malloc.h> configure:10746: result: no configure:10746: checking malloc/malloc.h presence configure:10746: clang -E conftest.c conftest.c:100:10: fatal error: 'malloc/malloc.h' file not found

include <malloc/malloc.h>

     ^

1 error generated. configure:10746: $? = 1 configure: failed program was: | / confdefs.h / | #define PACKAGE_NAME "[GIRI]" | #define PACKAGE_TARNAME "--giri--" | #define PACKAGE_VERSION "[3.1]" | #define PACKAGE_STRING "[GIRI] [3.1]" | #define PACKAGE_BUGREPORT "https://github.com/liuml07/giri" | #define PACKAGE_URL "" | #define LLVM_ON_UNIX 1 | #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 ENABLE_THREADS 1 | #define ENABLE_PIC 1 | #define ENABLE_TIMESTAMPS 1 | #define LLVM_NATIVE_ARCH X86 | #define LLVM_NATIVE_TARGET LLVMInitializeX86Target | #define LLVM_NATIVE_TARGETINFO LLVMInitializeX86TargetInfo | #define LLVM_NATIVE_TARGETMC LLVMInitializeX86TargetMC | #define LLVM_NATIVE_ASMPRINTER LLVMInitializeX86AsmPrinter | #define CLANG_RESOURCE_DIR "" | #define C_INCLUDE_DIRS "" | #define GCC_INSTALL_PREFIX "" | #define BUG_REPORT_URL "http://llvm.org/bugs/" | #define HOST_LINK_VERSION "2.23.52.20130913" | #define HAVE_LINK_R 1 | #define HAVE_LINK_EXPORT_DYNAMIC 1 | #define HAVE_DIRENT_H 1 | #define HAVE_DLFCN_H 1 | #define LTDL_SHLIB_EXT ".so" | #define LTDL_SYSSEARCHPATH "/lib:/usr/lib:/usr/lib/i386-linux-gnu/mesa:/lib/i386-linux-gnu:/usr/lib/i386-linux-gnu:/lib/i686-linux-gnu:/usr/lib/i686-linux-gnu:/usr/local/lib:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu/mesa:/lib32:/usr/lib32" | #define LTDL_OBJDIR ".libs/" | #define HAVE_PRELOADED_SYMBOLS 1 | #define HAVE_LIBDL 1 | #define HAVE_DLERROR 1 | #define HAVE_ARGZ_H 1 | #define HAVE_ERROR_T 1 | #define HAVE_ARGZ_APPEND 1 | #define HAVE_ARGZ_CREATE_SEP 1 | #define HAVE_ARGZ_INSERT 1 | #define HAVE_ARGZ_NEXT 1 | #define HAVE_ARGZ_STRINGIFY 1 | #define HAVE_ASSERT_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRCHR 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMCPY 1 | #define HAVE_MEMMOVE 1 | #define HAVE_STRCMP 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_LIBM 1 | #define HAVE_DLOPEN 1 | #define HAVE_MALLINFO 1 | #define HAVE_LIBPTHREAD 1 | #define HAVE_PTHREAD_MUTEX_LOCK 1 | #define HAVE_PTHREAD_RWLOCK_INIT 1 | #define HAVE_PTHREAD_GETSPECIFIC 1 | #define USE_UDIS86 0 | #define USE_OPROFILE 0 | #define HAVE_DIRENT_H 1 | #define HAVE_MMAP_ANONYMOUS 1 | #define HAVE_SYS_WAIT_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_DLFCN_H 1 | #define HAVE_EXECINFO_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LINK_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_MMAN_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_IOCTLH 1 | / end confdefs.h. _/ | #include <malloc/malloc.h> configure:10746: result: no configure:10746: checking for malloc/malloc.h configure:10746: result: no configure:10746: checking mach/mach.h usability configure:10746: clang -c -g -O2 conftest.c >&5 conftest.c:133:10: fatal error: 'mach/mach.h' file not found

include <mach/mach.h>

     ^

1 error generated. configure:10746: $? = 1 configure: failed program was: | / confdefs.h / | #define PACKAGE_NAME "[GIRI]" | #define PACKAGE_TARNAME "--giri--" | #define PACKAGE_VERSION "[3.1]" | #define PACKAGE_STRING "[GIRI] [3.1]" | #define PACKAGE_BUGREPORT "https://github.com/liuml07/giri" | #define PACKAGE_URL "" | #define LLVM_ON_UNIX 1 | #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 ENABLE_THREADS 1 | #define ENABLE_PIC 1 | #define ENABLE_TIMESTAMPS 1 | #define LLVM_NATIVE_ARCH X86 | #define LLVM_NATIVE_TARGET LLVMInitializeX86Target | #define LLVM_NATIVE_TARGETINFO LLVMInitializeX86TargetInfo | #define LLVM_NATIVE_TARGETMC LLVMInitializeX86TargetMC | #define LLVM_NATIVE_ASMPRINTER LLVMInitializeX86AsmPrinter | #define CLANG_RESOURCE_DIR "" | #define C_INCLUDE_DIRS "" | #define GCC_INSTALL_PREFIX "" | #define BUG_REPORT_URL "http://llvm.org/bugs/" | #define HOST_LINK_VERSION "2.23.52.20130913" | #define HAVE_LINK_R 1 | #define HAVE_LINK_EXPORT_DYNAMIC 1 | #define HAVE_DIRENT_H 1 | #define HAVE_DLFCN_H 1 | #define LTDL_SHLIB_EXT ".so" | #define LTDL_SYSSEARCHPATH "/lib:/usr/lib:/usr/lib/i386-linux-gnu/mesa:/lib/i386-linux-gnu:/usr/lib/i386-linux-gnu:/lib/i686-linux-gnu:/usr/lib/i686-linux-gnu:/usr/local/lib:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu/mesa:/lib32:/usr/lib32" | #define LTDL_OBJDIR ".libs/" | #define HAVE_PRELOADED_SYMBOLS 1 | #define HAVE_LIBDL 1 | #define HAVE_DLERROR 1 | #define HAVE_ARGZ_H 1 | #define HAVE_ERROR_T 1 | #define HAVE_ARGZ_APPEND 1 | #define HAVE_ARGZ_CREATE_SEP 1 | #define HAVE_ARGZ_INSERT 1 | #define HAVE_ARGZ_NEXT 1 | #define HAVE_ARGZ_STRINGIFY 1 | #define HAVE_ASSERT_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRCHR 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMCPY 1 | #define HAVE_MEMMOVE 1 | #define HAVE_STRCMP 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_LIBM 1 | #define HAVE_DLOPEN 1 | #define HAVE_MALLINFO 1 | #define HAVE_LIBPTHREAD 1 | #define HAVE_PTHREAD_MUTEX_LOCK 1 | #define HAVE_PTHREAD_RWLOCK_INIT 1 | #define HAVE_PTHREAD_GETSPECIFIC 1 | #define USE_UDIS86 0 | #define USE_OPROFILE 0 | #define HAVE_DIRENT_H 1 | #define HAVE_MMAP_ANONYMOUS 1 | #define HAVE_SYS_WAIT_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_DLFCN_H 1 | #define HAVE_EXECINFO_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LINK_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_MMAN_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_IOCTLH 1 | / end confdefs.h. _/ | #include | #ifdef HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include <mach/mach.h> configure:10746: result: no configure:10746: checking mach/mach.h presence configure:10746: clang -E conftest.c conftest.c:100:10: fatal error: 'mach/mach.h' file not found

include <mach/mach.h>

     ^

1 error generated. configure:10746: $? = 1 configure: failed program was: | / confdefs.h / | #define PACKAGE_NAME "[GIRI]" | #define PACKAGE_TARNAME "--giri--" | #define PACKAGE_VERSION "[3.1]" | #define PACKAGE_STRING "[GIRI] [3.1]" | #define PACKAGE_BUGREPORT "https://github.com/liuml07/giri" | #define PACKAGE_URL "" | #define LLVM_ON_UNIX 1 | #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 ENABLE_THREADS 1 | #define ENABLE_PIC 1 | #define ENABLE_TIMESTAMPS 1 | #define LLVM_NATIVE_ARCH X86 | #define LLVM_NATIVE_TARGET LLVMInitializeX86Target | #define LLVM_NATIVE_TARGETINFO LLVMInitializeX86TargetInfo | #define LLVM_NATIVE_TARGETMC LLVMInitializeX86TargetMC | #define LLVM_NATIVE_ASMPRINTER LLVMInitializeX86AsmPrinter | #define CLANG_RESOURCE_DIR "" | #define C_INCLUDE_DIRS "" | #define GCC_INSTALL_PREFIX "" | #define BUG_REPORT_URL "http://llvm.org/bugs/" | #define HOST_LINK_VERSION "2.23.52.20130913" | #define HAVE_LINK_R 1 | #define HAVE_LINK_EXPORT_DYNAMIC 1 | #define HAVE_DIRENT_H 1 | #define HAVE_DLFCN_H 1 | #define LTDL_SHLIB_EXT ".so" | #define LTDL_SYSSEARCHPATH "/lib:/usr/lib:/usr/lib/i386-linux-gnu/mesa:/lib/i386-linux-gnu:/usr/lib/i386-linux-gnu:/lib/i686-linux-gnu:/usr/lib/i686-linux-gnu:/usr/local/lib:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu/mesa:/lib32:/usr/lib32" | #define LTDL_OBJDIR ".libs/" | #define HAVE_PRELOADED_SYMBOLS 1 | #define HAVE_LIBDL 1 | #define HAVE_DLERROR 1 | #define HAVE_ARGZ_H 1 | #define HAVE_ERROR_T 1 | #define HAVE_ARGZ_APPEND 1 | #define HAVE_ARGZ_CREATE_SEP 1 | #define HAVE_ARGZ_INSERT 1 | #define HAVE_ARGZ_NEXT 1 | #define HAVE_ARGZ_STRINGIFY 1 | #define HAVE_ASSERT_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRCHR 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMCPY 1 | #define HAVE_MEMMOVE 1 | #define HAVE_STRCMP 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_LIBM 1 | #define HAVE_DLOPEN 1 | #define HAVE_MALLINFO 1 | #define HAVE_LIBPTHREAD 1 | #define HAVE_PTHREAD_MUTEX_LOCK 1 | #define HAVE_PTHREAD_RWLOCK_INIT 1 | #define HAVE_PTHREAD_GETSPECIFIC 1 | #define USE_UDIS86 0 | #define USE_OPROFILE 0 | #define HAVE_DIRENT_H 1 | #define HAVE_MMAP_ANONYMOUS 1 | #define HAVE_SYS_WAIT_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_DLFCN_H 1 | #define HAVE_EXECINFO_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LINK_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_MMAN_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_IOCTLH 1 | / end confdefs.h. _/ | #include <mach/mach.h> configure:10746: result: no configure:10746: checking for mach/mach.h configure:10746: result: no configure:10758: checking valgrind/valgrind.h usability configure:10758: clang -c -g -O2 conftest.c >&5 configure:10758: $? = 0 configure:10758: result: yes configure:10758: checking valgrind/valgrind.h presence configure:10758: clang -E conftest.c configure:10758: $? = 0 configure:10758: result: yes configure:10758: checking for valgrind/valgrind.h configure:10758: result: yes configure:10770: checking fenv.h usability configure:10770: clang -c -g -O2 conftest.c >&5 configure:10770: $? = 0 configure:10770: result: yes configure:10770: checking fenv.h presence configure:10770: clang -E conftest.c configure:10770: $? = 0 configure:10770: result: yes configure:10770: checking for fenv.h configure:10770: result: yes configure:10783: checking pthread.h usability configure:10783: clang -c -g -O2 conftest.c >&5 configure:10783: $? = 0 configure:10783: result: yes configure:10783: checking pthread.h presence configure:10783: clang -E conftest.c configure:10783: $? = 0 configure:10783: result: yes configure:10783: checking for pthread.h configure:10783: result: yes configure:10820: checking CrashReporterClient.h usability configure:10820: clang -c -g -O2 conftest.c >&5 conftest.c:136:10: fatal error: 'CrashReporterClient.h' file not found

include

     ^

1 error generated. configure:10820: $? = 1 configure: failed program was: | / confdefs.h / | #define PACKAGE_NAME "[GIRI]" | #define PACKAGE_TARNAME "--giri--" | #define PACKAGE_VERSION "[3.1]" | #define PACKAGE_STRING "[GIRI] [3.1]" | #define PACKAGE_BUGREPORT "https://github.com/liuml07/giri" | #define PACKAGE_URL "" | #define LLVM_ON_UNIX 1 | #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 ENABLE_THREADS 1 | #define ENABLE_PIC 1 | #define ENABLE_TIMESTAMPS 1 | #define LLVM_NATIVE_ARCH X86 | #define LLVM_NATIVE_TARGET LLVMInitializeX86Target | #define LLVM_NATIVE_TARGETINFO LLVMInitializeX86TargetInfo | #define LLVM_NATIVE_TARGETMC LLVMInitializeX86TargetMC | #define LLVM_NATIVE_ASMPRINTER LLVMInitializeX86AsmPrinter | #define CLANG_RESOURCE_DIR "" | #define C_INCLUDE_DIRS "" | #define GCC_INSTALL_PREFIX "" | #define BUG_REPORT_URL "http://llvm.org/bugs/" | #define HOST_LINK_VERSION "2.23.52.20130913" | #define HAVE_LINK_R 1 | #define HAVE_LINK_EXPORT_DYNAMIC 1 | #define HAVE_DIRENT_H 1 | #define HAVE_DLFCN_H 1 | #define LTDL_SHLIB_EXT ".so" | #define LTDL_SYSSEARCHPATH "/lib:/usr/lib:/usr/lib/i386-linux-gnu/mesa:/lib/i386-linux-gnu:/usr/lib/i386-linux-gnu:/lib/i686-linux-gnu:/usr/lib/i686-linux-gnu:/usr/local/lib:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu/mesa:/lib32:/usr/lib32" | #define LTDL_OBJDIR ".libs/" | #define HAVE_PRELOADED_SYMBOLS 1 | #define HAVE_LIBDL 1 | #define HAVE_DLERROR 1 | #define HAVE_ARGZ_H 1 | #define HAVE_ERROR_T 1 | #define HAVE_ARGZ_APPEND 1 | #define HAVE_ARGZ_CREATE_SEP 1 | #define HAVE_ARGZ_INSERT 1 | #define HAVE_ARGZ_NEXT 1 | #define HAVE_ARGZ_STRINGIFY 1 | #define HAVE_ASSERT_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRCHR 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMCPY 1 | #define HAVE_MEMMOVE 1 | #define HAVE_STRCMP 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_LIBM 1 | #define HAVE_DLOPEN 1 | #define HAVE_MALLINFO 1 | #define HAVE_LIBPTHREAD 1 | #define HAVE_PTHREAD_MUTEX_LOCK 1 | #define HAVE_PTHREAD_RWLOCK_INIT 1 | #define HAVE_PTHREAD_GETSPECIFIC 1 | #define USE_UDIS86 0 | #define USE_OPROFILE 0 | #define HAVE_DIRENT_H 1 | #define HAVE_MMAP_ANONYMOUS 1 | #define HAVE_SYS_WAIT_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_DLFCN_H 1 | #define HAVE_EXECINFO_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LINK_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_MMAN_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_VALGRIND_VALGRIND_H 1 | #define HAVE_FENV_H 1 | #define HAVE_PTHREADH 1 | / end confdefs.h. _/ | #include | #ifdef HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | #include configure:10820: result: no configure:10820: checking CrashReporterClient.h presence configure:10820: clang -E conftest.c conftest.c:103:10: fatal error: 'CrashReporterClient.h' file not found

include

     ^
1 error generated. configure:10820: $? = 1 configure: failed program was: / confdefs.h / #define PACKAGE_NAME "[GIRI]" #define PACKAGE_TARNAME "--giri--" #define PACKAGE_VERSION "[3.1]" #define PACKAGE_STRING "[GIRI] [3.1]" #define PACKAGE_BUGREPORT "https://github.com/liuml07/giri" #define PACKAGE_URL "" #define LLVM_ON_UNIX 1 #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 ENABLE_THREADS 1 #define ENABLE_PIC 1 #define ENABLE_TIMESTAMPS 1 #define LLVM_NATIVE_ARCH X86 #define LLVM_NATIVE_TARGET LLVMInitializeX86Target #define LLVM_NATIVE_TARGETINFO LLVMInitializeX86TargetInfo #define LLVM_NATIVE_TARGETMC LLVMInitializeX86TargetMC #define LLVM_NATIVE_ASMPRINTER LLVMInitializeX86AsmPrinter #define CLANG_RESOURCE_DIR "" #define C_INCLUDE_DIRS "" #define GCC_INSTALL_PREFIX "" #define BUG_REPORT_URL "http://llvm.org/bugs/" #define HOST_LINK_VERSION "2.23.52.20130913" #define HAVE_LINK_R 1 #define HAVE_LINK_EXPORT_DYNAMIC 1 #define HAVE_DIRENT_H 1 #define HAVE_DLFCN_H 1 #define LTDL_SHLIB_EXT ".so" #define LTDL_SYSSEARCHPATH "/lib:/usr/lib:/usr/lib/i386-linux-gnu/mesa:/lib/i386-linux-gnu:/usr/lib/i386-linux-gnu:/lib/i686-linux-gnu:/usr/lib/i686-linux-gnu:/usr/local/lib:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu/mesa:/lib32:/usr/lib32" #define LTDL_OBJDIR ".libs/" #define HAVE_PRELOADED_SYMBOLS 1 #define HAVE_LIBDL 1 #define HAVE_DLERROR 1 #define HAVE_ARGZ_H 1 #define HAVE_ERROR_T 1 #define HAVE_ARGZ_APPEND 1 #define HAVE_ARGZ_CREATE_SEP 1 #define HAVE_ARGZ_INSERT 1 #define HAVE_ARGZ_NEXT 1 #define HAVE_ARGZ_STRINGIFY 1 #define HAVE_ASSERT_H 1 #define HAVE_CTYPE_H 1 #define HAVE_ERRNO_H 1 #define HAVE_MALLOC_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDIO_H 1 #define HAVE_UNISTD_H 1 #define HAVE_STRING_H 1 #define HAVE_STRCHR 1 #define HAVE_STRRCHR 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCMP 1 #define HAVE_CLOSEDIR 1 #define HAVE_OPENDIR 1 #define HAVE_READDIR 1 #define HAVE_LIBM 1 #define HAVE_DLOPEN 1 #define HAVE_MALLINFO 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_MUTEX_LOCK 1 #define HAVE_PTHREAD_RWLOCK_INIT 1 #define HAVE_PTHREAD_GETSPECIFIC 1 #define USE_UDIS86 0 #define USE_OPROFILE 0 #define HAVE_DIRENT_H 1 #define HAVE_MMAP_ANONYMOUS 1 #define HAVE_SYS_WAIT_H 1 #define TIME_WITH_SYS_TIME 1 #define HAVE_DLFCN_H 1 #define HAVE_EXECINFO_H 1 #define HAVE_FCNTL_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_LIMITS_H 1 #define HAVE_LINK_H 1 #define HAVE_MALLOC_H 1 #define HAVE_SETJMP_H 1 #define HAVE_SIGNAL_H 1 #define HAVE_STDINT_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_UNISTD_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_TIME_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_VALGRIND_VALGRIND_H 1 #define HAVE_FENV_H 1 #define HAVE_PTHREAD_H 1 /_ end confdefs.h. */ #include configure:10820: result: no configure:10820: checking for CrashReporterClient.h configure:10820: result: no configure:10831: checking __crashreporter_info__ configure:10842: clang -o conftest -g -O2 conftest.c -lpthread -ldl -lm >&5 /tmp/conftest-inJpeq.o: In function main': /home/aign/src/giri-3.4/build/conftest.c:105: undefined reference tocrashreporter_info' clang: error: linker command failed with exit code 1 (use -v to see invocation) configure:10842: $? = 1 configure: failed program was: /* confdefs.h _/ #define PACKAGE_NAME "[GIRI]" #define PACKAGE_TARNAME "--giri--" #define PACKAGE_VERSION "[3.1]" #define PACKAGE_STRING "[GIRI] [3.1]" #define PACKAGE_BUGREPORT "https://github.com/liuml07/giri" #define PACKAGE_URL "" #define LLVM_ON_UNIX 1 #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 ENABLE_THREADS 1 #define ENABLE_PIC 1 #define ENABLE_TIMESTAMPS 1 #define LLVM_NATIVE_ARCH X86 #define LLVM_NATIVE_TARGET LLVMInitializeX86Target #define LLVM_NATIVE_TARGETINFO LLVMInitializeX86TargetInfo #define LLVM_NATIVE_TARGETMC LLVMInitializeX86TargetMC #define LLVM_NATIVE_ASMPRINTER LLVMInitializeX86AsmPrinter #define CLANG_RESOURCE_DIR "" #define C_INCLUDE_DIRS "" #define GCC_INSTALL_PREFIX "" #define BUG_REPORT_URL "http://llvm.org/bugs/" #define HOST_LINK_VERSION "2.23.52.20130913" #define HAVE_LINK_R 1 #define HAVE_LINK_EXPORT_DYNAMIC 1 #define HAVE_DIRENT_H 1 #define HAVE_DLFCN_H 1 #define LTDL_SHLIB_EXT ".so" #define LTDL_SYSSEARCHPATH "/lib:/usr/lib:/usr/lib/i386-linux-gnu/mesa:/lib/i386-linux-gnu:/usr/lib/i386-linux-gnu:/lib/i686-linux-gnu:/usr/lib/i686-linux-gnu:/usr/local/lib:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu/mesa:/lib32:/usr/lib32" #define LTDL_OBJDIR ".libs/" #define HAVE_PRELOADED_SYMBOLS 1 #define HAVE_LIBDL 1 #define HAVE_DLERROR 1 #define HAVE_ARGZ_H 1 #define HAVE_ERROR_T 1 #define HAVE_ARGZ_APPEND 1 #define HAVE_ARGZ_CREATE_SEP 1 #define HAVE_ARGZ_INSERT 1 #define HAVE_ARGZ_NEXT 1 #define HAVE_ARGZ_STRINGIFY 1 #define HAVE_ASSERT_H 1 #define HAVE_CTYPE_H 1 #define HAVE_ERRNO_H 1 #define HAVE_MALLOC_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDIO_H 1 #define HAVE_UNISTD_H 1 #define HAVE_STRING_H 1 #define HAVE_STRCHR 1 #define HAVE_STRRCHR 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCMP 1 #define HAVE_CLOSEDIR 1 #define HAVE_OPENDIR 1 #define HAVE_READDIR 1 #define HAVE_LIBM 1 #define HAVE_DLOPEN 1 #define HAVE_MALLINFO 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_MUTEX_LOCK 1 #define HAVE_PTHREAD_RWLOCK_INIT 1 #define HAVE_PTHREAD_GETSPECIFIC 1 #define USE_UDIS86 0 #define USE_OPROFILE 0 #define HAVE_DIRENT_H 1 #define HAVE_MMAP_ANONYMOUS 1 #define HAVE_SYS_WAIT_H 1 #define TIME_WITH_SYS_TIME 1 #define HAVE_DLFCN_H 1 #define HAVE_EXECINFO_H 1 #define HAVE_FCNTL_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_LIMITS_H 1 #define HAVE_LINK_H 1 #define HAVE_MALLOC_H 1 #define HAVE_SETJMP_H 1 #define HAVE_SIGNAL_H 1 #define HAVE_STDINT_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_UNISTD_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_TIME_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_VALGRIND_VALGRIND_H 1 #define HAVE_FENV_H 1 #define HAVE_PTHREAD_H 1 / end confdefs.h. / extern const char *crashreporter_info; int main() { crashreporter_info = "test"; return 0; }
configure:10849: result: no configure:10861: checking for HUGE_VAL sanity configure:10889: clang++ -o conftest -g -O2 -pedantic conftest.cpp -lpthread -ldl -lm >&5 configure:10889: $? = 0 configure:10889: ./conftest configure:10889: $? = 0 configure:10907: result: yes configure:10912: checking for pid_t configure:10912: clang -c -g -O2 conftest.c >&5 configure:10912: $? = 0 configure:10912: clang -c -g -O2 conftest.c >&5 conftest.c:140:20: error: expected expression if (sizeof ((pid_t))) ^ 1 error generated. configure:10912: $? = 1 configure: failed program was: / confdefs.h / #define PACKAGE_NAME "[GIRI]" #define PACKAGE_TARNAME "--giri--" #define PACKAGE_VERSION "[3.1]" #define PACKAGE_STRING "[GIRI] [3.1]" #define PACKAGE_BUGREPORT "https://github.com/liuml07/giri" #define PACKAGE_URL "" #define LLVM_ON_UNIX 1 #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 ENABLE_THREADS 1 #define ENABLE_PIC 1 #define ENABLE_TIMESTAMPS 1 #define LLVM_NATIVE_ARCH X86 #define LLVM_NATIVE_TARGET LLVMInitializeX86Target #define LLVM_NATIVE_TARGETINFO LLVMInitializeX86TargetInfo #define LLVM_NATIVE_TARGETMC LLVMInitializeX86TargetMC #define LLVM_NATIVE_ASMPRINTER LLVMInitializeX86AsmPrinter #define CLANG_RESOURCE_DIR "" #define C_INCLUDE_DIRS "" #define GCC_INSTALL_PREFIX "" #define BUG_REPORT_URL "http://llvm.org/bugs/" #define HOST_LINK_VERSION "2.23.52.20130913" #define HAVE_LINK_R 1 #define HAVE_LINK_EXPORT_DYNAMIC 1 #define HAVE_DIRENT_H 1 #define HAVE_DLFCN_H 1 #define LTDL_SHLIB_EXT ".so" #define LTDL_SYSSEARCHPATH "/lib:/usr/lib:/usr/lib/i386-linux-gnu/mesa:/lib/i386-linux-gnu:/usr/lib/i386-linux-gnu:/lib/i686-linux-gnu:/usr/lib/i686-linux-gnu:/usr/local/lib:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu/mesa:/lib32:/usr/lib32" #define LTDL_OBJDIR ".libs/" #define HAVE_PRELOADED_SYMBOLS 1 #define HAVE_LIBDL 1 #define HAVE_DLERROR 1 #define HAVE_ARGZ_H 1 #define HAVE_ERROR_T 1 #define HAVE_ARGZ_APPEND 1 #define HAVE_ARGZ_CREATE_SEP 1 #define HAVE_ARGZ_INSERT 1 #define HAVE_ARGZ_NEXT 1 #define HAVE_ARGZ_STRINGIFY 1 #define HAVE_ASSERT_H 1 #define HAVE_CTYPE_H 1 #define HAVE_ERRNO_H 1 #define HAVE_MALLOC_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDIO_H 1 #define HAVE_UNISTD_H 1 #define HAVE_STRING_H 1 #define HAVE_STRCHR 1 #define HAVE_STRRCHR 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCMP 1 #define HAVE_CLOSEDIR 1 #define HAVE_OPENDIR 1 #define HAVE_READDIR 1 #define HAVE_LIBM 1 #define HAVE_DLOPEN 1 #define HAVE_MALLINFO 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_MUTEX_LOCK 1 #define HAVE_PTHREAD_RWLOCK_INIT 1 #define HAVE_PTHREAD_GETSPECIFIC 1 #define USE_UDIS86 0 #define USE_OPROFILE 0 #define HAVE_DIRENT_H 1 #define HAVE_MMAP_ANONYMOUS 1 #define HAVE_SYS_WAIT_H 1 #define TIME_WITH_SYS_TIME 1 #define HAVE_DLFCN_H 1 #define HAVE_EXECINFO_H 1 #define HAVE_FCNTL_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_LIMITS_H 1 #define HAVE_LINK_H 1 #define HAVE_MALLOC_H 1 #define HAVE_SETJMP_H 1 #define HAVE_SIGNAL_H 1 #define HAVE_STDINT_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_UNISTD_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_TIME_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_VALGRIND_VALGRIND_H 1 #define HAVE_FENV_H 1 #define HAVE_PTHREAD_H 1 #define HAVE_CRASHREPORTER_INFO 0 / end confdefs.h. / #include #ifdef HAVE_SYS_TYPES_H # include <sys/types.h> #endif #ifdef HAVE_SYS_STAT_H # include <sys/stat.h> #endif #ifdef STDC_HEADERS # include # include #else # ifdef HAVE_STDLIB_H # include # endif #endif #ifdef HAVE_STRING_H # if !defined STDC_HEADERS && defined HAVE_MEMORY_H # include # endif # include #endif #ifdef HAVE_STRINGS_H # include #endif #ifdef HAVE_INTTYPES_H # include #endif #ifdef HAVE_STDINT_H # include #endif #ifdef HAVE_UNISTD_H # include #endif int main () { if (sizeof ((pid_t))) return 0; ; return 0; } configure:10912: result: yes configure:10923: checking for size_t configure:10923: clang -c -g -O2 conftest.c >&5 configure:10923: $? = 0 configure:10923: clang -c -g -O2 conftest.c >&5 conftest.c:140:21: error: expected expression if (sizeof ((size_t))) ^ 1 error generated. configure:10923: $? = 1 configure: failed program was: / confdefs.h / #define PACKAGE_NAME "[GIRI]" #define PACKAGE_TARNAME "--giri--" #define PACKAGE_VERSION "[3.1]" #define PACKAGE_STRING "[GIRI] [3.1]" #define PACKAGE_BUGREPORT "https://github.com/liuml07/giri" #define PACKAGE_URL "" #define LLVM_ON_UNIX 1 #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 ENABLE_THREADS 1 #define ENABLE_PIC 1 #define ENABLE_TIMESTAMPS 1 #define LLVM_NATIVE_ARCH X86 #define LLVM_NATIVE_TARGET LLVMInitializeX86Target #define LLVM_NATIVE_TARGETINFO LLVMInitializeX86TargetInfo #define LLVM_NATIVE_TARGETMC LLVMInitializeX86TargetMC #define LLVM_NATIVE_ASMPRINTER LLVMInitializeX86AsmPrinter #define CLANG_RESOURCE_DIR "" #define C_INCLUDE_DIRS "" #define GCC_INSTALL_PREFIX "" #define BUG_REPORT_URL "http://llvm.org/bugs/" #define HOST_LINK_VERSION "2.23.52.20130913" #define HAVE_LINK_R 1 #define HAVE_LINK_EXPORT_DYNAMIC 1 #define HAVE_DIRENT_H 1 #define HAVE_DLFCN_H 1 #define LTDL_SHLIB_EXT ".so" #define LTDL_SYSSEARCHPATH "/lib:/usr/lib:/usr/lib/i386-linux-gnu/mesa:/lib/i386-linux-gnu:/usr/lib/i386-linux-gnu:/lib/i686-linux-gnu:/usr/lib/i686-linux-gnu:/usr/local/lib:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu/mesa:/lib32:/usr/lib32" #define LTDL_OBJDIR ".libs/" #define HAVE_PRELOADED_SYMBOLS 1 #define HAVE_LIBDL 1 #define HAVE_DLERROR 1 #define HAVE_ARGZ_H 1 #define HAVE_ERROR_T 1 #define HAVE_ARGZ_APPEND 1 #define HAVE_ARGZ_CREATE_SEP 1 #define HAVE_ARGZ_INSERT 1 #define HAVE_ARGZ_NEXT 1 #define HAVE_ARGZ_STRINGIFY 1 #define HAVE_ASSERT_H 1 #define HAVE_CTYPE_H 1 #define HAVE_ERRNO_H 1 #define HAVE_MALLOC_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDIO_H 1 #define HAVE_UNISTD_H 1 #define HAVE_STRING_H 1 #define HAVE_STRCHR 1 #define HAVE_STRRCHR 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCMP 1 #define HAVE_CLOSEDIR 1 #define HAVE_OPENDIR 1 #define HAVE_READDIR 1 #define HAVE_LIBM 1 #define HAVE_DLOPEN 1 #define HAVE_MALLINFO 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_MUTEX_LOCK 1 #define HAVE_PTHREAD_RWLOCK_INIT 1 #define HAVE_PTHREAD_GETSPECIFIC 1 #define USE_UDIS86 0 #define USE_OPROFILE 0 #define HAVE_DIRENT_H 1 #define HAVE_MMAP_ANONYMOUS 1 #define HAVE_SYS_WAIT_H 1 #define TIME_WITH_SYS_TIME 1 #define HAVE_DLFCN_H 1 #define HAVE_EXECINFO_H 1 #define HAVE_FCNTL_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_LIMITS_H 1 #define HAVE_LINK_H 1 #define HAVE_MALLOC_H 1 #define HAVE_SETJMP_H 1 #define HAVE_SIGNAL_H 1 #define HAVE_STDINT_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_UNISTD_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_TIME_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_VALGRIND_VALGRIND_H 1 #define HAVE_FENV_H 1 #define HAVE_PTHREAD_H 1 #define HAVE_CRASHREPORTER_INFO 0 / end confdefs.h. / #include #ifdef HAVE_SYS_TYPES_H # include <sys/types.h> #endif #ifdef HAVE_SYS_STAT_H # include <sys/stat.h> #endif #ifdef STDC_HEADERS # include # include #else # ifdef HAVE_STDLIB_H # include # endif #endif #ifdef HAVE_STRING_H # if !defined STDC_HEADERS && defined HAVE_MEMORY_H # include # endif # include #endif #ifdef HAVE_STRINGS_H # include #endif #ifdef HAVE_INTTYPES_H # include #endif #ifdef HAVE_STDINT_H # include #endif #ifdef HAVE_UNISTD_H # include #endif int main () { if (sizeof ((size_t))) return 0; ; return 0; } configure:10923: result: yes configure:10939: checking whether struct tm is in sys/time.h or time.h configure:10959: clang -c -g -O2 conftest.c >&5 configure:10959: $? = 0 configure:10966: result: time.h configure:10974: checking for int64_t configure:10974: clang -c -g -O2 conftest.c >&5 configure:10974: $? = 0 configure:10974: clang -c -g -O2 conftest.c >&5 conftest.c:141:22: error: expected expression if (sizeof ((int64_t))) ^ 1 error generated. configure:10974: $? = 1 configure: failed program was: / confdefs.h / #define PACKAGE_NAME "[GIRI]" #define PACKAGE_TARNAME "--giri--" #define PACKAGE_VERSION "[3.1]" #define PACKAGE_STRING "[GIRI] [3.1]" #define PACKAGE_BUGREPORT "https://github.com/liuml07/giri" #define PACKAGE_URL "" #define LLVM_ON_UNIX 1 #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 ENABLE_THREADS 1 #define ENABLE_PIC 1 #define ENABLE_TIMESTAMPS 1 #define LLVM_NATIVE_ARCH X86 #define LLVM_NATIVE_TARGET LLVMInitializeX86Target #define LLVM_NATIVE_TARGETINFO LLVMInitializeX86TargetInfo #define LLVM_NATIVE_TARGETMC LLVMInitializeX86TargetMC #define LLVM_NATIVE_ASMPRINTER LLVMInitializeX86AsmPrinter #define CLANG_RESOURCE_DIR "" #define C_INCLUDE_DIRS "" #define GCC_INSTALL_PREFIX "" #define BUG_REPORT_URL "http://llvm.org/bugs/" #define HOST_LINK_VERSION "2.23.52.20130913" #define HAVE_LINK_R 1 #define HAVE_LINK_EXPORT_DYNAMIC 1 #define HAVE_DIRENT_H 1 #define HAVE_DLFCN_H 1 #define LTDL_SHLIB_EXT ".so" #define LTDL_SYSSEARCHPATH "/lib:/usr/lib:/usr/lib/i386-linux-gnu/mesa:/lib/i386-linux-gnu:/usr/lib/i386-linux-gnu:/lib/i686-linux-gnu:/usr/lib/i686-linux-gnu:/usr/local/lib:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu/mesa:/lib32:/usr/lib32" #define LTDL_OBJDIR ".libs/" #define HAVE_PRELOADED_SYMBOLS 1 #define HAVE_LIBDL 1 #define HAVE_DLERROR 1 #define HAVE_ARGZ_H 1 #define HAVE_ERROR_T 1 #define HAVE_ARGZ_APPEND 1 #define HAVE_ARGZ_CREATE_SEP 1 #define HAVE_ARGZ_INSERT 1 #define HAVE_ARGZ_NEXT 1 #define HAVE_ARGZ_STRINGIFY 1 #define HAVE_ASSERT_H 1 #define HAVE_CTYPE_H 1 #define HAVE_ERRNO_H 1 #define HAVE_MALLOC_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDIO_H 1 #define HAVE_UNISTD_H 1 #define HAVE_STRING_H 1 #define HAVE_STRCHR 1 #define HAVE_STRRCHR 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCMP 1 #define HAVE_CLOSEDIR 1 #define HAVE_OPENDIR 1 #define HAVE_READDIR 1 #define HAVE_LIBM 1 #define HAVE_DLOPEN 1 #define HAVE_MALLINFO 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_MUTEX_LOCK 1 #define HAVE_PTHREAD_RWLOCK_INIT 1 #define HAVE_PTHREAD_GETSPECIFIC 1 #define USE_UDIS86 0 #define USE_OPROFILE 0 #define HAVE_DIRENT_H 1 #define HAVE_MMAP_ANONYMOUS 1 #define HAVE_SYS_WAIT_H 1 #define TIME_WITH_SYS_TIME 1 #define HAVE_DLFCN_H 1 #define HAVE_EXECINFO_H 1 #define HAVE_FCNTL_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_LIMITS_H 1 #define HAVE_LINK_H 1 #define HAVE_MALLOC_H 1 #define HAVE_SETJMP_H 1 #define HAVE_SIGNAL_H 1 #define HAVE_STDINT_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_UNISTD_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_TIME_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_VALGRIND_VALGRIND_H 1 #define HAVE_FENV_H 1 #define HAVE_PTHREAD_H 1 #define HAVE_CRASHREPORTER_INFO 0 #define RETSIGTYPE void / end confdefs.h. / #include #ifdef HAVE_SYS_TYPES_H # include <sys/types.h> #endif #ifdef HAVE_SYS_STAT_H # include <sys/stat.h> #endif #ifdef STDC_HEADERS # include # include #else # ifdef HAVE_STDLIB_H # include # endif #endif #ifdef HAVE_STRING_H # if !defined STDC_HEADERS && defined HAVE_MEMORY_H # include # endif # include #endif #ifdef HAVE_STRINGS_H # include #endif #ifdef HAVE_INTTYPES_H # include #endif #ifdef HAVE_STDINT_H # include #endif #ifdef HAVE_UNISTD_H # include #endif int main () { if (sizeof ((int64_t))) return 0; ; return 0; } configure:10974: result: yes configure:10986: checking for uint64_t configure:10986: clang -c -g -O2 conftest.c >&5 configure:10986: $? = 0 configure:10986: clang -c -g -O2 conftest.c >&5 conftest.c:142:23: error: expected expression if (sizeof ((uint64_t))) ^ 1 error generated. configure:10986: $? = 1 configure: failed program was: / confdefs.h / #define PACKAGE_NAME "[GIRI]" #define PACKAGE_TARNAME "--giri--" #define PACKAGE_VERSION "[3.1]" #define PACKAGE_STRING "[GIRI] [3.1]" #define PACKAGE_BUGREPORT "https://github.com/liuml07/giri" #define PACKAGE_URL "" #define LLVM_ON_UNIX 1 #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 ENABLE_THREADS 1 #define ENABLE_PIC 1 #define ENABLE_TIMESTAMPS 1 #define LLVM_NATIVE_ARCH X86 #define LLVM_NATIVE_TARGET LLVMInitializeX86Target #define LLVM_NATIVE_TARGETINFO LLVMInitializeX86TargetInfo #define LLVM_NATIVE_TARGETMC LLVMInitializeX86TargetMC #define LLVM_NATIVE_ASMPRINTER LLVMInitializeX86AsmPrinter #define CLANG_RESOURCE_DIR "" #define C_INCLUDE_DIRS "" #define GCC_INSTALL_PREFIX "" #define BUG_REPORT_URL "http://llvm.org/bugs/" #define HOST_LINK_VERSION "2.23.52.20130913" #define HAVE_LINK_R 1 #define HAVE_LINK_EXPORT_DYNAMIC 1 #define HAVE_DIRENT_H 1 #define HAVE_DLFCN_H 1 #define LTDL_SHLIB_EXT ".so" #define LTDL_SYSSEARCHPATH "/lib:/usr/lib:/usr/lib/i386-linux-gnu/mesa:/lib/i386-linux-gnu:/usr/lib/i386-linux-gnu:/lib/i686-linux-gnu:/usr/lib/i686-linux-gnu:/usr/local/lib:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu/mesa:/lib32:/usr/lib32" #define LTDL_OBJDIR ".libs/" #define HAVE_PRELOADED_SYMBOLS 1 #define HAVE_LIBDL 1 #define HAVE_DLERROR 1 #define HAVE_ARGZ_H 1 #define HAVE_ERROR_T 1 #define HAVE_ARGZ_APPEND 1 #define HAVE_ARGZ_CREATE_SEP 1 #define HAVE_ARGZ_INSERT 1 #define HAVE_ARGZ_NEXT 1 #define HAVE_ARGZ_STRINGIFY 1 #define HAVE_ASSERT_H 1 #define HAVE_CTYPE_H 1 #define HAVE_ERRNO_H 1 #define HAVE_MALLOC_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDIO_H 1 #define HAVE_UNISTD_H 1 #define HAVE_STRING_H 1 #define HAVE_STRCHR 1 #define HAVE_STRRCHR 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCMP 1 #define HAVE_CLOSEDIR 1 #define HAVE_OPENDIR 1 #define HAVE_READDIR 1 #define HAVE_LIBM 1 #define HAVE_DLOPEN 1 #define HAVE_MALLINFO 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_MUTEX_LOCK 1 #define HAVE_PTHREAD_RWLOCK_INIT 1 #define HAVE_PTHREAD_GETSPECIFIC 1 #define USE_UDIS86 0 #define USE_OPROFILE 0 #define HAVE_DIRENT_H 1 #define HAVE_MMAP_ANONYMOUS 1 #define HAVE_SYS_WAIT_H 1 #define TIME_WITH_SYS_TIME 1 #define HAVE_DLFCN_H 1 #define HAVE_EXECINFO_H 1 #define HAVE_FCNTL_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_LIMITS_H 1 #define HAVE_LINK_H 1 #define HAVE_MALLOC_H 1 #define HAVE_SETJMP_H 1 #define HAVE_SIGNAL_H 1 #define HAVE_STDINT_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_UNISTD_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_TIME_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_VALGRIND_VALGRIND_H 1 #define HAVE_FENV_H 1 #define HAVE_PTHREAD_H 1 #define HAVE_CRASHREPORTER_INFO 0 #define RETSIGTYPE void #define HAVE_INT64_T 1 / end confdefs.h. / #include #ifdef HAVE_SYS_TYPES_H # include <sys/types.h> #endif #ifdef HAVE_SYS_STAT_H # include <sys/stat.h> #endif #ifdef STDC_HEADERS # include # include #else # ifdef HAVE_STDLIB_H # include # endif #endif #ifdef HAVE_STRING_H # if !defined STDC_HEADERS && defined HAVE_MEMORY_H # include # endif # include #endif #ifdef HAVE_STRINGS_H # include #endif #ifdef HAVE_INTTYPES_H # include #endif #ifdef HAVE_STDINT_H # include #endif #ifdef HAVE_UNISTD_H # include #endif int main () { if (sizeof ((uint64_t))) return 0; ; return 0; } configure:10986: result: yes configure:11014: checking for backtrace configure:11014: clang -o conftest -g -O2 conftest.c -lpthread -ldl -lm >&5 configure:11014: $? = 0 configure:11014: result: yes configure:11014: checking for ceilf configure:11014: clang -o conftest -g -O2 conftest.c -lpthread -ldl -lm >&5 conftest.c:131:6: warning: incompatible redeclaration of library function 'ceilf' [-Wincompatible-library-redeclaration] char ceilf (); ^ conftest.c:131:6: note: 'ceilf' is a builtin with type 'float (float)' 1 warning generated. configure:11014: $? = 0 configure:11014: result: yes configure:11014: checking for floorf configure:11014: clang -o conftest -g -O2 conftest.c -lpthread -ldl -lm >&5 conftest.c:132:6: warning: incompatible redeclaration of library function 'floorf' [-Wincompatible-library-redeclaration] char floorf (); ^ conftest.c:132:6: note: 'floorf' is a builtin with type 'float (float)' 1 warning generated. configure:11014: $? = 0 configure:11014: result: yes configure:11014: checking for roundf configure:11014: clang -o conftest -g -O2 conftest.c -lpthread -ldl -lm >&5 conftest.c:133:6: warning: incompatible redeclaration of library function 'roundf' [-Wincompatible-library-redeclaration] char roundf (); ^ conftest.c:133:6: note: 'roundf' is a builtin with type 'float (float)' 1 warning generated. configure:11014: $? = 0 configure:11014: result: yes configure:11014: checking for rintf configure:11014: clang -o conftest -g -O2 conftest.c -lpthread -ldl -lm >&5 conftest.c:134:6: warning: incompatible redeclaration of library function 'rintf' [-Wincompatible-library-redeclaration] char rintf (); ^ conftest.c:134:6: note: 'rintf' is a builtin with type 'float (float)' 1 warning generated. configure:11014: $? = 0 configure:11014: result: yes configure:11014: checking for nearbyintf configure:11014: clang -o conftest -g -O2 conftest.c -lpthread -ldl -lm >&5 conftest.c:135:6: warning: incompatible redeclaration of library function 'nearbyintf' [-Wincompatible-library-redeclaration] char nearbyintf (); ^ conftest.c:135:6: note: 'nearbyintf' is a builtin with type 'float (float)' 1 warning generated. configure:11014: $? = 0 configure:11014: result: yes configure:11014: checking for getcwd configure:11014: clang -o conftest -g -O2 conftest.c -lpthread -ldl -lm >&5 configure:11014: $? = 0 configure:11014: result: yes configure:11026: checking for powf configure:11026: clang -o conftest -g -O2 conftest.c -lpthread -ldl -lm >&5 conftest.c:137:6: warning: incompatible redeclaration of library function 'powf' [-Wincompatible-library-redeclaration] char powf (); ^ conftest.c:137:6: note: 'powf' is a builtin with type 'float (float, float)' 1 warning generated. configure:11026: $? = 0 configure:11026: result: yes configure:11026: checking for fmodf configure:11026: clang -o conftest -g -O2 conftest.c -lpthread -ldl -lm >&5 configure:11026: $? = 0 configure:11026: result: yes configure:11026: checking for strtof configure:11026: clang -o conftest -g -O2 conftest.c -lpthread -ldl -lm >&5 configure:11026: $? = 0 configure:11026: result: yes configure:11026: checking for round configure:11026: clang -o conftest -g -O2 conftest.c -lpthread -ldl -lm >&5 conftest.c:140:6: warning: incompatible redeclaration of library function 'round' [-Wincompatible-library-redeclaration] char round (); ^ conftest.c:140:6: note: 'round' is a builtin with type 'double (double)' 1 warning generated. configure:11026: $? = 0 configure:11026: result: yes configure:11038: checking for getpagesize configure:11038: clang -o conftest -g -O2 conftest.c -lpthread -ldl -lm >&5 configure:11038: $? = 0 configure:11038: result: yes configure:11038: checking for getrusage configure:11038: clang -o conftest -g -O2 conftest.c -lpthread -ldl -lm >&5 configure:11038: $? = 0 configure:11038: result: yes configure:11038: checking for getrlimit configure:11038: clang -o conftest -g -O2 conftest.c -lpthread -ldl -lm >&5 configure:11038: $? = 0 configure:11038: result: yes configure:11038: checking for setrlimit configure:11038: clang -o conftest -g -O2 conftest.c -lpthread -ldl -lm >&5 configure:11038: $? = 0 configure:11038: result: yes configure:11038: checking for gettimeofday configure:11038: clang -o conftest -g -O2 conftest.c -lpthread -ldl -lm >&5 configure:11038: $? = 0 configure:11038: result: yes configure:11050: checking for isatty configure:11050: clang -o conftest -g -O2 conftest.c -lpthread -ldl -lm >&5 configure:11050: $? = 0 configure:11050: result: yes configure:11050: checking for mkdtemp configure:11050: clang -o conftest -g -O2 conftest.c -lpthread -ldl -lm >&5 configure:11050: $? = 0 configure:11050: result: yes configure:11050: checking for mkstemp configure:11050: clang -o conftest -g -O2 conftest.c -lpthread -ldl -lm >&5 configure:11050: $? = 0 configure:11050: result: yes configure:11062: checking for mktemp configure:11062: clang -o conftest -g -O2 conftest.c -lpthread -ldl -lm >&5 /tmp/conftest-6rrkDT.o: In function main': /home/aign/src/giri-3.4/build/conftest.c:160: warning: the use ofmktemp' is dangerous, better use mkstemp' ormkdtemp' configure:11062: $? = 0 configure:11062: result: yes configure:11062: checking for posix_spawn configure:11062: clang -o conftest -g -O2 conftest.c -lpthread -ldl -lm >&5 configure:11062: $? = 0 configure:11062: result: yes configure:11062: checking for realpath configure:11062: clang -o conftest -g -O2 conftest.c -lpthread -ldl -lm >&5 configure:11062: $? = 0 configure:11062: result: yes configure:11062: checking for sbrk configure:11062: clang -o conftest -g -O2 conftest.c -lpthread -ldl -lm >&5 configure:11062: $? = 0 configure:11062: result: yes configure:11062: checking for setrlimit configure:11062: result: yes configure:11062: checking for strdup configure:11062: clang -o conftest -g -O2 conftest.c -lpthread -ldl -lm >&5 conftest.c:154:6: warning: incompatible redeclaration of library function 'strdup' [-Wincompatible-library-redeclaration] char strdup (); ^ conftest.c:154:6: note: 'strdup' is a builtin with type 'char (const char )' 1 warning generated. configure:11062: $? = 0 configure:11062: result: yes configure:11074: checking for strerror configure:11074: clang -o conftest -g -O2 conftest.c -lpthread -ldl -lm >&5 conftest.c:155:6: warning: incompatible redeclaration of library function 'strerror' [-Wincompatible-library-redeclaration] char strerror (); ^ conftest.c:155:6: note: 'strerror' is a builtin with type 'char *(int)' 1 warning generated. configure:11074: $? = 0 configure:11074: result: yes configure:11074: checking for strerror_r configure:11074: clang -o conftest -g -O2 conftest.c -lpthread -ldl -lm >&5 configure:11074: $? = 0 configure:11074: result: yes configure:11074: checking for setenv configure:11074: clang -o conftest -g -O2 conftest.c -lpthread -ldl -lm >&5 configure:11074: $? = 0 configure:11074: result: yes configure:11086: checking for strtoll configure:11086: clang -o conftest -g -O2 conftest.c -lpthread -ldl -lm >&5 configure:11086: $? = 0 configure:11086: result: yes configure:11086: checking for strtoq configure:11086: clang -o conftest -g -O2 conftest.c -lpthread -ldl -lm >&5 configure:11086: $? = 0 configure:11086: result: yes configure:11086: checking for sysconf configure:11086: clang -o conftest -g -O2 conftest.c -lpthread -ldl -lm >&5 configure:11086: $? = 0 configure:11086: result: yes configure:11086: checking for malloc_zone_statistics configure:11086: clang -o conftest -g -O2 conftest.c -lpthread -ldl -lm >&5 /tmp/conftest-84yDmU.o: In function main': /home/aign/src/giri-3.4/build/conftest.c:172: undefined reference tomalloc_zone_statistics' clang: error: linker command failed with exit code 1 (use -v to see invocation) configure:11086: $? = 1 configure: failed program was: / confdefs.h / #define PACKAGE_NAME "[GIRI]" #define PACKAGE_TARNAME "--giri--" #define PACKAGE_VERSION "[3.1]" #define PACKAGE_STRING "[GIRI] [3.1]" #define PACKAGE_BUGREPORT "https://github.com/liuml07/giri" #define PACKAGE_URL "" #define LLVM_ON_UNIX 1 #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 ENABLE_THREADS 1 #define ENABLE_PIC 1 #define ENABLE_TIMESTAMPS 1 #define LLVM_NATIVE_ARCH X86 #define LLVM_NATIVE_TARGET LLVMInitializeX86Target #define LLVM_NATIVE_TARGETINFO LLVMInitializeX86TargetInfo #define LLVM_NATIVE_TARGETMC LLVMInitializeX86TargetMC #define LLVM_NATIVE_ASMPRINTER LLVMInitializeX86AsmPrinter #define CLANG_RESOURCE_DIR "" #define C_INCLUDE_DIRS "" #define GCC_INSTALL_PREFIX "" #define BUG_REPORT_URL "http://llvm.org/bugs/" #define HOST_LINK_VERSION "2.23.52.20130913" #define HAVE_LINK_R 1 #define HAVE_LINK_EXPORT_DYNAMIC 1 #define HAVE_DIRENT_H 1 #define HAVE_DLFCN_H 1 #define LTDL_SHLIB_EXT ".so" #define LTDL_SYSSEARCHPATH "/lib:/usr/lib:/usr/lib/i386-linux-gnu/mesa:/lib/i386-linux-gnu:/usr/lib/i386-linux-gnu:/lib/i686-linux-gnu:/usr/lib/i686-linux-gnu:/usr/local/lib:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu/mesa:/lib32:/usr/lib32" #define LTDL_OBJDIR ".libs/" #define HAVE_PRELOADED_SYMBOLS 1 #define HAVE_LIBDL 1 #define HAVE_DLERROR 1 #define HAVE_ARGZ_H 1 #define HAVE_ERROR_T 1 #define HAVE_ARGZ_APPEND 1 #define HAVE_ARGZ_CREATE_SEP 1 #define HAVE_ARGZ_INSERT 1 #define HAVE_ARGZ_NEXT 1 #define HAVE_ARGZ_STRINGIFY 1 #define HAVE_ASSERT_H 1 #define HAVE_CTYPE_H 1 #define HAVE_ERRNO_H 1 #define HAVE_MALLOC_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDIO_H 1 #define HAVE_UNISTD_H 1 #define HAVE_STRING_H 1 #define HAVE_STRCHR 1 #define HAVE_STRRCHR 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCMP 1 #define HAVE_CLOSEDIR 1 #define HAVE_OPENDIR 1 #define HAVE_READDIR 1 #define HAVE_LIBM 1 #define HAVE_DLOPEN 1 #define HAVE_MALLINFO 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_MUTEX_LOCK 1 #define HAVE_PTHREAD_RWLOCK_INIT 1 #define HAVE_PTHREAD_GETSPECIFIC 1 #define USE_UDIS86 0 #define USE_OPROFILE 0 #define HAVE_DIRENT_H 1 #define HAVE_MMAP_ANONYMOUS 1 #define HAVE_SYS_WAIT_H 1 #define TIME_WITH_SYS_TIME 1 #define HAVE_DLFCN_H 1 #define HAVE_EXECINFO_H 1 #define HAVE_FCNTL_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_LIMITS_H 1 #define HAVE_LINK_H 1 #define HAVE_MALLOC_H 1 #define HAVE_SETJMP_H 1 #define HAVE_SIGNAL_H 1 #define HAVE_STDINT_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_UNISTD_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_TIME_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_VALGRIND_VALGRIND_H 1 #define HAVE_FENV_H 1 #define HAVE_PTHREAD_H 1 #define HAVE_CRASHREPORTER_INFO 0 #define RETSIGTYPE void #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_BACKTRACE 1 #define HAVE_CEILF 1 #define HAVE_FLOORF 1 #define HAVE_ROUNDF 1 #define HAVE_RINTF 1 #define HAVE_NEARBYINTF 1 #define HAVE_GETCWD 1 #define HAVE_POWF 1 #define HAVE_FMODF 1 #define HAVE_STRTOF 1 #define HAVE_ROUND 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETRUSAGE 1 #define HAVE_GETRLIMIT 1 #define HAVE_SETRLIMIT 1 #define HAVE_GETTIMEOFDAY 1 #define HAVE_ISATTY 1 #define HAVE_MKDTEMP 1 #define HAVE_MKSTEMP 1 #define HAVE_MKTEMP 1 #define HAVE_POSIX_SPAWN 1 #define HAVE_REALPATH 1 #define HAVE_SBRK 1 #define HAVE_SETRLIMIT 1 #define HAVE_STRDUP 1 #define HAVE_STRERROR 1 #define HAVE_STRERROR_R 1 #define HAVE_SETENV 1 #define HAVE_STRTOLL 1 #define HAVE_STRTOQ 1 #define HAVE_SYSCONF 1 / end confdefs.h. / /_ Define malloc_zone_statistics to an innocuous variant, in case declares malloc_zone_statistics. For example, HP-UX 11i declares gettimeofday. _/ #define malloc_zone_statistics innocuous_malloc_zone_statistics
/_ System header to define **stub macros and hopefully few prototypes,
which can conflict with char malloc_zone_statistics (); below.
Prefer to if __STDC** is defined, since
exists even on freestanding compilers. _/
#ifdef STDC
# include
#else
# include
#endif
#undef malloc_zone_statistics
/_ 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 malloc_zone_statistics ();
/_ 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_malloc_zone_statistics defined __stub___malloc_zone_statistics
choke me
#endif
int
main ()
{
return malloc_zone_statistics ();
;
return 0;
}
configure:11086: result: no configure:11098: checking for setjmp configure:11098: clang -o conftest -g -O2 conftest.c -lpthread -ldl -lm >&5 conftest.c:161:6: warning: declaration of built-in function 'setjmp' requires inclusion of the header [-Wbuiltin-requires-header] char setjmp (); ^ 1 warning generated. configure:11098: $? = 0 configure:11098: result: yes configure:11098: checking for longjmp configure:11098: clang -o conftest -g -O2 conftest.c -lpthread -ldl -lm >&5 conftest.c:162:6: warning: declaration of built-in function 'longjmp' requires inclusion of the header [-Wbuiltin-requires-header] char longjmp (); ^ 1 warning generated. configure:11098: $? = 0 configure:11098: result: yes configure:11098: checking for sigsetjmp configure:11098: clang -o conftest -g -O2 conftest.c -lpthread -ldl -lm >&5 conftest.c:163:6: warning: declaration of built-in function 'sigsetjmp' requires inclusion of the header [-Wbuiltin-requires-header] char sigsetjmp (); ^ 1 warning generated. /tmp/conftest-4TGyeh.o: In function main': /home/aign/src/giri-3.4/build/conftest.c:174: undefined reference tosigsetjmp' clang: error: linker command failed with exit code 1 (use -v to see invocation) configure:11098: $? = 1 configure: failed program was: / confdefs.h / #define PACKAGE_NAME "[GIRI]" #define PACKAGE_TARNAME "--giri--" #define PACKAGE_VERSION "[3.1]" #define PACKAGE_STRING "[GIRI] [3.1]" #define PACKAGE_BUGREPORT "https://github.com/liuml07/giri" #define PACKAGE_URL "" #define LLVM_ON_UNIX 1 #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 ENABLE_THREADS 1 #define ENABLE_PIC 1 #define ENABLE_TIMESTAMPS 1 #define LLVM_NATIVE_ARCH X86 #define LLVM_NATIVE_TARGET LLVMInitializeX86Target #define LLVM_NATIVE_TARGETINFO LLVMInitializeX86TargetInfo #define LLVM_NATIVE_TARGETMC LLVMInitializeX86TargetMC #define LLVM_NATIVE_ASMPRINTER LLVMInitializeX86AsmPrinter #define CLANG_RESOURCE_DIR "" #define C_INCLUDE_DIRS "" #define GCC_INSTALL_PREFIX "" #define BUG_REPORT_URL "http://llvm.org/bugs/" #define HOST_LINK_VERSION "2.23.52.20130913" #define HAVE_LINK_R 1 #define HAVE_LINK_EXPORT_DYNAMIC 1 #define HAVE_DIRENT_H 1 #define HAVE_DLFCN_H 1 #define LTDL_SHLIB_EXT ".so" #define LTDL_SYSSEARCHPATH "/lib:/usr/lib:/usr/lib/i386-linux-gnu/mesa:/lib/i386-linux-gnu:/usr/lib/i386-linux-gnu:/lib/i686-linux-gnu:/usr/lib/i686-linux-gnu:/usr/local/lib:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu/mesa:/lib32:/usr/lib32" #define LTDL_OBJDIR ".libs/" #define HAVE_PRELOADED_SYMBOLS 1 #define HAVE_LIBDL 1 #define HAVE_DLERROR 1 #define HAVE_ARGZ_H 1 #define HAVE_ERROR_T 1 #define HAVE_ARGZ_APPEND 1 #define HAVE_ARGZ_CREATE_SEP 1 #define HAVE_ARGZ_INSERT 1 #define HAVE_ARGZ_NEXT 1 #define HAVE_ARGZ_STRINGIFY 1 #define HAVE_ASSERT_H 1 #define HAVE_CTYPE_H 1 #define HAVE_ERRNO_H 1 #define HAVE_MALLOC_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDIO_H 1 #define HAVE_UNISTD_H 1 #define HAVE_STRING_H 1 #define HAVE_STRCHR 1 #define HAVE_STRRCHR 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCMP 1 #define HAVE_CLOSEDIR 1 #define HAVE_OPENDIR 1 #define HAVE_READDIR 1 #define HAVE_LIBM 1 #define HAVE_DLOPEN 1 #define HAVE_MALLINFO 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_MUTEX_LOCK 1 #define HAVE_PTHREAD_RWLOCK_INIT 1 #define HAVE_PTHREAD_GETSPECIFIC 1 #define USE_UDIS86 0 #define USE_OPROFILE 0 #define HAVE_DIRENT_H 1 #define HAVE_MMAP_ANONYMOUS 1 #define HAVE_SYS_WAIT_H 1 #define TIME_WITH_SYS_TIME 1 #define HAVE_DLFCN_H 1 #define HAVE_EXECINFO_H 1 #define HAVE_FCNTL_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_LIMITS_H 1 #define HAVE_LINK_H 1 #define HAVE_MALLOC_H 1 #define HAVE_SETJMP_H 1 #define HAVE_SIGNAL_H 1 #define HAVE_STDINT_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_UNISTD_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_TIME_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_VALGRIND_VALGRIND_H 1 #define HAVE_FENV_H 1 #define HAVE_PTHREAD_H 1 #define HAVE_CRASHREPORTER_INFO 0 #define RETSIGTYPE void #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_BACKTRACE 1 #define HAVE_CEILF 1 #define HAVE_FLOORF 1 #define HAVE_ROUNDF 1 #define HAVE_RINTF 1 #define HAVE_NEARBYINTF 1 #define HAVE_GETCWD 1 #define HAVE_POWF 1 #define HAVE_FMODF 1 #define HAVE_STRTOF 1 #define HAVE_ROUND 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETRUSAGE 1 #define HAVE_GETRLIMIT 1 #define HAVE_SETRLIMIT 1 #define HAVE_GETTIMEOFDAY 1 #define HAVE_ISATTY 1 #define HAVE_MKDTEMP 1 #define HAVE_MKSTEMP 1 #define HAVE_MKTEMP 1 #define HAVE_POSIX_SPAWN 1 #define HAVE_REALPATH 1 #define HAVE_SBRK 1 #define HAVE_SETRLIMIT 1 #define HAVE_STRDUP 1 #define HAVE_STRERROR 1 #define HAVE_STRERROR_R 1 #define HAVE_SETENV 1 #define HAVE_STRTOLL 1 #define HAVE_STRTOQ 1 #define HAVE_SYSCONF 1 #define HAVE_SETJMP 1 #define HAVE_LONGJMP 1 / end confdefs.h. / /_ Define sigsetjmp to an innocuous variant, in case declares sigsetjmp. For example, HP-UX 11i declares gettimeofday. _/ #define sigsetjmp innocuous_sigsetjmp
/_ System header to define **stub macros and hopefully few prototypes,
which can conflict with char sigsetjmp (); below.
Prefer to if __STDC** is defined, since
exists even on freestanding compilers. _/
#ifdef STDC
# include
#else
# include
#endif
#undef sigsetjmp
/_ 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 sigsetjmp ();
/_ 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_sigsetjmp defined __stub___sigsetjmp
choke me
#endif
int
main ()
{
return sigsetjmp ();
;
return 0;
}
configure:11098: result: no configure:11098: checking for siglongjmp configure:11098: clang -o conftest -g -O2 conftest.c -lpthread -ldl -lm >&5 conftest.c:163:6: warning: declaration of built-in function 'siglongjmp' requires inclusion of the header [-Wbuiltin-requires-header] char siglongjmp (); ^ 1 warning generated. configure:11098: $? = 0 configure:11098: result: yes configure:11098: checking for writev configure:11098: clang -o conftest -g -O2 conftest.c -lpthread -ldl -lm >&5 configure:11098: $? = 0 configure:11098: result: yes configure:11107: checking if printf has the %a format character configure:11147: clang -o conftest -g -O2 conftest.c -lpthread -ldl -lm >&5 configure:11147: $? = 0 configure:11147: ./conftest configure:11147: $? = 0 configure:11163: result: yes configure:11172: checking for srand48/lrand48/drand48 in configure:11194: clang++ -c -g -O2 conftest.cpp >&5 configure:11194: $? = 0 configure:11207: result: yes configure:11217: checking whether strerror_s is declared configure:11217: clang -c -g -O2 conftest.c >&5 conftest.c:184:10: error: use of undeclared identifier 'strerror_s' (void) strerror_s; ^ 1 error generated. configure:11217: $? = 1 configure: failed program was: / confdefs.h / #define PACKAGE_NAME "[GIRI]" #define PACKAGE_TARNAME "--giri--" #define PACKAGE_VERSION "[3.1]" #define PACKAGE_STRING "[GIRI] [3.1]" #define PACKAGE_BUGREPORT "https://github.com/liuml07/giri" #define PACKAGE_URL "" #define LLVM_ON_UNIX 1 #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 ENABLE_THREADS 1 #define ENABLE_PIC 1 #define ENABLE_TIMESTAMPS 1 #define LLVM_NATIVE_ARCH X86 #define LLVM_NATIVE_TARGET LLVMInitializeX86Target #define LLVM_NATIVE_TARGETINFO LLVMInitializeX86TargetInfo #define LLVM_NATIVE_TARGETMC LLVMInitializeX86TargetMC #define LLVM_NATIVE_ASMPRINTER LLVMInitializeX86AsmPrinter #define CLANG_RESOURCE_DIR "" #define C_INCLUDE_DIRS "" #define GCC_INSTALL_PREFIX "" #define BUG_REPORT_URL "http://llvm.org/bugs/" #define HOST_LINK_VERSION "2.23.52.20130913" #define HAVE_LINK_R 1 #define HAVE_LINK_EXPORT_DYNAMIC 1 #define HAVE_DIRENT_H 1 #define HAVE_DLFCN_H 1 #define LTDL_SHLIB_EXT ".so" #define LTDL_SYSSEARCHPATH "/lib:/usr/lib:/usr/lib/i386-linux-gnu/mesa:/lib/i386-linux-gnu:/usr/lib/i386-linux-gnu:/lib/i686-linux-gnu:/usr/lib/i686-linux-gnu:/usr/local/lib:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu/mesa:/lib32:/usr/lib32" #define LTDL_OBJDIR ".libs/" #define HAVE_PRELOADED_SYMBOLS 1 #define HAVE_LIBDL 1 #define HAVE_DLERROR 1 #define HAVE_ARGZ_H 1 #define HAVE_ERROR_T 1 #define HAVE_ARGZ_APPEND 1 #define HAVE_ARGZ_CREATE_SEP 1 #define HAVE_ARGZ_INSERT 1 #define HAVE_ARGZ_NEXT 1 #define HAVE_ARGZ_STRINGIFY 1 #define HAVE_ASSERT_H 1 #define HAVE_CTYPE_H 1 #define HAVE_ERRNO_H 1 #define HAVE_MALLOC_H 1 #define HAVE_MEMORY_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STDIO_H 1 #define HAVE_UNISTD_H 1 #define HAVE_STRING_H 1 #define HAVE_STRCHR 1 #define HAVE_STRRCHR 1 #define HAVE_MEMCPY 1 #define HAVE_MEMMOVE 1 #define HAVE_STRCMP 1 #define HAVE_CLOSEDIR 1 #define HAVE_OPENDIR 1 #define HAVE_READDIR 1 #define HAVE_LIBM 1 #define HAVE_DLOPEN 1 #define HAVE_MALLINFO 1 #define HAVE_LIBPTHREAD 1 #define HAVE_PTHREAD_MUTEX_LOCK 1 #define HAVE_PTHREAD_RWLOCK_INIT 1 #define HAVE_PTHREAD_GETSPECIFIC 1 #define USE_UDIS86 0 #define USE_OPROFILE 0 #define HAVE_DIRENT_H 1 #define HAVE_MMAP_ANONYMOUS 1 #define HAVE_SYS_WAIT_H 1 #define TIME_WITH_SYS_TIME 1 #define HAVE_DLFCN_H 1 #define HAVE_EXECINFO_H 1 #define HAVE_FCNTL_H 1 #define HAVE_INTTYPES_H 1 #define HAVE_LIMITS_H 1 #define HAVE_LINK_H 1 #define HAVE_MALLOC_H 1 #define HAVE_SETJMP_H 1 #define HAVE_SIGNAL_H 1 #define HAVE_STDINT_H 1 #define HAVE_TERMIOS_H 1 #define HAVE_UNISTD_H 1 #define HAVE_UTIME_H 1 #define HAVE_SYS_MMAN_H 1 #define HAVE_SYS_PARAM_H 1 #define HAVE_SYS_RESOURCE_H 1 #define HAVE_SYS_TIME_H 1 #define HAVE_SYS_UIO_H 1 #define HAVE_SYS_TYPES_H 1 #define HAVE_SYS_IOCTL_H 1 #define HAVE_VALGRIND_VALGRIND_H 1 #define HAVE_FENV_H 1 #define HAVE_PTHREAD_H 1 #define HAVE_CRASHREPORTER_INFO 0 #define RETSIGTYPE void #define HAVE_INT64_T 1 #define HAVE_UINT64_T 1 #define HAVE_BACKTRACE 1 #define HAVE_CEILF 1 #define HAVE_FLOORF 1 #define HAVE_ROUNDF 1 #define HAVE_RINTF 1 #define HAVE_NEARBYINTF 1 #define HAVE_GETCWD 1 #define HAVE_POWF 1 #define HAVE_FMODF 1 #define HAVE_STRTOF 1 #define HAVE_ROUND 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETRUSAGE 1 #define HAVE_GETRLIMIT 1 #define HAVE_SETRLIMIT 1 #define HAVE_GETTIMEOFDAY 1 #define HAVE_ISATTY 1 #define HAVE_MKDTEMP 1 #define HAVE_MKSTEMP 1 #define HAVE_MKTEMP 1 #define HAVE_POSIX_SPAWN 1 #define HAVE_REALPATH 1 #define HAVE_SBRK 1 #define HAVE_SETRLIMIT 1 #define HAVE_STRDUP 1 #define HAVE_STRERROR 1 #define HAVE_STRERROR_R 1 #define HAVE_SETENV 1 #define HAVE_STRTOLL 1 #define HAVE_STRTOQ 1 #define HAVE_SYSCONF 1 #define HAVE_SETJMP 1 #define HAVE_LONGJMP 1 #define HAVE_SIGLONGJMP 1 #define HAVE_WRITEV 1 #define HAVE_PRINTF_A 1 #define HAVE_RAND48 1 / end confdefs.h. / #include #ifdef HAVE_SYS_TYPES_H # include <sys/types.h> #endif #ifdef HAVE_SYS_STAT_H # include <sys/stat.h> #endif #ifdef STDC_HEADERS # include # include #else # ifdef HAVE_STDLIB_H # include # endif #endif #ifdef HAVE_STRING_H # if !defined STDC_HEADERS && defined HAVE_MEMORY_H # include # endif # include #endif #ifdef HAVE_STRINGS_H # include #endif #ifdef HAVE_INTTYPES_H # include #endif #ifdef HAVE_STDINT_H # include #endif #ifdef HAVE_UNISTD_H # include #endif int main () { #ifndef strerror_s #ifdef __cplusplus (void) strerror_s; #else (void) strerror_s; #endif #endif
;
return 0;
}

configure:11217: result: no configure:11938: checking for isnan in configure:11960: clang++ -c -g -O2 conftest.cpp >&5 configure:11960: $? = 0 configure:11973: result: yes configure:11983: checking for isnan in configure:12005: clang++ -c -g -O2 conftest.cpp >&5 conftest.cpp:150:10: warning: ignoring return value of function declared with const attribute [-Wunused-value] float f; isnan(f); ^~~~~ ~ 1 warning generated. configure:12005: $? = 0 configure:12018: result: yes configure:12027: checking for std::isnan in configure:12049: clang++ -c -g -O2 conftest.cpp >&5 configure:12049: $? = 0 configure:12062: result: yes configure:12072: checking for isinf in configure:12094: clang++ -c -g -O2 conftest.cpp >&5 configure:12094: $? = 0 configure:12107: result: yes configure:12116: checking for isinf in configure:12138: clang++ -c -g -O2 conftest.cpp >&5 conftest.cpp:153:10: warning: ignoring return value of function declared with const attribute [-Wunused-value] float f; isinf(f); ^~~~~ ~ 1 warning generated. configure:12138: $? = 0 configure:12151: result: yes configure:12160: checking for std::isinf in configure:12182: clang++ -c -g -O2 conftest.cpp >&5 configure:12182: $? = 0 configure:12195: result: yes configure:12204: checking for finite in configure:12226: clang++ -c -g -O2 conftest.cpp >&5 conftest.cpp:151:10: fatal error: 'ieeefp.h' file not found

include

     ^

1 error generated. configure:12226: $? = 1 configure: failed program was: | / confdefs.h / | #define PACKAGE_NAME "[GIRI]" | #define PACKAGE_TARNAME "--giri--" | #define PACKAGE_VERSION "[3.1]" | #define PACKAGE_STRING "[GIRI] [3.1]" | #define PACKAGE_BUGREPORT "https://github.com/liuml07/giri" | #define PACKAGE_URL "" | #define LLVM_ON_UNIX 1 | #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 ENABLE_THREADS 1 | #define ENABLE_PIC 1 | #define ENABLE_TIMESTAMPS 1 | #define LLVM_NATIVE_ARCH X86 | #define LLVM_NATIVE_TARGET LLVMInitializeX86Target | #define LLVM_NATIVE_TARGETINFO LLVMInitializeX86TargetInfo | #define LLVM_NATIVE_TARGETMC LLVMInitializeX86TargetMC | #define LLVM_NATIVE_ASMPRINTER LLVMInitializeX86AsmPrinter | #define CLANG_RESOURCE_DIR "" | #define C_INCLUDE_DIRS "" | #define GCC_INSTALL_PREFIX "" | #define BUG_REPORT_URL "http://llvm.org/bugs/" | #define HOST_LINK_VERSION "2.23.52.20130913" | #define HAVE_LINK_R 1 | #define HAVE_LINK_EXPORT_DYNAMIC 1 | #define HAVE_DIRENT_H 1 | #define HAVE_DLFCN_H 1 | #define LTDL_SHLIB_EXT ".so" | #define LTDL_SYSSEARCHPATH "/lib:/usr/lib:/usr/lib/i386-linux-gnu/mesa:/lib/i386-linux-gnu:/usr/lib/i386-linux-gnu:/lib/i686-linux-gnu:/usr/lib/i686-linux-gnu:/usr/local/lib:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu/mesa:/lib32:/usr/lib32" | #define LTDL_OBJDIR ".libs/" | #define HAVE_PRELOADED_SYMBOLS 1 | #define HAVE_LIBDL 1 | #define HAVE_DLERROR 1 | #define HAVE_ARGZ_H 1 | #define HAVE_ERROR_T 1 | #define HAVE_ARGZ_APPEND 1 | #define HAVE_ARGZ_CREATE_SEP 1 | #define HAVE_ARGZ_INSERT 1 | #define HAVE_ARGZ_NEXT 1 | #define HAVE_ARGZ_STRINGIFY 1 | #define HAVE_ASSERT_H 1 | #define HAVE_CTYPE_H 1 | #define HAVE_ERRNO_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STDIO_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_STRING_H 1 | #define HAVE_STRCHR 1 | #define HAVE_STRRCHR 1 | #define HAVE_MEMCPY 1 | #define HAVE_MEMMOVE 1 | #define HAVE_STRCMP 1 | #define HAVE_CLOSEDIR 1 | #define HAVE_OPENDIR 1 | #define HAVE_READDIR 1 | #define HAVE_LIBM 1 | #define HAVE_DLOPEN 1 | #define HAVE_MALLINFO 1 | #define HAVE_LIBPTHREAD 1 | #define HAVE_PTHREAD_MUTEX_LOCK 1 | #define HAVE_PTHREAD_RWLOCK_INIT 1 | #define HAVE_PTHREAD_GETSPECIFIC 1 | #define USE_UDIS86 0 | #define USE_OPROFILE 0 | #define HAVE_DIRENT_H 1 | #define HAVE_MMAP_ANONYMOUS 1 | #define HAVE_SYS_WAIT_H 1 | #define TIME_WITH_SYS_TIME 1 | #define HAVE_DLFCN_H 1 | #define HAVE_EXECINFO_H 1 | #define HAVE_FCNTL_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_LIMITS_H 1 | #define HAVE_LINK_H 1 | #define HAVE_MALLOC_H 1 | #define HAVE_SETJMP_H 1 | #define HAVE_SIGNAL_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_TERMIOS_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_UTIME_H 1 | #define HAVE_SYS_MMAN_H 1 | #define HAVE_SYS_PARAM_H 1 | #define HAVE_SYS_RESOURCE_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_SYS_UIO_H 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_IOCTL_H 1 | #define HAVE_VALGRIND_VALGRIND_H 1 | #define HAVE_FENV_H 1 | #define HAVE_PTHREAD_H 1 | #define HAVE_CRASHREPORTER_INFO 0 | #define RETSIGTYPE void | #define HAVE_INT64_T 1 | #define HAVE_UINT64_T 1 | #define HAVE_BACKTRACE 1 | #define HAVE_CEILF 1 | #define HAVE_FLOORF 1 | #define HAVE_ROUNDF 1 | #define HAVE_RINTF 1 | #define HAVE_NEARBYINTF 1 | #define HAVE_GETCWD 1 | #define HAVE_POWF 1 | #define HAVE_FMODF 1 | #define HAVE_STRTOF 1 | #define HAVE_ROUND 1 | #define HAVE_GETPAGESIZE 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_GETRLIMIT 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_ISATTY 1 | #define HAVE_MKDTEMP 1 | #define HAVE_MKSTEMP 1 | #define HAVE_MKTEMP 1 | #define HAVE_POSIX_SPAWN 1 | #define HAVE_REALPATH 1 | #define HAVE_SBRK 1 | #define HAVE_SETRLIMIT 1 | #define HAVE_STRDUP 1 | #define HAVE_STRERROR 1 | #define HAVE_STRERROR_R 1 | #define HAVE_SETENV 1 | #define HAVE_STRTOLL 1 | #define HAVE_STRTOQ 1 | #define HAVE_SYSCONF 1 | #define HAVE_SETJMP 1 | #define HAVE_LONGJMP 1 | #define HAVE_SIGLONGJMP 1 | #define HAVE_WRITEV 1 | #define HAVE_PRINTF_A 1 | #define HAVE_RAND48 1 | #define HAVE_DECL_STRERROR_S 0 | #define HAVE_ISNAN_IN_MATH_H 1 | #define HAVE_ISNAN_IN_CMATH 1 | #define HAVE_STD_ISNAN_IN_CMATH 1 | #define HAVE_ISINF_IN_MATH_H 1 | #define HAVE_ISINF_IN_CMATH 1 | #define HAVE_STD_ISINF_INCMATH 1 | / end confdefs.h. */ | #include | int | main () | { | float f; finite(f); | ; | return 0; | } configure:12239: result: no configure:12257: checking for stdlib.h configure:12257: result: yes configure:12257: checking for unistd.h configure:12257: result: yes configure:12257: checking for sys/param.h configure:12257: result: yes configure:12277: checking for getpagesize configure:12277: result: yes configure:12286: checking for working mmap configure:12433: clang -o conftest -g -O2 conftest.c -lpthread -ldl -lm >&5 configure:12433: $? = 0 configure:12433: ./conftest configure:12433: $? = 0 configure:12443: result: yes configure:12452: checking for mmap of files configure:12487: clang -o conftest -g -O2 conftest.c -lpthread -ldl -lm >&5 conftest.c:169:3: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] unlink ("foo"); ^ 1 warning generated. configure:12487: $? = 0 configure:12487: ./conftest configure:12487: $? = 0 configure:12504: result: yes configure:12514: checking if /dev/zero is needed for mmap configure:12526: result: no configure:12546: checking for GCC atomic builtins configure:12566: clang++ -o conftest -g -O2 conftest.cpp -lpthread -ldl -lm >&5 configure:12566: $? = 0 configure:12573: result: yes configure:12592: checking for 32-bit userspace on 64-bit system configure:12617: clang -c -g -O2 conftest.c >&5 configure:12617: $? = 0 configure:12631: result: no configure:12642: checking for __dso_handle configure:12642: clang -o conftest -g -O2 conftest.c -lpthread -ldl -lm >&5 configure:12642: $? = 0 configure:12642: result: yes configure:12793: checking for compiler -fvisibility-inlines-hidden option configure:12817: clang++ -c -g -O2 -O0 -fvisibility-inlines-hidden -Werror conftest.cpp >&5 configure:12817: $? = 0 configure:12832: result: yes configure:13039: creating ./config.status

----------------------

Running config.status.

----------------------

This file was extended by [GIRI] config.status [3.1], which was generated by GNU Autoconf 2.69. Invocation command line was

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

on centaurus

config.status:904: creating Makefile.common config.status:904: creating Makefile.llvm.config config.status:1055: executing setup commands config.status:1055: executing Makefile commands config.status:1055: executing lib/Makefile commands config.status:1055: executing tools/Makefile commands config.status:1055: executing runtime/Makefile commands config.status:1055: executing test/Makefile commands

----------------

Cache variables.

----------------

ac_cv_build=x86_64-unknown-linux-gnu ac_cv_c_bigendian=no ac_cv_c_compiler_gnu=yes ac_cv_c_const=yes ac_cv_cxx_compiler_gnu=yes ac_cv_env_CCC_set= ac_cv_env_CCC_value= 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_CXXFLAGS_set= ac_cv_env_CXXFLAGS_value= ac_cv_env_CXX_set= ac_cv_env_CXX_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___dso_handle=yes ac_cv_func_argz_append=yes ac_cv_func_argz_create_sep=yes ac_cv_func_argz_insert=yes ac_cv_func_argz_next=yes ac_cv_func_argz_stringify=yes ac_cv_func_backtrace=yes ac_cv_func_ceilf=yes ac_cv_func_closedir=yes ac_cv_func_dlerror=yes ac_cv_func_finite_in_ieeefp_h=no ac_cv_func_floorf=yes ac_cv_func_fmodf=yes ac_cv_func_getcwd=yes ac_cv_func_getpagesize=yes ac_cv_func_getrlimit=yes ac_cv_func_getrusage=yes ac_cv_func_gettimeofday=yes ac_cv_func_isatty=yes ac_cv_func_isinf_in_cmath=yes ac_cv_func_isinf_in_math_h=yes ac_cv_func_isnan_in_cmath=yes ac_cv_func_isnan_in_math_h=yes ac_cv_func_longjmp=yes ac_cv_func_malloc_zone_statistics=no ac_cv_func_memcpy=yes ac_cv_func_memmove=yes ac_cv_func_mkdtemp=yes ac_cv_func_mkstemp=yes ac_cv_func_mktemp=yes ac_cv_func_mmap_file=yes ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_nearbyintf=yes ac_cv_func_opendir=yes ac_cv_func_posix_spawn=yes ac_cv_func_powf=yes ac_cv_func_rand48=yes ac_cv_func_readdir=yes ac_cv_func_realpath=yes ac_cv_func_rintf=yes ac_cv_func_round=yes ac_cv_func_roundf=yes ac_cv_func_sbrk=yes ac_cv_func_setenv=yes ac_cv_func_setjmp=yes ac_cv_func_setrlimit=yes ac_cv_func_shl_load=no ac_cv_func_siglongjmp=yes ac_cv_func_sigsetjmp=no ac_cv_func_std_isinf_in_cmath=yes ac_cv_func_std_isnan_in_cmath=yes ac_cv_func_strchr=yes ac_cv_func_strcmp=yes ac_cv_func_strdup=yes ac_cv_func_strerror=yes ac_cv_func_strerror_r=yes ac_cv_func_strrchr=yes ac_cv_func_strtof=yes ac_cv_func_strtoll=yes ac_cv_func_strtoq=yes ac_cv_func_sysconf=yes ac_cv_func_writev=yes ac_cv_have_decl_strerror_s=no ac_cv_header_CrashReporterClient_h=no ac_cv_header_argz_h=yes ac_cv_header_assert_h=yes ac_cv_header_ctype_h=yes ac_cv_header_dirent_dirent_h=yes ac_cv_header_dl_h=no ac_cv_header_dld_h=no ac_cv_header_dlfcn_h=yes ac_cv_header_errno_h=yes ac_cv_header_execinfo_h=yes ac_cv_header_fcntl_h=yes ac_cv_header_fenv_h=yes ac_cv_header_inttypes_h=yes ac_cv_header_limits_h=yes ac_cv_header_link_h=yes ac_cv_header_mach_mach_h=no ac_cv_header_mach_o_dyld_h=no ac_cv_header_malloc_h=yes ac_cv_header_malloc_malloc_h=no ac_cv_header_memory_h=yes ac_cv_header_mmap_anon=yes ac_cv_header_pthread_h=yes ac_cv_header_setjmp_h=yes ac_cv_header_signal_h=yes ac_cv_header_stat_broken=no ac_cv_header_stdc=yes ac_cv_header_stdint_h=yes ac_cv_header_stdio_h=yes ac_cv_header_stdlib_h=yes ac_cv_header_string_h=yes ac_cv_header_strings_h=yes ac_cv_header_sys_dl_h=no ac_cv_header_sys_ioctl_h=yes ac_cv_header_sys_mman_h=yes ac_cv_header_sys_param_h=yes ac_cv_header_sys_resource_h=yes ac_cv_header_sys_stat_h=yes ac_cv_header_sys_time_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_sys_uio_h=yes ac_cv_header_sys_wait_h=yes ac_cv_header_termios_h=yes ac_cv_header_time=yes ac_cv_header_unistd_h=yes ac_cv_header_utime_h=yes ac_cv_header_valgrind_valgrind_h=yes ac_cv_header_windows_h=no ac_cv_host=x86_64-unknown-linux-gnu ac_cv_huge_val_sanity=yes ac_cv_lib_dl_dlopen=yes ac_cv_lib_dld_shl_load=no ac_cv_lib_m_sin=yes ac_cv_lib_pthread_pthread_mutex_init=yes ac_cv_need_dev_zero_for_mmap=no ac_cv_objext=o ac_cv_path_BINPWD=/bin/pwd ac_cv_path_BZIP2=/bin/bzip2 ac_cv_path_CAT=/bin/cat ac_cv_path_CIRCO='echo circo' ac_cv_path_CMP=/usr/bin/cmp ac_cv_path_CP=/bin/cp ac_cv_path_DATE=/bin/date ac_cv_path_DOT='echo dot' ac_cv_path_DOTTY='echo dotty' ac_cv_path_EGREP='/bin/grep -E' ac_cv_path_FDP='echo fdp' ac_cv_path_FIND=/usr/bin/find ac_cv_path_GAS=/usr/bin/as ac_cv_path_GRAPHVIZ='echo Graphviz' ac_cv_path_GREP=/bin/grep ac_cv_path_GROFF=/usr/bin/groff ac_cv_path_GZIPBIN=/bin/gzip ac_cv_path_MKDIR=/bin/mkdir ac_cv_path_MV=/bin/mv ac_cv_path_NEATO='echo neato' ac_cv_path_POD2HTML=/usr/bin/pod2html ac_cv_path_POD2MAN=/usr/bin/pod2man ac_cv_path_RM=/bin/rm ac_cv_path_SED=/bin/sed ac_cv_path_TAR=/bin/tar ac_cv_path_TCLSH=/usr/bin/tclsh ac_cv_path_TWOPI='echo twopi' ac_cv_path_XDOT_PY='echo xdot.py' ac_cv_path_ZIP=/usr/bin/zip ac_cv_path_install='/usr/bin/install -c' ac_cv_path_tclsh=/usr/bin/tclsh ac_cv_prog_CPP='clang -E' ac_cv_prog_ac_ct_AR=ar ac_cv_prog_ac_ct_CC=clang ac_cv_prog_ac_ct_CXX=clang++ ac_cv_prog_ac_ct_RANLIB=ranlib ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes ac_cv_prog_cxx_g=yes ac_cv_search_dlopen=-ldl ac_cv_search_mallinfo='none required' ac_cv_search_opendir='none required' ac_cv_search_pthread_getspecific='none required' ac_cv_search_pthread_mutex_lock='none required' ac_cv_search_pthread_rwlock_init='none required' ac_cv_struct_tm=time.h ac_cv_sys_symbol_underscore=no ac_cv_target=x86_64-unknown-linux-gnu ac_cv_type_error_t=yes ac_cv_type_int64_t=yes ac_cv_type_pid_t=yes ac_cv_type_size_t=yes ac_cv_type_uint64_t=yes libltdl_cv_lib_dl_dlopen=yes libltdl_cv_objdir=.libs libltdl_cv_preloaded_symbols=yes libltdl_cv_shlibext=.so libltdl_cv_sys_dlopen_deplibs=yes libltdl_cv_sys_search_path='/lib /usr/lib /usr/lib/i386-linux-gnu/mesa /lib/i386-linux-gnu /usr/lib/i386-linux-gnu /lib/i686-linux-gnu /usr/lib/i686-linux-gnu /usr/local/lib /lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu/mesa /lib32 /usr/lib32 ' llvm_cv_c_printf_a=yes llvm_cv_cxx_visibility_inlines_hidden=yes llvm_cv_enable_libffi=no llvm_cv_gnu_make_command=make llvm_cv_link_all_option=-Wl,--whole-archive llvm_cv_link_use_export_dynamic=yes llvm_cv_link_use_r=yes llvm_cv_link_use_version_script=yes llvm_cv_link_version=2.23.52.20130913 llvm_cv_linux_mixed=no llvm_cv_no_link_all_option=-Wl,--no-whole-archive llvm_cv_os_type=Linux llvm_cv_platform_type=Unix llvm_cv_target_arch=x86_64 llvm_cv_target_os_type=Linux lt_cv_path_NM='/usr/bin/nm -B' lt_cv_sys_global_symbolpipe='sed -n -e '\''s/^. [ ][ ]_([_A-Za-z][A-Za-z0-9])$/\1 \2 \2/p'\''' lt_cv_sys_global_symbol_to_c_nameaddress='sed -n -e '\''s/^: ([^ ]) $/ {\"\1\", (ltptr) 0},/p'\'' -e '\''s/^[BCDEGRST] ([^ ]) ([^ ]_)$/ {"\2", (lt_ptr) &\2},/p'\''' lt_cv_sys_global_symbol_tocdecl='sed -n -e '\''s/^. . (.*)$/extern int \1;/p'\'''

-----------------

Output variables.

-----------------

ALL_BINDINGS='ocaml' AR='ar' ARCH='x86_64' BINDINGS_TO_BUILD='' BINPWD='/bin/pwd' BINUTILS_INCDIR='' BUILD_CC='' BUILD_CXX='' BUILD_EXEEXT='' BZIP2='/bin/bzip2' CAT='/bin/cat' CC='clang' CFLAGS='-g -O2' CIRCO='echo circo' CMP='/usr/bin/cmp' CONVENIENCE_LTDL_FALSE='' CONVENIENCE_LTDL_TRUE='#' COVERED_SWITCH_DEFAULT='-Wcovered-switch-default' CP='/bin/cp' CPP='clang -E' CPPFLAGS='' CVSBUILD='' CXX='clang++' CXXFLAGS='-g -O2' DATE='/bin/date' DEBUG_RUNTIME='DEBUG_RUNTIME=1' DEBUG_SYMBOLS='DEBUG_SYMBOLS=1' DEFS='-DPACKAGE_NAME=\"[GIRI]\" -DPACKAGE_TARNAME=\"--giri--\" -DPACKAGE_VERSION=\"[3.1]\" -DPACKAGE_STRING=\"[GIRI]\ [3.1]\" -DPACKAGE_BUGREPORT=\"https://github.com/liuml07/giri\" -DPACKAGE_URL=\"\" -DLLVM_ON_UNIX=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DENABLE_THREADS=1 -DENABLE_PIC=1 -DENABLE_TIMESTAMPS=1 -DLLVM_NATIVE_ARCH=X86 -DLLVM_NATIVE_TARGET=LLVMInitializeX86Target -DLLVM_NATIVE_TARGETINFO=LLVMInitializeX86TargetInfo -DLLVM_NATIVE_TARGETMC=LLVMInitializeX86TargetMC -DLLVM_NATIVE_ASMPRINTER=LLVMInitializeX86AsmPrinter -DCLANG_RESOURCE_DIR=\"\" -DC_INCLUDE_DIRS=\"\" -DGCC_INSTALL_PREFIX=\"\" -DBUG_REPORT_URL=\"http://llvm.org/bugs/\" -DHOST_LINK_VERSION=\"2.23.52.20130913\" -DHAVE_LINK_R=1 -DHAVE_LINK_EXPORT_DYNAMIC=1 -DHAVE_DIRENT_H=1 -DHAVE_DLFCN_H=1 -DLTDL_SHLIB_EXT=\".so\" -DLTDL_SYSSEARCHPATH=\"/lib:/usr/lib:/usr/lib/i386-linux-gnu/mesa:/lib/i386-linux-gnu:/usr/lib/i386-linux-gnu:/lib/i686-linux-gnu:/usr/lib/i686-linux-gnu:/usr/local/lib:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu/mesa:/lib32:/usr/lib32\" -DLTDL_OBJDIR=\".libs/\" -DHAVE_PRELOADED_SYMBOLS=1 -DHAVE_LIBDL=1 -DHAVE_DLERROR=1 -DHAVE_ARGZ_H=1 -DHAVE_ERROR_T=1 -DHAVE_ARGZ_APPEND=1 -DHAVE_ARGZ_CREATE_SEP=1 -DHAVE_ARGZ_INSERT=1 -DHAVE_ARGZ_NEXT=1 -DHAVE_ARGZ_STRINGIFY=1 -DHAVE_ASSERT_H=1 -DHAVE_CTYPE_H=1 -DHAVE_ERRNO_H=1 -DHAVE_MALLOC_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STDIO_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DHAVE_STRCHR=1 -DHAVE_STRRCHR=1 -DHAVE_MEMCPY=1 -DHAVE_MEMMOVE=1 -DHAVE_STRCMP=1 -DHAVE_CLOSEDIR=1 -DHAVE_OPENDIR=1 -DHAVE_READDIR=1 -DHAVE_LIBM=1 -DHAVE_DLOPEN=1 -DHAVE_MALLINFO=1 -DHAVE_LIBPTHREAD=1 -DHAVE_PTHREAD_MUTEX_LOCK=1 -DHAVE_PTHREAD_RWLOCK_INIT=1 -DHAVE_PTHREAD_GETSPECIFIC=1 -DUSE_UDIS86=0 -DUSE_OPROFILE=0 -DHAVE_DIRENT_H=1 -DHAVE_MMAP_ANONYMOUS=1 -DHAVE_SYS_WAIT_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_DLFCN_H=1 -DHAVE_EXECINFO_H=1 -DHAVE_FCNTL_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_LINK_H=1 -DHAVE_MALLOC_H=1 -DHAVE_SETJMP_H=1 -DHAVE_SIGNAL_H=1 -DHAVE_STDINT_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_UTIME_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_SYS_RESOURCE_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_UIO_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_VALGRIND_VALGRIND_H=1 -DHAVE_FENV_H=1 -DHAVE_PTHREAD_H=1 -DHAVE_CRASHREPORTER_INFO=0 -DRETSIGTYPE=void -DHAVE_INT64_T=1 -DHAVE_UINT64_T=1 -DHAVE_BACKTRACE=1 -DHAVE_CEILF=1 -DHAVE_FLOORF=1 -DHAVE_ROUNDF=1 -DHAVE_RINTF=1 -DHAVE_NEARBYINTF=1 -DHAVE_GETCWD=1 -DHAVE_POWF=1 -DHAVE_FMODF=1 -DHAVE_STRTOF=1 -DHAVE_ROUND=1 -DHAVE_GETPAGESIZE=1 -DHAVE_GETRUSAGE=1 -DHAVE_GETRLIMIT=1 -DHAVE_SETRLIMIT=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_ISATTY=1 -DHAVE_MKDTEMP=1 -DHAVE_MKSTEMP=1 -DHAVE_MKTEMP=1 -DHAVE_POSIX_SPAWN=1 -DHAVE_REALPATH=1 -DHAVE_SBRK=1 -DHAVE_SETRLIMIT=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRERROR_R=1 -DHAVE_SETENV=1 -DHAVE_STRTOLL=1 -DHAVE_STRTOQ=1 -DHAVE_SYSCONF=1 -DHAVE_SETJMP=1 -DHAVE_LONGJMP=1 -DHAVE_SIGLONGJMP=1 -DHAVE_WRITEV=1 -DHAVE_PRINTF_A=1 -DHAVE_RAND48=1 -DHAVE_DECL_STRERROR_S=0 -DHAVE_ISNAN_IN_MATH_H=1 -DHAVE_ISNAN_IN_CMATH=1 -DHAVE_STD_ISNAN_IN_CMATH=1 -DHAVE_ISINF_IN_MATH_H=1 -DHAVE_ISINF_IN_CMATH=1 -DHAVE_STD_ISINF_IN_CMATH=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_MMAP_FILE=/**/ -DLLVM_HAS_ATOMICS=1 -DHAVE___DSO_HANDLE=1 -DLLVM_PREFIX=\"/usr/local\" -DLLVM_BINDIR=\"/usr/local/bin\" -DLLVM_DATADIR=\"/usr/local/share/llvm\" -DLLVM_DOCSDIR=\"/usr/local/share/doc/llvm\" -DLLVM_ETCDIR=\"/usr/local/etc/llvm\" -DLLVM_INCLUDEDIR=\"/usr/local/include\" -DLLVM_INFODIR=\"/usr/local/info\" -DLLVM_MANDIR=\"/usr/local/man\" -DLLVM_CONFIGTIME=\"Thu\ Jul\ \ 3\ 13:57:35\ WEST\ 2014\" -DLLVM_DEFAULT_TARGET_TRIPLE=\"x86_64-unknown-linux-gnu\"' DISABLE_ASSERTIONS='' DOT='echo dot' DOTTY='echo dotty' DOXYGEN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/bin/grep -E' ENABLE_CXX11='1' ENABLE_DOCS='1' ENABLE_DOXYGEN='0' ENABLE_EMBED_STDCXX='1' ENABLE_EXPENSIVE_CHECKS='' ENABLE_LIBCPP='0' ENABLE_OPTIMIZED='ENABLE_OPTIMIZED=1' ENABLE_PIC='1' ENABLE_POLLY='1' ENABLE_PROFILING='' ENABLE_PTHREADS='1' ENABLE_SHARED='0' ENABLE_THREADS='1' ENABLE_TIMESTAMPS='1' ENABLE_VISIBILITY_INLINES_HIDDEN='1' ENABLE_WERROR='0' ENDIAN='little' EXEEXT='' EXPENSIVE_CHECKS='no' EXTRA_LD_OPTIONS='' EXTRA_OPTIONS='' FDP='echo fdp' FIND='/usr/bin/find' GAS='/usr/bin/as' GRAPHVIZ='echo Graphviz' GREP='/bin/grep' GROFF='/usr/bin/groff' GV='echo gv' GZIPBIN='/bin/gzip' HAVE_LINK_VERSION_SCRIPT='1' HAVE_PTHREAD='1' HOST_OS='Linux' HUGE_VAL_SANITY='yes' INSTALL_DATA='${INSTALL} -m 644' INSTALL_LTDL_FALSE='' INSTALL_LTDL_TRUE='#' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' JIT='' LDFLAGS='' LIBADD_DL='-ldl' LIBOBJS='' LIBS='-lpthread -ldl -lm ' LINKALL='-Wl,--whole-archive' LLVM_BINDIR='/usr/local/bin' LLVM_CONFIGTIME='Thu Jul 3 13:57:35 WEST 2014' LLVM_CROSS_COMPILING='0' LLVM_DATADIR='/usr/local/share/llvm' LLVM_DOCSDIR='/usr/local/share/doc/llvm' LLVM_ENUM_ASM_PARSERS='' LLVM_ENUM_ASM_PRINTERS='' LLVM_ENUM_DISASSEMBLERS='' LLVM_ENUM_TARGETS='LLVM_TARGET(R600) LLVM_TARGET(SystemZ) LLVM_TARGET(Hexagon) LLVM_TARGET(NVPTX) LLVM_TARGET(MBlaze) LLVM_TARGET(CppBackend) LLVM_TARGET(MSP430) LLVM_TARGET(XCore) LLVM_TARGET(Mips) LLVM_TARGET(ARM) LLVM_TARGET(AArch64) LLVM_TARGET(PowerPC) LLVM_TARGET(Sparc) LLVM_TARGET(X86) ' LLVM_ETCDIR='/usr/local/etc/llvm' LLVM_HAS_POLLY='' LLVM_INCLUDEDIR='/usr/local/include' LLVM_INFODIR='/usr/local/info' LLVM_MANDIR='/usr/local/man' LLVM_OBJ='/home/aign/src/llvm-3.4' LLVM_ON_UNIX='1' LLVM_ON_WIN32='0' LLVM_PREFIX='/usr/local' LLVM_SRC='/home/aign/src/llvm-3.4' LLVM_VERSION='3.4' LN_S='ln -s' LTLIBOBJS='' MKDIR='/bin/mkdir' MMAP_FILE='yes' MV='/bin/mv' NEATO='echo neato' NM='/usr/bin/nm -B' NOLINKALL='-Wl,--no-whole-archive' NO_MISSING_FIELD_INITIALIZERS='-Wno-missing-field-initializers' NO_VARIADIC_MACROS='-Wno-variadic-macros' OBJEXT='o' OCAMLC='' OCAMLDEP='' OCAMLDOC='' OCAMLOPT='' OCAML_LIBDIR='' OPTIMIZE_OPTION='-O3' OS='Linux' PACKAGE_BUGREPORT='https://github.com/liuml07/giri' PACKAGE_NAME='[GIRI]' PACKAGE_STRING='[GIRI] [3.1]' PACKAGE_TARNAME='--giri--' PACKAGE_URL='' PACKAGE_VERSION='[3.1]' PATH_SEPARATOR=':' PDFROFF='' POD2HTML='/usr/bin/pod2html' POD2MAN='/usr/bin/pod2man' RANLIB='ranlib' RDYNAMIC='-Wl,-export-dynamic' RM='/bin/rm' RPATH='-Wl,-R' RUNTEST='' SED='/bin/sed' SHELL='/bin/bash' SHLIBEXT='.so' SHLIBPATH_VAR='' TAR='/bin/tar' TARGETS_TO_BUILD='X86 Sparc PowerPC AArch64 ARM Mips XCore MSP430 CppBackend MBlaze NVPTX Hexagon SystemZ R600' TARGET_HAS_JIT='1' TARGET_OS='Linux' TCLSH='/usr/bin/tclsh' TWOPI='echo twopi' USE_OPROFILE='0' USE_UDIS86='0' XDOT_PY='echo xdot.py' ZIP='/usr/bin/zip' ac_ct_CC='clang' ac_ct_CXX='clang++' bindir='${exec_prefix}/bin' build='x86_64-unknown-linux-gnu' build_alias='' build_cpu='x86_64' build_os='linux-gnu' build_vendor='unknown' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='${prefix}' host='x86_64-unknown-linux-gnu' host_alias='' host_cpu='x86_64' host_os='linux-gnu' host_vendor='unknown' htmldir='${docdir}' ifGNUmake='' includedir='${prefix}/include' infodir='${datarootdir}/info' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/usr/local' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' subdirs='' sysconfdir='${prefix}/etc' target='x86_64-unknown-linux-gnu' target_alias='' target_cpu='x86_64' target_os='linux-gnu' target_vendor='unknown'

-----------

confdefs.h.

-----------

/* confdefs.h _/

define PACKAGE_NAME "[GIRI]"

define PACKAGE_TARNAME "--giri--"

define PACKAGE_VERSION "[3.1]"

define PACKAGE_STRING "[GIRI] [3.1]"

define PACKAGE_BUGREPORT "https://github.com/liuml07/giri"

define PACKAGE_URL ""

define LLVM_ON_UNIX 1

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 ENABLE_THREADS 1

define ENABLE_PIC 1

define ENABLE_TIMESTAMPS 1

define LLVM_NATIVE_ARCH X86

define LLVM_NATIVE_TARGET LLVMInitializeX86Target

define LLVM_NATIVE_TARGETINFO LLVMInitializeX86TargetInfo

define LLVM_NATIVE_TARGETMC LLVMInitializeX86TargetMC

define LLVM_NATIVE_ASMPRINTER LLVMInitializeX86AsmPrinter

define CLANG_RESOURCE_DIR ""

define C_INCLUDE_DIRS ""

define GCC_INSTALL_PREFIX ""

define BUG_REPORT_URL "http://llvm.org/bugs/"

define HOST_LINK_VERSION "2.23.52.20130913"

define HAVE_LINK_R 1

define HAVE_LINK_EXPORT_DYNAMIC 1

define HAVE_DIRENT_H 1

define HAVE_DLFCN_H 1

define LTDL_SHLIB_EXT ".so"

define LTDL_SYSSEARCHPATH "/lib:/usr/lib:/usr/lib/i386-linux-gnu/mesa:/lib/i386-linux-gnu:/usr/lib/i386-linux-gnu:/lib/i686-linux-gnu:/usr/lib/i686-linux-gnu:/usr/local/lib:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu/mesa:/lib32:/usr/lib32"

define LTDL_OBJDIR ".libs/"

define HAVE_PRELOADED_SYMBOLS 1

define HAVE_LIBDL 1

define HAVE_DLERROR 1

define HAVE_ARGZ_H 1

define HAVE_ERROR_T 1

define HAVE_ARGZ_APPEND 1

define HAVE_ARGZ_CREATE_SEP 1

define HAVE_ARGZ_INSERT 1

define HAVE_ARGZ_NEXT 1

define HAVE_ARGZ_STRINGIFY 1

define HAVE_ASSERT_H 1

define HAVE_CTYPE_H 1

define HAVE_ERRNO_H 1

define HAVE_MALLOC_H 1

define HAVE_MEMORY_H 1

define HAVE_STDLIB_H 1

define HAVE_STDIO_H 1

define HAVE_UNISTD_H 1

define HAVE_STRING_H 1

define HAVE_STRCHR 1

define HAVE_STRRCHR 1

define HAVE_MEMCPY 1

define HAVE_MEMMOVE 1

define HAVE_STRCMP 1

define HAVE_CLOSEDIR 1

define HAVE_OPENDIR 1

define HAVE_READDIR 1

define HAVE_LIBM 1

define HAVE_DLOPEN 1

define HAVE_MALLINFO 1

define HAVE_LIBPTHREAD 1

define HAVE_PTHREAD_MUTEX_LOCK 1

define HAVE_PTHREAD_RWLOCK_INIT 1

define HAVE_PTHREAD_GETSPECIFIC 1

define USE_UDIS86 0

define USE_OPROFILE 0

define HAVE_DIRENT_H 1

define HAVE_MMAP_ANONYMOUS 1

define HAVE_SYS_WAIT_H 1

define TIME_WITH_SYS_TIME 1

define HAVE_DLFCN_H 1

define HAVE_EXECINFO_H 1

define HAVE_FCNTL_H 1

define HAVE_INTTYPES_H 1

define HAVE_LIMITS_H 1

define HAVE_LINK_H 1

define HAVE_MALLOC_H 1

define HAVE_SETJMP_H 1

define HAVE_SIGNAL_H 1

define HAVE_STDINT_H 1

define HAVE_TERMIOS_H 1

define HAVE_UNISTD_H 1

define HAVE_UTIME_H 1

define HAVE_SYS_MMAN_H 1

define HAVE_SYS_PARAM_H 1

define HAVE_SYS_RESOURCE_H 1

define HAVE_SYS_TIME_H 1

define HAVE_SYS_UIO_H 1

define HAVE_SYS_TYPES_H 1

define HAVE_SYS_IOCTL_H 1

define HAVE_VALGRIND_VALGRIND_H 1

define HAVE_FENV_H 1

define HAVE_PTHREAD_H 1

define HAVE_CRASHREPORTER_INFO 0

define RETSIGTYPE void

define HAVE_INT64_T 1

define HAVE_UINT64_T 1

define HAVE_BACKTRACE 1

define HAVE_CEILF 1

define HAVE_FLOORF 1

define HAVE_ROUNDF 1

define HAVE_RINTF 1

define HAVE_NEARBYINTF 1

define HAVE_GETCWD 1

define HAVE_POWF 1

define HAVE_FMODF 1

define HAVE_STRTOF 1

define HAVE_ROUND 1

define HAVE_GETPAGESIZE 1

define HAVE_GETRUSAGE 1

define HAVE_GETRLIMIT 1

define HAVE_SETRLIMIT 1

define HAVE_GETTIMEOFDAY 1

define HAVE_ISATTY 1

define HAVE_MKDTEMP 1

define HAVE_MKSTEMP 1

define HAVE_MKTEMP 1

define HAVE_POSIX_SPAWN 1

define HAVE_REALPATH 1

define HAVE_SBRK 1

define HAVE_SETRLIMIT 1

define HAVE_STRDUP 1

define HAVE_STRERROR 1

define HAVE_STRERROR_R 1

define HAVE_SETENV 1

define HAVE_STRTOLL 1

define HAVE_STRTOQ 1

define HAVE_SYSCONF 1

define HAVE_SETJMP 1

define HAVE_LONGJMP 1

define HAVE_SIGLONGJMP 1

define HAVE_WRITEV 1

define HAVE_PRINTF_A 1

define HAVE_RAND48 1

define HAVE_DECL_STRERROR_S 0

define HAVE_ISNAN_IN_MATH_H 1

define HAVE_ISNAN_IN_CMATH 1

define HAVE_STD_ISNAN_IN_CMATH 1

define HAVE_ISINF_IN_MATH_H 1

define HAVE_ISINF_IN_CMATH 1

define HAVE_STD_ISINF_IN_CMATH 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_MMAPFILE /*/

define LLVM_HAS_ATOMICS 1

define HAVE___DSO_HANDLE 1

define LLVM_PREFIX "/usr/local"

define LLVM_BINDIR "/usr/local/bin"

define LLVM_DATADIR "/usr/local/share/llvm"

define LLVM_DOCSDIR "/usr/local/share/doc/llvm"

define LLVM_ETCDIR "/usr/local/etc/llvm"

define LLVM_INCLUDEDIR "/usr/local/include"

define LLVM_INFODIR "/usr/local/info"

define LLVM_MANDIR "/usr/local/man"

define LLVM_CONFIGTIME "Thu Jul 3 13:57:35 WEST 2014"

define LLVM_DEFAULT_TARGET_TRIPLE "x86_64-unknown-linux-gnu"

configure: exit 0

liuml07 commented 10 years ago

Hi,

According to this log file, you're still using Ubuntu clang version 3.4-1ubuntu1 (trunk) (based on LLVM 3.4). Did you configure and make the Giri code after you installed the LLVM 3.4 by yourself?

Again, I don't know why, but GCC 4.8 does not work with Giri sometimes (e.g. Ubuntu). Thus you should build your LLVM 3.4 either by GCC 4.7.3 or Ubuntu LLVM 3.4.

Sorry for the inconvenience. This project is for research users, and it is not my first priority work. I hope this helps. If you could make it easier to use for other people, it will be very nice.

Thanks.

alexeyignatiev commented 10 years ago

Hi,

You were right. I removed Ubuntu's both LLVM and Clang packages after running the ./configure script. Now I had to recompile everything again: llvm-3.4 + clang-3.4 and giri-3.4. The new config.log can be found here: http://pastebin.com/W7vwvHYu . And I still have some issue when making HelloWorld. I get the following:

aign@centaurus:~/src/giri-3.4/test/HelloWorld$ make
make -s -C ../../build
../../../llvm-3.4/Release+Debug+Asserts/bin/clang -g -O0 -c -emit-llvm hello-world.c -o hello-world.bc
Args: ../../../llvm-3.4/Release+Debug+Asserts/bin/opt -load ../../build/Release+Debug+Asserts/lib/libdgutility.so -load ../../build/Release+Debug+Asserts/lib/libgiri.so -mergereturn -bbnum -lsnum -trace-giri -trace-file=hello-world.trace -remove-bbnum -remove-lsnum -stats -debug hello-world.bc -o hello-world.trace.bc
Subtarget features: SSELevel 8, 3DNowLevel 0, 64bit 1
Total Number of Basic Blocks: 2
Number of monitored program points: 10
Inside QueryBasicBlockNumbers for module hello-world.bc
Inside QueryLoadStoreNumbers for module hello-world.bc
===-------------------------------------------------------------------------===
                          ... Statistics Collected ...
===-------------------------------------------------------------------------===

2 giri - Number of basic blocks
2 giri - Number of call instructions processed
1 giri - Number of load instructions processed
4 giri - Number of store instructions processed

../../../llvm-3.4/Release+Debug+Asserts/bin/llc -asm-verbose=false -O0 hello-world.trace.bc -o hello-world.trace.s
../../../llvm-3.4/Release+Debug+Asserts/bin/clang++ -fno-strict-aliasing hello-world.trace.s -o hello-world.trace.exe  -L../../build/Release+Debug+Asserts/lib -lrtgiri
./hello-world.trace.exe
[GIRI] Lock for instruction:   call void @recordStartBB(i32 2, i8* bitcast (void ()* @giriCtor to i8*))
make: *** [hello-world.trace] Floating point exception (core dumped)
Args: ../../../llvm-3.4/Release+Debug+Asserts/bin/opt -load ../../build/Release+Debug+Asserts/lib/libdgutility.so -load ../../build/Release+Debug+Asserts/lib/libgiri.so -mergereturn -bbnum -lsnum -dgiri -trace-file=hello-world.trace -slice-file=hello-world.slice -remove-bbnum -remove-lsnum -stats -debug hello-world.bc -o /dev/null
Subtarget features: SSELevel 8, 3DNowLevel 0, 64bit 1
Total Number of Basic Blocks: 1
Number of monitored program points: 10
Inside QueryBasicBlockNumbers for module hello-world.bc
Inside QueryLoadStoreNumbers for module hello-world.bc
opt: /home/aign/src/giri-3.4/lib/Giri/TraceFile.cpp:55: giri::TraceFile::TraceFile(std::string, const dg::QueryBasicBlockNumbers*, const dg::QueryLoadStoreNumbers*): Assertion `(fd > 0) && "Cannot open file!\n"' failed.
0  opt             0x00000000013d6ec2 llvm::sys::PrintStackTrace(_IO_FILE*) + 34
1  opt             0x00000000013d6aa9
2  libpthread.so.0 0x00002b3f5bccdbb0
3  libc.so.6       0x00002b3f5c933f77 gsignal + 55
4  libc.so.6       0x00002b3f5c9375e8 abort + 328
5  libc.so.6       0x00002b3f5c92cd43
6  libc.so.6       0x00002b3f5c92cdf2
7  libgiri.so      0x00002b3f5cef0349 giri::TraceFile::TraceFile(std::string, dg::QueryBasicBlockNumbers const*, dg::QueryLoadStoreNumbers const*) + 1145
8  libgiri.so      0x00002b3f5cee92ac giri::DynamicGiri::runOnModule(llvm::Module&) + 380
9  opt             0x000000000136a4af llvm::legacy::PassManagerImpl::run(llvm::Module&) + 863
10 opt             0x000000000059c7dc main + 3836
11 libc.so.6       0x00002b3f5c91ede5 __libc_start_main + 245
12 opt             0x00000000005aeffd
Stack dump:
0.  Program arguments: ../../../llvm-3.4/Release+Debug+Asserts/bin/opt -load ../../build/Release+Debug+Asserts/lib/libdgutility.so -load ../../build/Release+Debug+Asserts/lib/libgiri.so -mergereturn -bbnum -lsnum -dgiri -trace-file=hello-world.trace -slice-file=hello-world.slice -remove-bbnum -remove-lsnum -stats -debug hello-world.bc -o /dev/null
1.  Running pass 'Dynamic Backwards Slice Analysis' on module 'hello-world.bc'.
make: *** [hello-world.slice] Aborted (core dumped)

If I run hello-world.trace.exe, I get:

aign@centaurus:~/src/giri-3.4/test/HelloWorld$ ./hello-world.trace.exe
[GIRI] Lock for instruction:   call void @recordStartBB(i32 2, i8* bitcast (void ()* @giriCtor to i8*))
Floating point exception (core dumped)

So I suppose there is still some issue with this file and, thus, with the tool that compiles it.

liuml07 commented 10 years ago

I shall try to build the code using GCC 4.8 by myself. But if you could, please try GCC 4.7.3 or GCC 4.7.3-r1

Thanks.

alexeyignatiev commented 10 years ago

Ok, I look forward to hearing from you. But mine is already compiled with GCC 4.7.3 (Ubuntu/Linaro 4.7.3-7ubuntu3).

liuml07 commented 10 years ago

Please confirm this patch on your platform. A good idea is to pull everything including the new tags. The master branch works with the LLVM 3.4

Please open another issue if you meet new problems.

alexeyignatiev commented 10 years ago

Ok, thanks. Now it does not seem to abort. Could you please tell me what I should read if I want to use the trace produced by giri? And how should I do it? Thanks!

liuml07 commented 10 years ago

The trace is quite simple. You can have a look at the lib/Giri/TraceFile.cpp. If you're interested in this part only, please write your own tracer referring Giri code. Giri is becoming heavy now.

DrSahoo commented 10 years ago

Are you trying to get the slice of some program statement? If yes, you should run our slicing pass (-dgiri option).

Thanks, Swarup.


From: Alexey Ignatiev [notifications@github.com] Sent: Tuesday, July 08, 2014 1:39 PM To: liuml07/giri Subject: Re: [giri] Issue running Giri. (#2)

Ok, thanks. Now it does not seem to abort. Could you please tell me what I should read if I want to use the trace produced by giri? And how should I do it? Thanks!

— Reply to this email directly or view it on GitHubhttps://github.com/liuml07/giri/issues/2#issuecomment-48381825.

alexeyignatiev commented 10 years ago

At some point I would like to get and use the slice produced by giri. But for now it is enough for me to understand how I can get a trace of the program with the use of giri. So what I need is to get the complete trace of what happened when a failure-revealing test case was used including values of variables, return values etc. As far as I understand, it's already done as a part of giri. So there is no need to implement this from scratch.

Thank you, Alexey