je...@lisp.sh wrote:
>./racketcgc -cqu ../../racket/mksystem.rkt system.rktd "gcc -E -I. 
>-I../../racket/include -I../../racket/src -g -O2  -pthread 
>-I/usr/local/include  -DUSE_SENORA_GC    ../../racket/src/systype.c" "" 
>"./racketcgc" "./racketcgc"
>*** Signal SIGSEGV in racket (Makefile:171 'sysinfercgc')

Yes, and you got an "mmap W^X violation" message in /var/log/messages at
the same time.  See for example
https://www.mail-archive.com/racket-users@googlegroups.com/msg32361.html
for the reason.

So you need to do:

$ doas mount -u -o wxallowed /the-filesystem-where-you-are-doing-the-build

then:

$ mkdir build
$ cd build
$ LDFLAGS="-Wl,-z,wxneeded" ../configure plus-whatever-options-you-want
[...]
$ make
[...]
$ make install

You might also want to increase datasize-max and datasize-cur (and create
memoryuse) for "default" in /etc/login.conf to at least a gigabyte.  The
default value is 512MB, which may be enough when building starting from the
tar ball (I haven't tried) but becomes a problem if you try to build the
whole thing yourself (the documentation, in particular) starting from
github.com.

Note also that there is a racket package available on OpenBSD, so you could
just try:

$ doas pkg_add racket-minimal

(assuming you have already defined a mirror server location in
/etc/installurl or in your PKG_PATH environment variable).  I don't know
whether 'racket-minimal' is the same as what's in the tar ball or not.

Philippe


-- 
You received this message because you are subscribed to the Google Groups 
"Racket Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-dev+unsubscr...@googlegroups.com.
To post to this group, send email to racket-dev@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-dev/20180128123812.GA73207%40ccs.neu.edu.
For more options, visit https://groups.google.com/d/optout.

Reply via email to