On 8/24/22 15:23, Vincent Lefevre wrote:
--disable-maintainer-mode confi
Thank you for the reply and I just wanted to clarify that this problem
happened within a bootstrap of GCC 12.2.0 on NetBSD. I was surprised
to see :
.
.
.
checking if gmp_printf supports the ' group flag... yes
checking for __gmpn_sbpi1_divappr_q... yes
checking for __gmpn_invert_limb... no
checking for __gmpn_rsblsh1_n... no
checking for long to fit in mp_limb_t... yes
checking for intmax_t to fit in mp_limb_t... yes
checking for getrusage... yes
configure: updating cache ./config.cache
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating mpfr.pc
config.status: creating doc/Makefile
config.status: creating src/Makefile
config.status: creating tests/Makefile
config.status: creating tune/Makefile
config.status: creating src/mparam.h
config.status: creating tools/bench/Makefile
config.status: executing depfiles commands
config.status: executing libtool commands
gmake[3]: Entering directory
'/opt/bw/build/gcc-12.2.0_NetBSD_9.3_AMD64.001/mpfr'
Making all in doc
gmake[4]: Entering directory
'/opt/bw/build/gcc-12.2.0_NetBSD_9.3_AMD64.001/mpfr/doc'
restore=: && backupdir=".am$$" && \
am__cwd=`pwd` && CDPATH="${ZSH_VERSION+.}:" && cd
../../../gcc-12.2.0/mpfr/doc && \
rm -rf $backupdir && mkdir $backupdir && \
if (makeinfo --split-size=5000000 --split-size=5000000
--split-size=5000000 --version) >/dev/null 2>&1; then \
for f in ../../../gcc-12.2.0/mpfr/doc/mpfr.info
../../../gcc-12.2.0/mpfr/doc/mpfr.info-[0-9]
../../../gcc-12.2.0/mpfr/doc/mpfr.info-[0-9][0-9]
../../../gcc-12.2.0/mpfr/doc/mpfr.i[0-9]
../../../gcc-12.2.0/mpfr/doc/mpfr.i[0-9][0-9]; do \
if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
done; \
else :; fi && \
cd "$am__cwd"; \
if makeinfo --split-size=5000000 --split-size=5000000
--split-size=5000000 --enable-encoding -I ../../../gcc-12.2.0/mpfr/doc \
-o ../../../gcc-12.2.0/mpfr/doc/mpfr.info
../../../gcc-12.2.0/mpfr/doc/mpfr.texi; \
then \
rc=0; \
CDPATH="${ZSH_VERSION+.}:" && cd ../../../gcc-12.2.0/mpfr/doc; \
else \
rc=$?; \
CDPATH="${ZSH_VERSION+.}:" && cd ../../../gcc-12.2.0/mpfr/doc && \
$restore $backupdir/* `echo
"./../../../gcc-12.2.0/mpfr/doc/mpfr.info" | sed 's|[^/]*$||'`; \
fi; \
rm -rf $backupdir; exit $rc
mkdir: .am388: Permission denied
../../../gcc-12.2.0/mpfr/doc/mpfr.info: Permission denied
gmake[4]: *** [Makefile:380: ../../../gcc-12.2.0/mpfr/doc/mpfr.info] Error 1
gmake[4]: Leaving directory
'/opt/bw/build/gcc-12.2.0_NetBSD_9.3_AMD64.001/mpfr/doc'
gmake[3]: *** [Makefile:500: all-recursive] Error 1
gmake[3]: Leaving directory
'/opt/bw/build/gcc-12.2.0_NetBSD_9.3_AMD64.001/mpfr'
gmake[2]: *** [Makefile:7094: all-stage1-mpfr] Error 2
gmake[2]: Leaving directory '/opt/bw/build/gcc-12.2.0_NetBSD_9.3_AMD64.001'
gmake[1]: *** [Makefile:27609: stage1-bubble] Error 2
gmake[1]: Leaving directory '/opt/bw/build/gcc-12.2.0_NetBSD_9.3_AMD64.001'
gmake: *** [Makefile:28222: bootstrap4] Error 2
So that was when I simply corrected the things in ./doc directory and
continued onwards. I think I need GNU patch to avoid this problem within
a GCC bootstrap.
--
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken
GreyBeard and suspenders optional