Re: GenFw: Bad definition for symbol


Oliver Steffen
 

On 08.04.2022 14:08, Oliver Steffen wrote:
Hi everyone,

I get this error when building StandaloneMmPkg for AARCH64 using gcc 11
on Ubuntu 22.04:

Bad definition for symbol '_GLOBAL_OFFSET_TABLE_'@0x5a20 or
unsupported symbol type.
One solution is to add `-fno-stack-protector` to
`GCC5_AARCH64_CC_FLAGS`.

-- Oliver

Join discuss@edk2.groups.io to automatically receive all group messages.