* libstdc++ doxygen build error
@ 2021-03-28 16:01 SAIFI
2021-03-29 10:01 ` Jonathan Wakely
0 siblings, 1 reply; 6+ messages in thread
From: SAIFI @ 2021-03-28 16:01 UTC (permalink / raw)
To: gcc-help
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 ?
warm regards
Saifi.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: libstdc++ doxygen build error
2021-03-28 16:01 libstdc++ doxygen build error SAIFI
@ 2021-03-29 10:01 ` Jonathan Wakely
2021-03-30 3:18 ` SAIFI
2021-03-30 14:58 ` SAIFI
0 siblings, 2 replies; 6+ messages in thread
From: Jonathan Wakely @ 2021-03-29 10:01 UTC (permalink / raw)
To: SAIFI; +Cc: gcc-help
On Sun, 28 Mar 2021 at 17:00, SAIFI <saifi@strikr.io> 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.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: libstdc++ doxygen build error
2021-03-29 10:01 ` Jonathan Wakely
@ 2021-03-30 3:18 ` SAIFI
2021-03-30 14:58 ` SAIFI
1 sibling, 0 replies; 6+ messages in thread
From: SAIFI @ 2021-03-30 3:18 UTC (permalink / raw)
To: gcc-help
On Mon, 29 Mar 2021, Jonathan Wakely wrote:
>
> 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.
>
thanks for your kind reply.
doxygen 1.9.1 works fine with the user.config.in that is in gcc git repo.
the specific changes that i made to user.config.in are
LOOKUP_CACHE_SIZE = 9
EXTRACT_ALL = YES
EXTRACT_PRIVATE = YES
EXTRACT_PRIV_VIRTUAL = YES
EXTRACT_PACKAGE = YES
EXTRACT_ANON_NSPACES = YES
INTERNAL_DOCS = YES
DOT_GRAPH_MAX_NODES = 512
with these options doxygen has a segmentation fault.
::Saifi
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: libstdc++ doxygen build error
2021-03-29 10:01 ` Jonathan Wakely
2021-03-30 3:18 ` SAIFI
@ 2021-03-30 14:58 ` SAIFI
2021-03-30 19:44 ` SAIFI
1 sibling, 1 reply; 6+ messages in thread
From: SAIFI @ 2021-03-30 14:58 UTC (permalink / raw)
To: gcc-help
On Mon, 29 Mar 2021, Jonathan Wakely wrote:
>
> 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.
>
adding offending file(s) to EXCLUDE_PATTERNS hasn't really worked out.
It is possible that there is a bug. have opened a issue with doxygen
https://github.com/doxygen/doxygen/issues/8471
warm regards
Saifi.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: libstdc++ doxygen build error
2021-03-30 14:58 ` SAIFI
@ 2021-03-30 19:44 ` SAIFI
2021-03-30 19:57 ` Jonathan Wakely
0 siblings, 1 reply; 6+ messages in thread
From: SAIFI @ 2021-03-30 19:44 UTC (permalink / raw)
To: gcc-help
On Tue, 30 Mar 2021, SAIFI wrote:
> On Mon, 29 Mar 2021, Jonathan Wakely wrote:
>
>>
>> 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.
>>
>
> It is possible that there is a bug. have opened a issue with doxygen
> https://github.com/doxygen/doxygen/issues/8471
>
with a debug build of doxygen, the stack trace could be captured. the doxygen options in use were reviewed. what stood out was a SEPARATE_MEMBER_PAGES=YES option. Dimitri fixed the potential bug. Finally, the libstdc++ docs could be generated without any issue.
warm regards
Saifi.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: libstdc++ doxygen build error
2021-03-30 19:44 ` SAIFI
@ 2021-03-30 19:57 ` Jonathan Wakely
0 siblings, 0 replies; 6+ messages in thread
From: Jonathan Wakely @ 2021-03-30 19:57 UTC (permalink / raw)
To: SAIFI; +Cc: gcc-help
On Tue, 30 Mar 2021 at 20:45, SAIFI wrote:
>
> On Tue, 30 Mar 2021, SAIFI wrote:
>
> > On Mon, 29 Mar 2021, Jonathan Wakely wrote:
> >
> >>
> >> 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.
> >>
> >
> > It is possible that there is a bug. have opened a issue with doxygen
> > https://github.com/doxygen/doxygen/issues/8471
> >
>
> with a debug build of doxygen, the stack trace could be captured. the doxygen options in use were reviewed. what stood out was a SEPARATE_MEMBER_PAGES=YES option. Dimitri fixed the potential bug. Finally, the libstdc++ docs could be generated without any issue.
Thanks for reporting it upstream and getting it fixed!
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2021-03-30 19:57 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-28 16:01 libstdc++ doxygen build error SAIFI
2021-03-29 10:01 ` Jonathan Wakely
2021-03-30 3:18 ` SAIFI
2021-03-30 14:58 ` SAIFI
2021-03-30 19:44 ` SAIFI
2021-03-30 19:57 ` Jonathan Wakely
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).