Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.forth > #59811
| From | anton@mips.complang.tuwien.ac.at (Anton Ertl) |
|---|---|
| Newsgroups | comp.lang.forth |
| Subject | Re: illustration of syscalls fork and mmap |
| Date | 2017-05-25 08:47 +0000 |
| Organization | Institut fuer Computersprachen, Technische Universitaet Wien |
| Message-ID | <2017May25.104725@mips.complang.tuwien.ac.at> (permalink) |
| References | (1 earlier) <4133373a-dbcb-48f4-8b55-7e9dcf19240a@googlegroups.com> <2017May23.140104@mips.complang.tuwien.ac.at> <d7db8fbc-10f2-4e2a-a546-58af93e9fa1a@googlegroups.com> <2017May24.121336@mips.complang.tuwien.ac.at> <518d792d-3b3f-4088-9609-f83332ba97fd@googlegroups.com> |
krishna.myneni@ccreweb.org writes:
>On Wednesday, May 24, 2017 at 5:16:02 AM UTC-5, Anton Ertl wrote:
>...
>>
>> https://www.complang.tuwien.ac.at/forth/gforth/Snapshots/current/gforth.tar.xz
>>
>
>All the build steps (configure, make, make check, make bench) completed successfully. The following fails, but maybe I need to read the manual (?):
>
>-----------------------
>$ ./gforth
>Gforth 0.7.9_20170518, Copyright (C) 1995-2016 Free Software Foundation, Inc.
>Gforth comes with ABSOLUTELY NO WARRANTY; for details type `license'
>Type `help' for basic help
> ok
>include unix/mmap.fs
>in file included from *the terminal*:2
>unix/mmap.fs:39: error: Invalid memory address
>end-c-library
>Backtrace:
> 0 $7FCD70B6F390 close-lib
> 1 $7FCD70B6FDC0 check-c-hash
> 2 $7FCD70B71E68 compile-wrapper-function1
>--------------------------------
That you get the exception indicates a Gforth bug in a code path that
I don't exercise (this works for me). We will look into the bug, but
you have some other problem as well, or you would not be exercising
this code path. My guess is that you don't have libltdl installed.
Gforth's build works around missing features, but that means that the
features are then missing in the resulting Gforth system.
>Also, I can't find the syscall, waitpid. Should that be part of the unix/libc.fs ?
Or some other library, but it's not yet there. Now you can read the
manual about the C interface and defined the C function for waitpid
yourself. Or you are patient and wait until we supply it.
- anton
--
M. Anton Ertl http://www.complang.tuwien.ac.at/anton/home.html
comp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html
New standard: http://www.forth200x.org/forth200x.html
EuroForth 2017: http://www.euroforth.org/ef17/
Back to comp.lang.forth | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
illustration of syscalls fork and mmap krishna.myneni@ccreweb.org - 2017-05-13 12:25 -0700
Re: illustration of syscalls fork and mmap krishna.myneni@ccreweb.org - 2017-05-22 16:00 -0700
Re: illustration of syscalls fork and mmap anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2017-05-23 12:01 +0000
Re: illustration of syscalls fork and mmap krishna.myneni@ccreweb.org - 2017-05-23 16:30 -0700
Re: illustration of syscalls fork and mmap anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2017-05-24 10:13 +0000
Re: illustration of syscalls fork and mmap krishna.myneni@ccreweb.org - 2017-05-24 13:59 -0700
Re: illustration of syscalls fork and mmap anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2017-05-25 08:47 +0000
Re: illustration of syscalls fork and mmap krishna.myneni@ccreweb.org - 2017-05-25 04:04 -0700
Re: illustration of syscalls fork and mmap krishna.myneni@ccreweb.org - 2017-05-25 04:29 -0700
Re: illustration of syscalls fork and mmap anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2017-05-25 11:27 +0000
Re: illustration of syscalls fork and mmap krishna.myneni@ccreweb.org - 2017-05-25 05:23 -0700
Re: illustration of syscalls fork and mmap krishna.myneni@ccreweb.org - 2017-05-25 16:54 -0700
Re: illustration of syscalls fork and mmap krishna.myneni@ccreweb.org - 2017-05-25 19:19 -0700
Re: illustration of syscalls fork and mmap krishna.myneni@ccreweb.org - 2017-05-25 19:34 -0700
Re: illustration of syscalls fork and mmap Roelf Toxopeus <rt4all@nothishetnet.nl> - 2017-05-26 11:03 +0200
Re: illustration of syscalls fork and mmap krishna.myneni@ccreweb.org - 2017-05-26 05:15 -0700
Re: illustration of syscalls fork and mmap anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2017-05-26 15:22 +0000
Re: illustration of syscalls fork and mmap krishna.myneni@ccreweb.org - 2017-05-26 17:13 -0700
Re: illustration of syscalls fork and mmap josv@planet.nl - 2017-05-26 23:26 -0700
Re: illustration of syscalls fork and mmap krishna.myneni@ccreweb.org - 2017-05-27 06:20 -0700
Re: illustration of syscalls fork and mmap josv@planet.nl - 2017-05-27 07:41 -0700
Re: illustration of syscalls fork and mmap anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2017-05-27 06:21 +0000
Re: illustration of syscalls fork and mmap krishna.myneni@ccreweb.org - 2017-05-27 06:32 -0700
Re: illustration of syscalls fork and mmap Andrew Haley <andrew29@littlepinkcloud.invalid> - 2017-05-27 01:17 -0500
Re: illustration of syscalls fork and mmap josv@planet.nl - 2017-05-26 23:43 -0700
Re: illustration of syscalls fork and mmap Andrew Haley <andrew29@littlepinkcloud.invalid> - 2017-05-27 01:49 -0500
Re: illustration of syscalls fork and mmap mhx@iae.nl - 2017-05-28 03:25 -0700
Re: illustration of syscalls fork and mmap josv@planet.nl - 2017-05-28 04:56 -0700
Re: illustration of syscalls fork and mmap krishna.myneni@ccreweb.org - 2017-05-27 06:53 -0700
Re: illustration of syscalls fork and mmap Roelf Toxopeus <rt4all@nothishetnet.nl> - 2017-05-27 10:23 +0200
Re: illustration of syscalls fork and mmap krishna.myneni@ccreweb.org - 2017-05-27 12:07 -0700
csiph-web