-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Core dump after bootstrap #450
Comments
me too! |
my os is MANJARO too, I use: my gcc is 8.3.0 |
On Arch Linux here, unable to reproduce - can you update your repo and redownload v.c and try again? |
Got it!!! Nice tweak... cc is not working but gcc do the right work! Unless delays to compile in comparison with cc |
I have the last update, however there is a problem with cc and the compilation flags apparently |
A more extended explanation and solution in the #460 |
Hi,
I just follow the steps to get and compile, however when arrives to: ./vc -o v . launches a coredump. I have test the vc binary and apparently opens the interpreter.
My OS:
Linux 5.1.8-1-MANJARO #1 SMP PREEMPT Sun Jun 9 20:44:14 UTC 2019 x86_64 GNU/Linux
GCC:
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/lto-wrapper
Objetivo: x86_64-pc-linux-gnu
Configurado con: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --enable-libmpx --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --enable-multilib --disable-werror --enable-checking=release --enable-default-pie --enable-default-ssp --enable-cet=auto
Core Dump:
PID: 28556 (vc)
UID: 1000 (alfonsodg)
GID: 1000 (alfonsodg)
Signal: 11 (SEGV)
Timestamp: Sun 2019-06-23 08:10:14 -05 (4min 45s ago)
Command Line: ./vc -o v .
Executable: /home/alfonsodg/code/v/compiler/vc
Control Group: /user.slice/user-1000.slice/session-1.scope
Unit: session-1.scope
Slice: user-1000.slice
Session: 1
Owner UID: 1000 (alfonsodg)
Boot ID: 1a5d9df51c8a493c8716db7570dc1e25
Machine ID: f8a0ff9057ad4496a2d4ed01ca9071ad
Hostname: aldebaran
Storage: /var/lib/systemd/coredump/core.vc.1000.1a5d9df51c8a493c8716db7570dc1e25.28556.1561295414000000.lz4
Message: Process 28556 (vc) of user 1000 dumped core.
lines 1-21...skipping...
PID: 28556 (vc)
UID: 1000 (alfonsodg)
GID: 1000 (alfonsodg)
Signal: 11 (SEGV)
Timestamp: Sun 2019-06-23 08:10:14 -05 (4min 45s ago)
Command Line: ./vc -o v .
Executable: /home/alfonsodg/code/v/compiler/vc
Control Group: /user.slice/user-1000.slice/session-1.scope
Unit: session-1.scope
Slice: user-1000.slice
Session: 1
Owner UID: 1000 (alfonsodg)
Boot ID: 1a5d9df51c8a493c8716db7570dc1e25
Machine ID: f8a0ff9057ad4496a2d4ed01ca9071ad
Hostname: aldebaran
Storage: /var/lib/systemd/coredump/core.vc.1000.1a5d9df51c8a493c8716db7570dc1e25.28556.1561295414000000.lz4
Message: Process 28556 (vc) of user 1000 dumped core.
gdb bt:
#0 0x00007f3d170b73bf in fgets () from /usr/lib/libc.so.6
(gdb) bt
#0 0x00007f3d170b73bf in fgets () from /usr/lib/libc.so.6
#1 0x0000557980a517e7 in os.system ()
#2 0x0000557980a5d479 in V_cc ()
#3 0x0000557980a5cb7a in V_compile ()
#4 0x0000557980a5bd4c in main ()
The text was updated successfully, but these errors were encountered: