-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: compile edk2 on Ubuntu 24.04 using stable/202011 fails due to /usr/bin/ld: ../bin/BrotliCompress: hidden symbol kBrotliCopyExtra' isn't defined` #10834
Comments
please check submodule pull correctly, and please give gcc version to be used for build the tools? can you try the latest edk2 version? |
hello, thanks: gcc:
I tried to re-check out submodules with
I think I cannot use the latest edk2 version because for the i915ovmf package I need stable/202011 for If I re-checkout edk2 master branch, and update all submodules, I end up (again) with:
I think the problem is that for the release 202011 there is no shared_dictionary.h in ./brotli/c/include/brotli: but there is in the current edk2 master If I try to copy latest brotli submodule to the 202011 release, I get the above error message of
so I'm not sure why the 202011 release wants
|
Is there an existing issue for this?
Bug Type
What packages are impacted?
BaseTools
Which targets are impacted by this bug?
No response
Current Behavior
Hello,
I try to compile the i915ovmfPkg (https://github.com/x78x79x82x79/i915ovmfPkg) which requires edk2 and edk2-platforms. I have a build error within edk2 (still, please redirect me to the correct issue tracker if this is not the correct one)
I have installed the following packages (also according to the old wiki, see below):
As (partly) documented, I:
TARGET_ARCH
in ./edk2/Conf/target.txt to X64However, the building fails with:
so apparently some includes are missing.
I get them from https://github.com/google/brotli.git and move the checked out code to /edk2/BaseTools/Source/C/BrotliCompress/brotli (renaming the existing directory). I guess there are better ways, but well.
I try to build again, but it still fails with:
so now there is an issue with
/usr/bin/ld: ../bin/BrotliCompress: hidden symbol
kBrotliCopyExtra' isn't defined`I don't know how to proceed. Maybe it is a small issue? I understand that this is not the issue tracker of i915ovmfPkg (where I cannot add an issue) but the problems relies with brotli within the the edk2 repository.
might somebody help me fix this? I would then be more than happy to ask getting the documentation on i915ovmfPkg updated to reflect newer building environments.
Expected Behavior
i915ovmfPkg should build fine because edk2 builds fine.
Steps To Reproduce
Build Environment
Version Information
Urgency
Low
Are you going to fix this?
Someone else needs to fix it
Do you need maintainer feedback?
Maintainer feedback requested
Anything else?
No response
The text was updated successfully, but these errors were encountered: