gcl-devel
[Top][All Lists]
Advanced

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

Re: [Gcl-devel] Can't build CVS GCL on Linux


From: Tim Josling
Subject: Re: [Gcl-devel] Can't build CVS GCL on Linux
Date: Sat, 26 Jan 2008 09:15:40 +1100

Camm,

It seems to be a Ubuntu thing since 7.04. You will probably find other
distros doing similar things.

I didn't see any obvious way to check whether the stack protect option
is on by default.

Tim Josling

On Fri, 2008-01-25 at 09:45 -0500, Camm Maguire wrote:
> Greetings!
> 
> Please try
> 
> CFLAGS=-fno-stack-protector ./configure (configure opts ...) && make
> 
> and let me know if possible what gcc/kernel/libc combination puts this
> stuff in by default, then I can have configure add this automatically.
> 
> There is probably nothing wrong in principal with stack protection in
> GCL if desired, as we do not execute on the stack.  But o/plttest.c
> needs modification to include references to this symbol, so GCL can
> find it later when loading objects.  I bet alloca would do it, but I
> don't have a system on which to test this.
> 
> Take care,
> 
> 
> Blake McBride <address@hidden> writes:
> 
> > I get the following during the make:
> > 
> > ;; Compiling ../lsp/gcl_listlib.lsp.
> > ;; End of Pass 1. ;; End of Pass 2. ;; OPTIMIZE levels: Safety=3,
> > Space=0, Speed=3, (Debug quality ignored)
> > ;; Finished compiling ../lsp/gcl_listlib.o.
> > ;; Loading /home/blake/Backup/gcl/lsp/gcl_listlib.o
> > __stack_chk_fail is undefined
> > 
> > Error: ERROR "Cannot get relocated section contents
> > "
> > Fast links are on: do (si::use-fast-links nil) for debugging
> > Signalled by LOAD1.
> > ERROR "Cannot get relocated section contents
> > "
> > 
> > Broken at LOAD1.  Type :H for Help.
> >  >>make: *** [unixport/saved_pre_gcl] Error 255
> > #
> > 
> > 
> > Help would be appreciated.
> > 
> > Blake McBride
> > 
> > 
> > 
> > 
> > 
> > _______________________________________________
> > Gcl-devel mailing list
> > address@hidden
> > http://lists.gnu.org/mailman/listinfo/gcl-devel
> > 
> > 
> > 
> 





reply via email to

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