* yacc/flex/bison (?) regression since 2.1.13 (solaris 11 x86_64) - ../exp/*
@ 2014-10-30 15:40 Robin P. Blanchard
2014-10-30 16:13 ` Jens Axboe
0 siblings, 1 reply; 3+ messages in thread
From: Robin P. Blanchard @ 2014-10-30 15:40 UTC (permalink / raw)
To: fio@vger.kernel.org
Hi there.
The introduction of ../exp/* seems to have broken compilation on Solaris 11. Please let me know how I can help work through this.
Thanks in advance!
# pkg info entire |egrep 'Version|FMRI'
Version: 0.5.11 (Oracle Solaris 11.2.3.5.0)
FMRI: pkg://solaris/entire@0.5.11,5.11-0.175.2.3.0.5.0:20141019T181440Z
** GIT
# make
Makefile:14: config-host.mak: No such file or directory
FIO_VERSION = fio-2.1.13-109-ga1f8
Running configure for you...
Operating system SunOS
CPU x86_64
Big endian no
Compiler gcc
Cross compile no
Wordsize 32
zlib yes
Linux AIO support no
POSIX AIO support yes
POSIX AIO support needs -lrt no
POSIX AIO fsync yes
Solaris AIO support yes
__sync_fetch_and_add yes
libverbs yes
rdmacm yes
Linux fallocate no
POSIX fadvise yes
POSIX fallocate yes
sched_setaffinity(3 arg) no
sched_setaffinity(2 arg) no
clock_gettime yes
CLOCK_MONOTONIC yes
CLOCK_MONOTONIC_PRECISE no
gettimeofday yes
fdatasync yes
sync_file_range no
EXT4 move extent no
Linux splice(2) no
GUASI no
Fusion-io atomic engine no
libnuma no
strsep yes
strcasestr yes
getopt_long_only() yes
inet_aton yes
socklen_t yes
__thread yes
RUSAGE_THREAD no
SCHED_IDLE no
TCP_NODELAY yes
Net engine window_size yes
TCP_MAXSEG yes
RLIMIT_MEMLOCK no
pwritev/preadv no
IPv6 helpers yes
Rados Block Device engine no
setvbuf yes
Gluster API engine no
s390_z196_facilities no
HDFS engine no
lex/yacc for arithmetic yes
CC gettime.o
CC ioengines.o
CC init.o
CC stat.o
CC log.o
CC time.o
CC filesetup.o
CC eta.o
CC verify.o
CC memory.o
CC io_u.o
LEX lex.yy.c
"exp/expression-parser.l":line 166: Warning: Non-portable Character Class
YACC y.tab.c
CC lex.yy.o
exp/expression-parser.l:43:37: error: conflicting types for �yyunput�
lex.yy.c:31:7: note: previous declaration of �yyunput� was here
exp/expression-parser.l:44:46: error: macro "input" passed 1 arguments, but takes just 0
exp/expression-parser.l: In function �yylex�:
exp/expression-parser.l:61:1: warning: label �yyfussy� defined but not used
exp/expression-parser.l:54:22: warning: unused variable �yyprevious�
exp/expression-parser.l: At top level:
exp/expression-parser.l:297:1: warning: missing braces around initializer
exp/expression-parser.l:297:1: warning: (near initialization for �yycrank[0]�)
exp/expression-parser.l:376:1: warning: missing braces around initializer
exp/expression-parser.l:376:1: warning: (near initialization for �yysvec[0]�)
exp/expression-parser.l:714:6: error: conflicting types for �yyunput�
exp/expression-parser.l:43:37: note: previous declaration of �yyunput� was here
make: *** [lex.yy.o] Error 1
** 2.1.13
# make
Makefile:14: config-host.mak: No such file or directory
FIO_VERSION = fio-2.1.13
Running configure for you...
Operating system SunOS
CPU x86_64
Big endian no
Compiler gcc
Cross compile no
Wordsize 32
zlib yes
Linux AIO support no
POSIX AIO support yes
POSIX AIO support needs -lrt no
POSIX AIO fsync yes
Solaris AIO support yes
__sync_fetch_and_add yes
libverbs yes
rdmacm yes
Linux fallocate no
POSIX fadvise yes
POSIX fallocate yes
sched_setaffinity(3 arg) no
sched_setaffinity(2 arg) no
clock_gettime yes
CLOCK_MONOTONIC yes
CLOCK_MONOTONIC_PRECISE no
gettimeofday yes
fdatasync yes
sync_file_range no
EXT4 move extent no
Linux splice(2) no
GUASI no
Fusion-io atomic engine no
libnuma no
strsep yes
strcasestr yes
getopt_long_only() yes
inet_aton yes
socklen_t yes
__thread yes
gtk 2.18 or higher no
RUSAGE_THREAD no
SCHED_IDLE no
TCP_NODELAY yes
RLIMIT_MEMLOCK no
pwritev/preadv no
IPv6 helpers yes
Rados Block Device engine no
setvbuf yes
Gluster API engine no
Gluster API use fadvise no
s390_z196_facilities no
HDFS engine no
lex/yacc for arithmetic yes
CC gettime.o
CC ioengines.o
CC init.o
CC stat.o
CC log.o
CC time.o
CC filesetup.o
CC eta.o
CC verify.o
CC memory.o
CC io_u.o
LEX lex.yy.c
"exp/expression-parser.l":line 160: Warning: Non-portable Character Class
YACC y.tab.c
/usr/bin/yacc: illegal option -- no-lines
Usage: yacc [-vVdltY] [-Q(y/n)] [-b file_prefix] [-p sym_prefix] [-P parser] file
make: *** [y.tab.c] Error 1
** 2.1.13 Makefile edited to reflect change from commit de06a46881e1a8876b5fd1de5e002d6189a90a30:
- $(QUIET_YACC)$(YACC) --no-lines -d -b y exp/expression-parser.y
+ $(QUIET_YACC)$(YACC) -l -d -b y exp/expression-parser.y
# make
Makefile:14: config-host.mak: No such file or directory
FIO_VERSION = fio-2.1.13
Running configure for you...
Operating system SunOS
CPU x86_64
Big endian no
Compiler gcc
Cross compile no
Wordsize 32
zlib yes
Linux AIO support no
POSIX AIO support yes
POSIX AIO support needs -lrt no
POSIX AIO fsync yes
Solaris AIO support yes
__sync_fetch_and_add yes
libverbs yes
rdmacm yes
Linux fallocate no
POSIX fadvise yes
POSIX fallocate yes
sched_setaffinity(3 arg) no
sched_setaffinity(2 arg) no
clock_gettime yes
CLOCK_MONOTONIC yes
CLOCK_MONOTONIC_PRECISE no
gettimeofday yes
fdatasync yes
sync_file_range no
EXT4 move extent no
Linux splice(2) no
GUASI no
Fusion-io atomic engine no
libnuma no
strsep yes
strcasestr yes
getopt_long_only() yes
inet_aton yes
socklen_t yes
__thread yes
GUASI no
Fusion-io atomic engine no
libnuma no
strsep yes
strcasestr yes
getopt_long_only() yes
inet_aton yes
socklen_t yes
__thread yes
gtk 2.18 or higher no
RUSAGE_THREAD no
SCHED_IDLE no
TCP_NODELAY yes
RLIMIT_MEMLOCK no
pwritev/preadv no
IPv6 helpers yes
Rados Block Device engine no
setvbuf yes
Gluster API engine no
Gluster API use fadvise no
s390_z196_facilities no
HDFS engine no
lex/yacc for arithmetic yes
CC gettime.o
CC ioengines.o
CC init.o
CC stat.o
CC log.o
CC time.o
CC filesetup.o
CC eta.o
CC verify.o
CC memory.o
CC io_u.o
LEX lex.yy.c
"exp/expression-parser.l":line 160: Warning: Non-portable Character Class
YACC y.tab.c
"exp/expression-parser.y", line 66: fatal: invalid escape, or illegal reserved word: parse
make: *** [y.tab.c] Error 1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: yacc/flex/bison (?) regression since 2.1.13 (solaris 11 x86_64) - ../exp/*
2014-10-30 15:40 yacc/flex/bison (?) regression since 2.1.13 (solaris 11 x86_64) - ../exp/* Robin P. Blanchard
@ 2014-10-30 16:13 ` Jens Axboe
2014-10-30 16:52 ` Robin P. Blanchard
0 siblings, 1 reply; 3+ messages in thread
From: Jens Axboe @ 2014-10-30 16:13 UTC (permalink / raw)
To: Robin P. Blanchard, fio@vger.kernel.org, stephen Cameron
On 10/30/2014 09:40 AM, Robin P. Blanchard wrote:
> Hi there.
>
> The introduction of ../exp/* seems to have broken compilation on Solaris 11. Please let me know how I can help work through this.
>
> Thanks in advance!
>
>
> # pkg info entire |egrep 'Version|FMRI'
> Version: 0.5.11 (Oracle Solaris 11.2.3.5.0)
> FMRI: pkg://solaris/entire@0.5.11,5.11-0.175.2.3.0.5.0:20141019T181440Z
>
>
> ** GIT
>
> # make
> Makefile:14: config-host.mak: No such file or directory
> FIO_VERSION = fio-2.1.13-109-ga1f8
> Running configure for you...
> Operating system SunOS
> CPU x86_64
> Big endian no
> Compiler gcc
> Cross compile no
>
> Wordsize 32
> zlib yes
> Linux AIO support no
> POSIX AIO support yes
> POSIX AIO support needs -lrt no
> POSIX AIO fsync yes
> Solaris AIO support yes
> __sync_fetch_and_add yes
> libverbs yes
> rdmacm yes
> Linux fallocate no
> POSIX fadvise yes
> POSIX fallocate yes
> sched_setaffinity(3 arg) no
> sched_setaffinity(2 arg) no
> clock_gettime yes
> CLOCK_MONOTONIC yes
> CLOCK_MONOTONIC_PRECISE no
> gettimeofday yes
> fdatasync yes
> sync_file_range no
> EXT4 move extent no
> Linux splice(2) no
> GUASI no
> Fusion-io atomic engine no
> libnuma no
> strsep yes
> strcasestr yes
> getopt_long_only() yes
> inet_aton yes
> socklen_t yes
> __thread yes
> RUSAGE_THREAD no
> SCHED_IDLE no
> TCP_NODELAY yes
> Net engine window_size yes
> TCP_MAXSEG yes
> RLIMIT_MEMLOCK no
> pwritev/preadv no
> IPv6 helpers yes
> Rados Block Device engine no
> setvbuf yes
> Gluster API engine no
> s390_z196_facilities no
> HDFS engine no
> lex/yacc for arithmetic yes
> CC gettime.o
> CC ioengines.o
> CC init.o
> CC stat.o
> CC log.o
> CC time.o
> CC filesetup.o
> CC eta.o
> CC verify.o
> CC memory.o
> CC io_u.o
> LEX lex.yy.c
> "exp/expression-parser.l":line 166: Warning: Non-portable Character Class
> YACC y.tab.c
> CC lex.yy.o
> exp/expression-parser.l:43:37: error: conflicting types for �yyunput�
> lex.yy.c:31:7: note: previous declaration of �yyunput� was here
> exp/expression-parser.l:44:46: error: macro "input" passed 1 arguments, but takes just 0
> exp/expression-parser.l: In function �yylex�:
> exp/expression-parser.l:61:1: warning: label �yyfussy� defined but not used
> exp/expression-parser.l:54:22: warning: unused variable �yyprevious�
> exp/expression-parser.l: At top level:
> exp/expression-parser.l:297:1: warning: missing braces around initializer
> exp/expression-parser.l:297:1: warning: (near initialization for �yycrank[0]�)
> exp/expression-parser.l:376:1: warning: missing braces around initializer
> exp/expression-parser.l:376:1: warning: (near initialization for �yysvec[0]�)
> exp/expression-parser.l:714:6: error: conflicting types for �yyunput�
> exp/expression-parser.l:43:37: note: previous declaration of �yyunput� was here
> make: *** [lex.yy.o] Error 1
Try -git again and see if that works, I just disabled it (for now) on
Solaris.
--
Jens Axboe
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: yacc/flex/bison (?) regression since 2.1.13 (solaris 11 x86_64) - ../exp/*
2014-10-30 16:13 ` Jens Axboe
@ 2014-10-30 16:52 ` Robin P. Blanchard
0 siblings, 0 replies; 3+ messages in thread
From: Robin P. Blanchard @ 2014-10-30 16:52 UTC (permalink / raw)
To: Jens Axboe; +Cc: fio@vger.kernel.org, stephen Cameron
On Oct 30, 2014, at 12:13, Jens Axboe <axboe@kernel.dk> wrote:
> On 10/30/2014 09:40 AM, Robin P. Blanchard wrote:
>> Hi there.
>>
>> The introduction of ../exp/* seems to have broken compilation on Solaris 11. Please let me know how I can help work through this.
>>
>> lex/yacc for arithmetic yes
>> CC gettime.o
>> CC ioengines.o
>> CC init.o
>> CC stat.o
>> CC log.o
>> CC time.o
>> CC filesetup.o
>> CC eta.o
>> CC verify.o
>> CC memory.o
>> CC io_u.o
>> LEX lex.yy.c
>> "exp/expression-parser.l":line 166: Warning: Non-portable Character Class
>> YACC y.tab.c
>> CC lex.yy.o
>> exp/expression-parser.l:43:37: error: conflicting types for ‘yyunput’
>> lex.yy.c:31:7: note: previous declaration of ‘yyunput’ was here
>> exp/expression-parser.l:44:46: error: macro "input" passed 1 arguments, but takes just 0
>> exp/expression-parser.l: In function ‘yylex’:
>> exp/expression-parser.l:61:1: warning: label ‘yyfussy’ defined but not used
>> exp/expression-parser.l:54:22: warning: unused variable ‘yyprevious’
>> exp/expression-parser.l: At top level:
>> exp/expression-parser.l:297:1: warning: missing braces around initializer
>> exp/expression-parser.l:297:1: warning: (near initialization for ‘yycrank[0]’)
>> exp/expression-parser.l:376:1: warning: missing braces around initializer
>> exp/expression-parser.l:376:1: warning: (near initialization for ‘yysvec[0]’)
>> exp/expression-parser.l:714:6: error: conflicting types for ‘yyunput’
>> exp/expression-parser.l:43:37: note: previous declaration of ‘yyunput’ was here
>> make: *** [lex.yy.o] Error 1
>
> Try -git again and see if that works, I just disabled it (for now) on
> Solaris.
That works...
# fio --version
fio-2.1.13-111-g0960
>
> --
> Jens Axboe
>
> --
> To unsubscribe from this list: send the line "unsubscribe fio" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Robin P. Blanchard
Technical Solutions Engineer
Global Field Services and Support
Coraid: storage that fits your business
www.coraid.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-10-30 16:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-30 15:40 yacc/flex/bison (?) regression since 2.1.13 (solaris 11 x86_64) - ../exp/* Robin P. Blanchard
2014-10-30 16:13 ` Jens Axboe
2014-10-30 16:52 ` Robin P. Blanchard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox