Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 198335 - sys-libs/glibc-2.7 fails to apply hardened patches
Summary: sys-libs/glibc-2.7 fails to apply hardened patches
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-07 08:48 UTC by Christian Heim (RETIRED)
Modified: 2007-11-11 20:12 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
glibc-2.6-hardened-inittls-nosysenter.patch-10264.out (glibc-2.6-hardened-inittls-nosysenter.patch-10264.out,13.37 KB, text/plain)
2007-11-07 08:48 UTC, Christian Heim (RETIRED)
Details
Patch to patch the patch which didn’t patch. (glibc-2.6-hardened-inittls-nosysenter.patch.patch,782 bytes, patch)
2007-11-08 16:15 UTC, Ewgenij Starostin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Heim (RETIRED) gentoo-dev 2007-11-07 08:48:23 UTC
* 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
Comment 1 Christian Heim (RETIRED) gentoo-dev 2007-11-07 08:48:43 UTC
Created attachment 135409 [details]
glibc-2.6-hardened-inittls-nosysenter.patch-10264.out
Comment 2 Ewgenij Starostin 2007-11-08 16:15:00 UTC
Created attachment 135499 [details, diff]
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.
Comment 3 Ewgenij Starostin 2007-11-10 21:51:21 UTC
…Oh, and I should mention that it works, too.
Comment 4 SpanKY gentoo-dev 2007-11-11 20:12:00 UTC
fixed in cvs