Hi, "matthew green" <m...@netbsd.org> writes:
> Module Name: src > Committed By: mrg > Date: Thu Feb 22 02:47:27 UTC 2024 > > Modified Files: > src/tools/gcc: Makefile > > Log Message: > enable isl support for GCC 12. I have HAVE_GCC=12 in my /etc/mk.conf. I have gotten the following error. Maybe something for isl library is missing in the src tree. Could you take a look at my problem? Thank you. checking for objdir... .libs [463/94127] checking for the correct version of gmp.h... yes checking for the correct version of mpfr.h... yes checking for the correct version of mpc.h... yes checking for the correct version of the gmp/mpfr/mpc libraries... yes checking for isl 0.15 or later... no required isl version is 0.15 or later configure: error: Unable to find a usable isl. See config.log for details. *** Failed target: .configure_done *** Failed commands: @mkdir build 2>/dev/null || true @(cd build && ${CONFIGURE_ENV} ${HOST_SH} ${GNUHOSTDIST}/configure ${CON FIGURE_ARGS}) => @(cd build && gcc_cv_libc_provides_ssp=yes gcc_cv_as_sparc_gotdata_o p=no AR=ar AWK=/usr/world/10.99/amd64/tools/bin/nbawk CC=cc CFLAGS=-O CONFIG _SHELL=/bin/sh CPPFLAGS= CXX=c++ CXXFLAGS=-O INSTALL=/usr/world/10.99/amd64/ tools/bin/x86_64--netbsd-install\ -c\ -p\ -r LDFLAGS= LEX=/usr/world/10.99/amd 64/tools/bin/nblex FLEX=/usr/world/10.99/amd64/tools/bin/nblex M4=/usr/world/1 0.99/amd64/tools/bin/nbm4 MAKE=/usr/world/10.99/amd64/tools/bin/nbgmake PATH=" /usr/world/10.99/amd64/tools/bin:$PATH" RANLIB=ranlib YACC=/usr/world/10.99/am d64/tools/bin/nbyacc /bin/sh /usr/src/tools/gcc/../../external/gpl3/gcc/dist/con figure --target=x86_64--netbsd --enable-long-long --enable-threads --with-bug url=http://www.NetBSD.org/support/send-pr.html --with-pkgversion="NetBSD nb1 20 230729" --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-time=rt --enable-libstdcxx-threads --with-diagnostics-color=auto-if-env --with-tune=noc ona --with-default-libstdcxx-abi=new --with-sysroot=/usr/world/10.99/amd64/dest --with-mpc=/usr/world/10.99/amd64/tools --with-mpfr=/usr/world/10.99/amd64/too ls --with-gmp=/usr/world/10.99/amd64/tools --with-isl=/usr/world/10.99/amd64/t ools --disable-nls --enable-multilib --program-transform-name="s,^,x86_64-- netbsd-," --enable-languages="c c++ objc" --prefix=/usr/world/10.99/amd64/tools ) @echo ${BUILD_PLATFORM} > $@ => @echo NetBSD-10.99.10-amd64 > .configure_done *** [.configure_done] Error code 1 nbmake[4]: stopped in /usr/src/tools/gcc nbmake[4]: 1 error nbmake[4]: stopped in /usr/src/tools/gcc > > > To generate a diff of this commit: > cvs rdiff -u -r1.110 -r1.111 src/tools/gcc/Makefile > > Please note that diffs are not public domain; they are subject to the > copyright notices on the relevant files. > > Modified files: > > Index: src/tools/gcc/Makefile > diff -u src/tools/gcc/Makefile:1.110 src/tools/gcc/Makefile:1.111 > --- src/tools/gcc/Makefile:1.110 Thu Feb 22 02:40:21 2024 > +++ src/tools/gcc/Makefile Thu Feb 22 02:47:26 2024 > @@ -1,4 +1,4 @@ > -# $NetBSD: Makefile,v 1.110 2024/02/22 02:40:21 mrg Exp $ > +# $NetBSD: Makefile,v 1.111 2024/02/22 02:47:26 mrg Exp $ > > .include <bsd.hostinit.mk> > > @@ -35,7 +35,6 @@ COMMON_CONFIGURE_ARGS= --target=${MACHIN > > --with-bugurl=http://www.NetBSD.org/support/send-pr.html \ > --with-pkgversion="NetBSD ${NETBSD_GCC_VERSION}" \ > --with-system-zlib \ > - --without-isl \ > --enable-__cxa_atexit \ > --enable-libstdcxx-time=rt \ > --enable-libstdcxx-threads \ > @@ -58,12 +57,21 @@ COMMON_CONFIGURE_ARGS+= --enable-fix-cor > COMMON_CONFIGURE_ARGS+= --with-default-libstdcxx-abi=new > .endif > > +# We nabled isl support for GCC 12. Move into normal segment when > +# removing GCC 10. > +.if ${HAVE_GCC} < 12 > +ISL_CONFIGURE_ARGS+= --without-isl > +.else > +ISL_CONFIGURE_ARGS+= --with-isl=${TOOLDIR} > +.endif > + > CONFIGURE_ARGS= ${COMMON_CONFIGURE_ARGS} > CONFIGURE_ARGS+= \ > --with-sysroot=${DESTDIR} \ > --with-mpc=${TOOLDIR} \ > --with-mpfr=${TOOLDIR} \ > --with-gmp=${TOOLDIR} \ > + ${ISL_CONFIGURE_ARGS} \ > --disable-nls \ > ${MULTILIB_ARGS} \ > ${SOFTFLOAT_ARGS} \ > -- Ryo ONODERA // r...@tetera.org PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB FD1B F404 27FA C7D1 15F3