Created attachment 269727 [details] w3m-0.5.2-gc72.patch USE="doc" x11-libs/libX11-1.4.3 build stalls at: GEN Compose/zh_TW.html GEN Compose/zh_TW.big5.html GEN Compose/zh_TW.UTF-8.html Tracing the active process indicates w3m is stuck in (gdb) where #0 0xb76f21a1 in GC_get_warn_proc () at misc.c:1222 #1 0x0804f09d in wrap_GC_warn_proc ( msg=0xb76fa39c "GC Warning: Repeated allocation of very large block (appr. size %ld):\n\tMay lead to memory leak and poor performance.\n", arg=1277952) at main.c:315 #2 0xb76e60b4 in GC_allochblk_nth (sz=1276152, kind=0, flags=0, n=60, may_split=1) at allchblk.c:721 #3 0xb76e62d8 in GC_allochblk (sz=1276152, kind=0, flags=0) at allchblk.c:625 This is caused by the Gentoo patch w3m-0.5.2-gc72.patch for boehm-gc-7.2 API change; the installed GC warn proc instead of the intended behaviour of calling the previously installed warn proc calls itself (in a tail call; I assume gcc has optimised this and thus it spins rather than falling off the stack). I attach a corrected patch.
I think cjk might want this? matsuu committed the original patch.
(In reply to comment #1) > I think cjk might want this? matsuu committed the original patch. cvs/gentoo-x86/www-client/w3m $ cat metadata.xml <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>cjk</herd> <use> <flag name='lynxkeymap'>If you prefer Lynx-like key binding</flag> </use> </pkgmetadata>
Cannot reproduce with current versions.