-
Notifications
You must be signed in to change notification settings - Fork 4
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
Fix various errors found during LTO build #23
Open
Thaodan
wants to merge
9
commits into
master
Choose a base branch
from
lto_and_various_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.
Conversation
This file contains 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
Thaodan
force-pushed
the
lto_and_various_build_fixes
branch
2 times, most recently
from
September 10, 2023 14:10
bb29f77
to
58f5e84
Compare
Thaodan
force-pushed
the
lto_and_various_build_fixes
branch
3 times, most recently
from
March 28, 2024 17:52
d2dba9b
to
173bf67
Compare
Signed-off-by: Björn Bidar <[email protected]>
lua.h isn't always inside in /usr/include, take LUA_CFLAGS as taken from pkgconfig. Signed-off-by: Björn Bidar <[email protected]>
Thaodan
force-pushed
the
lto_and_various_build_fixes
branch
2 times, most recently
from
March 29, 2024 02:33
5c882e1
to
59d6b80
Compare
Thaodan
force-pushed
the
lto_and_various_build_fixes
branch
from
March 31, 2024 03:51
59d6b80
to
596ee65
Compare
Thaodan
force-pushed
the
lto_and_various_build_fixes
branch
2 times, most recently
from
April 10, 2024 09:28
905364e
to
2829179
Compare
Signed-off-by: Björn Bidar <[email protected]>
Previously in some instance the assumption was $(SRCDIR) = $(OBJDIR). If $(OBJDIR) isn't equal to $(SRCDIR) these files were not found anymore. Signed-off-by: Björn Bidar <[email protected]>
Resolves error when using a compiler with stricter settings such as when using LTO. Signed-off-by: Björn Bidar <[email protected]>
Both open and openat load their last argument 'mode' lazily, using va_arg() only if O_CREAT is found in oflag. This is wrong, mode is also necessary if O_TMPFILE is in oflag. Adapt __OPEN_NEEDS_MODE(oflag) present since glibc 2.22 to solve the issue. Read more down below: https://sourceware.org/git/?p=glibc.git;a=commit;h=65f6f938cd562a614a68e15d0581a34b177ec29d Signed-off-by: Björn Bidar <[email protected]>
Once in autogen.sh and once in %make Signed-off-by: Björn Bidar <[email protected]>
Signed-off-by: Björn Bidar <[email protected]>
Signed-off-by: Björn Bidar <[email protected]>
Thaodan
force-pushed
the
lto_and_various_build_fixes
branch
from
April 26, 2024 14:46
2829179
to
a4b8681
Compare
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.
Also fix out of tree builds when trying to find
scratchbox2_version.h
Contains #22.