Bug 198335 - sys-libs/glibc-2.7 fails to apply hardened patches
|
Bug#:
198335
|
Product: Gentoo Linux
|
Version: 2007.0
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: major
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: toolchain@gentoo.org
|
Reported By: phreak@gentoo.org
|
|
Component: Core system
|
|
|
URL:
|
|
Summary: sys-libs/glibc-2.7 fails to apply hardened patches
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2007-11-07 08:48 0000
|
* Done with patching
* Patching to get working PIE binaries on PIE (hardened) platforms
* Applying glibc-2.5-hardened-pie.patch ...
[ ok ]
* Applying glibc-2.5-hardened-configure-picdefault.patch ...
[ ok ]
* Applying glibc-2.6-hardened-inittls-nosysenter.patch ...
* Failed Patch: glibc-2.6-hardened-inittls-nosysenter.patch !
* (
/usr/portage/sys-libs/glibc/files/2.6/glibc-2.6-hardened-inittls-nosysenter.patch
)
*
* Include in your bugreport the contents of:
*
*
/var/tmp/portage/sys-libs/glibc-2.7/temp/glibc-2.6-hardened-inittls-nosysenter.patch-10264.out
Created an attachment (id=135499) [details]
Patch to patch the patch which didn’t patch.
A change in csu/libc-start.c from 2.6 to 2.7 confuses patch(1), so here’s a
patch to put the changes into the patch. With this change (and the patch from
bug 196926) glibc-2.7 compiles on my machine.
…Oh, and I should mention that it works, too.