<div dir="ltr">







<p class="gmail-p1"><span class="gmail-s1">CKs-Mac-mini:gambit kashyap$ gcc --version</span></p>
<p class="gmail-p1"><span class="gmail-s1">Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/include/c++/4.2.1</span></p>
<p class="gmail-p1"><span class="gmail-s1">Apple LLVM version 8.0.0 (clang-800.0.42.1)</span></p>
<p class="gmail-p1"><span class="gmail-s1">Target: x86_64-apple-darwin16.3.0</span></p>
<p class="gmail-p1"><span class="gmail-s1">Thread model: posix</span></p>
<p class="gmail-p1"><span class="gmail-s1">InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin</span></p><p class="gmail-p1"><span class="gmail-s1"><br></span></p><p class="gmail-p1"><span class="gmail-s1">Regards,</span></p><p class="gmail-p1">Kashyap</p></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jan 21, 2017 at 1:32 PM, Marc Feeley <span dir="ltr"><<a href="mailto:feeley@iro.umontreal.ca" target="_blank">feeley@iro.umontreal.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">What is the version of clang you are using?<br>
<span class="HOEnZb"><font color="#888888"><br>
Marc<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
> On Jan 21, 2017, at 4:30 PM, C K Kashyap <<a href="mailto:ckkashyap@gmail.com">ckkashyap@gmail.com</a>> wrote:<br>
><br>
> Okay ..make check worked when I used CC=gcc-6 .... I think it was an issue with clang!<br>
><br>
> Regards,<br>
> Kashyap<br>
><br>
> On Sat, Jan 21, 2017 at 1:19 PM, C K Kashyap <<a href="mailto:ckkashyap@gmail.com">ckkashyap@gmail.com</a>> wrote:<br>
> After trying the sequence I got this -<br>
><br>
> rm -f results.* all-results.scm bench-*.html<br>
><br>
> /Applications/Xcode.app/<wbr>Contents/Developer/usr/bin/<wbr>make all       # make everything with repo HEAD gsc compiler<br>
><br>
> making all in include<br>
><br>
> making all in lib<br>
><br>
> ../gsc-boot -:~~bin=../bin,~~lib=../lib,~~<wbr>include=../include -f -c  -check -prelude "(##include \"header.scm\")" _io.scm<br>
><br>
> ../gsc-boot -:~~bin=../bin,~~lib=../lib,~~<wbr>include=../include -f -c  -check -prelude "(##include \"header.scm\")" _num.scm<br>
><br>
> ../gsc-boot -:~~bin=../bin,~~lib=../lib,~~<wbr>include=../include -f -c  -check -prelude "(##include \"header.scm\")" _std.scm<br>
><br>
> ../gsc-boot -:~~bin=../bin,~~lib=../lib,~~<wbr>include=../include -f -c  -check -prelude "(##include \"header.scm\")" _repl.scm<br>
><br>
> make[2]: *** [_repl.c] Segmentation fault: 11<br>
><br>
> make[2]: *** Waiting for unfinished jobs....<br>
><br>
> make[2]: *** [_std.c] Segmentation fault: 11<br>
><br>
> make[2]: *** [_num.c] Segmentation fault: 11<br>
><br>
> make[2]: *** [_io.c] Segmentation fault: 11<br>
><br>
> make[1]: *** [all-recursive] Error 1<br>
><br>
> make: *** [from-scratch] Error 2<br>
><br>
><br>
><br>
> I am now going try with CC=gcc-6<br>
><br>
><br>
><br>
> Regards,<br>
><br>
> Kashyap<br>
><br>
><br>
> On Sat, Jan 21, 2017 at 12:53 PM, Marc Feeley <<a href="mailto:feeley@iro.umontreal.ca">feeley@iro.umontreal.ca</a>> wrote:<br>
> It should work, given I use basically the same setup (OS X and gcc-6) for my development.<br>
><br>
> Could you try this exact sequence to see if that works?<br>
><br>
>    git clone <a href="https://github.com/gambit/gambit.git" rel="noreferrer" target="_blank">https://github.com/gambit/<wbr>gambit.git</a><br>
>    cd gambit<br>
>    ./configure<br>
>    make -j4 latest-release<br>
>    ./configure --enable-single-host<br>
>    make -j4 from-scratch<br>
>    make check<br>
><br>
> Marc<br>
><br>
> > On Jan 21, 2017, at 3:47 PM, C K Kashyap <<a href="mailto:ckkashyap@gmail.com">ckkashyap@gmail.com</a>> wrote:<br>
> ><br>
> > Hi,<br>
> ><br>
> > I tried to build gambit on my home mac mini (macOS Sierra, 10.12.2) first with xcode/gcc using<br>
> > ./configure  --enable-gcc-opts --prefix=/Users/kashyap/<wbr>Documents/dev/gambitInstall; make -j4 latest-release; ./configure --enable-single-host  --enable-gcc-opts; make -j4 from-scratch; make check<br>
> ><br>
> > This resulted in<br>
> ><br>
> > ../gsc-boot -:~~bin=../bin,~~lib=../lib,~~<wbr>include=../include -f -warnings -c  -check _t-c-2.scm<br>
> ><br>
> ><br>
> > make: *** [_t-c-2.c] Segmentation fault: 11<br>
> ><br>
> > I then installed gcc using brew and tried with CC=gcc-6 option ... this too resulted in the same error. I tried running gdb (after all the certificate drama), but was not able to get any more information ...<br>
> ><br>
> > (gdb) r  -:~~bin=../bin,~~lib=../lib,~~<wbr>include=../include -f -warnings -c  -check _t-c-2.scm<br>
> ><br>
> > Starting program: /Users/kashyap/Documents/dev/<wbr>gambit/gsc-boot -:~~bin=../bin,~~lib=../lib,~~<wbr>include=../include -f -warnings -c  -check _t-c-2.scm<br>
> ><br>
> ><br>
> > During startup program terminated with signal SIG113, Real-time event 113.<br>
> ><br>
> > Am I missing a something here?<br>
> ><br>
> ><br>
> ><br>
> > Regards,<br>
> ><br>
> > Kashyap<br>
> ><br>
> ><br>
> ><br>
> > ______________________________<wbr>_________________<br>
> > Gambit-list mailing list<br>
> > <a href="mailto:Gambit-list@iro.umontreal.ca">Gambit-list@iro.umontreal.ca</a><br>
> > <a href="https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list" rel="noreferrer" target="_blank">https://webmail.iro.umontreal.<wbr>ca/mailman/listinfo/gambit-<wbr>list</a><br>
><br>
><br>
><br>
<br>
</div></div></blockquote></div><br></div>