Your message dated Tue, 09 Sep 2014 12:49:54 +0000
with message-id <[email protected]>
and subject line Bug#754213: fixed in linux-tools 3.16-2
has caused the Debian Bug report #754213,
regarding linux-tools: build on ppc64el
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
754213: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=754213
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:linux-tools
Version: 3.14-1
Tags: patch
User: [email protected]
Usertags: ppc64el
Hi maintainers,
The attached patch adds support for ppc64el in linux-tools.
(I ommitted the output of the 'debian/control' target)
Would you please consider it for an upload?
Among other things, it includes defining '__SANE_USERSPACE_TYPES__' on
ppc64 and ppc64el, in order to fix the build failure reported at
#747151 (more details there).
With it applied, the built packages have equivalent contents to amd64,
accounting for the /usr/lib{,64} difference. I could run 'perf stat':
# perf_3.14 stat sleep 1
Performance counter stats for 'sleep 1':
0.542034 task-clock (msec) # 0.001 CPUs
utilized
1 context-switches # 0.002 M/sec
0 cpu-migrations # 0.000 K/sec
49 page-faults # 0.090 M/sec
2266748 cycles # 4.182 GHz
454072 stalled-cycles-frontend # 20.03% frontend
cycles idle
1604224 stalled-cycles-backend # 70.77% backend
cycles idle
556703 instructions # 0.25 insns per
cycle
# 2.88 stalled cycles
per insn
<not counted> branches
<not counted> branch-misses
1.001009786 seconds time elapsed
# echo $?
0
Thank you,
--
Mauricio Faria de Oliveira
IBM Linux Technology Center
diff -Nru linux-tools-3.14/debian/build/scripts/mod/Makefile.real
linux-tools-3.14/debian/build/scripts/mod/Makefile.real
--- linux-tools-3.14/debian/build/scripts/mod/Makefile.real 2013-06-03
10:19:37.000000000 -0300
+++ linux-tools-3.14/debian/build/scripts/mod/Makefile.real 2014-07-08
14:56:40.000000000 -0300
@@ -6,6 +6,16 @@
include $(top_srcdir)/debian/build/Makefile.inc
+DEB_HOST_ARCH_CPU := $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU)
+
+ifneq (,$(filter powerpc64 ppc64el,$(DEB_HOST_ARCH_CPU)))
+ # Fix "include/linux/types.h:148:1: error: unknown type name 'u32'".
+ # See linux commits:
+ # "asm/types.h: Remove include/asm-generic/int-l64.h"
+ # "powerpc: Add __SANE_USERSPACE_TYPES__ to asm/types.h for LL64"
+ CFLAGS += -D__SANE_USERSPACE_TYPES__
+endif
+
modpost.real-$(TYPE): file2alias.real-$(TYPE).o modpost.real-$(TYPE).o
sumversion.real-$(TYPE).o
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^
diff -Nru linux-tools-3.14/debian/build/tools/perf/Makefile
linux-tools-3.14/debian/build/tools/perf/Makefile
--- linux-tools-3.14/debian/build/tools/perf/Makefile 2014-03-19
20:56:58.000000000 -0300
+++ linux-tools-3.14/debian/build/tools/perf/Makefile 2014-07-08
14:49:28.000000000 -0300
@@ -21,6 +21,8 @@
KERNEL_ARCH_PERF = powerpc
else ifeq ($(DEB_HOST_ARCH_CPU),powerpc64)
KERNEL_ARCH_PERF = powerpc
+else ifeq ($(DEB_HOST_ARCH_CPU),ppc64el)
+ KERNEL_ARCH_PERF = powerpc
else ifeq ($(DEB_HOST_ARCH_CPU),s390)
KERNEL_ARCH_PERF = s390
else ifeq ($(DEB_HOST_ARCH_CPU),s390x)
diff -Nru linux-tools-3.14/debian/changelog linux-tools-3.14/debian/changelog
--- linux-tools-3.14/debian/changelog 2014-04-28 13:46:25.000000000 -0300
+++ linux-tools-3.14/debian/changelog 2014-07-08 14:53:00.000000000 -0300
@@ -1,3 +1,13 @@
+linux-tools (3.14-1.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * ppc64el/ppc64: fix FTBFS on linux 3.14 (build/scripts/mod/Makefile.real).
+ * ppc64el: set KERNEL_ARCH_PERF (build/tools/perf/Makefile).
+ * ppc64el: build linux-tools (rules.real, control.main.in).
+ * ppc64el: add build-dep on libnuma-dev (templates/control.source.in).
+
+ -- Mauricio Faria de Oliveira <[email protected]> Tue, 08 Jul 2014
14:41:13 -0300
+
linux-tools (3.14-1) unstable; urgency=medium
* New upstream release
diff -Nru linux-tools-3.14/debian/rules.real linux-tools-3.14/debian/rules.real
--- linux-tools-3.14/debian/rules.real 2013-10-18 21:12:53.000000000 -0300
+++ linux-tools-3.14/debian/rules.real 2014-07-08 14:45:31.000000000 -0300
@@ -9,7 +9,7 @@
VERSION_DEBIAN_FULL := $(shell dpkg-parsechangelog | sed -ne 's,^Version:
*\(.*\)$$,\1,p')
binary-arch: install-kbuild install-usbip
-ifneq ($(filter alpha amd64 armel armhf hppa i386 powerpc ppc64 s390 s390x sh4
sparc sparc64,$(DEB_BUILD_ARCH)),)
+ifneq ($(filter alpha amd64 armel armhf hppa i386 powerpc ppc64 ppc64el s390
s390x sh4 sparc sparc64,$(DEB_BUILD_ARCH)),)
binary-arch: install-tools
endif
diff -Nru linux-tools-3.14/debian/templates/control.main.in
linux-tools-3.14/debian/templates/control.main.in
--- linux-tools-3.14/debian/templates/control.main.in 2013-09-24
21:18:33.000000000 -0300
+++ linux-tools-3.14/debian/templates/control.main.in 2014-07-08
14:31:14.000000000 -0300
@@ -7,7 +7,7 @@
Package: linux-tools-@version@
Section: devel
-Architecture: alpha amd64 armel armhf hppa i386 powerpc ppc64 s390 s390x sh4
sparc sparc64
+Architecture: alpha amd64 armel armhf hppa i386 powerpc ppc64 ppc64el s390
s390x sh4 sparc sparc64
Depends: ${shlibs:Depends}, ${misc:Depends}, ${perl:Depends}, ${python:Depends}
Recommends: linux-base (>= 3.4~)
Suggests: linux-doc-@version@
diff -Nru linux-tools-3.14/debian/templates/control.source.in
linux-tools-3.14/debian/templates/control.source.in
--- linux-tools-3.14/debian/templates/control.source.in 2014-02-02
13:57:15.000000000 -0200
+++ linux-tools-3.14/debian/templates/control.source.in 2014-07-08
14:31:37.000000000 -0300
@@ -6,7 +6,7 @@
Standards-Version: 3.9.4
Build-Depends:
debhelper (>> 7), python,
- asciidoc, bison, flex, libaudit-dev, libdw-dev, libelf-dev, libiberty-dev |
binutils-dev (<< 2.23.91.20131123-1), libnewt-dev, libnuma-dev [amd64 i386
powerpc ppc64], libperl-dev, libunwind8-dev [amd64 i386], python-dev, xmlto,
+ asciidoc, bison, flex, libaudit-dev, libdw-dev, libelf-dev, libiberty-dev |
binutils-dev (<< 2.23.91.20131123-1), libnewt-dev, libnuma-dev [amd64 i386
powerpc ppc64 ppc64el], libperl-dev, libunwind8-dev [amd64 i386], python-dev,
xmlto,
autoconf, automake, libtool, libglib2.0-dev, libsysfs-dev, libwrap0-dev
Vcs-Svn: svn://svn.debian.org/svn/kernel/dists/trunk/linux-tools/
Vcs-Browser: http://anonscm.debian.org/viewvc/kernel/dists/trunk/linux-tools/
--- End Message ---
--- Begin Message ---
Source: linux-tools
Source-Version: 3.16-2
We believe that the bug you reported is fixed in the latest version of
linux-tools, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Ben Hutchings <[email protected]> (supplier of updated linux-tools package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Tue, 09 Sep 2014 13:21:05 +0100
Source: linux-tools
Binary: linux-kbuild-3.16 linux-tools-3.16 libusbip-dev usbip
Architecture: i386 source
Version: 3.16-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Kernel Team <[email protected]>
Changed-By: Ben Hutchings <[email protected]>
Closes: 754213
Description:
libusbip-dev - USB device sharing system over IP network (development files)
linux-kbuild-3.16 - Kbuild infrastructure for Linux 3.16
linux-tools-3.16 - Performance analysis tools for Linux 3.16
usbip - USB device sharing system over IP network
Changes:
linux-tools (3.16-2) unstable; urgency=medium
.
* linux-kbuild: Change the type headers used for devicetable-offsets.c
to avoid depending on UAPI headers or <linux/types.h>. This really
closes: #754213. It also fixes modpost handling of input device IDs
when host and target have differing word size.
Checksums-Sha1:
e2d950883ac9433667c34d7212f54ce219ba1613 2546 linux-tools_3.16-2.dsc
17a7c8d66ba38b5398f1a758e7e3bafd261e4b81 22560 linux-tools_3.16-2.debian.tar.xz
da1d18005211264f06258b8466553f6cc5472070 23246 libusbip-dev_2.0+3.16-2_i386.deb
51f381b21c7f870451be409b751c1a8cb90bca1c 37106 usbip_2.0+3.16-2_i386.deb
7f93cd6c9a8af9c12e5a8b6aee7f731df8b8216d 176928
linux-kbuild-3.16_3.16-2_i386.deb
929f234f1bf9476f25baa7c2b9ef3559088c8854 562864
linux-tools-3.16_3.16-2_i386.deb
Checksums-Sha256:
feb4d7452544d77a2611a69699f62c9cddde424635c9fc9c23fe5d1fc766a2ec 2546
linux-tools_3.16-2.dsc
9570f9f5b2a1f203b239aa94ebc942a90eb9b3f0e8544d16a2dacb7e74a458f8 22560
linux-tools_3.16-2.debian.tar.xz
10c76341eeab76504b2ab43e6413fafed38349c16a6bdee1f5293d02f08e8b39 23246
libusbip-dev_2.0+3.16-2_i386.deb
d43df735b1bf636c1c5c02488372ee329a78b2adb46a1a649e2e76ec8e903986 37106
usbip_2.0+3.16-2_i386.deb
06c91e0e0999af00ffbe270314cec64f503a693f35c163b688f7ea25202071c7 176928
linux-kbuild-3.16_3.16-2_i386.deb
68abb7975583d760114a692cfa87b886649e27bdecf341acaa44c2f7d84c46ff 562864
linux-tools-3.16_3.16-2_i386.deb
Files:
4ed41c21aeeb937f7a4b1e39abd9e72e 2546 kernel optional linux-tools_3.16-2.dsc
3e467b9f3b992945b7b786c3b98c0804 22560 kernel optional
linux-tools_3.16-2.debian.tar.xz
467ec3bff15b5e139f74e5cb37b0011e 23246 libdevel optional
libusbip-dev_2.0+3.16-2_i386.deb
0a7f258f16c29d1644d15fcc55a9abb7 37106 admin optional usbip_2.0+3.16-2_i386.deb
e9726f4a9d4fcce874c2f902f5d6220a 176928 kernel optional
linux-kbuild-3.16_3.16-2_i386.deb
f71373614e6944ebfcc84f8951c45375 562864 devel optional
linux-tools-3.16_3.16-2_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIVAwUBVA7z++e/yOyVhhEJAQp3hg/9GJMjApFRKLXjHN0d4uLnUvHKyAtu42xU
tHrH5+vOICB2gNZG3TG5RJ2gdp7ZX86TiUbDqNmlt1AoY/Xx7vmS6luu3izjU9PE
HGRd0QGDKsu9rdFygXVz3BYDTVo6kImp/WPORxbgmlNyRcCtgB9bt/vSfsEAm7w/
xp1WtNtU5zxFn2QRJMm344L1pRn6Jri+pURdUhXUaWSmffPVYeK+keAKEHPWkzae
JVXw0Cqb04pU6W0L9y54Jdm6zHMCnZtKl6zbpWe5wNdNLru7L253JiFdoK3VLQXt
wIGkk84QRG755OQ4PIL8Z1z8vzhvV2sMGUHk85BnbXKRlpCwDr5DKNrMGzg3xH7H
qdYw83l514jfmxAeyFPMB6VHOIVkgKkh2xds74CIZIbQIVBBVH4/oF64q2vKK/w9
uVNr/wzd0IOpJdicD34+3hF4H39aUZu1pzQD0IGZLtAKTcPgVh+HJPkyYqamimFM
dsOn2PCSirBjIa2bUst7jffPW1nOqwCZnQCYiwv6A7S61O0vLrdd5AqRimzGSshW
S6Qp8XzgAvOLxLys9JQGhf2yh09Vm4KsThzGLQN6B0fByROjPO8UJD//AJO2VVY2
ZmfH0PMffnzVCNnVMO1AG6LN8DAM5hE8G0qRcPJSupiFmw5LPyqzlkxDGbkufags
FU3jywd8GTA=
=tfsN
-----END PGP SIGNATURE-----
--- End Message ---