------- Comment From [email protected] 2015-02-25 15:49 EDT-------
The following patch copies sdt.h to debian/include directory.
sdt.h looks for sdt-config.h in the current directory and that has to be linked 
as well.
==================================================================================
glibc (2.19-6) unstable; urgency=high

[ Aurelien Jarno ]
* debian/patches/any/cvs-CVE-2014-0475.diff: fix a directory traversal in
locale environment handling (CVE-2014-0475).
* debian/patches/any/cvs-setlocale-alloca.diff: Additional setlocale
hardening.
* debian/control.in/main, debian/sysdeps/linux.mk: drop systemtap support.
sdt.h has been moved to a different location in the latest upload, and
it's not really clear on which architectures systemtap support should
be enabled.

Command that gets executed due to the above patch:
==================================================
ln -s /usr/include/powerpc64le-linux-gnu/sys/sdt.h debian/include/sys/sdt.h

part of sdt.h where sdt-config.h is included:
============================================
/* If the assembler supports the necessary feature, then we can play
nice with code in COMDAT sections, which comes up in C++ code.
Without that assembler support, some combinations of probe placements
in certain kinds of C++ code may produce link-time errors.  */
#include "sdt-config.h"
#if _SDT_ASM_SECTION_AUTOGROUP_SUPPORT
# define _SDT_ASM_AUTOGROUP "?"
#else
# define _SDT_ASM_AUTOGROUP ""
#endif

Proposed fix in debian/sysdeps/linux.mk :
========================================
root@ubuntu:~/glibc-2.19/debian/sysdeps# diff linux.mk 
/root/new//glibc-2.19/debian/sysdeps
57d56
<       ln -s /usr/include//sys/sdt-config.h debian/include/sys/sdt-config.h

** CVE added: http://www.cve.mitre.org/cgi-
bin/cvename.cgi?name=2014-0475

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1418239

Title:
  systemtap support needs sys/sdt.h with asm support error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1418239/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to