[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: current darwin14 gnulib results
From: |
Pádraig Brady |
Subject: |
Re: current darwin14 gnulib results |
Date: |
Sun, 31 May 2015 19:42:56 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 |
On 31/05/15 18:50, Jack Howarth wrote:
> Pádraig,
> Here on x86_64-apple-darwin14, testing current gnulib git with...
>
> GNULIB_CHECKOUT=`pwd`
> ${GNULIB_CHECKOUT}/gnulib-tool --create-testdir --dir=/tmp/testdir
> --with-tests --single-configure $(${GNULIB_CHECKOUT}/posix-modules)
>
> then in /tmp/testdir....
>
> ./configure CPPFLAGS="-Wall"
>
> at this point 'make' fails with...
>
> depbase=`echo test-stdnoreturn.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
> gcc -DHAVE_CONFIG_H -I. -I.. -DGNULIB_STRICT_CHECKING=1
> -DIN_GNULIB_TESTS=1 -I. -I. -I.. -I./.. -I../gllib -I./../gllib -Wall
> -g -O2 -MT test-stdnoreturn.o -MD -MP -MF $depbase.Tpo -c -o
> test-stdnoreturn.o test-stdnoreturn.c &&\
> mv -f $depbase.Tpo $depbase.Po
> In file included from test-stdnoreturn.c:23:
> In file included from ../gllib/stdlib.h:36:
> /usr/include/stdlib.h:128:19: error: use of undeclared identifier
> '__noreturn__'
> void abort(void) __dead2;
> ^
> /usr/include/sys/cdefs.h:135:33: note: expanded from macro '__dead2'
> #define __dead2 __attribute__((noreturn))
> ^
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.1.0/include/stdnoreturn.h:27:18:
> note:
> expanded from macro 'noreturn'
> #define noreturn _Noreturn
> ^
> ../config.h:4271:37: note: expanded from macro '_Noreturn'
> # define _Noreturn __attribute__ ((__noreturn__))
> ^
> In file included from test-stdnoreturn.c:23:
> In file included from ../gllib/stdlib.h:36:
> /usr/include/stdlib.h:142:17: error: use of undeclared identifier
> '__noreturn__'
> void exit(int) __dead2;
> ^
> /usr/include/sys/cdefs.h:135:33: note: expanded from macro '__dead2'
> #define __dead2 __attribute__((noreturn))
> ^
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.1.0/include/stdnoreturn.h:27:18:
> note:
> expanded from macro 'noreturn'
> #define noreturn _Noreturn
> ^
> ../config.h:4271:37: note: expanded from macro '_Noreturn'
> # define _Noreturn __attribute__ ((__noreturn__))
> ^
> In file included from test-stdnoreturn.c:23:
> In file included from ../gllib/stdlib.h:36:
> /usr/include/stdlib.h:182:17: error: use of undeclared identifier
> '__noreturn__'
> void _Exit(int) __dead2;
> ^
> /usr/include/sys/cdefs.h:135:33: note: expanded from macro '__dead2'
> #define __dead2 __attribute__((noreturn))
> ^
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.1.0/include/stdnoreturn.h:27:18:
> note:
> expanded from macro 'noreturn'
> #define noreturn _Noreturn
> ^
> ../config.h:4271:37: note: expanded from macro '_Noreturn'
> # define _Noreturn __attribute__ ((__noreturn__))
> ^
> In file included from test-stdnoreturn.c:23:
> In file included from ../gllib/stdlib.h:96:
> In file included from ../gllib/unistd.h:40:
> /usr/include/unistd.h:424:18: error: use of undeclared identifier
> '__noreturn__'
> void _exit(int) __dead2;
> ^
> /usr/include/sys/cdefs.h:135:33: note: expanded from macro '__dead2'
> #define __dead2 __attribute__((noreturn))
> ^
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.1.0/include/stdnoreturn.h:27:18:
> note:
> expanded from macro 'noreturn'
> #define noreturn _Noreturn
> ^
> ../config.h:4271:37: note: expanded from macro '_Noreturn'
> # define _Noreturn __attribute__ ((__noreturn__))
> ^
> In file included from test-stdnoreturn.c:23:
> In file included from ../gllib/stdlib.h:96:
> In file included from ../gllib/unistd.h:40:
> In file included from /usr/include/unistd.h:633:
> In file included from ../gllib/sys/select.h:108:
> In file included from ../gllib/signal.h:67:
> In file included from ../gllib/pthread.h:30:
> /usr/include/pthread.h:323:27: error: use of undeclared identifier
> '__noreturn__'
> void pthread_exit(void *) __dead2;
> ^
> /usr/include/sys/cdefs.h:135:33: note: expanded from macro '__dead2'
> #define __dead2 __attribute__((noreturn))
> ^
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.1.0/include/stdnoreturn.h:27:18:
> note:
> expanded from macro 'noreturn'
> #define noreturn _Noreturn
> ^
> ../config.h:4271:37: note: expanded from macro '_Noreturn'
> # define _Noreturn __attribute__ ((__noreturn__))
> ^
> In file included from test-stdnoreturn.c:23:
> In file included from ../gllib/stdlib.h:96:
> In file included from ../gllib/unistd.h:40:
> /usr/include/unistd.h:640:18: error: use of undeclared identifier
> '__noreturn__'
> void _Exit(int) __dead2;
> ^
> /usr/include/sys/cdefs.h:135:33: note: expanded from macro '__dead2'
> #define __dead2 __attribute__((noreturn))
> ^
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.1.0/include/stdnoreturn.h:27:18:
> note:
> expanded from macro 'noreturn'
> #define noreturn _Noreturn
> ^
> ../config.h:4271:37: note: expanded from macro '_Noreturn'
> # define _Noreturn __attribute__ ((__noreturn__))
> ^
> 6 errors generated.
> Makefile:7950: recipe for target 'test-stdnoreturn.o' failed
>
> which requires the change I previously mentioned of....
>
> diff --git a/tests/test-stdnoreturn.c b/tests/test-stdnoreturn.c
> index fed7054..43d5d3c 100644
> --- a/tests/test-stdnoreturn.c
> +++ b/tests/test-stdnoreturn.c
> @@ -18,6 +18,8 @@
>
> #include <config.h>
>
> +#include <unistd.h>
> +
> #include <stdnoreturn.h>
>
> #include <stdlib.h>
>
> This allows 'make' to complete on darwin14. The linkat failures are
> now eliminated during 'make -k check' but I am still seeing the
> following failures...
>
> ../build-aux/test-driver: line 107: 80381 Abort trap: 6 "$@"
>> $log_file 2>&1
> FAIL: test-getlogin_r
> ../build-aux/test-driver: line 107: 80388 Abort trap: 6 "$@"
>> $log_file 2>&1
> FAIL: test-getopt
> FAIL: test-poll
> ../build-aux/test-driver: line 107: 81952 Abort trap: 6 "$@"
>> $log_file 2>&1
> FAIL: test-snprintf-posix
> ../build-aux/test-driver: line 107: 81977 Abort trap: 6 "$@"
>> $log_file 2>&1
> FAIL: test-sprintf-posix
> ../build-aux/test-driver: line 107: 82683 Abort trap: 6 "$@"
>> $log_file 2>&1
> FAIL: test-vsnprintf-posix
> ../build-aux/test-driver: line 107: 82695 Abort trap: 6 "$@"
>> $log_file 2>&1
> FAIL: test-vsprintf-posix
None of the above are used on coreutils.
I may get a chance to look at these, but not immediately,
and would appreciate if others with access to OS X yosemite
could investigate.
thanks,
Pádraig.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: current darwin14 gnulib results,
Pádraig Brady <=