systemtap support needs sys/sdt.h with asm support error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
glibc (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
---Problem Description---
Not able to build glibc-2.19 on Ubuntu 15.04
---uname output---
Linux ubuntu 3.18.0-12-generic #13-Ubuntu SMP Thu Jan 29 13:44:26 UTC 2015 ppc64le ppc64le ppc64le GNU/Linux
Machine Type = P8
---Steps to Reproduce---
Install a Power VM LPAR with Ubuntu 15.04 ISO.
Then download the glibc-2.19 source and try to build the same as follows:
root@ubuntu:~# apt-get source glibc
root@ubuntu:~# cd glibc-2.19/
root@ubuntu:
dpkg-buildpackage: source package glibc
dpkg-buildpackage: source version 2.19-13ubuntu3
dpkg-buildpackage: source distribution vivid
dpkg-buildpackage: source changed by Adam Conrad <email address hidden>
dpkg-source --before-build glibc-2.19
dpkg-buildpackage: host architecture ppc64el
dpkg-source: info: using options from glibc-2.
debian/rules clean
dh_clean
rm -f debian/*.install
rm -f debian/*.install.*
rm -f debian/*.manpages
rm -f debian/*.links
rm -f debian/*.postinst
rm -f debian/*.preinst
rm -f debian/*.postinst
rm -f debian/*.prerm
rm -f debian/*.postrm
rm -f debian/*.info
rm -f debian/*.init
rm -f debian/*.config
rm -f debian/*.templates
rm -f debian/*.dirs
rm -f debian/*.docs
rm -f debian/*.doc-base
rm -f debian/*.generated
rm -f debian/
rm -f debian/*.NEWS
rm -f debian/
rm -f debian/*.triggers
rm -f /root/glibc-
rm -f /root/glibc-
rm -f /root/glibc-
rm -rf debian/tmp-libc
rm -rf build-tree
rm -rf /root/glibc-
rm -rf debian/include
rm -f debian/
debian/rules build
-------
uname -a
Linux ubuntu 3.18.0-12-generic #13-Ubuntu SMP Thu Jan 29 13:44:26 UTC 2015 ppc64le ppc64le ppc64le GNU/Linux
if [ -f /proc/cpuinfo ] ; then cat /proc/cpuinfo ; fi
processor : 0
cpu : POWER8E (raw), altivec supported
clock : 3026.000000MHz
revision : 2.1 (pvr 004b 0201)
processor : 1
cpu : POWER8E (raw), altivec supported
clock : 3026.000000MHz
revision : 2.1 (pvr 004b 0201)
processor : 2
cpu : POWER8E (raw), altivec supported
clock : 3026.000000MHz
revision : 2.1 (pvr 004b 0201)
processor : 3
cpu : POWER8E (raw), altivec supported
clock : 3026.000000MHz
revision : 2.1 (pvr 004b 0201)
timebase : 512000000
platform : pSeries
model : IBM pSeries (emulated by qemu)
machine : CHRP IBM pSeries (emulated by qemu)
-------
touch /root/glibc-
touch /root/glibc-
rm -rf debian/include
mkdir debian/include
# Kernel headers
if [ -d "/usr/include/
ln -s /usr/include/
else \
ln -s /usr/include/asm debian/include ; \
fi
ln -s /usr/include/
ln -s /usr/include/linux debian/include
# Library headers
for h in libaudit.h selinux sys/capability.h ; do \
mkdir -p debian/
if [ -d "/usr/include/
ln -s /usr/include/
else \
ln -s /usr/include/$h debian/include/$h ; \
fi ; \
done
ln -s /usr/include/
# To make configure happy if libc6-dev is not installed.
touch debian/
touch /root/glibc-
Making builddir for libc
test -d build-tree/
touch /root/glibc-
Configuring libc
rm -f build-tree/
echo "CC = powerpc64le-
echo "CXX = powerpc64le-
echo "BUILD_CC = powerpc64le-
echo "BUILD_CXX = powerpc64le-
echo "CFLAGS = -pipe -O2 -g -O3 -fno-tree-
echo "ASFLAGS = -pipe -O2 -g -O3 -fno-tree-
echo "BUILD_CFLAGS = -O2 -g" >> build-tree/
echo "LDFLAGS = " >> build-tree/
echo "BASH := /bin/bash" >> build-tree/
echo "KSH := /bin/bash" >> build-tree/
echo "SHELL := /bin/bash" >> build-tree/
echo "LIBGD = no" >> build-tree/
echo "bindir = /usr/bin" >> build-tree/
echo "datadir = /usr/share" >> build-tree/
echo "localedir = /usr/lib/locale" >> build-tree/
echo "sysconfdir = /etc" >> build-tree/
echo "libexecdir = /usr/lib" >> build-tree/
echo "rootsbindir = /sbin" >> build-tree/
echo "includedir = /usr/include" >> build-tree/
echo "docdir = /usr/share/doc" >> build-tree/
echo "mandir = /usr/share/man" >> build-tree/
echo "sbindir = /usr/sbin" >> build-tree/
echo "vardbdir = /var/lib/misc" >> build-tree/
echo "libdir = /usr/lib/
echo "slibdir = /lib/powerpc64l
echo "rtlddir = /lib64" >> build-tree/
# Define the installation directory for all calls to make. This avoid
# broken glibc makefiles to spuriously trigger install rules trying to
# overwrite system headers.
echo "install_root = /root/glibc-
# Prevent autoconf from running unexpectedly by setting it to false.
# Also explicitly pass CC down - this is needed to get -m64 on
# Sparc, et cetera.
configure_
if [ powerpc64le-
echo "Checking that we're running at least kernel version: 2.6.32"; \
if ! (minimum=
configure_
echo "No. Forcing cross-compile by setting build to $configure_build."; \
fi; \
fi; \
(exec 3>&1; exit `( ( ( echo -n "Build started: " ; date --rfc-2822 ; echo "---------------" ) 2>&1 3>&-; echo $? >&4) | tee -a build-tree/
(exec 3>&1; exit `( ( ( cd build-tree/
Checking that we're running at least kernel version: 2.6.32
Build started: Mon, 02 Feb 2015 03:33:29 -0600
---------------
checking build system type... powerpc64le-
checking host system type... powerpc64le-
checking for powerpc64le-
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether powerpc64le-
checking whether we are using the GNU C++ compiler... yes
checking whether powerpc64le-
checking for powerpc64le-
checking for systemtap static probe support... no
configure: error: in `/root/
configure: error: systemtap support needs sys/sdt.h with asm support
See `config.log' for more details
debian/
make: *** [/root/
dpkg-buildpackage: error: debian/rules build gave error exit status 2
root@ubuntu:~# dpkg --list | grep systemtap
ii systemtap 2.6-0.2ubuntu1 ppc64el instrumentation system for Linux
ii systemtap-common 2.6-0.2ubuntu1 all instrumentation system for Linux (common component)
ii systemtap-runtime 2.6-0.2ubuntu1 ppc64el instrumentation system for Linux (runtime component)
ii systemtap-sdt-dev 2.6-0.2ubuntu1 ppc64el statically defined probes development files
Related branches
CVE References
tags: | added: architecture-ppc64le bugnameltc-121298 severity-high targetmilestone-inin1504 |
affects: | ubuntu → glibc (Ubuntu) |
Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https:/ /wiki.ubuntu. com/Bugs/ FindRightPackag e. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.
To change the source package that this bug is filed about visit https:/ /bugs.launchpad .net/ubuntu/ +bug/1418239/ +editstatus and add the package name in the text box next to the word Package.
[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]