bug-prolog
[Top][All Lists]
Advanced

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

Re: compile probs w/ solaris 8


From: Daniel Diaz
Subject: Re: compile probs w/ solaris 8
Date: Fri, 18 Jan 2002 12:40:54 +0100

Hi,

I could not try the last version under Solaris. Maybe there is a problem with 
gcc-3.0.3 (I will try
it under Linux first) or maybe it is due to the fact that I have increased the 
size of the stacks by
default: Try this (bash version):

export GLOBALSZ=4096
export LOCALSZ=3192
export TRAILSZ=2048
export CSTRSZ=2048

and then

make

(which shoul try to rebuilt fd2c.o from fd2c.pl).

If this works, you can add these environment variables to you .bashrc or 
similar. Or else you can
edit the file EnginePl/wam_archi.def. The sizes of the stacks are at the end of 
this source in
Kbytes. Then rebuild the whole:

Hope this helps

Amos Gouaux wrote:
> 
> Hi.
> 
> Sorry if this isn't appropriate place, but just got a request in
> today to install gprolog for a class.  Sigh.
> 
> I've tried both gprolog-1.2.8 and gprolog-1.2.9 that I just found in
> the "unstable" area.  With both I run into the following:
> 
> gplc -o pl2wam --no-fd-lib --min-bips pl2wam.o read_file.o bip_list.o 
> syn_sugar.o internal.o code_gen.o reg_alloc.o inst_codif.o first_arg.o 
> indexing.o wam_emit.o
> gmake[1]: Leaving directory 
> `/usr/soft/that/gprolog-1.2.9/src/default/sparc_sun_solaris2.8/src/Pl2Wam'
> gmake[1]: Entering directory 
> `/usr/soft/that/gprolog-1.2.9/src/default/sparc_sun_solaris2.8/src/Fd2C'
> gplc -c --fast-math fd2c.pl
> 
> Fatal Error: Memory allocation fault
> compilation failed
> gmake[1]: *** [fd2c.o] Error 1
> gmake[1]: Leaving directory 
> `/usr/soft/that/gprolog-1.2.9/src/default/sparc_sun_solaris2.8/src/Fd2C'
> gmake: *** [all] Error 1
> 
> I noticed the fairly recent post about EnginePl/Makefile.in
> alteration for 1.2.8, but that didn't work.  Nor did 1.2.9.  I even
> tried compiling with no optimization.  So far, no matter what I do I
> still hit this spot.
> 
> So far I haven't found it anywhere, but is there a problem with
> using gcc-3.0.3 to compile gprolog?
> 
> Thanks,
> Amos
> 
> _______________________________________________
> Bug-prolog mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-prolog

-- 
Daniel Diaz   address@hidden
http://pauillac.inria.fr/~diaz
gprolog --version 2>&1 | sed -n -e 's/By //p'



reply via email to

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