Skip to content

Conversation

@Thaodan
Copy link
Contributor

@Thaodan Thaodan commented Sep 10, 2023

Also fix out of tree builds when trying to find scratchbox2_version.h

Contains #22.

@Thaodan Thaodan force-pushed the lto_and_various_build_fixes branch 2 times, most recently from bb29f77 to 58f5e84 Compare September 10, 2023 14:10
@Thaodan Thaodan force-pushed the lto_and_various_build_fixes branch 5 times, most recently from 5c882e1 to 59d6b80 Compare March 29, 2024 02:33
@Thaodan Thaodan force-pushed the lto_and_various_build_fixes branch from 59d6b80 to 596ee65 Compare March 31, 2024 03:51
@Thaodan Thaodan force-pushed the lto_and_various_build_fixes branch 2 times, most recently from 905364e to 2829179 Compare April 10, 2024 09:28
@Thaodan Thaodan force-pushed the lto_and_various_build_fixes branch from 2829179 to a4b8681 Compare April 26, 2024 14:46
@Thaodan Thaodan force-pushed the lto_and_various_build_fixes branch 2 times, most recently from dca0f9e to 10580b1 Compare October 28, 2024 09:42
@Thaodan Thaodan force-pushed the lto_and_various_build_fixes branch from 10580b1 to fdc1d23 Compare November 24, 2024 01:04
@Thaodan Thaodan force-pushed the lto_and_various_build_fixes branch from fdc1d23 to e68d9e0 Compare January 23, 2025 17:34
@Thaodan Thaodan force-pushed the lto_and_various_build_fixes branch from e68d9e0 to 5ac1124 Compare February 5, 2025 16:24
@Thaodan Thaodan force-pushed the lto_and_various_build_fixes branch 4 times, most recently from 0f1cea8 to 5f70906 Compare February 6, 2025 07:38
@Thaodan Thaodan force-pushed the lto_and_various_build_fixes branch from 5f70906 to 41fbb5f Compare April 15, 2025 03:05
@Thaodan Thaodan force-pushed the lto_and_various_build_fixes branch from 41fbb5f to dd8240b Compare April 20, 2025 12:22
@Thaodan Thaodan force-pushed the lto_and_various_build_fixes branch 3 times, most recently from dd8240b to 03b66ed Compare August 6, 2025 09:24
ldexportlist was removed earlier for export.map. Replace with
export.map where not done already. Remove obsolete references such as
the target in preload/Makefile.

Fixes: 20180ac
Signed-off-by: Björn Bidar <bjorn.bidar@jolla.com>
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 <bjorn.bidar@jolla.com>
Resolves error when using a compiler with stricter settings such as
when using LTO.

Signed-off-by: Björn Bidar <bjorn.bidar@jolla.com>
…JB#61866

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 <bjorn.bidar@jolla.com>
Once in autogen.sh and once in %make

Signed-off-by: Björn Bidar <bjorn.bidar@jolla.com>
Previously preload/exported.h depended on preload/wrappers.c even thou
both where generated from interface.master by gen-interface.pl.

Refactor so that all generated preloader files depend on the interface
and the gen-interface script.

Signed-off-by: Björn Bidar <bjorn.bidar@jolla.com>
Signed-off-by: Björn Bidar <bjorn.bidar@jolla.com>
@Thaodan Thaodan force-pushed the lto_and_various_build_fixes branch from 03b66ed to a9e21b5 Compare December 10, 2025 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants