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

Fatal error: exception File "lib/Camlcoq.ml", line 100, characters 11-17: Assertion failed #134

Closed
zhendongsu opened this issue Aug 25, 2016 · 1 comment

Comments

@zhendongsu
Copy link

$ ccomp -version
The CompCert C verified compiler, version 2.7.1 (commit 0a7288f)
$
$ ccomp -c small.c
Fatal error: exception File "lib/Camlcoq.ml", line 100, characters 11-17: Assertion failed
Raised at file "lib/Camlcoq.ml", line 100, characters 11-23
Called from file "cfrontend/C2C.ml", line 770, characters 17-32
Called from file "cfrontend/C2C.ml", line 967, characters 25-44
Called from file "cfrontend/C2C.ml", line 1071, characters 14-40
Called from file "cfrontend/C2C.ml", line 1194, characters 32-59
Called from file "cfrontend/C2C.ml", line 1316, characters 18-43
Called from file "driver/Frontend.ml", line 70, characters 10-68
Called from file "driver/Driver.ml", line 72, characters 12-41
Called from file "driver/Driveraux.ml", line 140, characters 34-40
Called from file "driver/Driver.ml", line 550, characters 22-70
$
$ cat small.c
extern void __builtin_debug (int, ...);

void f ()
{
__builtin_debug (0, "error");
}
$

@bschommer
Copy link
Member

Is fixed by commit 92ffa31. However the __builtin_debug functions are not public and only used internally.

Lionel-Rieg pushed a commit to Lionel-Rieg/CompCert that referenced this issue Apr 21, 2020
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

No branches or pull requests

2 participants