Reviving a 2-year old thread... On Sat, Nov 29, 2014 at 10:33 PM, Gabriel Dos Reis < g...@integrable-solutions.net> wrote:
> > > On Sat, Nov 29, 2014 at 4:48 PM, Camm Maguire <c...@maguirefamily.org> > wrote: > >> Greetings! >> >> Gabriel Dos Reis <g...@integrable-solutions.net> writes: >> >> > Camm: >> > >> > Lawrence fixed the Macports port of GCL-2.6.12 so I was able to install >> it. >> > >> >> Great! How? >> > > From what I can see, the changes are: > > http://trac.macports.org/changeset/128721 > > Lawrence, is that all? > > >> >> > The next thing, though, is that GCL appears not to be work properly >> with Clang on this platform -- Clang is the default system compiler on new >> > versions on Mac OS X. >> > >> > For example, I tried to build OpenAxiom with it, but was stumped by: >> > >> > Finished compiling core.lisp. >> > >> > gcl \ >> > >> > -eval '(load "core")' \ >> > >> > -eval '(|AxiomCore|::|link| "base-lisp" (quote nil) >> "|AxiomCore|::|topLevel|")' >> > >> > Unrelocated non-local symbol: ___stack_chk_fail >> > >> >> This is due to a cflag mismatch. For example, on Debian, by policy, gcl >> is built with >> >> "gcc -c -fstack-protector-strong -Wformat -Werror=format-security >> -D_FORTIFY_SOURCE=2 -Wall -fsigned-char -Wno-unused-but-set-variable >> -pipe " >> >> All modules (to be loaded) should be built with the same flags. My >> guess here is that the module had the stack protector, but not the >> default gcl build. >> > > OK; so if I understand correctly, you would recommend that Macports adds > > -fstack-protector-strong -D_FORTIFY_SOURCE=2 > > to its portfile for GCL's? > Camm: could you confirm that this is what you recommend MacPorts does for its port of GCL? Thanks, -- Gaby
_______________________________________________ Gcl-devel mailing list Gcl-devel@gnu.org https://lists.gnu.org/mailman/listinfo/gcl-devel