No subject
Fri Mar 7 15:32:22 PST 2014
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?
-- Gaby
--047d7b33db6a834bce05090dac3c
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Sat, Nov 29, 2014 at 4:48 PM, Camm Maguire <span dir=3D"ltr"><<a =
href=3D"mailto:camm at maguirefamily.org" target=3D"_blank">camm at maguirefamily=
.org</a>></span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"ma=
rgin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,=
204);border-left-style:solid;padding-left:1ex"><span class=3D"">Greetings!<=
br>
<br>
Gabriel Dos Reis <<a href=3D"mailto:gdr at integrable-solutions.net">gdr at in=
tegrable-solutions.net</a>> writes:<br>
<br>
</span><span class=3D"">> Camm:<br>
><br>
> Lawrence fixed the Macports port of GCL-2.6.12 so I was able to instal=
l it.<br>
><br>
<br>
</span>Great!=C2=A0 How?<br></blockquote><div><br></div><div>From what I ca=
n see, the changes are:</div><div><br></div><div>=C2=A0 =C2=A0<a href=3D"ht=
tp://trac.macports.org/changeset/128721">http://trac.macports.org/changeset=
/128721</a></div><div><br></div><div>Lawrence, is that all?</div><div>=C2=
=A0</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8e=
x;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-styl=
e:solid;padding-left:1ex">
<span class=3D""><br>
> The next thing, though, is that GCL appears not to be work properly wi=
th Clang on this platform -- Clang is the default system compiler on new<br=
>
> versions on Mac OS X.<br>
><br>
> For example, I tried to build OpenAxiom with it, but was stumped by:<b=
r>
><br>
> Finished compiling core.lisp.<br>
><br>
> gcl \<br>
><br>
> -eval '(load "core")' \<br>
><br>
> -eval '(|AxiomCore|::|link| "base-lisp" (quote nil) &quo=
t;|AxiomCore|::|topLevel|")'<br>
><br>
> Unrelocated non-local symbol: ___stack_chk_fail<br>
><br>
<br>
</span>This is due to a cflag mismatch.=C2=A0 For example, on Debian, by po=
licy, gcl<br>
is built with<br>
<br>
"gcc -c -fstack-protector-strong -Wformat -Werror=3Dformat-security<br=
>
-D_FORTIFY_SOURCE=3D2=C2=A0 -Wall -fsigned-char -Wno-unused-but-set-variabl=
e<br>
-pipe "<br>
<br>
All modules (to be loaded) should be built with the same flags.=C2=A0 My<br=
>
guess here is that the module had the stack protector, but not the<br>
default gcl build.<br></blockquote><div><br></div><div>OK; so if I understa=
nd correctly, you would recommend that Macports adds</div><div>=C2=A0</div>=
<div>=C2=A0 =C2=A0-fstack-protector-strong -D_FORTIFY_SOURCE=3D2</div><div>=
<br></div><div>to its portfile for =C2=A0GCL's?</div><div>=C2=A0</div><=
div>-- Gaby</div><div><br></div></div></div></div>
--047d7b33db6a834bce05090dac3c--
More information about the macports-users
mailing list