This may be premature to post, but I wanted to report that I did make it past the crt0.o problem that had me tearing my hair out. On 11/02/2015 12:42 PM, Gavin Smith wrote: > But I should add that using CFLAGS is more usual: > https://www.gnu.org/software/autoconf/manual/autoconf-2.68/html_node/Compilers-and-Options.html#Compilers-and-Options On 11/02/2015 02:28 PM, Nick Bowler wrote: > According to the GNU coding standards, CFLAGS is *supposed* to be > reserved for the user (i.e., you) to set, and passed unadulterated > to *every* invocation of $CC. Package authors sometimes botch it > up Taking these comments as clues that I may need to feed other build variables to configure as well, and knowing that _start is in libc, I looked at what would control the link and finally find the answer to that problem: LDFLAGS="-nostdlib" does the trick. That's progress. This gets the configure script through to this error: checking for /opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc option to accept ISO C89... (cached) unsupported configure: error: c89 compiler support required Which is odd because I can call the compiler in my makefile with -std=c89 and it doesn't complain about the flag. Nor should it be necessary, since c89 is the default. The config.log is below. This appears to be where it fails in configure.ac: AC_PROG_CC_C89 if test x"$ac_cv_prog_cc_c89" = x"no"; then AC_MSG_ERROR([c89 compiler support required]) fi I guess AC_PROG_CC_C89 is a standard macro, so I find it hard to believe that it would fail on GCC, so that suggests the problem is still in my configure invocation, which would surprise no one. I haven't tried to set CFLAGS yet since it's still failing in the tests of the compiler itself. Dustin ---------------------------------------------------- Invocation: ./configure \ --build=`./build-aux/config.guess` \ --host strongarm-codesafe-elf \ CC="/opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc" \ AR="/opt/nfast/gcc/bin/strongarm-codesafe-elf-ar" \ RANLIB="/opt/nfast/gcc/bin/strongarm-codesafe-elf-ranlib" \ AS="/opt/nfast/gcc/bin/strongarm-codesafe-elf-as" \ LD="/opt/nfast/gcc/bin/strongarm-codesafe-elf-ld" \ NM="/opt/nfast/gcc/bin/strongarm-codesafe-elf-nm" \ STRIP="/opt/nfast/gcc/bin/strongarm-codesafe-elf-strip" \ LDFLAGS="-nostdlib" config.log: I'm attaching it since it's getting so long--hope that doesn't bother anyone.
This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by libsecp256k1 configure 0.1, which was generated by GNU Autoconf 2.69. Invocation command line was $ ./configure --build=x86_64-unknown-linux-gnu --host strongarm-codesafe-elf CC=/opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc AR=/opt/nfast/gcc/bin/strongarm-codesafe-elf-ar RANLIB=/opt/nfast/gcc/bin/strongarm-codesafe-elf-ranlib AS=/opt/nfast/gcc/bin/strongarm-codesafe-elf-as LD=/opt/nfast/gcc/bin/strongarm-codesafe-elf-ld NM=/opt/nfast/gcc/bin/strongarm-codesafe-elf-nm STRIP=/opt/nfast/gcc/bin/strongarm-codesafe-elf-strip LDFLAGS=-nostdlib ## --------- ## ## Platform. ## ## --------- ## hostname = Convex uname -m = x86_64 uname -r = 3.13.0-52-generic uname -s = Linux uname -v = #86-Ubuntu SMP Mon May 4 04:32:59 UTC 2015 /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: /home/laurence/.virtualenvs/api/bin PATH: /home/laurence/.rbenv/shims PATH: /home/laurence/.rbenv/bin PATH: /home/laurence/bin 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 ## ----------- ## ## Core tests. ## ## ----------- ## configure:2360: checking build system type configure:2374: result: x86_64-unknown-linux-gnu configure:2394: checking host system type configure:2407: result: arm-codesafe-elf configure:2446: checking for a BSD-compatible install configure:2514: result: /usr/bin/install -c configure:2525: checking whether build environment is sane configure:2580: result: yes configure:2639: checking for strongarm-codesafe-elf-strip configure:2666: result: /opt/nfast/gcc/bin/strongarm-codesafe-elf-strip configure:2731: checking for a thread-safe mkdir -p configure:2770: result: /bin/mkdir -p configure:2777: checking for gawk configure:2807: result: no configure:2777: checking for mawk configure:2793: found /usr/bin/mawk configure:2804: result: mawk configure:2815: checking whether make sets $(MAKE) configure:2837: result: yes configure:2866: checking whether make supports nested variables configure:2883: result: yes configure:3054: checking how to print strings configure:3081: result: printf configure:3114: checking for style of include used by make configure:3142: result: GNU configure:3173: checking for strongarm-codesafe-elf-gcc configure:3200: result: /opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc configure:3469: checking for C compiler version configure:3478: /opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc --version >&5 strongarm-codesafe-elf-gcc (GCC) 3.3.6 Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:3489: $? = 0 configure:3478: /opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc -v >&5 Reading specs from /opt/nfast/gcc/bin/../lib/gcc-lib/strongarm-codesafe-elf/3.3.6/specs Configured with: ../gcc-3.3.6/configure --target=strongarm-codesafe-elf --prefix=/ncipher/vines/b.1196079149.10270.1/gccsrc-1.1.13/own/spec/armdev/gcc --enable-languages=c Thread model: single gcc version 3.3.6 configure:3489: $? = 0 configure:3478: /opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc -V >&5 strongarm-codesafe-elf-gcc: `-V' option must have argument configure:3489: $? = 1 configure:3478: /opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc -qversion >&5 strongarm-codesafe-elf-gcc: unrecognized option `-qversion' strongarm-codesafe-elf-gcc: no input files configure:3489: $? = 1 configure:3509: checking whether the C compiler works configure:3531: /opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc -nostdlib conftest.c >&5 /opt/nfast/gcc/bin/../lib/gcc-lib/strongarm-codesafe-elf/3.3.6/../../../../strongarm-codesafe-elf/bin/ld: warning: cannot find entry symbol _start; defaulting to 0000000000008000 configure:3535: $? = 0 configure:3583: result: yes configure:3586: checking for C compiler default output file name configure:3588: result: a.out configure:3594: checking for suffix of executables configure:3601: /opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc -o conftest -nostdlib conftest.c >&5 /opt/nfast/gcc/bin/../lib/gcc-lib/strongarm-codesafe-elf/3.3.6/../../../../strongarm-codesafe-elf/bin/ld: warning: cannot find entry symbol _start; defaulting to 0000000000008000 configure:3605: $? = 0 configure:3627: result: configure:3649: checking whether we are cross compiling configure:3687: result: yes configure:3692: checking for suffix of object files configure:3714: /opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc -c conftest.c >&5 configure:3718: $? = 0 configure:3739: result: o configure:3743: checking whether we are using the GNU C compiler configure:3762: /opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc -c conftest.c >&5 configure:3762: $? = 0 configure:3771: result: yes configure:3780: checking whether /opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc accepts -g configure:3800: /opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc -c -g conftest.c >&5 configure:3800: $? = 0 configure:3841: result: yes configure:3858: checking for /opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc option to accept ISO C89 configure:3921: /opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc -c -g -O2 conftest.c >&5 conftest.c:12:19: stdio.h: No such file or directory conftest.c:16: error: syntax error before '*' token conftest.c:16: warning: data definition has no type or storage class conftest.c:50: error: syntax error before "FILE" conftest.c:50: error: `pairnames' declared as function returning a function conftest.c:50: error: syntax error before "int" configure:3921: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libsecp256k1" | #define PACKAGE_TARNAME "libsecp256k1" | #define PACKAGE_VERSION "0.1" | #define PACKAGE_STRING "libsecp256k1 0.1" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "libsecp256k1" | #define VERSION "0.1" | /* end confdefs.h. */ | #include <stdarg.h> | #include <stdio.h> | struct stat; | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | struct buf { int x; }; | FILE * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not '\xHH' hex character constants. | These don't provoke an error unfortunately, instead are silently treated | as 'x'. The following induces an error, until -std is added to get | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | array size at least. It's necessary to write '\x00'==0 to get something | that's true only with -std. */ | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | inside strings and character constants. */ | #define FOO(x) 'x' | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | int argc; | char **argv; | int | main () | { | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ; | return 0; | } configure:3921: /opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc -qlanglvl=extc89 -c -g -O2 conftest.c >&5 strongarm-codesafe-elf-gcc: unrecognized option `-qlanglvl=extc89' conftest.c:12:19: stdio.h: No such file or directory conftest.c:16: error: syntax error before '*' token conftest.c:16: warning: data definition has no type or storage class conftest.c:50: error: syntax error before "FILE" conftest.c:50: error: `pairnames' declared as function returning a function conftest.c:50: error: syntax error before "int" configure:3921: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libsecp256k1" | #define PACKAGE_TARNAME "libsecp256k1" | #define PACKAGE_VERSION "0.1" | #define PACKAGE_STRING "libsecp256k1 0.1" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "libsecp256k1" | #define VERSION "0.1" | /* end confdefs.h. */ | #include <stdarg.h> | #include <stdio.h> | struct stat; | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | struct buf { int x; }; | FILE * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not '\xHH' hex character constants. | These don't provoke an error unfortunately, instead are silently treated | as 'x'. The following induces an error, until -std is added to get | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | array size at least. It's necessary to write '\x00'==0 to get something | that's true only with -std. */ | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | inside strings and character constants. */ | #define FOO(x) 'x' | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | int argc; | char **argv; | int | main () | { | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ; | return 0; | } configure:3921: /opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc -qlanglvl=ansi -c -g -O2 conftest.c >&5 strongarm-codesafe-elf-gcc: unrecognized option `-qlanglvl=ansi' conftest.c:12:19: stdio.h: No such file or directory conftest.c:16: error: syntax error before '*' token conftest.c:16: warning: data definition has no type or storage class conftest.c:50: error: syntax error before "FILE" conftest.c:50: error: `pairnames' declared as function returning a function conftest.c:50: error: syntax error before "int" configure:3921: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libsecp256k1" | #define PACKAGE_TARNAME "libsecp256k1" | #define PACKAGE_VERSION "0.1" | #define PACKAGE_STRING "libsecp256k1 0.1" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "libsecp256k1" | #define VERSION "0.1" | /* end confdefs.h. */ | #include <stdarg.h> | #include <stdio.h> | struct stat; | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | struct buf { int x; }; | FILE * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not '\xHH' hex character constants. | These don't provoke an error unfortunately, instead are silently treated | as 'x'. The following induces an error, until -std is added to get | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | array size at least. It's necessary to write '\x00'==0 to get something | that's true only with -std. */ | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | inside strings and character constants. */ | #define FOO(x) 'x' | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | int argc; | char **argv; | int | main () | { | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ; | return 0; | } configure:3921: /opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc -std -c -g -O2 conftest.c >&5 cc1: error: unrecognized option `-std' configure:3921: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libsecp256k1" | #define PACKAGE_TARNAME "libsecp256k1" | #define PACKAGE_VERSION "0.1" | #define PACKAGE_STRING "libsecp256k1 0.1" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "libsecp256k1" | #define VERSION "0.1" | /* end confdefs.h. */ | #include <stdarg.h> | #include <stdio.h> | struct stat; | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | struct buf { int x; }; | FILE * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not '\xHH' hex character constants. | These don't provoke an error unfortunately, instead are silently treated | as 'x'. The following induces an error, until -std is added to get | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | array size at least. It's necessary to write '\x00'==0 to get something | that's true only with -std. */ | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | inside strings and character constants. */ | #define FOO(x) 'x' | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | int argc; | char **argv; | int | main () | { | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ; | return 0; | } configure:3921: /opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc -Ae -c -g -O2 conftest.c >&5 <command line>:7:2: missing '(' after predicate conftest.c:12:19: stdio.h: No such file or directory conftest.c:16: error: syntax error before '*' token conftest.c:16: warning: data definition has no type or storage class conftest.c:50: error: syntax error before "FILE" conftest.c:50: error: `pairnames' declared as function returning a function conftest.c:50: error: syntax error before "int" configure:3921: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libsecp256k1" | #define PACKAGE_TARNAME "libsecp256k1" | #define PACKAGE_VERSION "0.1" | #define PACKAGE_STRING "libsecp256k1 0.1" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "libsecp256k1" | #define VERSION "0.1" | /* end confdefs.h. */ | #include <stdarg.h> | #include <stdio.h> | struct stat; | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | struct buf { int x; }; | FILE * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not '\xHH' hex character constants. | These don't provoke an error unfortunately, instead are silently treated | as 'x'. The following induces an error, until -std is added to get | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | array size at least. It's necessary to write '\x00'==0 to get something | that's true only with -std. */ | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | inside strings and character constants. */ | #define FOO(x) 'x' | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | int argc; | char **argv; | int | main () | { | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ; | return 0; | } configure:3921: /opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc -Aa -D_HPUX_SOURCE -c -g -O2 conftest.c >&5 <command line>:7:2: missing '(' after predicate conftest.c:12:19: stdio.h: No such file or directory conftest.c:16: error: syntax error before '*' token conftest.c:16: warning: data definition has no type or storage class conftest.c:50: error: syntax error before "FILE" conftest.c:50: error: `pairnames' declared as function returning a function conftest.c:50: error: syntax error before "int" configure:3921: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libsecp256k1" | #define PACKAGE_TARNAME "libsecp256k1" | #define PACKAGE_VERSION "0.1" | #define PACKAGE_STRING "libsecp256k1 0.1" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "libsecp256k1" | #define VERSION "0.1" | /* end confdefs.h. */ | #include <stdarg.h> | #include <stdio.h> | struct stat; | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | struct buf { int x; }; | FILE * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not '\xHH' hex character constants. | These don't provoke an error unfortunately, instead are silently treated | as 'x'. The following induces an error, until -std is added to get | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | array size at least. It's necessary to write '\x00'==0 to get something | that's true only with -std. */ | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | inside strings and character constants. */ | #define FOO(x) 'x' | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | int argc; | char **argv; | int | main () | { | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ; | return 0; | } configure:3921: /opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc -Xc -D__EXTENSIONS__ -c -g -O2 conftest.c >&5 strongarm-codesafe-elf-gcc: unrecognized option `-Xc' conftest.c:12:19: stdio.h: No such file or directory conftest.c:16: error: syntax error before '*' token conftest.c:16: warning: data definition has no type or storage class conftest.c:50: error: syntax error before "FILE" conftest.c:50: error: `pairnames' declared as function returning a function conftest.c:50: error: syntax error before "int" configure:3921: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libsecp256k1" | #define PACKAGE_TARNAME "libsecp256k1" | #define PACKAGE_VERSION "0.1" | #define PACKAGE_STRING "libsecp256k1 0.1" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "libsecp256k1" | #define VERSION "0.1" | /* end confdefs.h. */ | #include <stdarg.h> | #include <stdio.h> | struct stat; | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | struct buf { int x; }; | FILE * (*rcsopen) (struct buf *, struct stat *, int); | static char *e (p, i) | char **p; | int i; | { | return p[i]; | } | static char *f (char * (*g) (char **, int), char **p, ...) | { | char *s; | va_list v; | va_start (v,p); | s = g (p, va_arg (v,int)); | va_end (v); | return s; | } | | /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has | function prototypes and stuff, but not '\xHH' hex character constants. | These don't provoke an error unfortunately, instead are silently treated | as 'x'. The following induces an error, until -std is added to get | proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an | array size at least. It's necessary to write '\x00'==0 to get something | that's true only with -std. */ | int osf4_cc_array ['\x00' == 0 ? 1 : -1]; | | /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters | inside strings and character constants. */ | #define FOO(x) 'x' | int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1]; | | int test (int i, double x); | struct s1 {int (*f) (int a);}; | struct s2 {int (*f) (double a);}; | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | int argc; | char **argv; | int | main () | { | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | ; | return 0; | } configure:3937: result: unsupported configure:3959: checking whether /opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc understands -c and -o together configure:3981: /opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc -c conftest.c -o conftest2.o configure:3984: $? = 0 configure:3981: /opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc -c conftest.c -o conftest2.o configure:3984: $? = 0 configure:3996: result: yes configure:4015: checking dependency style of /opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc configure:4126: result: gcc3 configure:4141: checking for a sed that does not truncate output configure:4205: result: /bin/sed configure:4223: checking for grep that handles long lines and -e configure:4281: result: /bin/grep configure:4286: checking for egrep configure:4348: result: /bin/grep -E configure:4353: checking for fgrep configure:4415: result: /bin/grep -F configure:4450: checking for ld used by /opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc configure:4517: result: /opt/nfast/gcc/bin/strongarm-codesafe-elf-ld configure:4524: checking if the linker (/opt/nfast/gcc/bin/strongarm-codesafe-elf-ld) is GNU ld configure:4539: result: yes configure:4551: checking for BSD- or MS-compatible name lister (nm) configure:4600: result: /opt/nfast/gcc/bin/strongarm-codesafe-elf-nm configure:4730: checking the name lister (/opt/nfast/gcc/bin/strongarm-codesafe-elf-nm) interface configure:4737: /opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc -c -g -O2 conftest.c >&5 configure:4740: /opt/nfast/gcc/bin/strongarm-codesafe-elf-nm "conftest.o" configure:4743: output 0000000000000000 B some_variable configure:4750: result: BSD nm configure:4753: checking whether ln -s works configure:4757: result: yes configure:4765: checking the maximum length of command line arguments configure:4896: result: 3458764513820540925 configure:4913: checking whether the shell understands some XSI constructs configure:4923: result: yes configure:4927: checking whether the shell understands "+=" configure:4933: result: yes configure:4968: checking how to convert x86_64-unknown-linux-gnu file names to arm-codesafe-elf format configure:5008: result: func_convert_file_noop configure:5015: checking how to convert x86_64-unknown-linux-gnu file names to toolchain format configure:5035: result: func_convert_file_noop configure:5042: checking for /opt/nfast/gcc/bin/strongarm-codesafe-elf-ld option to reload object files configure:5049: result: -r configure:5083: checking for strongarm-codesafe-elf-objdump configure:5113: result: no configure:5123: checking for objdump configure:5139: found /usr/bin/objdump configure:5150: result: objdump configure:5162: WARNING: using cross tools not prefixed with host triplet configure:5182: checking how to recognize dependent libraries configure:5380: result: unknown configure:5425: checking for strongarm-codesafe-elf-dlltool configure:5455: result: no configure:5465: checking for dlltool configure:5495: result: no configure:5525: checking how to associate runtime and link libraries configure:5552: result: printf %s\n configure:5569: checking for strongarm-codesafe-elf-ar configure:5596: result: /opt/nfast/gcc/bin/strongarm-codesafe-elf-ar configure:5677: checking for archiver @FILE support configure:5694: /opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc -c -g -O2 conftest.c >&5 configure:5694: $? = 0 configure:5697: /opt/nfast/gcc/bin/strongarm-codesafe-elf-ar cru libconftest.a @conftest.lst >&5 /opt/nfast/gcc/bin/strongarm-codesafe-elf-ar: @conftest.lst: No such file or directory configure:5700: $? = 1 configure:5720: result: no configure:5738: checking for strongarm-codesafe-elf-strip configure:5765: result: /opt/nfast/gcc/bin/strongarm-codesafe-elf-strip configure:5837: checking for strongarm-codesafe-elf-ranlib configure:5864: result: /opt/nfast/gcc/bin/strongarm-codesafe-elf-ranlib configure:6006: checking command to parse /opt/nfast/gcc/bin/strongarm-codesafe-elf-nm output from /opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc object configure:6126: /opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc -c -g -O2 conftest.c >&5 configure:6129: $? = 0 configure:6133: /opt/nfast/gcc/bin/strongarm-codesafe-elf-nm conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm configure:6136: $? = 0 configure:6202: /opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc -o conftest -g -O2 -nostdlib conftest.c conftstm.o >&5 /opt/nfast/gcc/bin/../lib/gcc-lib/strongarm-codesafe-elf/3.3.6/../../../../strongarm-codesafe-elf/bin/ld: warning: cannot find entry symbol _start; defaulting to 0000000000008000 configure:6205: $? = 0 configure:6243: result: ok configure:6280: checking for sysroot configure:6310: result: no configure:6539: checking for strongarm-codesafe-elf-mt configure:6569: result: no configure:6579: checking for mt configure:6595: found /bin/mt configure:6606: result: mt configure:6629: checking if mt is a manifest tool configure:6635: mt '-?' configure:6643: result: no configure:7285: checking how to run the C preprocessor configure:7316: /opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc -E conftest.c configure:7316: $? = 0 configure:7330: /opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc -E conftest.c conftest.c:11:28: ac_nonexistent.h: No such file or directory configure:7330: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libsecp256k1" | #define PACKAGE_TARNAME "libsecp256k1" | #define PACKAGE_VERSION "0.1" | #define PACKAGE_STRING "libsecp256k1 0.1" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "libsecp256k1" | #define VERSION "0.1" | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:7355: result: /opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc -E configure:7375: /opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc -E conftest.c configure:7375: $? = 0 configure:7389: /opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc -E conftest.c conftest.c:11:28: ac_nonexistent.h: No such file or directory configure:7389: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libsecp256k1" | #define PACKAGE_TARNAME "libsecp256k1" | #define PACKAGE_VERSION "0.1" | #define PACKAGE_STRING "libsecp256k1 0.1" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "libsecp256k1" | #define VERSION "0.1" | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:7418: checking for ANSI C header files configure:7438: /opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc -c -g -O2 conftest.c >&5 conftest.c:11:20: stdlib.h: No such file or directory conftest.c:13:20: string.h: No such file or directory configure:7438: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libsecp256k1" | #define PACKAGE_TARNAME "libsecp256k1" | #define PACKAGE_VERSION "0.1" | #define PACKAGE_STRING "libsecp256k1 0.1" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "libsecp256k1" | #define VERSION "0.1" | /* end confdefs.h. */ | #include <stdlib.h> | #include <stdarg.h> | #include <string.h> | #include <float.h> | | int | main () | { | | ; | return 0; | } configure:7522: result: no configure:7535: checking for sys/types.h configure:7535: /opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc -c -g -O2 conftest.c >&5 conftest.c:11:19: stdio.h: No such file or directory conftest.c:45:23: sys/types.h: No such file or directory configure:7535: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libsecp256k1" | #define PACKAGE_TARNAME "libsecp256k1" | #define PACKAGE_VERSION "0.1" | #define PACKAGE_STRING "libsecp256k1 0.1" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "libsecp256k1" | #define VERSION "0.1" | /* end confdefs.h. */ | #include <stdio.h> | #ifdef HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #ifdef STDC_HEADERS | # include <stdlib.h> | # include <stddef.h> | #else | # ifdef HAVE_STDLIB_H | # include <stdlib.h> | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include <memory.h> | # endif | # include <string.h> | #endif | #ifdef HAVE_STRINGS_H | # include <strings.h> | #endif | #ifdef HAVE_INTTYPES_H | # include <inttypes.h> | #endif | #ifdef HAVE_STDINT_H | # include <stdint.h> | #endif | #ifdef HAVE_UNISTD_H | # include <unistd.h> | #endif | | #include <sys/types.h> configure:7535: result: no configure:7535: checking for sys/stat.h configure:7535: /opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc -c -g -O2 conftest.c >&5 conftest.c:11:19: stdio.h: No such file or directory conftest.c:45:22: sys/stat.h: No such file or directory configure:7535: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libsecp256k1" | #define PACKAGE_TARNAME "libsecp256k1" | #define PACKAGE_VERSION "0.1" | #define PACKAGE_STRING "libsecp256k1 0.1" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "libsecp256k1" | #define VERSION "0.1" | /* end confdefs.h. */ | #include <stdio.h> | #ifdef HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #ifdef STDC_HEADERS | # include <stdlib.h> | # include <stddef.h> | #else | # ifdef HAVE_STDLIB_H | # include <stdlib.h> | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include <memory.h> | # endif | # include <string.h> | #endif | #ifdef HAVE_STRINGS_H | # include <strings.h> | #endif | #ifdef HAVE_INTTYPES_H | # include <inttypes.h> | #endif | #ifdef HAVE_STDINT_H | # include <stdint.h> | #endif | #ifdef HAVE_UNISTD_H | # include <unistd.h> | #endif | | #include <sys/stat.h> configure:7535: result: no configure:7535: checking for stdlib.h configure:7535: /opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc -c -g -O2 conftest.c >&5 conftest.c:11:19: stdio.h: No such file or directory conftest.c:45:20: stdlib.h: No such file or directory configure:7535: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libsecp256k1" | #define PACKAGE_TARNAME "libsecp256k1" | #define PACKAGE_VERSION "0.1" | #define PACKAGE_STRING "libsecp256k1 0.1" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "libsecp256k1" | #define VERSION "0.1" | /* end confdefs.h. */ | #include <stdio.h> | #ifdef HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #ifdef STDC_HEADERS | # include <stdlib.h> | # include <stddef.h> | #else | # ifdef HAVE_STDLIB_H | # include <stdlib.h> | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include <memory.h> | # endif | # include <string.h> | #endif | #ifdef HAVE_STRINGS_H | # include <strings.h> | #endif | #ifdef HAVE_INTTYPES_H | # include <inttypes.h> | #endif | #ifdef HAVE_STDINT_H | # include <stdint.h> | #endif | #ifdef HAVE_UNISTD_H | # include <unistd.h> | #endif | | #include <stdlib.h> configure:7535: result: no configure:7535: checking for string.h configure:7535: /opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc -c -g -O2 conftest.c >&5 conftest.c:11:19: stdio.h: No such file or directory conftest.c:45:20: string.h: No such file or directory configure:7535: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libsecp256k1" | #define PACKAGE_TARNAME "libsecp256k1" | #define PACKAGE_VERSION "0.1" | #define PACKAGE_STRING "libsecp256k1 0.1" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "libsecp256k1" | #define VERSION "0.1" | /* end confdefs.h. */ | #include <stdio.h> | #ifdef HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #ifdef STDC_HEADERS | # include <stdlib.h> | # include <stddef.h> | #else | # ifdef HAVE_STDLIB_H | # include <stdlib.h> | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include <memory.h> | # endif | # include <string.h> | #endif | #ifdef HAVE_STRINGS_H | # include <strings.h> | #endif | #ifdef HAVE_INTTYPES_H | # include <inttypes.h> | #endif | #ifdef HAVE_STDINT_H | # include <stdint.h> | #endif | #ifdef HAVE_UNISTD_H | # include <unistd.h> | #endif | | #include <string.h> configure:7535: result: no configure:7535: checking for memory.h configure:7535: /opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc -c -g -O2 conftest.c >&5 conftest.c:11:19: stdio.h: No such file or directory conftest.c:45:20: memory.h: No such file or directory configure:7535: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libsecp256k1" | #define PACKAGE_TARNAME "libsecp256k1" | #define PACKAGE_VERSION "0.1" | #define PACKAGE_STRING "libsecp256k1 0.1" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "libsecp256k1" | #define VERSION "0.1" | /* end confdefs.h. */ | #include <stdio.h> | #ifdef HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #ifdef STDC_HEADERS | # include <stdlib.h> | # include <stddef.h> | #else | # ifdef HAVE_STDLIB_H | # include <stdlib.h> | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include <memory.h> | # endif | # include <string.h> | #endif | #ifdef HAVE_STRINGS_H | # include <strings.h> | #endif | #ifdef HAVE_INTTYPES_H | # include <inttypes.h> | #endif | #ifdef HAVE_STDINT_H | # include <stdint.h> | #endif | #ifdef HAVE_UNISTD_H | # include <unistd.h> | #endif | | #include <memory.h> configure:7535: result: no configure:7535: checking for strings.h configure:7535: /opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc -c -g -O2 conftest.c >&5 conftest.c:11:19: stdio.h: No such file or directory conftest.c:45:21: strings.h: No such file or directory configure:7535: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libsecp256k1" | #define PACKAGE_TARNAME "libsecp256k1" | #define PACKAGE_VERSION "0.1" | #define PACKAGE_STRING "libsecp256k1 0.1" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "libsecp256k1" | #define VERSION "0.1" | /* end confdefs.h. */ | #include <stdio.h> | #ifdef HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #ifdef STDC_HEADERS | # include <stdlib.h> | # include <stddef.h> | #else | # ifdef HAVE_STDLIB_H | # include <stdlib.h> | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include <memory.h> | # endif | # include <string.h> | #endif | #ifdef HAVE_STRINGS_H | # include <strings.h> | #endif | #ifdef HAVE_INTTYPES_H | # include <inttypes.h> | #endif | #ifdef HAVE_STDINT_H | # include <stdint.h> | #endif | #ifdef HAVE_UNISTD_H | # include <unistd.h> | #endif | | #include <strings.h> configure:7535: result: no configure:7535: checking for inttypes.h configure:7535: /opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc -c -g -O2 conftest.c >&5 conftest.c:11:19: stdio.h: No such file or directory conftest.c:45:22: inttypes.h: No such file or directory configure:7535: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libsecp256k1" | #define PACKAGE_TARNAME "libsecp256k1" | #define PACKAGE_VERSION "0.1" | #define PACKAGE_STRING "libsecp256k1 0.1" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "libsecp256k1" | #define VERSION "0.1" | /* end confdefs.h. */ | #include <stdio.h> | #ifdef HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #ifdef STDC_HEADERS | # include <stdlib.h> | # include <stddef.h> | #else | # ifdef HAVE_STDLIB_H | # include <stdlib.h> | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include <memory.h> | # endif | # include <string.h> | #endif | #ifdef HAVE_STRINGS_H | # include <strings.h> | #endif | #ifdef HAVE_INTTYPES_H | # include <inttypes.h> | #endif | #ifdef HAVE_STDINT_H | # include <stdint.h> | #endif | #ifdef HAVE_UNISTD_H | # include <unistd.h> | #endif | | #include <inttypes.h> configure:7535: result: no configure:7535: checking for stdint.h configure:7535: /opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc -c -g -O2 conftest.c >&5 conftest.c:11:19: stdio.h: No such file or directory conftest.c:45:20: stdint.h: No such file or directory configure:7535: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libsecp256k1" | #define PACKAGE_TARNAME "libsecp256k1" | #define PACKAGE_VERSION "0.1" | #define PACKAGE_STRING "libsecp256k1 0.1" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "libsecp256k1" | #define VERSION "0.1" | /* end confdefs.h. */ | #include <stdio.h> | #ifdef HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #ifdef STDC_HEADERS | # include <stdlib.h> | # include <stddef.h> | #else | # ifdef HAVE_STDLIB_H | # include <stdlib.h> | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include <memory.h> | # endif | # include <string.h> | #endif | #ifdef HAVE_STRINGS_H | # include <strings.h> | #endif | #ifdef HAVE_INTTYPES_H | # include <inttypes.h> | #endif | #ifdef HAVE_STDINT_H | # include <stdint.h> | #endif | #ifdef HAVE_UNISTD_H | # include <unistd.h> | #endif | | #include <stdint.h> configure:7535: result: no configure:7535: checking for unistd.h configure:7535: /opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc -c -g -O2 conftest.c >&5 conftest.c:11:19: stdio.h: No such file or directory conftest.c:45:20: unistd.h: No such file or directory configure:7535: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libsecp256k1" | #define PACKAGE_TARNAME "libsecp256k1" | #define PACKAGE_VERSION "0.1" | #define PACKAGE_STRING "libsecp256k1 0.1" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "libsecp256k1" | #define VERSION "0.1" | /* end confdefs.h. */ | #include <stdio.h> | #ifdef HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #ifdef STDC_HEADERS | # include <stdlib.h> | # include <stddef.h> | #else | # ifdef HAVE_STDLIB_H | # include <stdlib.h> | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include <memory.h> | # endif | # include <string.h> | #endif | #ifdef HAVE_STRINGS_H | # include <strings.h> | #endif | #ifdef HAVE_INTTYPES_H | # include <inttypes.h> | #endif | #ifdef HAVE_STDINT_H | # include <stdint.h> | #endif | #ifdef HAVE_UNISTD_H | # include <unistd.h> | #endif | | #include <unistd.h> configure:7535: result: no configure:7549: checking for dlfcn.h configure:7549: /opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc -c -g -O2 conftest.c >&5 conftest.c:11:19: stdio.h: No such file or directory conftest.c:45:19: dlfcn.h: No such file or directory configure:7549: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libsecp256k1" | #define PACKAGE_TARNAME "libsecp256k1" | #define PACKAGE_VERSION "0.1" | #define PACKAGE_STRING "libsecp256k1 0.1" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "libsecp256k1" | #define VERSION "0.1" | /* end confdefs.h. */ | #include <stdio.h> | #ifdef HAVE_SYS_TYPES_H | # include <sys/types.h> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys/stat.h> | #endif | #ifdef STDC_HEADERS | # include <stdlib.h> | # include <stddef.h> | #else | # ifdef HAVE_STDLIB_H | # include <stdlib.h> | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include <memory.h> | # endif | # include <string.h> | #endif | #ifdef HAVE_STRINGS_H | # include <strings.h> | #endif | #ifdef HAVE_INTTYPES_H | # include <inttypes.h> | #endif | #ifdef HAVE_STDINT_H | # include <stdint.h> | #endif | #ifdef HAVE_UNISTD_H | # include <unistd.h> | #endif | | #include <dlfcn.h> configure:7549: result: no configure:7755: checking for objdir configure:7770: result: .libs configure:8041: checking if /opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc supports -fno-rtti -fno-exceptions configure:8059: /opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc -c -g -O2 -fno-rtti -fno-exceptions conftest.c >&5 cc1: warning: "-fno-rtti" is valid for C++ but not for C/ObjC configure:8063: $? = 0 configure:8076: result: no configure:8403: checking for /opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc option to produce PIC configure:8410: result: -fPIC -DPIC configure:8418: checking if /opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc PIC flag -fPIC -DPIC works configure:8436: /opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc -c -g -O2 -fPIC -DPIC -DPIC conftest.c >&5 configure:8440: $? = 0 configure:8453: result: yes configure:8482: checking if /opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc static flag -static works /opt/nfast/gcc/bin/../lib/gcc-lib/strongarm-codesafe-elf/3.3.6/../../../../strongarm-codesafe-elf/bin/ld: warning: cannot find entry symbol _start; defaulting to 0000000000008000 configure:8510: result: yes configure:8525: checking if /opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc supports -c -o file.o configure:8546: /opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc -c -g -O2 -o out/conftest2.o conftest.c >&5 configure:8550: $? = 0 configure:8572: result: yes configure:8580: checking if /opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc supports -c -o file.o configure:8627: result: yes configure:8660: checking whether the /opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc linker (/opt/nfast/gcc/bin/strongarm-codesafe-elf-ld) supports shared libraries configure:9817: result: yes configure:9854: checking whether -lc should be explicitly linked in configure:9862: /opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc -c -g -O2 conftest.c >&5 configure:9865: $? = 0 configure:9880: /opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /bin/grep -lc \>/dev/null 2\>\&1 configure:9883: $? = 1 configure:9897: result: yes configure:10057: checking dynamic linker characteristics configure:10791: result: no configure:10898: checking how to hardcode library paths into programs configure:10923: result: immediate configure:11463: checking whether stripping libraries is possible configure:11468: result: yes configure:11503: checking if libtool supports shared libraries configure:11505: result: no configure:11508: checking whether to build shared libraries configure:11529: result: no configure:11532: checking whether to build static libraries configure:11536: result: yes configure:11585: checking whether make supports nested variables configure:11602: result: yes configure:11625: checking for strongarm-codesafe-elf-pkg-config configure:11658: result: no configure:11668: checking for pkg-config configure:11686: found /usr/bin/pkg-config configure:11698: result: /usr/bin/pkg-config configure:11723: checking pkg-config is at least version 0.9.0 configure:11726: result: yes configure:11738: checking for strongarm-codesafe-elf-ar configure:11768: result: /opt/nfast/gcc/bin/strongarm-codesafe-elf-ar configure:11836: checking for strongarm-codesafe-elf-ranlib configure:11866: result: /opt/nfast/gcc/bin/strongarm-codesafe-elf-ranlib configure:11934: checking for strongarm-codesafe-elf-strip configure:11964: result: /opt/nfast/gcc/bin/strongarm-codesafe-elf-strip configure:12085: checking for gcc configure:12101: found /usr/bin/gcc configure:12112: result: gcc configure:12341: checking for C compiler version configure:12350: gcc --version >&5 gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2 Copyright (C) 2013 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:12361: $? = 0 configure:12350: gcc -v >&5 Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.8.2-19ubuntu1' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.8 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) configure:12361: $? = 0 configure:12350: gcc -V >&5 gcc: error: unrecognized command line option '-V' gcc: fatal error: no input files compilation terminated. configure:12361: $? = 4 configure:12350: gcc -qversion >&5 gcc: error: unrecognized command line option '-qversion' gcc: fatal error: no input files compilation terminated. configure:12361: $? = 4 configure:12365: checking whether we are using the GNU C compiler configure:12393: result: yes configure:12402: checking whether gcc accepts -g configure:12422: /opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc -c -g -O2 conftest.c >&5 configure:12422: $? = 0 configure:12463: result: yes configure:12480: checking for gcc option to accept ISO C89 configure:12559: result: unsupported configure:12581: checking whether gcc understands -c and -o together configure:12618: result: yes configure:12637: checking dependency style of gcc configure:12748: result: gcc3 configure:12768: checking how to run the C preprocessor configure:12799: /opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc -E conftest.c configure:12799: $? = 0 configure:12813: /opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc -E conftest.c conftest.c:12:28: ac_nonexistent.h: No such file or directory configure:12813: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libsecp256k1" | #define PACKAGE_TARNAME "libsecp256k1" | #define PACKAGE_VERSION "0.1" | #define PACKAGE_STRING "libsecp256k1 0.1" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "libsecp256k1" | #define VERSION "0.1" | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:12838: result: gcc -E configure:12858: /opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc -E conftest.c configure:12858: $? = 0 configure:12872: /opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc -E conftest.c conftest.c:12:28: ac_nonexistent.h: No such file or directory configure:12872: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libsecp256k1" | #define PACKAGE_TARNAME "libsecp256k1" | #define PACKAGE_VERSION "0.1" | #define PACKAGE_STRING "libsecp256k1 0.1" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "libsecp256k1" | #define VERSION "0.1" | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:12916: checking for /opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc option to accept ISO C89 configure:12995: result: unsupported configure:13008: error: c89 compiler support required ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=x86_64-unknown-linux-gnu ac_cv_build_prog_CPP='gcc -E' ac_cv_build_prog_cc_g=yes ac_cv_c_compiler_gnu=yes ac_cv_env_CC_set=set ac_cv_env_CC_value=/opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc 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_CRYPTO_CFLAGS_set= ac_cv_env_CRYPTO_CFLAGS_value= ac_cv_env_CRYPTO_LIBS_set= ac_cv_env_CRYPTO_LIBS_value= ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value=-nostdlib ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_PKG_CONFIG_LIBDIR_set= ac_cv_env_PKG_CONFIG_LIBDIR_value= ac_cv_env_PKG_CONFIG_PATH_set= ac_cv_env_PKG_CONFIG_PATH_value= ac_cv_env_PKG_CONFIG_set= ac_cv_env_PKG_CONFIG_value= ac_cv_env_build_alias_set=set ac_cv_env_build_alias_value=x86_64-unknown-linux-gnu ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=strongarm-codesafe-elf ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_header_dlfcn_h=no ac_cv_header_inttypes_h=no ac_cv_header_memory_h=no ac_cv_header_stdc=no ac_cv_header_stdint_h=no ac_cv_header_stdlib_h=no ac_cv_header_string_h=no ac_cv_header_strings_h=no ac_cv_header_sys_stat_h=no ac_cv_header_sys_types_h=no ac_cv_header_unistd_h=no ac_cv_host=arm-codesafe-elf ac_cv_objext=o ac_cv_path_AR=/opt/nfast/gcc/bin/strongarm-codesafe-elf-ar ac_cv_path_EGREP='/bin/grep -E' ac_cv_path_FGREP='/bin/grep -F' ac_cv_path_GREP=/bin/grep ac_cv_path_RANLIB=/opt/nfast/gcc/bin/strongarm-codesafe-elf-ranlib ac_cv_path_SED=/bin/sed ac_cv_path_STRIP=/opt/nfast/gcc/bin/strongarm-codesafe-elf-strip ac_cv_path_ac_pt_PKG_CONFIG=/usr/bin/pkg-config ac_cv_path_install='/usr/bin/install -c' ac_cv_path_mkdir=/bin/mkdir ac_cv_prog_AR=/opt/nfast/gcc/bin/strongarm-codesafe-elf-ar ac_cv_prog_AWK=mawk ac_cv_prog_CC=/opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc ac_cv_prog_CPP='/opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc -E' ac_cv_prog_RANLIB=/opt/nfast/gcc/bin/strongarm-codesafe-elf-ranlib ac_cv_prog_STRIP=/opt/nfast/gcc/bin/strongarm-codesafe-elf-strip ac_cv_prog_ac_ct_CC_FOR_BUILD=gcc ac_cv_prog_ac_ct_MANIFEST_TOOL=mt ac_cv_prog_ac_ct_OBJDUMP=objdump ac_cv_prog_cc_c89=no ac_cv_prog_cc_g=yes ac_cv_prog_make_make_set=yes am_cv_CC_dependencies_compiler_type=gcc3 am_cv_make_support_nested_variables=yes am_cv_prog_cc_c_o=yes lt_cv_ar_at_file=no lt_cv_archive_cmds_need_lc=yes lt_cv_deplibs_check_method=unknown lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= lt_cv_ld_reload_flag=-r lt_cv_nm_interface='BSD nm' lt_cv_objdir=.libs lt_cv_path_LD=/opt/nfast/gcc/bin/strongarm-codesafe-elf-ld lt_cv_path_NM=/opt/nfast/gcc/bin/strongarm-codesafe-elf-nm lt_cv_path_mainfest_tool=no lt_cv_prog_compiler_c_o=yes lt_cv_prog_compiler_pic='-fPIC -DPIC' lt_cv_prog_compiler_pic_works=yes lt_cv_prog_compiler_rtti_exceptions=no lt_cv_prog_compiler_static_works=yes lt_cv_prog_gnu_ld=yes lt_cv_sharedlib_from_linklib_cmd='printf %s\n' lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\''' lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\''' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\''' lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\''' lt_cv_sys_max_cmd_len=3458764513820540925 lt_cv_to_host_file_cmd=func_convert_file_noop lt_cv_to_tool_file_cmd=func_convert_file_noop ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /home/laurence/Projects/BitVault/HSM/gem-hsm/secp256k1/build-aux/missing aclocal-1.14' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='$${TAR-tar}' AM_BACKSLASH='\' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' AM_DEFAULT_VERBOSITY='0' AM_V='$(V)' AR='/opt/nfast/gcc/bin/strongarm-codesafe-elf-ar' AUTOCONF='${SHELL} /home/laurence/Projects/BitVault/HSM/gem-hsm/secp256k1/build-aux/missing autoconf' AUTOHEADER='${SHELL} /home/laurence/Projects/BitVault/HSM/gem-hsm/secp256k1/build-aux/missing autoheader' AUTOMAKE='${SHELL} /home/laurence/Projects/BitVault/HSM/gem-hsm/secp256k1/build-aux/missing automake-1.14' AWK='mawk' BREW='' BUILD_EXEEXT='' BUILD_OBJEXT='' CC='/opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc' CCDEPMODE='depmode=gcc3' CC_FOR_BUILD='gcc' CFLAGS='-g -O2' CFLAGS_FOR_BUILD='-g -O2' CPP='/opt/nfast/gcc/bin/strongarm-codesafe-elf-gcc -E' CPPFLAGS='' CPPFLAGS_FOR_BUILD='' CPP_FOR_BUILD='gcc -E' CRYPTO_CFLAGS='' CRYPTO_LIBS='' CYGPATH_W='echo' DEFS='' DEPDIR='.deps' DLLTOOL='false' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/bin/grep -E' ENABLE_MODULE_ECDH_FALSE='' ENABLE_MODULE_ECDH_TRUE='' ENABLE_MODULE_RECOVERY_FALSE='' ENABLE_MODULE_RECOVERY_TRUE='' ENABLE_MODULE_SCHNORR_FALSE='' ENABLE_MODULE_SCHNORR_TRUE='' EXEEXT='' FGREP='/bin/grep -F' GREP='/bin/grep' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LD='/opt/nfast/gcc/bin/strongarm-codesafe-elf-ld' LDFLAGS='-nostdlib' LDFLAGS_FOR_BUILD='' LIBOBJS='' LIBS='' LIBTOOL='$(SHELL) $(top_builddir)/libtool' LIPO='' LN_S='ln -s' LTLIBOBJS='' MAKEINFO='${SHELL} /home/laurence/Projects/BitVault/HSM/gem-hsm/secp256k1/build-aux/missing makeinfo' MANIFEST_TOOL=':' MKDIR_P='/bin/mkdir -p' NM='/opt/nfast/gcc/bin/strongarm-codesafe-elf-nm' NMEDIT='' OBJDUMP='objdump' OBJEXT='o' OTOOL64='' OTOOL='' PACKAGE='libsecp256k1' PACKAGE_BUGREPORT='' PACKAGE_NAME='libsecp256k1' PACKAGE_STRING='libsecp256k1 0.1' PACKAGE_TARNAME='libsecp256k1' PACKAGE_URL='' PACKAGE_VERSION='0.1' PATH_SEPARATOR=':' PKG_CONFIG='/usr/bin/pkg-config' PKG_CONFIG_LIBDIR='' PKG_CONFIG_PATH='' PORT='' RANLIB='/opt/nfast/gcc/bin/strongarm-codesafe-elf-ranlib' SECP_INCLUDES='' SECP_LIBS='' SECP_TEST_INCLUDES='' SECP_TEST_LIBS='' SED='/bin/sed' SET_MAKE='' SHELL='/bin/bash' STRIP='/opt/nfast/gcc/bin/strongarm-codesafe-elf-strip' USE_BENCHMARK_FALSE='' USE_BENCHMARK_TRUE='' USE_ECMULT_STATIC_PRECOMPUTATION_FALSE='' USE_ECMULT_STATIC_PRECOMPUTATION_TRUE='' USE_TESTS_FALSE='' USE_TESTS_TRUE='' VERSION='0.1' ac_ct_AR='' ac_ct_CC='' ac_ct_CC_FOR_BUILD='gcc' ac_ct_DUMPBIN='' am__EXEEXT_FALSE='' am__EXEEXT_TRUE='' am__fastdepCC_FALSE='#' am__fastdepCC_TRUE='' am__include='include' am__isrc='' am__leading_dot='.' am__nodep='_no' am__quote='' am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' bindir='${exec_prefix}/bin' build='x86_64-unknown-linux-gnu' build_alias='x86_64-unknown-linux-gnu' 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='NONE' host='arm-codesafe-elf' host_alias='strongarm-codesafe-elf' host_cpu='arm' host_os='elf' host_vendor='codesafe' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='${SHELL} /home/laurence/Projects/BitVault/HSM/gem-hsm/secp256k1/build-aux/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' mkdir_p='$(MKDIR_P)' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='NONE' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "libsecp256k1" #define PACKAGE_TARNAME "libsecp256k1" #define PACKAGE_VERSION "0.1" #define PACKAGE_STRING "libsecp256k1 0.1" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "" #define PACKAGE "libsecp256k1" #define VERSION "0.1" #define LT_OBJDIR ".libs/" configure: exit 1
_______________________________________________ Autoconf mailing list Autoconf@xxxxxxx https://lists.gnu.org/mailman/listinfo/autoconf