Flexible I/O Tester development
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: Greg Freemyer <greg.freemyer@gmail.com>
Cc: fio@vger.kernel.org
Subject: Re: FIO 2.0.14 - getting a compile error on opensuse
Date: Tue, 26 Mar 2013 15:15:58 -0600	[thread overview]
Message-ID: <20130326211558.GE19488@kernel.dk> (raw)
In-Reply-To: <CAGpXXZ+CSFx7tnWjgUibNEgth_9kM4qTP_ptW+kTFeDCfoC08w@mail.gmail.com>

On Mon, Mar 25 2013, Greg Freemyer wrote:
> All,
> 
> fio v2.0.13 compiled fine on opensuse.
> 
> fio v2.0.14 is failing on opensuse (multiple releases including 12.3
> and factory).  I assume because of the new configure logic.
> 
> A full build log is at:
> https://build.opensuse.org/package/live_build_log?arch=x86_64&package=fio&project=home%3Agregfreemyer%3Abranches%3Abenchmark&repository=openSUSE_Factory
> 
> But this is the basic error which happens on the first gcc call.
> 
> [   48s] gcc -o gettime.o -std=gnu99 -Wwrite-strings -Wall
> -fomit-frame-pointer -fmessage-length=0 -grecord-gcc-switches -O2
> -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables
> -fasynchronous-unwind-tables -DBITS_PER_LONG=32
> -DFIO_VERSION='"fio-2.0.14"' -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DFIO_INC_DEBUG -c
> gettime.c
> [   48s] In file included from os/os.h:28:0,
> [   48s]                  from fio.h:24,
> [   48s]                  from gettime.c:10:
> [   48s] os/os-linux.h: In function 'fio_cpuset_init':
> [   48s] os/os-linux.h:67:2: warning: implicit declaration of function
> 'CPU_ZERO' [-Wimplicit-function-declaration]
> [   48s] In file included from os/os.h:60:0,
> [   48s]                  from fio.h:24,
> [   48s]                  from gettime.c:10:
> [   48s] os/../lib/strsep.h: At top level:
> [   48s] os/../lib/strsep.h:4:7: error: expected identifier or '('
> before '__extension__'
> [   48s] os/../lib/strsep.h:4:7: error: expected identifier or '('
> before ')' token
> [   48s] In file included from fio.h:32:0,
> [   48s]                  from gettime.c:10:
> [   48s] helpers.h:11:36: error: unknown type name 'off64_t'
> [   48s] helpers.h:11:52: error: unknown type name 'off64_t'
> [   48s] make: *** [gettime.o] Error 1
> [   48s] error: Bad exit status from /var/tmp/rpm-tmp.QKC5od (%build)

Odd. Could you send me the config.log output? I don't have an opensuse
install, unfortunately. If you have one that is reachable from the
outside, send me a private reply and perhaps I could investigate myself.

-- 
Jens Axboe


  reply	other threads:[~2013-03-26 21:16 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-25 18:44 FIO 2.0.14 - getting a compile error on opensuse Greg Freemyer
2013-03-26 21:15 ` Jens Axboe [this message]
2013-03-26 22:00   ` Greg Freemyer
2013-03-27  3:57 ` Aaron Carroll
2013-03-28 21:21   ` Jens Axboe
2013-03-28 23:35     ` Greg Freemyer
2013-03-29 13:40       ` Jens Axboe
2013-03-29 14:14         ` Greg Freemyer
2013-03-29 14:54           ` Jens Axboe
2013-03-29 15:31             ` Greg Freemyer
2013-03-29 15:44               ` Jens Axboe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130326211558.GE19488@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=fio@vger.kernel.org \
    --cc=greg.freemyer@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox