Skip to content

Ignore -flto=* CFLAGS#210

Merged
yutannihilation merged 4 commits intomainfrom
fix/ignore-lto
Apr 14, 2026
Merged

Ignore -flto=* CFLAGS#210
yutannihilation merged 4 commits intomainfrom
fix/ignore-lto

Conversation

@yutannihilation
Copy link
Copy Markdown
Owner

gcc-ASAN build is failing. It seems this is because gcc-ASAN build adds -flto=10; since the latest Makevars.in passes CFLAGS to the cc crate, it blows away the symbol. We should not let it get optimized at this point.

** testing if installed package can be loaded from temporary location
Error: package or namespace load failed for ‘string2path’ in dyn.load(file, DLLpath = DLLpath, ...):
 unable to load shared object '/data/gannet/ripley/R/packages/tests-gcc-SAN/string2path.Rcheck/00LOCK-string2path/00new/string2path/libs/string2path.so':
  /data/gannet/ripley/R/packages/tests-gcc-SAN/string2path.Rcheck/00LOCK-string2path/00new/string2path/libs/string2path.so: undefined symbol: unwind_protect_impl
Error: loading failed
Execution halted
ERROR: loading failed

@yutannihilation yutannihilation merged commit ab0fbc8 into main Apr 14, 2026
8 checks passed
@yutannihilation yutannihilation deleted the fix/ignore-lto branch April 14, 2026 14:06
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.

1 participant