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

Build failed with --enable-debug #1197

Open
xh4 opened this issue Mar 29, 2024 · 1 comment
Open

Build failed with --enable-debug #1197

xh4 opened this issue Mar 29, 2024 · 1 comment

Comments

@xh4
Copy link

xh4 commented Mar 29, 2024

Gerbil version: c60d451
OS: Ubuntu 22.04.2 LTS (5.15.146.1-microsoft-standard-WSL2 x86_64)

How to reproduce:

./configure --enable-debug
make
...
making core in lib
make[3]: Entering directory '/home/xh/gerbil/src/gambit/lib'
LD_LIBRARY_PATH=..:/home/xh/gerbil/build/lib ../gsc-boot -:~~bin=../bin,~~lib=../lib,~~include=../incl
ude -f -c  -prelude "(define-cond-expand-feature|enable-type-checking|)(define-cond-expand-feature|dis
able-auto-forcing|)(define-cond-expand-feature|enable-sharp-dot|)(define-cond-expand-feature|enable-bi
gnum|)(define-cond-expand-feature|enable-ratnum|)(define-cond-expand-feature|enable-cpxnum|)(define-co
nd-expand-feature|enable-s8vector|)(define-cond-expand-feature|enable-u16vector|)(define-cond-expand-f
eature|enable-s16vector|)(define-cond-expand-feature|enable-u32vector|)(define-cond-expand-feature|ena
ble-s32vector|)(define-cond-expand-feature|enable-u64vector|)(define-cond-expand-feature|enable-s64vec
tor|)(define-cond-expand-feature|enable-f32vector|)(define-cond-expand-feature|disable-smp|)(##include
\"../lib/header.scm\")" _io.scm
Segmentation fault
make[3]: *** [makefile:183: _io.c] Error 139
make[3]: Leaving directory '/home/xh/gerbil/src/gambit/lib'
make[2]: *** [makefile:544: core-recursive] Error 1 
make[2]: Leaving directory '/home/xh/gerbil/src/gambit'
make[1]: *** [makefile:142: from-scratch] Error 2
make[1]: Leaving directory '/home/xh/gerbil/src/gambit'
>>> Installing Gambit to /home/xh/gerbil/build
cp: cannot stat 'gambit/gsi/gsi': No such file or directory
cp: cannot stat 'gambit/gsc/gsc': No such file or directory
'gambit/bin/gambuild-C' -> '/home/xh/gerbil/build/bin/gambuild-C'
'gambit/include/gambit.h' -> '/home/xh/gerbil/build/include/gambit.h'
'gambit/include/gambit-not409005.h' -> '/home/xh/gerbil/build/include/gambit-not409005.h'
'gambit/lib/_eval#.scm' -> '/home/xh/gerbil/build/lib/_eval#.scm'
'gambit/lib/_fifo#.scm' -> '/home/xh/gerbil/build/lib/_fifo#.scm'
'gambit/lib/_gambit#.scm' -> '/home/xh/gerbil/build/lib/_gambit#.scm'
'gambit/lib/_io#.scm' -> '/home/xh/gerbil/build/lib/_io#.scm'
'gambit/lib/_kernel#.scm' -> '/home/xh/gerbil/build/lib/_kernel#.scm'
'gambit/lib/_module#.scm' -> '/home/xh/gerbil/build/lib/_module#.scm'
'gambit/lib/_nonstd#.scm' -> '/home/xh/gerbil/build/lib/_nonstd#.scm'
'gambit/lib/_num#.scm' -> '/home/xh/gerbil/build/lib/_num#.scm'
'gambit/lib/_optional#.scm' -> '/home/xh/gerbil/build/lib/_optional#.scm'
'gambit/lib/_repl#.scm' -> '/home/xh/gerbil/build/lib/_repl#.scm'
'gambit/lib/_std#.scm' -> '/home/xh/gerbil/build/lib/_std#.scm'
'gambit/lib/_system#.scm' -> '/home/xh/gerbil/build/lib/_system#.scm'
'gambit/lib/_thread#.scm' -> '/home/xh/gerbil/build/lib/_thread#.scm'
'gambit/lib/gambit#.scm' -> '/home/xh/gerbil/build/lib/gambit#.scm'
'gambit/lib/r4rs#.scm' -> '/home/xh/gerbil/build/lib/r4rs#.scm'
'gambit/lib/r5rs#.scm' -> '/home/xh/gerbil/build/lib/r5rs#.scm'
'gambit/lib/r7rs#.scm' -> '/home/xh/gerbil/build/lib/r7rs#.scm'
'gambit/lib/_define-syntax.scm' -> '/home/xh/gerbil/build/lib/_define-syntax.scm'
'gambit/gsc/_arm#.scm' -> '/home/xh/gerbil/build/lib/_arm#.scm'
'gambit/gsc/_asm#.scm' -> '/home/xh/gerbil/build/lib/_asm#.scm'
'gambit/gsc/_assert#.scm' -> '/home/xh/gerbil/build/lib/_assert#.scm'
'gambit/gsc/_codegen#.scm' -> '/home/xh/gerbil/build/lib/_codegen#.scm'
'gambit/gsc/_riscv#.scm' -> '/home/xh/gerbil/build/lib/_riscv#.scm'
'gambit/gsc/_x86#.scm' -> '/home/xh/gerbil/build/lib/_x86#.scm'
cp: cannot stat 'gambit/lib/_gambit.c': No such file or directory
[*] Compiling bootstrap gxi shim
[*] Building Gerbil bootstrap
>>> preparing bootstrap
>>> compiling bootstrap gerbil
./build.sh: 181: gsi: not found
@vyzo
Copy link
Collaborator

vyzo commented Mar 29, 2024

gambit segfaulted compiling itself, interesting.

@feeley any ideas what happened here?

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