>>> dmalloc 5.5.2 Extracting gzip -d -c /home/dawncrow/buildroot-test/scripts/instance-0/dl/dmalloc/dmalloc-5.5.2.tgz | tar --strip-components=1 -C /home/dawncrow/buildroot-test/scripts/instance-0/output/build/dmalloc-5.5.2 -xf - >>> dmalloc 5.5.2 Patching Applying 0001-add-fpic.patch using patch: patching file Makefile.in Applying 0002-mips.patch using patch: patching file configure patching file return.h Applying 0003-fix-parallel-build.patch using patch: patching file Makefile.in Applying 0004-fix-shlibs.patch using patch: patching file Makefile.in /bin/sed -i -e 's/^ac_cv_page_size=0$/ac_cv_page_size=12/' /home/dawncrow/buildroot-test/scripts/instance-0/output/build/dmalloc-5.5.2/configure /bin/sed -i -e 's/(ld -/(${LD-ld} -/' /home/dawncrow/buildroot-test/scripts/instance-0/output/build/dmalloc-5.5.2/configure /bin/sed -i -e 's/'\''ld -/"${LD-ld}"'\'' -/' /home/dawncrow/buildroot-test/scripts/instance-0/output/build/dmalloc-5.5.2/configure /bin/sed -i -e 's/ar cr/$(AR) cr/' /home/dawncrow/buildroot-test/scripts/instance-0/output/build/dmalloc-5.5.2/Makefile.in >>> dmalloc 5.5.2 Updating config.sub and config.guess for file in config.guess config.sub; do for i in $(find /home/dawncrow/buildroot-test/scripts/instance-0/output/build/dmalloc-5.5.2 -name $file); do cp support/gnuconfig/$file $i; done; done >>> dmalloc 5.5.2 Patching libtool >>> dmalloc 5.5.2 Configuring (cd /home/dawncrow/buildroot-test/scripts/instance-0/output/build/dmalloc-5.5.2/ && rm -rf config.cache && PATH="/home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin:/home/dawncrow/buildroot-test/scripts/instance-0/output/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games" AR="/home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin/mips-linux-gnu-ar" AS="/home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin/mips-linux-gnu-as" LD="/home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin/mips-linux-gnu-ld" NM="/home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin/mips-linux-gnu-nm" CC="/home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin/mips-linux-gnu-gcc" GCC="/home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin/mips-linux-gnu-gcc" CPP="/home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin/mips-linux-gnu-cpp" CXX="/home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin/mips-linux-gnu-g++" FC="/home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin/mips-linux-gnu-gfortran" F77="/home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin/mips-linux-gnu-gfortran" RANLIB="/home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin/mips-linux-gnu-ranlib" READELF="/home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin/mips-linux-gnu-readelf" STRIP="/home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin/mips-linux-gnu-strip" OBJCOPY="/home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin/mips-linux-gnu-objcopy" OBJDUMP="/home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin/mips-linux-gnu-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/home/dawncrow/buildroot-test/scripts/instance-0/output/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/dawncrow/buildroot-test/scripts/instance-0/output/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/dawncrow/buildroot-test/scripts/instance-0/output/host/include" LDFLAGS_FOR_BUILD="-L/home/dawncrow/buildroot-test/scripts/instance-0/output/host/lib -Wl,-rpath,/home/dawncrow/buildroot-test/scripts/instance-0/output/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin/mips-linux-gnu-as" DEFAULT_LINKER="/home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin/mips-linux-gnu-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 " LDFLAGS="" FCFLAGS=" -O2 " FFLAGS=" -O2 " PKG_CONFIG="/home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin/pkg-config" STAGING_DIR="/home/dawncrow/buildroot-test/scripts/instance-0/output/host/mips64el-buildroot-linux-gnu/sysroot" INTLTOOL_PERL=/usr/bin/perl ac_cv_lbl_unaligned_fail=yes ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_memcmp_working=yes ac_cv_have_decl_malloc=yes gl_cv_func_malloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_calloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes lt_cv_sys_lib_search_path_spec="" ac_cv_c_bigendian=no CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 " CONFIG_SITE=/dev/null ./configure --target=mips64el-buildroot-linux-gnu --host=mips64el-buildroot-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix="" --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --disable-static --enable-shared --enable-shlib --enable-cxx --enable-threads ) configure: loading site script /dev/null configure: configurations for the dmalloc library configure: build utilities checking for mips64el-buildroot-linux-gnu-gcc... /home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin/mips-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... yes checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin/mips-linux-gnu-gcc accepts -g... yes checking for /home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin/mips-linux-gnu-gcc option to accept ANSI C... none needed checking for mips64el-buildroot-linux-gnu-g++... /home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin/mips-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether /home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin/mips-linux-gnu-g++ accepts -g... yes checking for a BSD-compatible install... /usr/bin/install -c checking for mips64el-buildroot-linux-gnu-ranlib... /home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin/mips-linux-gnu-ranlib checking for an ANSI C-conforming const... yes checking how to run the C preprocessor... /home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin/mips-linux-gnu-cpp checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/types.h... (cached) yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking shared library link args... /home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin/mips-linux-gnu-ld -G -o $@.t checking shared library extension... so checking C++ support... enabled checking thread support... enabled checking shlib support... enabled checking for size_t... yes checking dmalloc size unsigned... no checking strdup macro... no checking for mprotect... yes checking mprotect works... yes configure: important functionality checking for mmap... yes checking for sbrk... yes checking mmap usage... no checking for getpagesize... yes checking basic-block size... 12 checking for long... yes checking size of long... 8 checking data-alignment size... 8 checking for abort... yes checking abort safe... no checking return type of signal handlers... void checking signal works... checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes yes checking for getenv... yes checking getenv safe... yes checking sys/cygwin.h usability... no checking sys/cygwin.h presence... no checking for sys/cygwin.h... no checking w32api/windef.h usability... no checking w32api/windef.h presence... no checking for w32api/windef.h... no checking for w32api/winbase.h... no checking for GetEnvironmentVariableA... yes checking constructor attribute... yes checking destructor attribute... yes checking return.h macros work... no checking if ident works... yes configure: pthread particulars checking for library containing pthread_mutex_init... none required checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking pthreads.h usability... no checking pthreads.h presence... no checking for pthreads.h... no checking for pthread_mutex_init... yes checking for pthread_mutex_lock... yes checking for pthread_mutex_unlock... yes checking pthread mutex type... pthread_mutex_t checking pthread attribute initialization... 0 configure: functions checking for atexit... yes checking for on_exit... yes checking for fork... yes checking for gethostname... yes checking for getpid... yes checking for getuid... yes checking for time... yes checking for ctime... yes checking for vprintf... yes checking for snprintf... yes checking for vsnprintf... yes checking for recalloc... no checking for memalign... yes checking for valloc... yes checking for memcmp... yes checking for memcpy... yes checking for memmove... yes checking for memset... yes checking for strchr... yes checking for strrchr... yes checking for strlen... yes checking for strcmp... yes checking for strcpy... yes checking for strsep... yes configure: various functions for argv files checking for atoi... yes checking for atol... yes checking for getenv... (cached) yes checking for strchr... (cached) yes checking for strcmp... (cached) yes checking for strcpy... (cached) yes checking for strlen... (cached) yes checking for strncmp... yes checking for strncpy... yes checking for strsep... (cached) yes configure: various functions for argument checking checking for atoi... (cached) yes checking for atol... (cached) yes checking for bcmp... yes checking for bcopy... yes checking for bzero... yes checking for index... yes checking for memccpy... yes checking for memchr... yes checking for memcmp... (cached) yes checking for memcpy... (cached) yes checking for memmove... (cached) yes checking for memset... (cached) yes checking for rindex... yes checking for strcasecmp... yes checking for strcat... yes checking for strchr... (cached) yes checking for strcmp... (cached) yes checking for strcpy... (cached) yes checking for strcspn... yes checking for strlen... (cached) yes checking for strncasecmp... yes checking for strncat... yes checking for strncmp... (cached) yes checking for strncpy... (cached) yes checking for strpbrk... yes checking for strrchr... (cached) yes checking for strspn... yes checking for strstr... yes checking for strtok... yes configure: creating ./config.status config.status: creating Makefile config.status: creating conf.h config.status: executing dmalloc.h.2 commands config.status: executing settings.h commands configure: configure: Please check-out Makefile and conf.h to make sure that configure: sane configuration values were a result. configure: configure: You may want to change values in settings.h before configure: running 'make'. configure: configure: To run the basic library tests, you can execute: configure: make light configure: or configure: make heavy configure: >>> dmalloc 5.5.2 Building PATH="/home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin:/home/dawncrow/buildroot-test/scripts/instance-0/output/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games" /usr/bin/make -j6 -C /home/dawncrow/buildroot-test/scripts/instance-0/output/build/dmalloc-5.5.2/ make[1]: Entering directory `/home/dawncrow/buildroot-test/scripts/instance-0/output/build/dmalloc-5.5.2' rm -f dmalloc.h dmalloc.h.t rm -f dmalloc_rand.o cat ./dmalloc.h.1 dmalloc.h.2 ./dmalloc.h.3 > dmalloc.h.t /home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin/mips-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -fPIC -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_W32API_WINBASE_H=0 -DHAVE_W32API_WINDEF_H=0 -DHAVE_SYS_CYGWIN_H=0 -DHAVE_SIGNAL_H=1 -I. -I. -c dmalloc_rand.c -o ./dmalloc_rand.o rm -f dmalloc_argv.o /home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin/mips-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -fPIC -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_W32API_WINBASE_H=0 -DHAVE_W32API_WINDEF_H=0 -DHAVE_SYS_CYGWIN_H=0 -DHAVE_SIGNAL_H=1 -I. -I. -c dmalloc_argv.c -o ./dmalloc_argv.o mv dmalloc.h.t dmalloc.h rm -f arg_check.o rm -f compat.o /home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin/mips-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -fPIC -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_W32API_WINBASE_H=0 -DHAVE_W32API_WINDEF_H=0 -DHAVE_SYS_CYGWIN_H=0 -DHAVE_SIGNAL_H=1 -I. -I. -c arg_check.c -o ./arg_check.o /home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin/mips-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -fPIC -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_W32API_WINBASE_H=0 -DHAVE_W32API_WINDEF_H=0 -DHAVE_SYS_CYGWIN_H=0 -DHAVE_SIGNAL_H=1 -I. -I. -c compat.c -o ./compat.o rm -f dmalloc_tab.o rm -f env.o /home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin/mips-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -fPIC -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_W32API_WINBASE_H=0 -DHAVE_W32API_WINDEF_H=0 -DHAVE_SYS_CYGWIN_H=0 -DHAVE_SIGNAL_H=1 -I. -I. -c dmalloc_tab.c -o ./dmalloc_tab.o /home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin/mips-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -fPIC -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_W32API_WINBASE_H=0 -DHAVE_W32API_WINDEF_H=0 -DHAVE_SYS_CYGWIN_H=0 -DHAVE_SIGNAL_H=1 -I. -I. -c env.c -o ./env.o rm -f heap.o /home/dawncrow/buildroot-test/scripts/instance-0/output/host/bin/mips-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -fPIC -DHAVE_STDARG_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_W32API_WINBASE_H=0 -DHAVE_W32API_WINDEF_H=0 -DHAVE_SYS_CYGWIN_H=0 -DHAVE_SIGNAL_H=1 -I. -I. -c heap.c -o ./heap.o In file included from /home/dawncrow/buildroot-test/scripts/instance-0/output/host/mips64el-buildroot-linux-gnu/sysroot/usr/include/string.h:630:0, from arg_check.c:33: dmalloc.h:460:7: error: expected identifier or '(' before '__extension__' char *strdup(const char *string); ^ dmalloc.h:484:7: error: expected identifier or '(' before '__extension__' char *strndup(const char *string, const DMALLOC_SIZE len); ^ In file included from /home/dawncrow/buildroot-test/scripts/instance-0/output/host/mips64el-buildroot-linux-gnu/sysroot/usr/include/string.h:630:0, from dmalloc_tab.c:35: dmalloc.h:460:7: error: expected identifier or '(' before '__extension__' char *strdup(const char *string); ^ dmalloc.h:484:7: error: expected identifier or '(' before '__extension__' char *strndup(const char *string, const DMALLOC_SIZE len); ^ In file included from /home/dawncrow/buildroot-test/scripts/instance-0/output/host/mips64el-buildroot-linux-gnu/sysroot/usr/include/string.h:630:0, from env.c:35: dmalloc.h:460:7: error: expected identifier or '(' before '__extension__' char *strdup(const char *string); ^ dmalloc.h:484:7: error: expected identifier or '(' before '__extension__' char *strndup(const char *string, const DMALLOC_SIZE len); ^ make[1]: *** [dmalloc_tab.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [arg_check.o] Error 1 make[1]: *** [env.o] Error 1 make[1]: Leaving directory `/home/dawncrow/buildroot-test/scripts/instance-0/output/build/dmalloc-5.5.2' make: *** [/home/dawncrow/buildroot-test/scripts/instance-0/output/build/dmalloc-5.5.2/.stamp_built] Error 2 make: Leaving directory `/home/dawncrow/buildroot-test/scripts/instance-0/buildroot'