Compiled programs don't run on Solaris x86
"Scott L. Burson" <[email protected]>
| Newsgroups | gmane.comp.gnu.prolog.bugs |
|---|---|
| Message-ID | <[email protected]> |
Hi, I have built Prolog 1.3.0 on Solaris x86. (Specifically, OpenSolaris build 49, using GCC 3.4.3 modified by Sun. This is a 64-bit machine, but of course a 32-bit build of Prolog.) The interpreter comes up and seems to work fine; at least, some simple test queries succeed. The compiler runs and produces an executable, but the executable crashes with a SEGV on startup. This is true even for a trivial program like :- initialization(main). main :- print(hello), nl. I tried running the executable under GDB, and what I find is that `Rd_Callable_Check' has been passed a `start_word' of 0. Beyond that, it's hard to see what's going on since there are no frame pointers. -- Scott