[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Compiled programs don't run on Solaris x86

From: Scott L. Burson
Subject: Compiled programs don't run on Solaris x86
Date: Fri, 12 Jan 2007 12:15:18 -0800
User-agent: Mozilla Thunderbird 1.0.7 (X11/20050923)


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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]