Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 73526

Summary: Not applied glibc-2.3.2-propolice-guard-functions-v3.patch
Product: Gentoo Linux Reporter: pyon <gentoobugzilla>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description pyon 2004-12-05 23:54:31 UTC
In glibc-2.3.4.20040808-r1.ebuild, I think that condition for hppa is wrong.
If patch is not applied, no __guard is in glibc. So compiling xorg-6.8.0-r3 is
failure.

--- glibc-2.3.4.20040808-r1.ebuild      2004-12-06 05:40:13.000000000 +0900
+++ /root/glibc-2.3.4.20040808-r1.ebuild.new 2004-12-06 16:10:52.000000000 +0900
@@ -462,7 +462,7 @@
        # __guard_setup__stack_smash_handler
        #
        #  http://www.gentoo.org/proj/en/hardened/etdyn-ssp.xml
-       if use !hppa ; then
+       if [ "${ARCH}" != "hppa" ] && [ "${ARCH}" != "hppa64" ]; then
                epatch ${FILESDIR}/2.3.3/glibc-2.3.2-propolice-guard-functions-v3.patch
                cp ${FILESDIR}/2.3.3/ssp.c ${S}/sysdeps/unix/sysv/linux || \
                        die "failed to copy ssp.c to ${S}/sysdeps/unix/sysv/linux/"


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 SpanKY gentoo-dev 2004-12-06 15:48:57 UTC

*** This bug has been marked as a duplicate of 73326 ***