NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
RE: toolchain/51147: Segmentation fault with build.sh on OpenBSD current (trying rump)
-----Original Message-----
From: Christos Zoulas [mailto:christos%zoulas.com@localhost]
Sent: Friday, May 20, 2016 4:15 PM
To: toolchain-manager%netbsd.org@localhost; gnats-admin%netbsd.org@localhost; netbsd-bugs%netbsd.org@localhost; Bodzar Tomas T <Tomas.T.Bodzar%tieto.com@localhost>
Subject: Re: toolchain/51147: Segmentation fault with build.sh on OpenBSD current (trying rump)
The following reply was made to PR toolchain/51147; it has been noted by GNATS.
From: christos%zoulas.com@localhost (Christos Zoulas)
To: <Tomas.T.Bodzar%tieto.com@localhost>, <toolchain-manager%netbsd.org@localhost>,
<gnats-admin%netbsd.org@localhost>, <netbsd-bugs%netbsd.org@localhost>,
<gnats-bugs%NetBSD.org@localhost>
Cc:
Subject: Re: toolchain/51147: Segmentation fault with build.sh on OpenBSD current (trying rump)
Date: Fri, 20 May 2016 10:11:36 -0400
On May 20, 1:02pm, Tomas.T.Bodzar%tieto.com@localhost (<Tomas.T.Bodzar%tieto.com@localhost>) wrote:
-- Subject: Re: toolchain/51147: Segmentation fault with build.sh on OpenBSD
| Not sure if I understand you properly now. It is not NetBSD machine. I am o= | n OpenBSD and following tutorial for Rumpkernel. Part of that is download o= | f src-netbsd via git and then trying to build it with build.sh (necessary t= | ools). However it always crash on same place no matter if gcc or egcc is us= | ed. There are no binaries inside relevant tools directory, not are others i= | n bin=0A= | =0A= | $ pwd=0A= | /home/username/rump/rumprun/src-netbsd=0A=
| $ ls -F bin/=0A=
| cat/ chmod/ cp/ dd/ df/ ed/ ln/ ls/ mkdir/ mv/ pax/ =
| rm/ rmdir/=0A=
| $ ls -F elftools.x86_64/bin/=0A=
| nbmake* nbmake-amd64*=0A=
| $=0A=
I understand. in src-netbsd there is a tools subdirectory. It contains the toolchain to build the system. In tools there is a texinfo directory. Under that there should be the binaries for the tool that coredumps. Alternatively cp /usr/bin/true to the tool that core-dumps so the build can proceed :-)
Christos
Tried fresh run to avoid any leftovers from playing. Followed this one https://github.com/rumpkernel/wiki/wiki/Tutorial%3A-Building-Rumprun-Unikernels with OpenBSD -current updated just before run, CC=egcc (from packages) and ld line about version changed from die to echo in build-rr.sh
# create libc/fgetws.d CC=/home/username/rumprun/obj-amd64-hw/rumptools/bin/x86_64--netbsd-gcc /home/username/rumprun/obj-amd64-hw/rumptools/bin/nbmkdep -f fgetws.d.tmp -- -std=gnu99 -D
__NetBSD__ -U__OpenBSD__ --sysroot=/home/username/rumprun/obj-amd64-hw/rumptools/dest -D_LIBC -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT -D_DIAGNOSTIC -DHESIOD -DINET6 -D
NLS -I/home/username/rumprun/src-netbsd/lib/libc/include -I/home/username/rumprun/src-netbsd/lib/libc -I/home/username/rumprun/src-netbsd/sys -I/home/username/rumprun/s
rc-netbsd/lib/libc/compat/../locale -I/home/username/rumprun/src-netbsd/lib/libc/compat/stdlib -I/home/username/rumprun/src-netbsd/lib/libc/compat/../stdlib -D__BUILD_L
EGACY -I/home/username/rumprun/src-netbsd/lib/libc/../../common/lib/libc/quad -I/home/username/rumprun/src-netbsd/lib/libc/../../common/lib/libc/string -I/home/username
/rumprun/src-netbsd/lib/libc/../../common/lib/libc/arch/x86_64/string -D__DBINTERFACE_PRIVATE -I/home/username/rumprun/src-netbsd/libexec/ld.elf_so -I/home/username/rum
prun/src-netbsd/lib/libc/dlfcn -I/home/username/rumprun/src-netbsd/lib/libc/gdtoa -I/home/username/rumprun/src-netbsd/lib/libc/locale -DNO_FENV_H -I/home/username/rumpr
un/src-netbsd/lib/libc/arch/x86_64/gdtoa -DWITH_RUNE -I/home/username/rumprun/src-netbsd/lib/libc -DPOSIX_MISTAKE -DCOMPAT__RES -DUSE_POLL -DPORTMAP -DWIDE_DOUBLE -DALL
_STATE -DUSG_COMPAT /home/username/rumprun/src-netbsd/lib/libc/stdio/fgetws.c && mv fgetws.d.tmp fgetws.d
--- fgets_chk.d ---
In file included from /home/username/rumprun/src-netbsd/lib/libc/ssp/fgets_chk.c:41:0:
/usr/local/lib/gcc/x86_64-unknown-openbsd6.0/4.9.3/include/ssp/stdio.h:38:17: fatal error: ssp.h: No such file or directory
#include <ssp.h>
^
compilation terminated.
nbmkdep: compile failed.
*** [fgets_chk.d] Error code 1
nbmake: stopped in /home/username/rumprun/src-netbsd/lib/libc
1 error
nbmake: stopped in /home/username/rumprun/src-netbsd/lib/libc
$
What is change now is that there is not a core file presented anywhere, just that error above.
Home |
Main Index |
Thread Index |
Old Index