strace config test failures
Dmitry V. Levin
ldv at altlinux.org
Mon Aug 29 11:13:07 UTC 2016
Hi,
On Fri, Aug 26, 2016 at 01:31:55PM -0700, Vineet Gupta wrote:
> Hi,
>
> I was trying to cross build strace tip for ARC which was failing in weird ways -
> running bootstrap cured it.
>
> However in the process - when starring at config.log I see a lot config test
> failures (even when configuring for host x86_64)
>
> --------->8------
> configure:7208: gcc -c -g -O2 conftest.c >&5
> conftest.c: In function 'main':
> conftest.c:66:21: error: expected expression before ')' token
> if (sizeof ((mode_t)))
> ^
> configure:7208: $? = 1
> configure: failed program was:
> --------->8------
This is AC_TYPE_MODE_T autoconf macro, it results to
checking for mode_t... yes
on all systems where I've tried to build strace.
> It seems there is an extra set of parentheses which causes this.... I mean those
> tests would pass otherwise
> Is this expected, are others seeing this too.... Is this due to Ubuntu host 16.04
>
> gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.2)
> autoconf (GNU Autoconf) 2.69
--
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20160829/f26f996c/attachment.bin>
More information about the Strace-devel
mailing list