-
Notifications
You must be signed in to change notification settings - Fork 392
Build fixes #1105
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
Open
cpackham-atlnz
wants to merge
15
commits into
opencomputeproject:master
Choose a base branch
from
cpackham-atlnz:build-fixes
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Build fixes #1105
cpackham-atlnz
wants to merge
15
commits into
opencomputeproject:master
from
cpackham-atlnz:build-fixes
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
With newer versions of binutils we can end up with completely empty object files. This upsets objtool which expects to find a valid symbol table resulting in the following error arch/x86/entry/thunk_64.o: warning: objtool: missing symbol table Bring in an upstream change that allows these and continues. Signed-off-by: Chris Packham <[email protected]>
GCC 15 will switch to C23 by default which causes some old style function definitions to generate errors because they are interpreted differently. Add the missing return type and arguments to cmd_usage() in sys_eeprom.c to comply with C23. Signed-off-by: Chris Packham <[email protected]>
These patches have been unused since commit f1d5ec1 ("kexec-tools - upgrade from 2.0.9 to 2.0.22"). Drop them from the repository. Signed-off-by: Chris Packham <[email protected]>
Bring in an upstream patch that fixes a build issue when using binutils 2.41 or newer. Signed-off-by: Chris Packham <[email protected]>
Newer versions of GCC produce new sections that need to be stripped from the grub decompressor. There are also some new errors issues by GCC 15 for some existing code. Bring in some upstream patches that resolve these issues. uild-Fix-Werror-array-bounds-array-subscript-0-is-o.patch had some merge conflicts when applying to 2.04 which were resolved. use-stdbool.patch is a simplified version of the upstream patch. Signed-off-by: Chris Packham <[email protected]>
Add a patch to fix a build issue with newer versions of GCC. This is
based on upstream commit 16343bd ("bug#74444: [PATCH] parted: fix
do_version declaration") but is not identical because there are other
changes that stop the upstream patch from applying cleanly to
parted-3.1.
Signed-off-by: Chris Packham <[email protected]>
Add an upstream patch to resolve build issues with GCC 15. Signed-off-by: Chris Packham <[email protected]>
Add a patch to fix a build error with GCC 15. This is based on changes
in upstream commit 7dd42c5 ("Unify version string printing").
Signed-off-by: Chris Packham <[email protected]>
Ensure we are pointing to the dev-sysroot otherwise we end up picking up libraries that are present on the build machine. Signed-off-by: Chris Packham <[email protected]>
Bring in two upstream patches that resolve address-of-packed-member errors. Ensure we pass the correct CFLAGS when building efivars. Signed-off-by: Chris Packham <[email protected]>
Drop the patches for mokutil that are not used. Signed-off-by: Chris Packham <[email protected]>
Bring in two patches from upstream to resolve build issues with newer compilers. Signed-off-by: Chris Packham <[email protected]>
05581d7 to
98b36ef
Compare
Bring in 3 patches that resolve build issues with newer versions of GCC. Signed-off-by: Chris Packham <[email protected]>
Add a patch to resolve a build issue with GCC 15. The build error actually looks like a false positive or maybe a miss-optimization however it does highlight some dead code. Signed-off-by: Chris Packham <[email protected]>
Bring in an upstream patch that allows GRUB's build process to detect the correct python interpreter. Remove the forced setting of PYTHON and let the auto detection decide which interpreter to use. Signed-off-by: Chris Packham <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a series that brings in upstream fixes for various issues highlighted by newer versions of GCC. These are mostly cherry-picks of upstream changes. I've noted where the patches are sourced from and when they differ due to back porting.
These should all be fine with the existing toolchain (I've been testing with kvm_x86_64) but unlock the ability to update to a newer GCC.