On Mon, 02 Jun 2008 09:36:41 +0100 Simon Marlow <marlowsd@gmail.com> wrote:
Unfortunately, it won't build with the GNU "ar" that's standard on this platform. It can't index archives as big as libHSbase.a: apparently, it allocates too many moderately large hash tables for the many small modules in that archive, and runs out of memory. I worked around this by reducing the default hash table size in libbfd.so. I'm not saying any of this makes sense, it's just what I eventually managed to get working. Otherwise, it builds smoothly.
Perhaps turning off -split-objs would also work around this problem?
Yes, so the NetBSD package maintainer suggested, after I wrote to him about this. He expressed some interest in getting the amd64 build into the package system, as there have been requests (currently supports only the i386 platform), so I'm going to pursue that. -- Donn Cave <donn@avvanta.com>