[MLton-devel] strip bug on Debian causing MLton segfault

Stephen Weeks MLton@mlton.org
Tue, 15 Jul 2003 15:12:15 -0700


Some more data.

7. If I run the strip binary from Debian on my RedHat 9.0 machine,
which has the binutils-2.14.90.0.4 rpm installed, I get the following
error: 

	BFD: mlton-compile: warning: Empty loadable segment detected, is this intentional ?
	BFD: mlton-compile: warning: Empty loadable segment detected, is this intentional ?
	./strip: stKNNcav: File truncated

8. I took the binutils-2.14.90.0.4 sources and compiled it (using
configure; make) on my RedHat and Debian machines, then ran the
resulting strip executable on mlton-compile.  It produced identical
output, which worked correctly.

9. I took the binutils-2.14.90.0.4 sources and built the binutils
package using dpkg-buildpackage, a Debian tool for building packages.
The strip that resulted was different from the one that was built on
the same Debian machine, but using make.  And the resulting strip
produces the mlton-compile that segfaults.

So, it really looks like the debian packaging process is building a
buggy strip.

I'm about to try Henry's suggestions.



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
MLton-devel mailing list
MLton-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlton-devel