-
Notifications
You must be signed in to change notification settings - Fork 111
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
Error building gerbil #78
Comments
hrm, interesting. how is your gambit configured? |
The only flag was --enable-single-host. I ran configure as: ./configure --enable-single-host |
I can't reproduce it locally, you might want to just comment out |
Receiving this same error.
Configured Gambit 4.8.9 (commit edac3c75f0d93f4f56a39c2b90621511f096dd72) with: |
interesting, not sure what's up. @fare care to take a look and try to reproduce on nixOS? |
Also, can you try with Gambit from master? |
Yes, I can reproduce on NixOS, after updating gambit to 4.8.9-41-gedac3c75, gerbil to 0.13-DEV-431-gd28ecaf3:
|
ok, something broke. Anyone mind |
Looks like |
hrm, this affects more places in the ffi -- |
Seems like it's simply a matter of defining |
Fresh install of gambit (v4.8.9); all 14 checks completed successfully.
When building gerbil on Fedora Linux 27:
... compile debug/heap
In file included from heap__0.c:352:0:
heap__0.c: In function ‘___H_heap____0’:
heap__0.c:11295:54: error: ‘___BODY_OFS’ undeclared (first use in this function); did you mean ‘___BODY_AS’?
___SCMOBJ next = ___TAG((base + ___STILL_HAND_OFS - ___BODY_OFS),
^
/usr/local/Gambit/include/gambit.h:1683:34: note: in definition of macro ‘___CAST’
#define ___CAST(type,val)((type)(val))
^~~
heap__0.c:11295:19: note: in expansion of macro ‘___TAG’
___SCMOBJ next = ___TAG((base + ___STILL_HAND_OFS - ___BODY_OFS),
^~~~~~
heap__0.c:11295:54: note: each undeclared identifier is reported only once for each function it appears in
___SCMOBJ next = ___TAG((base + ___STILL_HAND_OFS - ___BODY_OFS),
^
/usr/local/Gambit/include/gambit.h:1683:34: note: in definition of macro ‘___CAST’
#define ___CAST(type,val)((type)(val))
^~~
heap__0.c:11295:19: note: in expansion of macro ‘___TAG’
___SCMOBJ next = ___TAG((base + ___STILL_HAND_OFS - _BODY_OFS),
^~~~~~
*** ERROR IN ##main -- target compilation or link failed while compiling "/home/k/src/gerbil/lib/std/debug/heap__0.scm"
*** ERROR IN gxc#compile-scm-file% -- Syntax Error
*** ERROR IN ?
--- Syntax Error at compile: Compilation error; gsc exit with nonzero status
... form: "/home/k/src/gerbil/lib/std/debug/heap__0.scm"
... detail: 17920
*** ERROR; build failed
[k@grisea src]$ ls
The text was updated successfully, but these errors were encountered: