------- Comment From <email address hidden> 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
------- Comment From <email address hidden> 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 ] patches/ any/cvs- CVE-2014- 0475.diff: fix a directory traversal in patches/ any/cvs- setlocale- alloca. diff: Additional setlocale control. in/main, debian/ sysdeps/ linux.mk: drop systemtap support.
* debian/
locale environment handling (CVE-2014-0475).
* debian/
hardening.
* debian/
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: ======= ======= ======= ======= ======= ======= = powerpc64le- linux-gnu/ sys/sdt. h debian/ include/ sys/sdt. h
=======
ln -s /usr/include/
part of sdt.h where sdt-config.h is included: ======= ======= ======= ======= ======= == SECTION_ AUTOGROUP_ SUPPORT
=======
/* 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_
# define _SDT_ASM_AUTOGROUP "?"
#else
# define _SDT_ASM_AUTOGROUP ""
#endif
Proposed fix in debian/ sysdeps/ linux.mk : ======= ======= ======= ======= ===== ~/glibc- 2.19/debian/ sysdeps# diff linux.mk /root/new/ /glibc- 2.19/debian/ sysdeps /sys/sdt- config. h debian/ include/ sys/sdt- config. h
=======
root@ubuntu:
57d56
< ln -s /usr/include/