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

Problem with testfiles #2

Open
wboeke opened this issue Nov 1, 2023 · 5 comments
Open

Problem with testfiles #2

wboeke opened this issue Nov 1, 2023 · 5 comments

Comments

@wboeke
Copy link

wboeke commented Nov 1, 2023

Hello,
For you this project is probably something from the past, but actually it is a very good forth, with very few errors. However, there is one problem: several examples in the tst directory are crashing, always when a file from the library has beeen included. I tried to find the cause hereof, but could'nt find it. The strange thing is that there are no problems on an old 32bit machine.
For you this is probably is a small problem, so please could you look at it?

@cstrotm
Copy link
Owner

cstrotm commented Nov 3, 2023

On what operating system and architecture does the crashes happen? I would like to re-create the situation here so that I can test fixes.

@wboeke
Copy link
Author

wboeke commented Nov 3, 2023

My setup: a normal amd64 laptop, running Fedora linux. I compiled with gcc and with clang, with option: -Wall

@cstrotm
Copy link
Owner

cstrotm commented Nov 6, 2023

Result so far: Tile-Forth is not 64bit "clean", i.e. it only works with 32bit C code.

Under Fedora on amd64 (x86_64) I had success when Tilde-Forth was compiled with the C compiler option "-m32".

I will add this to the Makefile in the coming days.

32bit are usually enough memory space for a Forth, or will more memory than 4GB be needed?

@wboeke
Copy link
Author

wboeke commented Nov 7, 2023

I knew that Tile works on 32bit without problems, but I don't want to cripple my modern 64bit machine with -m32 compiler option. The strange thing is that this forth works perfectly on 64bit. I only met one problem in the case that I described, so maybe it's a minor flaw. I am still searching.

@wboeke
Copy link
Author

wboeke commented Mar 15, 2024

I tried several solutions, but nothing worked. For me you may close this issue.

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