Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 768255
Collapse All | Expand All

(-)file_not_specified_in_diff (-2 / +2 lines)
Line  Link Here
   ...
   ...
1
   /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
1
   /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
2
   /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
2
   /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
3
   /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
3
   /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
4
-- a/BaseTools/Conf/tools_def.template
4
++ b/BaseTools/Conf/tools_def.template
Lines 1863-1869 Link Here
1863
*_*_*_DTCPP_PATH                   = DEF(DTCPP_BIN)
1863
*_*_*_DTCPP_PATH                   = DEF(DTCPP_BIN)
1864
*_*_*_DTC_PATH                     = DEF(DTC_BIN)
1864
*_*_*_DTC_PATH                     = DEF(DTC_BIN)
1865
1865
1866
DEFINE GCC_ALL_CC_FLAGS            = -g -Os -fshort-wchar -fno-builtin -fno-strict-aliasing -Wall  -Wno-array-bounds -include AutoGen.h -fno-common
1866
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
1867
DEFINE GCC_IA32_CC_FLAGS           = DEF(GCC_ALL_CC_FLAGS) -m32 -malign-double -freorder-blocks -freorder-blocks-and-partition -O2 -mno-stack-arg-probe
1867
DEFINE GCC_IA32_CC_FLAGS           = DEF(GCC_ALL_CC_FLAGS) -m32 -malign-double -freorder-blocks -freorder-blocks-and-partition -O2 -mno-stack-arg-probe
1868
DEFINE GCC_X64_CC_FLAGS            = DEF(GCC_ALL_CC_FLAGS) -mno-red-zone -Wno-address -mno-stack-arg-probe
1868
DEFINE GCC_X64_CC_FLAGS            = DEF(GCC_ALL_CC_FLAGS) -mno-red-zone -Wno-address -mno-stack-arg-probe
1869
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
1869
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

Return to bug 768255