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
pgp6R_tb4cMha.pgp
Description: PGP signature
------------------------------------------------------------------------------
_______________________________________________ Strace-devel mailing list Strace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/strace-devel