Stupid SGI trick of the day:
lrwxr-xr-x 1 root sys 12 Sep 24 1997 /usr/lib32/libz.so ->
libiflPNG.so
This means that linking with -lz, which is done by default, pulls in
some ifl libraries. These libraries (Image Format Library) is a set of
C++ classes with C wrappers which uses constructors calls for static
objects on startup to auto-initialize the list of supported formats.
We use dumping, which means that the initialisation is done twice for
the dumped executable. Immediate and inavoidable segfault.
Ideas ?
OG.