On Thu, Aug 08, 2019 at 11:41:36PM +0100, Stuart Henderson wrote:
> On 2019/08/05 19:49, Juan Francisco Cantero Hurtado wrote:
> > On Mon, Aug 05, 2019 at 06:23:00PM +0100, Stuart Henderson wrote:
> > > On 2019/08/05 18:58, Jeremie Courreges-Anglas wrote:
> > > > On Mon, Aug 05 2019, Stuart Henderson <[email protected]> wrote:
> > > > > On 2019/08/05 17:25, Timo Myyrä wrote:
> > > > >> Juan Francisco Cantero Hurtado <[email protected]> writes:
> > > > 
> > > > [...]
> > > > 
> > > > >> > 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}
> > > > >
> > > > > Trying that in my next build (though it would seem odd for it to 
> > > > > require
> > > > > more stack on one machine than another?)
> > > 
> > > Unsurprisingly it didn't help.
> > > 
> > > > Or maybe amd64.p and exopi don't use the same limits (login.conf)?
> > > > naddy, ajacoutot?
> > > 
> > > On i386 I did copy login.conf to the new machines.
> > > 
> > > Same results building lang/gerbil with ports-gcc.
> > 
> > Build gambit with this patch and then try to build gerbil:
> > 
> > 
> > diff --git Makefile Makefile
> > index 9202dbfc8db..e6184545f60 100644
> > --- Makefile
> > +++ Makefile
> > @@ -3,6 +3,7 @@
> >  COMMENT=   complete, efficient and reliable implementation of Scheme
> >  
> >  V=         4.9.3
> > +REVISION=  0
> >  DISTNAME=  gambit-v${V:S/./_/g}
> >  PKGNAME=   gambit-$V
> >  API_V=             ${V:R:S/./0/}00${V:E}
> > @@ -20,8 +21,13 @@ PERMIT_PACKAGE=  Yes
> >  MASTER_SITES=      
> > http://www.iro.umontreal.ca/~gambit/download/gambit/v${V:R}/source/
> >  EXTRACT_SUFX=      .tgz
> >  
> > +COMPILER=  ports-gcc
> > +COMPILER_LANGS=    c
> > +
> >  WANTLIB += c crypto m ssl util
> >  
> > +RUN_DEPENDS=       lang/gcc/${MODGCC4_VERSION}
> > +
> >  CONFIGURE_STYLE=gnu
> >  CONFIGURE_ARGS+=--disable-cplusplus \
> >             --disable-absolute-shared-libs \
> > @@ -42,6 +48,10 @@ do-build:
> >     ulimit -s 12288 && cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} \
> >             ${MAKE_PROGRAM} ${MAKE_FLAGS} -f ${MAKE_FILE} ${ALL_TARGET}
> >  
> > +post-build:
> > +   sed -i 's/C_COMPILER=\"cc\"/C_COMPILER=\"egcc\"/' 
> > ${WRKSRC}/bin/gambcomp-C.unix
> > +   sed -i 's/C_PREPROC=\"cc -E\"/C_PREPROC=\"egcc -E\"/' 
> > ${WRKSRC}/bin/gambcomp-C.unix
> > +
> >  do-test:
> >     cd ${WRKSRC}/tests && ${SETENV} ${TEST_ENV} ${MAKE_PROGRAM} \
> >             ${TEST_FLAGS} -f makefile ${TEST_TARGET}
> > 
> 
> Same problem. I've tried all combinations:
> 
> gambit                gerbil
> ------                ------
> clang         gcc
> gcc           clang
> gcc           gcc

Thanks for taking the time to test all the combinations. I'm out of
ideas, so the only option would be disable the tags as upstream and Timo
suggested. Could you build gambit and gerbil with symbols and send me
the pobj directories of both ports?.

Feel free to mark the port as broken if you want.


-- 
Juan Francisco Cantero Hurtado http://juanfra.info

Reply via email to