On Sun, Aug 04, 2019 at 09:15:58PM +0100, Stuart Henderson wrote:
> On 2019/08/04 22:00, Antoine Jacoutot wrote:
> > I don't want to hijack this thread, but I just wanted to say that there are 
> > many
> > wolves hiding.
> > That gerbil port has *never* built successfully for me on exopi (amd64) 
> > since
> > its first import.
> 
> Thanks, glad it's not just me!
> 
> > 
> > cc  -O2 -pipe     -Wno-unused -Wno-write-strings -Wdisabled-optimization 
> > -fwrapv -fno-strict-aliasing -fno-math-errno -fomit-frame-pointer -fPIC 
> > -fno-common   -rdynamic   -I"/usr/local/include/gambit"  -o "gxpkg"   
> > gxpkg_.o gxpkg.o "/usr/local/lib/gambit/libgambit.a" -lutil -lm  
> > -L/usr/local/opt/openssl/lib -lssl -lcrypto 
> > [*] Build gerbil tags
> > *** ERROR; build failed
> > 
> > And thank you gerbil for the useless output...
> 
> That is all I get from the default build, but if I run the "Build gerbil
> tags" part manually I get the extra bits I showed. (I don't know why it
> doesn't display this as part of a ports build though...it's running
> the same script!)
> 
> Perhaps there is something cpu dependent, I don't see any -march bits
> in gerbil/gambit, though there are some cpuid instructions used in asm in
> gambit..basically 0 idea though.
> 

That's part of the native backend and is not enabled by default.

Could you test this patch?.


diff --git Makefile Makefile
index 88a777f7c30..7547cf59c6c 100644
--- Makefile
+++ Makefile
@@ -39,7 +39,8 @@ NO_TEST =     Yes
 GERBIL_ROOT =  ${PREFIX}/gerbil
 
 do-build:
-       cd ${WRKSRC}/src && ulimit -n 1024 && ${SETENV} ${MAKE_ENV} ./build.sh
+       cd ${WRKSRC}/src && ulimit -n 1024 -s 16384 && \
+               ${SETENV} ${MAKE_ENV} ./build.sh
 
 do-install:
        ${INSTALL_DATA_DIR} ${GERBIL_ROOT}

Reply via email to