On Sun, 28 Mar 2021 at 17:00, SAIFI <saifi@xxxxxxxxx> wrote: > > Hi: > > while doing a doxygen build of libstdc++ the following error is seen. > > <snipped> > ... > Generating caller graph for function __pstl::__unseq_backend::__simd_count > Generating caller graph for function __pstl::__unseq_backend::__simd_fill_n > Generati../../../../../../src/gcc/libstdc++-v3/scripts/run_doxygen: line 183: 227779 Segmentation fault (core dumped) doxygen ${outdir}/${mode}.cf > make[3]: [Makefile:933: stamp-html-doxygen] Error 139 (ignored) > echo timestamp > stamp-html-doxygen > echo timestamp > stamp-html > make[3]: Leaving directory '/strikr/infra/build/gcc/x86_64-pc-linux-gnu/libstdc++-v3/doc' > make[2]: Leaving directory '/strikr/infra/build/gcc/x86_64-pc-linux-gnu/libstdc++-v3' > > > here is the background, > > > 0. configure step for the doxygen build > > DIR_SRC_LIBSTDCXX=../../../src/gcc/libstdc++-v3 > DIR_DST_LIBSTDCXX=/opt/gcc > > ${DIR_SRC_LIBSTDCXX}/configure \ > --prefix=${DIR_DST_LIBSTDCXX} \ > --datadir=${DIR_DST_LIBSTDCXX}/share \ > --htmldir=${DIR_DST_LIBSTDCXX}/share \ > --disable-multilib > > > 1. make step > > make doc-html-doxygen > > > doxygen 1.9.1-1 is being used for the build, if that helps. > > Has anyone encountered this ? Any work around ? Any tweaks one can make in user.config.in ? It works for me using doxygen 1.8.20, so maybe it's a bug in the new doxygen release, or maybe doxygen is running out of memory while building the docs. You could try modifying user.config.in so that the experimentall/bits/simd* headers are not processed, in case that's where it's crashing.