ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf is not found in packages path #6503
-
I tried to build the SCT and followed the instructions provided here on Linux, but encountered the following error: build.py... It seems CompilerIntrinsicsLib.inf is missing from the edk2. Does anyone have any ideas on how to resolve this? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 2 replies
-
@r1chard-lyu |
Beta Was this translation helpful? Give feedback.
-
@r1chard-lyu try this changes tianocore/edk2-test#105 or you can even try to use tagged version |
Beta Was this translation helpful? Give feedback.
-
@anandhkrishna Thank you for providing the information. After applying the patch for the change that moved the library from ArmPkg to MdePkg, I encountered another error, which appears to be a different issue, as shown below.
|
Beta Was this translation helpful? Give feedback.
-
@r1chard-lyu can you share your build log? Also GCC49 is very old and deprecated from edk2. You should be using GCC5 or GCC. I don't know if edk2-test needs to be updated for that. |
Beta Was this translation helpful? Give feedback.
-
@os-d Yes, the attachment is my build.log. By the way, I'm not sure why the command |
Beta Was this translation helpful? Give feedback.
@r1chard-lyu , this looks like a toolchain misconfigured issue, since it seems that it isn’t understanding “make”. GCC49 is simply the set of definitions in tools_def.template that is being used, not which specific GCC compiler. It is worth trying GCC or GCC5 as TOOL_CHAIN_TAG because it does use different environment variables, but I would make sure your GCC_PREFIX env variables are pointing to the right GCC files, i.e. is there anything there.