All of lore.kernel.org
 help / color / mirror / Atom feed
* fio-2.0.12.2 doesn't build with ARCH_HAVE_CPU_CLOCK not defined
@ 2012-12-30 22:11 Dan Horák
  2013-01-01 10:00 ` Jens Axboe
  0 siblings, 1 reply; 2+ messages in thread
From: Dan Horák @ 2012-12-30 22:11 UTC (permalink / raw)
  To: fio

Hi,

fio stopped to build on architectures that don't define
ARCH_HAVE_CPU_CLOCK like s390/s390x (fixed in a patch I've already
sent :-))

cc -o gettime.o -c -std=gnu99 -Wwrite-strings -Wall -O3 -g -O2 -g -pipe
-Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m31 -march=z9-109 -mtune=z10
-DFIO_VERSION='"fio-2.0.12.2"' -D_GNU_SOURCE -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DFIO_INC_DEBUG gettime.c 
gettime.c: In function 'fio_clock_init':
gettime.c:317:6: error: 'tsc_reliable' undeclared (first use in this function)
gettime.c:317:6: note: each undeclared identifier is reported only once for each function it appears in
make: *** [gettime.o] Error 1

seems commit fa80feae51 added the tsc_reliable variable


	Thanks

		Dan



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: fio-2.0.12.2 doesn't build with ARCH_HAVE_CPU_CLOCK not defined
  2012-12-30 22:11 fio-2.0.12.2 doesn't build with ARCH_HAVE_CPU_CLOCK not defined Dan Horák
@ 2013-01-01 10:00 ` Jens Axboe
  0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2013-01-01 10:00 UTC (permalink / raw)
  To: Dan Horák; +Cc: fio

On 2012-12-30 23:11, Dan Horák wrote:
> Hi,
> 
> fio stopped to build on architectures that don't define
> ARCH_HAVE_CPU_CLOCK like s390/s390x (fixed in a patch I've already
> sent :-))
> 
> cc -o gettime.o -c -std=gnu99 -Wwrite-strings -Wall -O3 -g -O2 -g -pipe
> -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
> --param=ssp-buffer-size=4 -m31 -march=z9-109 -mtune=z10
> -DFIO_VERSION='"fio-2.0.12.2"' -D_GNU_SOURCE -D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -DFIO_INC_DEBUG gettime.c 
> gettime.c: In function 'fio_clock_init':
> gettime.c:317:6: error: 'tsc_reliable' undeclared (first use in this function)
> gettime.c:317:6: note: each undeclared identifier is reported only once for each function it appears in
> make: *** [gettime.o] Error 1
> 
> seems commit fa80feae51 added the tsc_reliable variable

Fixed, tsc_reliable should be globally available (and not under the
ARCH_HAVE_CPU_CLOCK ifdef). Thanks for the report.

-- 
Jens Axboe


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-01-01 10:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-30 22:11 fio-2.0.12.2 doesn't build with ARCH_HAVE_CPU_CLOCK not defined Dan Horák
2013-01-01 10:00 ` Jens Axboe

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.