[v3] Update C++11 status table.
Benjamin Kosnik
bkoz@redhat.com
Fri Feb 10 01:28:00 GMT 2012
On Fri, 10 Feb 2012 00:07:02 +0000
Jonathan Wakely <jwakely.gcc@gmail.com> wrote:
> On 9 February 2012 17:43, Benjamin Kosnik wrote:
> > Thanks for cleaning up after my late-night hacking..... If you can,
> > I'd appreciate you trying to generate the PDF doxygen manual with
> > the memory-increasing change to TeX. I understand the doc toolchain
> > for doing this is non-trivial.
>
> I don't get the any pdf output, the process ends with:
>
>
> Patching output file 590/592
> Patching output file 591/592
> Patching output file 592/592
> finished...
> error: option "-w latex" does not have enough arguments
> ::
> :: LaTeX pages begin with
> :: /home/redi/src/gcc/build/x86_64-unknown-linux-gnu/libstdc++-v3/doc/doxygen/latex/refman.tex
> ::
> echo timestamp > stamp-latex-doxygen
> mkdir
> -p /home/redi/src/gcc/build/x86_64-unknown-linux-gnu/libstdc++-v3/doc/doxygen/pdf
> (cd /home/redi/src/gcc/build/x86_64-unknown-linux-gnu/libstdc++-v3/doc/doxygen/latex
> && make -i pdf;) make[1]: Entering directory
> `/home/redi/src/gcc/build/x86_64-unknown-linux-gnu/libstdc++-v3/doc/doxygen/latex'
> rm -f *.ps *.dvi *.aux *.toc *.idx *.ind *.ilg *.log *.out refman.pdf
> pdflatex refman.tex
> This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
> %&-line parsing enabled.
> entering extended mode
> (./refman.tex
> LaTeX2e <2005/12/01>
> Babel <v3.8h> and hyphenation patterns for english, usenglishmax,
> dumylang, noh yphenation, arabic, basque, bulgarian, coptic, welsh,
> czech, slovak, german, ng erman, danish, esperanto, spanish, catalan,
> galician, estonian, farsi, finnish, french, greek, monogreek,
> ancientgreek, croatian, hungarian, interlingua, ibyc us, indonesian,
> icelandic, italian, latin, mongolian, dutch, norsk, polish, por
> tuguese, pinyin, romanian, russian, slovenian, uppersorbian, serbian,
> swedish, turkish, ukenglish, ukrainian, loaded.
>
> make[1]: [refman.pdf] Error 1 (ignored)
> makeindex refman.idx
> This is makeindex, version 2.14 [02-Oct-2002] (kpathsea + Thai
> support). Scanning input file refman.idx.............done (9043
> entries accepted, 220 rejected).
> Sorting
> entries..........................................................................................done
> (129355 comparisons). Generating output file
> refman.ind...........done (8145 lines written, 0 warnings).
> Output written in refman.ind.
> Transcript written in refman.ilg.
> pdflatex refman.tex
> This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
> %&-line parsing enabled.
> entering extended mode
> (./refman.tex
> LaTeX2e <2005/12/01>
> Babel <v3.8h> and hyphenation patterns for english, usenglishmax,
> dumylang, noh yphenation, arabic, basque, bulgarian, coptic, welsh,
> czech, slovak, german, ng erman, danish, esperanto, spanish, catalan,
> galician, estonian, farsi, finnish, french, greek, monogreek,
> ancientgreek, croatian, hungarian, interlingua, ibyc us, indonesian,
> icelandic, italian, latin, mongolian, dutch, norsk, polish, por
> tuguese, pinyin, romanian, russian, slovenian, uppersorbian, serbian,
> swedish, turkish, ukenglish, ukrainian, loaded.
>
> make[1]: [refman.pdf] Error 1 (ignored)
> latex_count=5 ; \
> while egrep -s 'Rerun (LaTeX|to get cross-references right)'
> refman.log && [ $latex_count -gt 0 ] ;\
> do \
> echo "Rerunning latex...." ;\
> pdflatex refman.tex ;\
> latex_count=`expr $latex_count - 1` ;\
> done
> make[1]: Leaving directory
> `/home/redi/src/gcc/build/x86_64-unknown-linux-gnu/libstdc++-v3/doc/doxygen/latex'
> echo "Generating doxygen pdf file...";
> Generating doxygen pdf file...
> if
> [ -f /home/redi/src/gcc/build/x86_64-unknown-linux-gnu/libstdc++-v3/doc/doxygen/latex/refman.pdf ];
> then \
> mv /home/redi/src/gcc/build/x86_64-unknown-linux-gnu/libstdc++-v3/doc/doxygen/latex/refman.pdf /home/redi/src/gcc/build/x86_64-unknown-linux-gnu/libstdc++-v3/doc/doxygen/pdf/libstdc++-api.pdf
> ; \
> echo ":: PDF file is
> /home/redi/src/gcc/build/x86_64-unknown-linux-gnu/libstdc++-v3/doc/doxygen/pdf/libstdc++-api.pdf";
> \
> else \
> echo "... error"; \
> exit 12; \
> fi
> ... error
> make: *** [stamp-pdf-doxygen] Error 12
yeah if you
cd /home/redi/src/gcc/build/x86_64-unknown-linux-gnu/libstdc++-v3/doc/doxygen/latex
and
and look at refman.log file, at the end you'll see:
! TeX capacity exceeded, sorry [pool size=1917071].
\Hy@pstringdef ...->\edef #1{\pdfescapestring {#2}
}
l.3789 ...{\ttfamily \mbox{[}inherited\mbox{]}}}}
If you really absolutely need more capacity,
you can ask a wizard to enlarge me.
Here is how much of TeX's memory you used:
48730 strings out of 256216
1917071 string characters out of 1917071
1299622 words of memory out of 1500000
35333 multiletter control sequences out of 10000+200000
81305 words of font info for 128 fonts, out of 1200000 for 2000
645 hyphenation exceptions out of 8191
41i,13n,58p,1791b,4211s stack positions out of
5000i,500n,6000p,200000b,15000s ! ==> Fatal error occurred, no output
PDF file produced!
So, what you do is edit the TeX config file (in fedora, this is
in /usr/share/texmf/web2c)
texmf.cnf
such that
548c548
< pool_size = 2000000
---
> pool_size = 20000000
and then re-run it... it should then work. I just added this bit to
doc_hacking.xml but haven't re-genned html yet.
-benjamin
More information about the Libstdc++
mailing list