Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 36524 Details for
Bug 43177
(X) xfree-4.3.99.902-r2 and xorg-x11 startx fails with duplicate symbol in libbitmap.a
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to allow xorg-x11 to build with hardened gcc
xorg-x11-hardenedgcc.patch (text/plain), 1.34 KB, created by
Kevin F. Quinn (RETIRED)
on 2004-07-31 08:07:32 UTC
(
hide
)
Description:
Patch to allow xorg-x11 to build with hardened gcc
Filename:
MIME Type:
Creator:
Kevin F. Quinn (RETIRED)
Created:
2004-07-31 08:07:32 UTC
Size:
1.34 KB
patch
obsolete
>--- orig/xc/config/imake/imake.c 2004-07-31 15:55:49.000000000 +0200 >+++ work/xc/config/imake/imake.c 2004-07-31 12:17:28.000000000 +0200 >@@ -1047,7 +1047,12 @@ > if (fp == NULL) > abort(); > while (fgets(buf, sizeof(buf), fp)) { >- if (strstr(buf, "propolice") != NULL) { >+ /* Modified to pick up Gentoo hardened gcc. Not sure exactly >+ what "propolice" is looking for, whether it's a configure option >+ or the identification. If the latter, the equivalent string >+ for gentoo may be "ssp" rather than "Hardened". */ >+ if ((strstr(buf, "propolice") != NULL) || >+ (strstr(buf, "Hardened") != NULL)) { > fprintf(inFile, "#define HasGccStackProtector YES\n"); > break; > } >--- orig/xc/config/cf/xf86.tmpl 2004-04-02 23:47:10.000000000 +0200 >+++ work/xc/config/cf/xf86.tmpl 2004-07-31 14:43:19.000000000 +0200 >@@ -50,7 +50,7 @@ > #endif > > #if HasGccStackProtector >-MODULE_GCC_FLAGS1 = -fno-stack-protector >+MODULE_GCC_FLAGS1 = -fno-stack-protector -fno-pie > #endif > > #ifndef HasGccMergeConstants >--- orig/xc/config/cf/xorg.tmpl 2004-04-02 23:47:10.000000000 +0200 >+++ work/xc/config/cf/xorg.tmpl 2004-07-31 14:43:17.000000000 +0200 >@@ -64,7 +64,7 @@ > #endif > > #if HasGccStackProtector >-MODULE_GCC_FLAGS1 = -fno-stack-protector >+MODULE_GCC_FLAGS1 = -fno-stack-protector -fno-pie > #endif > > #ifndef HasGccMergeConstants
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 43177
:
29146
|
29147
|
33502
|
33503
|
36524
|
36535
|
36801
|
38599
|
39737
|
39853
|
40178
|
40179
|
40195
|
44813
|
44827
|
46869