I rebuild w3mmee using latest version of libgc-dev (for libgc1c2) for GCC 4.0 ABI transition. closes: Bug#323330.
Fri, 09 Sep 2005
Fri, 15 Jul 2005
I rebuild w3m using latest version of libgc-dev (for libgc1c2) for GCC 4.0 ABI transition.
First I build w3m in sid chroot without /proc mounted, then I got this errors and failed to build w3m.
GC Warning: Couldn't read /proc/stat GC Warning: GC_get_nprocs() returned -1 Couldn't read /proc/self/stat /bin/sh: line 1: 22169 Aborted ./mktable 100 functable.tab >functable.c make[1]: *** [functable.c] Error 134 make[1]: Leaving directory `/tmp/w3m-0.5.1' make: *** [build-stamp] Error 2 debuild: fatal error at line 765: dpkg-buildpackage failed!
Hmm, it seems libgc1 requires /proc mounted to run the application. So, I mount /proc, and retry. I see several warnings with gcc -Wall. Hmm, it should be fixed.
I successfully build w3m with libgc1c2, but it is too slow to startup. For example,
% time w3m (snip) real 0m24.086s user 0m0.013s sys 0m0.004s
This is because w3mimgdisplay takes too much time to abandon to connect the display in chroot environment. So, unset DISPLAY makes it faster to start up w3m.
![[ukai]](/images/ukai-hack.png)
