mighty-gerbils / gerbil

Gerbil Scheme
https://cons.io
GNU Lesser General Public License v2.1
1.15k stars 110 forks source link

NetBSD build fails #1024

Closed ober closed 10 months ago

ober commented 10 months ago

libssl0.c: In function 'ffi_ssl_error': libssl0.c:693:4: error: a label can only be part of a statement and a declaration is not a statement 693 | _processor_state __ps = GET_PSTATE(); | ^~~~~~ In file included from libssl0.c:120: /root/gerbil/build/include/gambit.h:1121:16: error: expected expression before 'long' 1121 | #define __S64 long | ^~~~ /root/gerbil/build/include/gambit.h:2211:17: note: in expansion of macro 'S64' 2211 | #define WORD S64 | ^~ /root/gerbil/build/include/gambit.h:2225:19: note: in expansion of macro 'WORD' 2225 | #define SCMOBJ _WORD | ^~~ libssl_0.c:694:4: note: in expansion of macro 'SCMOBJ' 694 | SCMOBJ result = make_pair(ps, FIX(last), _NUL); | ^~~~~ libssl_0.c:695:22: error: 'result' undeclared (first use in this function) 695 | release_scmobj(result); | ^~ libssl__0.c:695:22: note: each undeclared identifier is reported only once for each function it appears in *** Unhandled exception in #<thread #13600>

ERROR IN ? --- Syntax Error at compile: Compilation error; process exit with nonzero status ... form: Continuation backtrace: 0 gxc#gsc-compile-file
1 gxc#compile-scm-file__%
2 gxc#compile-runtime-code
3 gxc#compile-runtime-code
"/root/gerbil/build/bin/gsc"
ERROR IN #:loop97433, "misc/concurrent-plan.ss"@88.7 -- Build Failure at (gxc net/ssl/libssl -ld-options -lssl -lcrypto)

ERROR IN ? --- Syntax Error at compile: Compilation error; process exit with nonzero status ... form: "/root/gerbil/build/bin/gsc" ERROR; build failed build failed *** [build] Error code 1

make: stopped in /root/gerbil 1 error

make: stopped in /root/gerbil you have mail vc6-60# vc6-60#

ober commented 10 months ago

Using gcc13 cleared this up.