Skip to content
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

miniz causes rchk to abort #68

Open
gaborcsardi opened this issue Jun 14, 2024 · 0 comments
Open

miniz causes rchk to abort #68

gaborcsardi opened this issue Jun 14, 2024 · 0 comments
Labels
upkeep maintenance, infrastructure, and similar

Comments

@gaborcsardi
Copy link
Member

If I keep miniz.o, I'll get this with rchk:

Running bcheck
/opt/R/devel-rchk/bin/rchk.sh: line 83:  3269 Aborted                 $RCHK/src/$T $RBC $F > $FOUT 2>&1
==== rchk bcheck =========================================
ERROR: too many states (abstraction error?) in function strptime_internal
ERROR: too many states (abstraction error?) in function bcEval_loop
ERROR: too many states (abstraction error?) in function StringValue
ERROR: too many states (abstraction error?) in function RunGenCollect
bcheck: /usr/lib/llvm-14/include/llvm/Support/Casting.h:269: typename llvm::cast_retty<X, Y*>::ret_type llvm::cast(Y*) [with X = llvm::LoadInst; Y = llvm::Value; typename llvm::cast_retty<X, Y*>::ret_type = llvm::LoadInst*]: Assertion `isa<X>(Val) && "cast<Ty>() argument of incompatible type!"' failed.
------------------------------------------------------

Removing miniz.o fixes this. Maybe we could do this automatically, from configure. miniz and the other third party libraries are not needed for rchk, anyway.

@gaborcsardi gaborcsardi added the upkeep maintenance, infrastructure, and similar label Jun 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upkeep maintenance, infrastructure, and similar
Projects
None yet
Development

No branches or pull requests

1 participant