This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] PowerPC - Add a faster way to read the Time Base register
- From: Andreas Krebbel <krebbel at linux dot vnet dot ibm dot com>
- To: Tulio Magno Quites Machado Filho <tuliom at linux dot vnet dot ibm dot com>
- Cc: libc-alpha at sourceware dot org, roland at hack dot frob dot com
- Date: Thu, 14 Jun 2012 17:44:35 +0200
- Subject: Re: [PATCH] PowerPC - Add a faster way to read the Time Base register
- References: <20120525231111.108362C078@topped-with-meat.com> <1338386992-5960-1-git-send-email-tuliom@linux.vnet.ibm.com>
On 05/30/2012 04:09 PM, Tulio Magno Quites Machado Filho wrote:
> Add function __ppc_get_timebase() to directly read the Time Base register.
> This is required for applications that measure time at high frequencies
> with high precision that can't afford a syscall.
>
> 2012-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
>
> [BZ #13743]
> * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
> * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
> (sysdep_headers): Include sys/platform/ppc.h.
> * sysdeps/powerpc/test-gettimebase.c: Test for
> __ppc_get_timebase() to catch future ISA opcode/insn changes.
> * manual/Makefile (appendices): Include platform.texi.
> * manual/contrib.texi (Contributors): Update @node pointers.
> * manual/maint.texi (Maintenance): Likewise.
> (Platform): New node.
> * manual/platform.texi: New file. Document the new features.
This appears to have broken glibc build on s390:
LANGUAGE=C LC_ALL=C makeinfo -P /home/andreas/glibc/glibc-build/manual/
--output=/home/andreas/glibc/glibc-build/manual/libc.info libc.texinfo
/home/andreas/glibc/glibc/manual//contrib.texi:1: Prev reference to nonexistent node
`Platform' (perhaps incorrect sectioning?).
/home/andreas/glibc/glibc/manual//maint.texi:1: Next reference to nonexistent node
`Platform' (perhaps incorrect sectioning?).
makeinfo: Removing output file `/home/andreas/glibc/glibc-build/manual/libc.info' due to
errors; use --force to preserve.
make[2]: *** [/home/andreas/glibc/glibc-build/manual/libc.info] Error 1
make[2]: Leaving directory `/home/andreas/glibc/glibc/manual'
make[1]: *** [manual/subdir_install] Error 2
make[1]: Leaving directory `/home/andreas/glibc/glibc'
make: *** [install] Error 2
Fixed for me with:
diff --git a/manual/maint.texi b/manual/maint.texi
index e6fedcf..73aa2cc 100644
--- a/manual/maint.texi
+++ b/manual/maint.texi
@@ -105,7 +105,7 @@ This variable is used for secondary object files needed to build
@end table
@menu
-* Platform: Adding Platform-specific. Adding platform-specific
+* Platform:: Adding Platform-specific. Adding platform-specific
features.
@end menu
Bye,
-Andreas-