pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/38659: digest-20080509 build segfaults with internal compiler error



The following reply was made to PR pkg/38659; it has been noted by GNATS.

From: condor <condor2k%googlemail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/38659: digest-20080509 build segfaults with internal compiler 
error
Date: Thu, 15 May 2008 10:25:07 +0200

 On Wednesday 14 May 2008 20:45:01 Joerg Sonnenberger wrote:
 > The following reply was made to PR pkg/38659; it has been noted by GNATS.
 >
 > From: Joerg Sonnenberger <joerg%britannica.bec.de@localhost>
 > To: gnats-bugs%NetBSD.org@localhost
 > Cc:
 > Subject: Re: pkg/38659: digest-20080509 build segfaults with internal
 >      compiler error
 > Date: Wed, 14 May 2008 20:42:19 +0200
 >
 >  On Wed, May 14, 2008 at 01:25:00PM +0000, condor2k%gmail.com@localhost 
 > wrote:
 >  > When trying to build the package for screen it tries to build the
 >  > dependency digest-20080509. This build dies with the following message:
 >
 >  Do you have anything like -qlanglvl=extc89 in your mk.conf?
 >  Can you please provide the config.log, it shouldn't do that.
 >
 >  Joerg
 
 Thanks for your fast reply!
 
 The two request files follow, if you need any additional info please tell me.
 
 No, my /etc/mk.conf only contains those two variables:
 
 # cat /etc/mk.conf
 WRKOBJDIR=/usr/work
 DISTDIR=/usr/distfiles
 
 
 And here goes the config.log:
 
 usr/work/pkgtools/digest/work/digest-20080509/config.log                       
                                 
 <
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
 It was created by nbsd-digest configure 20080509, which was
 generated by GNU Autoconf 2.62.  Invocation command line was
 
   $ ./configure --prefix=/usr/pkg --host=armeb--netbsd --mandir=/usr/pkg/man
 
 ## --------- ##
 ## Platform. ##
 ## --------- ##
 
 hostname = slug1.
 uname -m = evbarm
 uname -r = 4.99.62
 uname -s = NetBSD
 uname -v = NetBSD 4.99.62 (NSLU2_ALL) #0: Tue May 13 15:59:04 CEST 2008  
 condor@black:/home/condor/net/src/sys/arch/evbarm/compile/obj/NSLU2_ALL
 
 /usr/bin/uname -p = armeb
 /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/work/pkgtools/digest/work/.wrapper/bin
 PATH: /usr/work/pkgtools/digest/work/.buildlink/bin
 PATH: /usr/work/pkgtools/digest/work/.gcc/bin
 PATH: /usr/work/pkgtools/digest/work/.tools/bin
 PATH: /usr/pkg/bin
 PATH: /sbin
 PATH: /usr/sbin
 PATH: /bin
 PATH: /usr/bin
 PATH: /usr/pkg/sbin
 PATH: /usr/pkg/bin
 PATH: /usr/X11R6/bin
 PATH: /usr/local/sbin
 PATH: /usr/local/bin
 PATH: /usr/pkg/bin
 PATH: /usr/X11R6/bin
 
 
 ## ----------- ##
 ## Core tests. ##
 ## ----------- ##
 
 configure:1852: checking build system type
 configure:1870: result: armeb-unknown-netbsdelf4.99.62
 configure:1892: checking host system type
 configure:1907: result: armeb--netbsd
 configure:1933: checking whether make sets $(MAKE)
 configure:1955: result: yes
 configure:1968: checking for gawk
 configure:1995: result: /usr/bin/awk
 configure:2014: checking for armeb--netbsd-gcc
 configure:2041: result: cc
 configure:2319: checking for C compiler version
 configure:2327: cc --version >&5
 gcc (GCC) 4.1.3 20080202 prerelease (NetBSD nb1 20080202)
 Copyright (C) 2006 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:2331: $? = 0
 configure:2338: cc -v >&5
 Using built-in specs.
 Target: armeb--netbsdelf
 Configured 
 with: /usr/src/tools/gcc/../../gnu/dist/gcc4/configure --enable-long-long 
--disable-multilib --enable-threads --disable-symvers 
--build=x86_64-unknown-netbsd4.99.52 --host=armeb--netbsdelf 
--target=armeb--netbsdelf --enable-__cxa_atexit
 Thread model: posix
 gcc version 4.1.3 20080202 prerelease (NetBSD nb1 20080202)
 configure:2342: $? = 0
 configure:2349: cc -V >&5
 gcc: couldn't 
 run 
'/usr/bin/armeb--netbsdelf-gcc--I/usr/work/pkgtools/digest/work/.buildlink/include':
 
 No such file or directory
 configure:2353: $? = 1
 configure:2376: checking for C compiler default output file name
 configure:2398: cc -O2  -Wl,-R/usr/pkg/lib conftest.c  >&5
 configure:2402: $? = 0
 configure:2440: result: a.out
 configure:2457: checking whether the C compiler works
 configure:2467: ./a.out
 configure:2471: $? = 0
 configure:2488: result: yes
 configure:2495: checking whether we are cross compiling
 configure:2497: result: no
 configure:2500: checking for suffix of executables
 configure:2507: cc -o conftest -O2  -Wl,-R/usr/pkg/lib conftest.c  >&5
 configure:2511: $? = 0
 configure:2535: result:
 configure:2541: checking for suffix of object files
 configure:2567: cc -c -O2  conftest.c >&5
 configure:2571: $? = 0
 configure:2594: result: o
 configure:2598: checking whether we are using the GNU C compiler
 configure:2627: cc -c -O2  conftest.c >&5
 configure:2634: $? = 0
 configure:2651: result: yes
 configure:2660: checking whether cc accepts -g
 configure:2690: cc -c -g  conftest.c >&5
 configure:2697: $? = 0
 configure:2798: result: yes
 configure:2815: checking for cc option to accept ISO C89
 configure:2889: cc  -c -O2  conftest.c >&5
 conftest.c: In function 'main':
 conftest.c:57: internal compiler error: Segmentation fault
 Please submit a full bug report,
 with preprocessed source if appropriate.
 See <URL:http://www.NetBSD.org/Misc/send-pr.html> for instructions.
 configure:2896: $? = 1
 configure: failed program was:
 | /* confdefs.h.  */
 | #define PACKAGE_NAME "nbsd-digest"
 | #define PACKAGE_TARNAME "nbsd-digest"
 | #define PACKAGE_VERSION "20080509"
 | #define PACKAGE_STRING "nbsd-digest 20080509"
 | #define PACKAGE_BUGREPORT "agc%netbsd.org@localhost"
 | /* end confdefs.h.  */
 | #include <stdarg.h>
 | #include <stdio.h>
 | #include <sys/types.h>
 | #include <sys/stat.h>
 | /* 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:2889: cc -qlanglvl=extc89 -c -O2  conftest.c >&5
 gcc: unrecognized option '-qlanglvl=extc89'
 configure:2896: $? = 0
 configure:2926: result: -qlanglvl=extc89
 configure:2951: checking for a BSD-compatible install
 configure:3019: result: /usr/bin/install -c -o root -g wheel
 configure:3030: checking whether ln -s works
 configure:3034: result: yes
 configure:3053: checking how to run the C preprocessor
 configure:3093: cc -qlanglvl=extc89 -E  conftest.c
 gcc: unrecognized option '-qlanglvl=extc89'
 configure:3100: $? = 0
 configure:3131: cc -qlanglvl=extc89 -E  conftest.c
 gcc: unrecognized option '-qlanglvl=extc89'
 conftest.c:8:28: error: ac_nonexistent.h: No such file or directory
 configure:3138: $? = 1
 configure: failed program was:
 | /* confdefs.h.  */
 | #define PACKAGE_NAME "nbsd-digest"
 | #define PACKAGE_TARNAME "nbsd-digest"
 | #define PACKAGE_VERSION "20080509"
 | #define PACKAGE_STRING "nbsd-digest 20080509"
 | #define PACKAGE_BUGREPORT "agc%netbsd.org@localhost"
 | /* end confdefs.h.  */
 | #include <ac_nonexistent.h>
 configure:3171: result: cc -qlanglvl=extc89 -E
 configure:3200: cc -qlanglvl=extc89 -E  conftest.c
 gcc: unrecognized option '-qlanglvl=extc89'
 configure:3207: $? = 0
 configure:3238: cc -qlanglvl=extc89 -E  conftest.c
 gcc: unrecognized option '-qlanglvl=extc89'
 conftest.c:8:28: error: ac_nonexistent.h: No such file or directory
 configure:3245: $? = 1
 configure: failed program was:
 | /* confdefs.h.  */
 | #define PACKAGE_NAME "nbsd-digest"
 | #define PACKAGE_TARNAME "nbsd-digest"
 | #define PACKAGE_VERSION "20080509"
 | #define PACKAGE_STRING "nbsd-digest 20080509"
 | #define PACKAGE_BUGREPORT "agc%netbsd.org@localhost"
 | /* end confdefs.h.  */
 | #include <ac_nonexistent.h>
 configure:3283: checking for grep that handles long lines and -e
 configure:3343: result: /usr/bin/grep
 configure:3348: checking for egrep
 configure:3412: result: /usr/bin/egrep
 configure:3417: checking for ANSI C header files
 configure:3447: cc -qlanglvl=extc89 -c -O2  conftest.c >&5
 gcc: unrecognized option '-qlanglvl=extc89'
 configure:3454: $? = 0
 gcc: unrecognized option '-qlanglvl=extc89'
 gcc: unrecognized option '-qlanglvl=extc89'
 configure:3553: cc -qlanglvl=extc89 -o conftest -O2  -Wl,-R/usr/pkg/lib 
 conftest.c  >&5
 gcc: unrecognized option '-qlanglvl=extc89'
 configure:3557: $? = 0
 configure:3563: ./conftest
 configure:3567: $? = 0
 configure:3585: result: yes
 configure:3609: checking for sys/types.h
 configure:3630: cc -qlanglvl=extc89 -c -O2  conftest.c >&5
 gcc: unrecognized option '-qlanglvl=extc89'
 configure:3637: $? = 0
 configure:3654: result: yes
 configure:3609: checking for sys/stat.h
 configure:3630: cc -qlanglvl=extc89 -c -O2  conftest.c >&5
 gcc: unrecognized option '-qlanglvl=extc89'
 configure:3637: $? = 0
 configure:3654: result: yes
 configure:3609: checking for stdlib.h
 configure:3630: cc -qlanglvl=extc89 -c -O2  conftest.c >&5
 gcc: unrecognized option '-qlanglvl=extc89'
 configure:3637: $? = 0
 configure:3654: result: yes
 configure:3609: checking for string.h
 configure:3630: cc -qlanglvl=extc89 -c -O2  conftest.c >&5
 gcc: unrecognized option '-qlanglvl=extc89'
 configure:3637: $? = 0
 configure:3654: result: yes
 configure:3609: checking for memory.h
 configure:3630: cc -qlanglvl=extc89 -c -O2  conftest.c >&5
 gcc: unrecognized option '-qlanglvl=extc89'
 configure:3637: $? = 0
 configure:3654: result: yes
 configure:3609: checking for strings.h
 configure:3630: cc -qlanglvl=extc89 -c -O2  conftest.c >&5
 gcc: unrecognized option '-qlanglvl=extc89'
 configure:3637: $? = 0
 configure:3654: result: yes
 configure:3609: checking for inttypes.h
 configure:3630: cc -qlanglvl=extc89 -c -O2  conftest.c >&5
 gcc: unrecognized option '-qlanglvl=extc89'
 configure:3637: $? = 0
 configure:3654: result: yes
 configure:3609: checking for stdint.h
 configure:3630: cc -qlanglvl=extc89 -c -O2  conftest.c >&5
 gcc: unrecognized option '-qlanglvl=extc89'
 configure:3637: $? = 0
 configure:3654: result: yes
 configure:3609: checking for unistd.h
 configure:3630: cc -qlanglvl=extc89 -c -O2  conftest.c >&5
 gcc: unrecognized option '-qlanglvl=extc89'
 configure:3637: $? = 0
 configure:3654: result: yes
 configure:3687: checking errno.h usability
 configure:3704: cc -qlanglvl=extc89 -c -O2  conftest.c >&5
 gcc: unrecognized option '-qlanglvl=extc89'
 configure:3711: $? = 0
 configure:3725: result: yes
 configure:3729: checking errno.h presence
 configure:3744: cc -qlanglvl=extc89 -E  conftest.c
 gcc: unrecognized option '-qlanglvl=extc89'
 configure:3751: $? = 0
 configure:3765: result: yes
 configure:3798: checking for errno.h
 configure:3807: result: yes
 configure:3687: checking fcntl.h usability
 configure:3704: cc -qlanglvl=extc89 -c -O2  conftest.c >&5
 gcc: unrecognized option '-qlanglvl=extc89'
 configure:3711: $? = 0
 configure:3725: result: yes
 configure:3729: checking fcntl.h presence
 configure:3744: cc -qlanglvl=extc89 -E  conftest.c
 gcc: unrecognized option '-qlanglvl=extc89'
 configure:3751: $? = 0
 configure:3765: result: yes
 configure:3798: checking for fcntl.h
 configure:3807: result: yes
 configure:3676: checking for inttypes.h
 configure:3683: result: yes
 configure:3687: checking locale.h usability
 configure:3704: cc -qlanglvl=extc89 -c -O2  conftest.c >&5
 gcc: unrecognized option '-qlanglvl=extc89'
 configure:3711: $? = 0
 configure:3725: result: yes
 configure:3729: checking locale.h presence
 configure:3744: cc -qlanglvl=extc89 -E  conftest.c
 gcc: unrecognized option '-qlanglvl=extc89'
 configure:3751: $? = 0
 configure:3765: result: yes
 configure:3798: checking for locale.h
 configure:3807: result: yes
 configure:3676: checking for stdlib.h
 configure:3683: result: yes
 configure:3839: checking sys/cdefs.h usability
 configure:3856: cc -qlanglvl=extc89 -c -O2  conftest.c >&5
 gcc: unrecognized option '-qlanglvl=extc89'
 configure:3863: $? = 0
 configure:3877: result: yes
 configure:3881: checking sys/cdefs.h presence
 configure:3896: cc -qlanglvl=extc89 -E  conftest.c
 gcc: unrecognized option '-qlanglvl=extc89'
 configure:3903: $? = 0
 configure:3917: result: yes
 configure:3950: checking for sys/cdefs.h
 configure:3959: result: yes
 configure:3839: checking sys/file.h usability
 configure:3856: cc -qlanglvl=extc89 -c -O2  conftest.c >&5
 gcc: unrecognized option '-qlanglvl=extc89'
 configure:3863: $? = 0
 configure:3877: result: yes
 configure:3881: checking sys/file.h presence
 configure:3896: cc -qlanglvl=extc89 -E  conftest.c
 gcc: unrecognized option '-qlanglvl=extc89'
 configure:3903: $? = 0
 configure:3917: result: yes
 configure:3950: checking for sys/file.h
 configure:3959: result: yes
 configure:3839: checking sys/param.h usability
 configure:3856: cc -qlanglvl=extc89 -c -O2  conftest.c >&5
 gcc: unrecognized option '-qlanglvl=extc89'
 configure:3863: $? = 0
 configure:3877: result: yes
 configure:3881: checking sys/param.h presence
 configure:3896: cc -qlanglvl=extc89 -E  conftest.c
 gcc: unrecognized option '-qlanglvl=extc89'
 configure:3903: $? = 0
 configure:3917: result: yes
 configure:3950: checking for sys/param.h
 configure:3959: result: yes
 configure:3975: checking for uint8_t
 configure:4006: cc -qlanglvl=extc89 -c -O2  conftest.c >&5
 gcc: unrecognized option '-qlanglvl=extc89'
 configure:4013: $? = 0
 configure:4034: result: yes
 configure:4052: checking for uint16_t
 configure:4083: cc -qlanglvl=extc89 -c -O2  conftest.c >&5
 gcc: unrecognized option '-qlanglvl=extc89'
 configure:4090: $? = 0
 configure:4111: result: yes
 configure:4125: checking for uint32_t
 configure:4156: cc -qlanglvl=extc89 -c -O2  conftest.c >&5
 gcc: unrecognized option '-qlanglvl=extc89'
 configure:4163: $? = 0
 configure:4184: result: yes
 configure:4202: checking for uint64_t
 configure:4233: cc -qlanglvl=extc89 -c -O2  conftest.c >&5
 gcc: unrecognized option '-qlanglvl=extc89'
 configure:4240: $? = 0
 configure:4261: result: yes
 configure:4280: checking whether byte ordering is bigendian
 configure:4305: cc -qlanglvl=extc89 -c -O2  conftest.c >&5
 gcc: unrecognized option '-qlanglvl=extc89'
 conftest.c:27: error: expected '=', ',', ';', 'asm' or '__attribute__' 
 before 'is'
 configure:4312: $? = 1
 configure: failed program was:
 | /* confdefs.h.  */
 | #define PACKAGE_NAME "nbsd-digest"
 | #define PACKAGE_TARNAME "nbsd-digest"
 | #define PACKAGE_VERSION "20080509"
 | #define PACKAGE_STRING "nbsd-digest 20080509"
 | #define PACKAGE_BUGREPORT "agc%netbsd.org@localhost"
 | #define STDC_HEADERS 1
 | #define HAVE_SYS_TYPES_H 1
 | #define HAVE_SYS_STAT_H 1
 | #define HAVE_STDLIB_H 1
 | #define HAVE_STRING_H 1
 | #define HAVE_MEMORY_H 1
 | #define HAVE_STRINGS_H 1
 | #define HAVE_INTTYPES_H 1
 | #define HAVE_STDINT_H 1
 | #define HAVE_UNISTD_H 1
 | #define HAVE_ERRNO_H 1
 | #define HAVE_FCNTL_H 1
 | #define HAVE_INTTYPES_H 1
 | #define HAVE_LOCALE_H 1
 | #define HAVE_STDLIB_H 1
 | #define HAVE_SYS_CDEFS_H 1
 | #define HAVE_SYS_FILE_H 1
 | #define HAVE_SYS_PARAM_H 1
 | /* end confdefs.h.  */
 | #if ! (defined __BIG_ENDIAN__ || defined __LITTLE_ENDIAN__)
 |              neither is defined;
 |            #endif
 |            typedef int dummy;
 |
 configure:4356: cc -qlanglvl=extc89 -c -O2  conftest.c >&5
 gcc: unrecognized option '-qlanglvl=extc89'
 configure:4363: $? = 0
 configure:4395: cc -qlanglvl=extc89 -c -O2  conftest.c >&5
 gcc: unrecognized option '-qlanglvl=extc89'
 configure:4402: $? = 0
 configure:4654: result: yes
 configure:4676: checking whether strerror_r is declared
 configure:4705: cc -qlanglvl=extc89 -c -O2  conftest.c >&5
 gcc: unrecognized option '-qlanglvl=extc89'
 configure:4712: $? = 0
 configure:4727: result: yes
 configure:4749: checking for strerror_r
 configure:4805: cc -qlanglvl=extc89 -o conftest -O2  -Wl,-R/usr/pkg/lib 
 conftest.c  >&5
 gcc: unrecognized option '-qlanglvl=extc89'
 configure:4812: $? = 0
 configure:4834: result: yes
 configure:4845: checking whether strerror_r returns char *
 configure:4879: cc -qlanglvl=extc89 -c -O2  conftest.c >&5
 gcc: unrecognized option '-qlanglvl=extc89'
 conftest.c: In function 'main':
 conftest.c:67: error: invalid type argument of 'unary *'
 conftest.c:68: warning: initialization makes pointer from integer without a 
 cast
 configure:4886: $? = 1
 configure: failed program was:
 | /* confdefs.h.  */
 | #define PACKAGE_NAME "nbsd-digest"
 | #define PACKAGE_TARNAME "nbsd-digest"
 | #define PACKAGE_VERSION "20080509"
 | #define PACKAGE_STRING "nbsd-digest 20080509"
 | #define PACKAGE_BUGREPORT "agc%netbsd.org@localhost"
 | #define STDC_HEADERS 1
 | #define HAVE_SYS_TYPES_H 1
 | #define HAVE_SYS_STAT_H 1
 | #define HAVE_STDLIB_H 1
 | #define HAVE_STRING_H 1
 | #define HAVE_MEMORY_H 1
 | #define HAVE_STRINGS_H 1
 | #define HAVE_INTTYPES_H 1
 | #define HAVE_STDINT_H 1
 | #define HAVE_UNISTD_H 1
 | #define HAVE_ERRNO_H 1
 | #define HAVE_FCNTL_H 1
 | #define HAVE_INTTYPES_H 1
 | #define HAVE_LOCALE_H 1
 | #define HAVE_STDLIB_H 1
 | #define HAVE_SYS_CDEFS_H 1
 | #define HAVE_SYS_FILE_H 1
 | #define HAVE_SYS_PARAM_H 1
 | #define WORDS_BIGENDIAN 1
 | #define HAVE_DECL_STRERROR_R 1
 | #define HAVE_STRERROR_R 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
 | int
 | main ()
 | {
 |
 |         char buf[100];
 |         char x = *strerror_r (0, buf, sizeof buf);
 |         char *p = strerror_r (0, buf, sizeof buf);
 |         return !p || x;
 |
 |   ;
 |   return 0;
 | }
 configure:4965: result: no
 configure:4979: checking for vprintf
 configure:5035: cc -qlanglvl=extc89 -o conftest -O2  -Wl,-R/usr/pkg/lib 
 conftest.c  >&5
 gcc: unrecognized option '-qlanglvl=extc89'
 conftest.c:52: warning: conflicting types for built-in function 'vprintf'
 configure:5042: $? = 0
 configure:5064: result: yes
 configure:5072: checking for _doprnt
 configure:5128: cc -qlanglvl=extc89 -o conftest -O2  -Wl,-R/usr/pkg/lib 
 conftest.c  >&5
 gcc: unrecognized option '-qlanglvl=extc89'
 /var/tmp//ccgTEUw7.o: In function `main':
 conftest.c:(.text+0xc): undefined reference to `_doprnt'
 configure:5135: $? = 1
 configure: failed program was:
 | /* confdefs.h.  */
 | #define PACKAGE_NAME "nbsd-digest"
 | #define PACKAGE_TARNAME "nbsd-digest"
 | #define PACKAGE_VERSION "20080509"
 | #define PACKAGE_STRING "nbsd-digest 20080509"
 | #define PACKAGE_BUGREPORT "agc%netbsd.org@localhost"
 | #define STDC_HEADERS 1
 | #define HAVE_SYS_TYPES_H 1
 | #define HAVE_SYS_STAT_H 1
 | #define HAVE_STDLIB_H 1
 | #define HAVE_STRING_H 1
 | #define HAVE_MEMORY_H 1
 | #define HAVE_STRINGS_H 1
 | #define HAVE_INTTYPES_H 1
 | #define HAVE_STDINT_H 1
 | #define HAVE_UNISTD_H 1
 | #define HAVE_ERRNO_H 1
 | #define HAVE_FCNTL_H 1
 | #define HAVE_INTTYPES_H 1
 | #define HAVE_LOCALE_H 1
 | #define HAVE_STDLIB_H 1
 | #define HAVE_SYS_CDEFS_H 1
 | #define HAVE_SYS_FILE_H 1
 | #define HAVE_SYS_PARAM_H 1
 | #define WORDS_BIGENDIAN 1
 | #define HAVE_DECL_STRERROR_R 1
 | #define HAVE_STRERROR_R 1
 | #define HAVE_VPRINTF 1
 | /* end confdefs.h.  */
 | /* Define _doprnt to an innocuous variant, in case <limits.h> declares 
 _doprnt.
 |    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 | #define _doprnt innocuous__doprnt
 |
 | /* System header to define __stub macros and hopefully few prototypes,
 |     which can conflict with char _doprnt (); below.
 |     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 |     <limits.h> exists even on freestanding compilers.  */
 |
 | #ifdef __STDC__
 | # include <limits.h>
 | #else
 | # include <assert.h>
 | #endif
 |
 | #undef _doprnt
 |
 | /* 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 _doprnt ();
 | /* 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__doprnt || defined __stub____doprnt
 | choke me
 | #endif
 |
 | int
 | main ()
 | {
 | return _doprnt ();
 |   ;
 |   return 0;
 | }
 configure:5155: result: no
 configure:5177: checking for bcopy
 configure:5233: cc -qlanglvl=extc89 -o conftest -O2  -Wl,-R/usr/pkg/lib 
 conftest.c  >&5
 gcc: unrecognized option '-qlanglvl=extc89'
 conftest.c:53: warning: conflicting types for built-in function 'bcopy'
 configure:5240: $? = 0
 configure:5262: result: yes
 configure:5177: checking for bzero
 configure:5233: cc -qlanglvl=extc89 -o conftest -O2  -Wl,-R/usr/pkg/lib 
 conftest.c  >&5
 gcc: unrecognized option '-qlanglvl=extc89'
 conftest.c:54: warning: conflicting types for built-in function 'bzero'
 configure:5240: $? = 0
 configure:5262: result: yes
 configure:5177: checking for memset
 configure:5233: cc -qlanglvl=extc89 -o conftest -O2  -Wl,-R/usr/pkg/lib 
 conftest.c  >&5
 gcc: unrecognized option '-qlanglvl=extc89'
 conftest.c:55: warning: conflicting types for built-in function 'memset'
 configure:5240: $? = 0
 configure:5262: result: yes
 configure:5177: checking for memcpy
 configure:5233: cc -qlanglvl=extc89 -o conftest -O2  -Wl,-R/usr/pkg/lib 
 conftest.c  >&5
 gcc: unrecognized option '-qlanglvl=extc89'
 conftest.c:56: warning: conflicting types for built-in function 'memcpy'
 configure:5240: $? = 0
 configure:5262: result: yes
 configure:5177: checking for setlocale
 configure:5233: cc -qlanglvl=extc89 -o conftest -O2  -Wl,-R/usr/pkg/lib 
 conftest.c  >&5
 gcc: unrecognized option '-qlanglvl=extc89'
 /var/tmp//ccotWAQY.o: In function `main':
 conftest.c:(.text+0xc): warning: warning: reference to compatibility 
 setlocale(); include <locale.h> for correct reference
 configure:5240: $? = 0
 configure:5262: result: yes
 configure:5381: creating ./config.status
 
 ## ---------------------- ##
 ## Running config.status. ##
 ## ---------------------- ##
 
 This file was extended by nbsd-digest config.status 20080509, which was
 generated by GNU Autoconf 2.62.  Invocation command line was
 
   CONFIG_FILES    =
   CONFIG_HEADERS  =
   CONFIG_LINKS    =
   CONFIG_COMMANDS =
   $ ./config.status
 
 on slug1.
 
 config.status:6233: creating Makefile
 config.status:6383: WARNING:  'Makefile.in' seems to ignore the --datarootdir 
 setting
 config.status:6233: creating config.h
 
 ## ---------------- ##
 ## Cache variables. ##
 ## ---------------- ##
 
 ac_cv_build=armeb-unknown-netbsdelf4.99.62
 ac_cv_c_bigendian=yes
 ac_cv_c_compiler_gnu=yes
 ac_cv_c_uint16_t=yes
 ac_cv_c_uint32_t=yes
 ac_cv_c_uint64_t=yes
 ac_cv_c_uint8_t=yes
 ac_cv_env_CC_set=set
 ac_cv_env_CC_value=cc
 ac_cv_env_CFLAGS_set=set
 ac_cv_env_CFLAGS_value=-O2
 ac_cv_env_CPPFLAGS_set=set
 ac_cv_env_CPPFLAGS_value=
 ac_cv_env_CPP_set=
 ac_cv_env_CPP_value=
 ac_cv_env_LDFLAGS_set=set
 ac_cv_env_LDFLAGS_value=-Wl,-R/usr/pkg/lib
 ac_cv_env_LIBS_set=set
 ac_cv_env_LIBS_value=
 ac_cv_env_build_alias_set=
 ac_cv_env_build_alias_value=
 ac_cv_env_host_alias_set=set
 ac_cv_env_host_alias_value=armeb--netbsd
 ac_cv_env_target_alias_set=
 ac_cv_env_target_alias_value=
 ac_cv_func__doprnt=no
 ac_cv_func_bcopy=yes
 ac_cv_func_bzero=yes
 ac_cv_func_memcpy=yes
 ac_cv_func_memset=yes
 ac_cv_func_setlocale=yes
 ac_cv_func_strerror_r=yes
 ac_cv_func_strerror_r_char_p=no
 ac_cv_func_vprintf=yes
 ac_cv_have_decl_strerror_r=yes
 ac_cv_header_errno_h=yes
 ac_cv_header_fcntl_h=yes
 ac_cv_header_inttypes_h=yes
 ac_cv_header_locale_h=yes
 ac_cv_header_memory_h=yes
 ac_cv_header_stdc=yes
 ac_cv_header_stdint_h=yes
 ac_cv_header_stdlib_h=yes
 ac_cv_header_string_h=yes
 ac_cv_header_strings_h=yes
 ac_cv_header_sys_cdefs_h=yes
 ac_cv_header_sys_file_h=yes
 ac_cv_header_sys_param_h=yes
 ac_cv_header_sys_stat_h=yes
 ac_cv_header_sys_types_h=yes
 ac_cv_header_unistd_h=yes
 ac_cv_host=armeb--netbsd
 ac_cv_objext=o
 ac_cv_path_CAT=/bin/cat
 ac_cv_path_ECHO=echo
 ac_cv_path_EGREP=/usr/bin/egrep
 ac_cv_path_ENV=/usr/bin/env
 ac_cv_path_FALSE=false
 ac_cv_path_GREP=/usr/bin/grep
 ac_cv_path_TEST=test
 ac_cv_path_TRUE=true
 ac_cv_prog_AWK=/usr/bin/awk
 ac_cv_prog_CC=cc
 ac_cv_prog_CPP='cc -qlanglvl=extc89 -E'
 ac_cv_prog_cc_c89='-qlanglvl=extc89'
 ac_cv_prog_cc_g=yes
 ac_cv_prog_make_make_set=yes
 
 ## ----------------- ##
 ## Output variables. ##
 ## ----------------- ##
 
 AUTOCONF='./missing --run autoconf'
 AUTOHEADER='./missing --run autoheader'
 AWK='/usr/bin/awk'
 CANONICAL_HOST='armeb--netbsd'
 CC='cc -qlanglvl=extc89'
 CFLAGS='-O2'
 CPP='cc -qlanglvl=extc89 -E'
 CPPFLAGS=''
 DEFS='-DHAVE_CONFIG_H'
 ECHO_C=''
 ECHO_N='-n'
 ECHO_T=''
 EGREP='/usr/bin/egrep'
 EXEEXT=''
 GREP='/usr/bin/grep'
 INSTALL_DATA='/usr/bin/install -c -o root -g wheel -m 444'
 INSTALL_PROGRAM='/usr/bin/install -c -s -o root -g wheel -m 555'
 INSTALL_SCRIPT='/usr/bin/install -c -o root -g wheel -m 555'
 LDFLAGS='-Wl,-R/usr/pkg/lib'
 LIBOBJS=''
 LIBS=''
 LN_S='ln -s'
 LTLIBOBJS=''
 OBJEXT='o'
 PACKAGE_BUGREPORT='agc%netbsd.org@localhost'
 PACKAGE_NAME='nbsd-digest'
 PACKAGE_STRING='nbsd-digest 20080509'
 PACKAGE_TARNAME='nbsd-digest'
 PACKAGE_VERSION='20080509'
 PATH_SEPARATOR=':'
 SET_MAKE=''
 SHELL='/bin/sh'
 ac_ct_CC=''
 bindir='${exec_prefix}/bin'
 build='armeb-unknown-netbsdelf4.99.62'
 build_alias=''
 build_cpu='armeb'
 build_os='netbsdelf4.99.62'
 build_vendor='unknown'
 datadir='${datarootdir}'
 datarootdir='${prefix}/share'
 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
 dvidir='${docdir}'
 exec_prefix='${prefix}'
 host='armeb--netbsd'
 host_alias='armeb--netbsd'
 host_cpu='armeb'
 host_os='netbsd'
 host_vendor=''
 htmldir='${docdir}'
 includedir='${prefix}/include'
 infodir='${datarootdir}/info'
 libdir='${exec_prefix}/lib'
 libexecdir='${exec_prefix}/libexec'
 localedir='${datarootdir}/locale'
 localstatedir='${prefix}/var'
 mandir='/usr/pkg/man'
 oldincludedir='/usr/include'
 pdfdir='${docdir}'
 prefix='/usr/pkg'
 program_transform_name='s,x,x,'
 psdir='${docdir}'
 sbindir='${exec_prefix}/sbin'
 sharedstatedir='${prefix}/com'
 sysconfdir='${prefix}/etc'
 target_alias=''
 
 ## ----------- ##
 ## confdefs.h. ##
 ## ----------- ##
 
 #define PACKAGE_NAME "nbsd-digest"
 #define PACKAGE_TARNAME "nbsd-digest"
 #define PACKAGE_VERSION "20080509"
 #define PACKAGE_STRING "nbsd-digest 20080509"
 #define PACKAGE_BUGREPORT "agc%netbsd.org@localhost"
 #define STDC_HEADERS 1
 #define HAVE_SYS_TYPES_H 1
 #define HAVE_SYS_STAT_H 1
 #define HAVE_STDLIB_H 1
 #define HAVE_STRING_H 1
 #define HAVE_MEMORY_H 1
 #define HAVE_STRINGS_H 1
 #define HAVE_INTTYPES_H 1
 #define HAVE_STDINT_H 1
 #define HAVE_UNISTD_H 1
 #define HAVE_ERRNO_H 1
 #define HAVE_FCNTL_H 1
 #define HAVE_INTTYPES_H 1
 #define HAVE_LOCALE_H 1
 #define HAVE_STDLIB_H 1
 #define HAVE_SYS_CDEFS_H 1
 #define HAVE_SYS_FILE_H 1
 #define HAVE_SYS_PARAM_H 1
 #define WORDS_BIGENDIAN 1
 #define HAVE_DECL_STRERROR_R 1
 #define HAVE_STRERROR_R 1
 #define HAVE_VPRINTF 1
 #define HAVE_BCOPY 1
 #define HAVE_BZERO 1
 #define HAVE_MEMSET 1
 #define HAVE_MEMCPY 1
 #define HAVE_SETLOCALE 1
 
 configure: exit 0
 


Home | Main Index | Thread Index | Old Index