Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 222823 Details for
Bug 281246
sys-boot/grub-0.97-r9 with hardened i686 gcc 3.4.6 won't boot
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Clean -fPIE check patch
grub-0.97-fpie_check.patch (text/plain), 745 bytes, created by
Magnus Granberg
on 2010-03-09 12:29:17 UTC
(
hide
)
Description:
Clean -fPIE check patch
Filename:
MIME Type:
Creator:
Magnus Granberg
Created:
2010-03-09 12:29:17 UTC
Size:
745 bytes
patch
obsolete
>--- a/configure.ac 2010-03-07 15:39:03.000000000 +0100 >+++ b/configure.ac 2010-03-09 13:04:12.000000000 +0100 >@@ -107,6 +107,20 @@ > if test "x$grub_cv_cc_no_stack_protector" = xyes; then > STAGE2_CFLAGS="$STAGE2_CFLAGS -fno-stack-protector" > fi >+ # Position Independent Executables, but GRUB doesn't want this feature. >+ AC_CACHE_CHECK([whether gcc has -fPIE on as default], grub_cv_cc_fpie, [ >+ AC_TRY_COMPILE(,[ >+ #if ! defined (__PIC__) || ! defined (__PIE__) >+ #error >+ #endif >+ ], >+ grub_cv_cc_fpie=yes, >+ grub_cv_cc_fpie=no) >+ ]) >+ if test "x$grub_cv_cc_fpie" = xyes; then >+ STAGE1_CFLAGS="$STAGE1_CFLAGS -nopie" >+ STAGE2_CFLAGS="$STAGE2_CFLAGS -nopie" >+ fi > fi > fi >
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 281246
:
201075
|
201076
|
203206
|
205767
|
205872
| 222823