Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 745995 Details for
Bug 768255
sys-firmware/edk2-202008 with ld.gold: fatal error: -pie and -static are incompatible
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
force-bfd-linker.patch
force-bfd-linker.patch (text/plain), 1.75 KB, created by
and
on 2021-10-21 11:11:04 UTC
(
hide
)
Description:
force-bfd-linker.patch
Filename:
MIME Type:
Creator:
and
Created:
2021-10-21 11:11:04 UTC
Size:
1.75 KB
patch
obsolete
> >A welter of ed2k-ovmf code do not respect global CFLAGS and failed with gold linker > > ... > /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: error: /tmp/portage/sys-firmware/edk2-ovmf-202105-r1/work/edk2-edk2-stable202105/BaseTools/Scripts/GccBase.lds:54:10: INFO section type is unsupported > /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: error: /tmp/portage/sys-firmware/edk2-ovmf-202105-r1/work/edk2-edk2-stable202105/BaseTools/Scripts/GccBase.lds:66:14: INFO section type is unsupported > /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: fatal error: -pie and -static are incompatible > >force bfd linker usage, -fuse-ld=bfd support since gcc ~5.5.0 > >see #768255 > >--- a/BaseTools/Conf/tools_def.template >+++ b/BaseTools/Conf/tools_def.template >@@ -1863,7 +1863,7 @@ > *_*_*_DTCPP_PATH = DEF(DTCPP_BIN) > *_*_*_DTC_PATH = DEF(DTC_BIN) > >-DEFINE GCC_ALL_CC_FLAGS = -g -Os -fshort-wchar -fno-builtin -fno-strict-aliasing -Wall -Wno-array-bounds -include AutoGen.h -fno-common >+DEFINE GCC_ALL_CC_FLAGS = -g -Os -fshort-wchar -fno-builtin -fno-strict-aliasing -Wall -Wno-array-bounds -include AutoGen.h -fno-common -fuse-ld=bfd > DEFINE GCC_IA32_CC_FLAGS = DEF(GCC_ALL_CC_FLAGS) -m32 -malign-double -freorder-blocks -freorder-blocks-and-partition -O2 -mno-stack-arg-probe > DEFINE GCC_X64_CC_FLAGS = DEF(GCC_ALL_CC_FLAGS) -mno-red-zone -Wno-address -mno-stack-arg-probe > DEFINE GCC_ARM_CC_FLAGS = DEF(GCC_ALL_CC_FLAGS) -mlittle-endian -mabi=aapcs -fno-short-enums -funsigned-char -ffunction-sections -fdata-sections -fomit-frame-pointer -Wno-address -mthumb -mfloat-abi=soft -fno-pic -fno-pie
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 768255
:
685461
|
685464
| 745995