[MLton] Debian: sparc works

Wesley W. Terpstra terpstra@gkec.tu-darmstadt.de
Tue, 21 Dec 2004 21:37:25 +0100


--sdtB3X0nJg68CQEu
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

So, I've attached a regression log for linux+sparc.

The only difference from i386 is the sizes.
However, they're never more than 2* as big so I figure that's probably just
=66rom -align 8 and should be ignored...?

Anyways, from the point of view of debian, here's how it looks.

32 bit archs with >=3D 512MB of RAM:
i386:	obviously working
hppa:	working
sparc:	working

64 bit archs
ia64	needs fixed gc.c
alpha	needs fixed gc.c
amd64	needs fixed gc.c

32 bit archs with < 512MB of RAM:
powerpc	can't build
s390	can't build
mips	can't build
m68k	can't build
arm	can't build

I don't know what I can do about the remaining 32 bit archs. PowerPC in
particular bothers me; why does debian have such a weak build machine?!
The tree I have right now _probably_ works since it no longer uses any=20
CPU dependent code anywhere. However, I can't really test it since these
machines practically hang when I try to build MLton.

Is it possible to build MLton with less memory somehow?
Even if it was 8* slower, that would be fine as long as it avoided the crazy
slow-down that happens when thrashing occures. voltaire (ppc) has 320MB of
RAM. I would really like to get PPC to build. The rest have 128MB or 256MB.
I have a gcc i386->mips cross-compiler for my router I might try to use too.

My patch right now mostly just switches things to C99 and fixes a couple
of bugs that caused trouble on sparc+hppa. Shall I send it to you now=20
for integration or wait until it also includes gc.c 64-bit cleanup?

It's possible that it breaks BSD, MacOS, and/or Solaris. If broken, the fix
will simply be to add a '#define' or two at the top of the platform/os.c
file to get whichever functions disappeared. It should be ok, though.

To get the .debs into debian, on the next release of MLton give me an email
address where I can send the bootstrapped compiler for these platforms (~5MB
each). Then, set Architecture: i386, sparc, hppa, {whatever else works by
then} in debian/control. Upload the newly released i386 .deb.

At this point, the autobuilders will start trying to build MLton on the
platforms you listed (except i386), but they will fail due to a missing
dependency. Now we just unpack my .tar.gz and repack it into a .deb of the
appropriate arch and upload those as well.

Finally, bump the debian version number, and upload MLton i386 again. Now
the autobuilders should rebuild the package from the source using the
bootstrapped .debs we uploaded in the last step. From this point on, you
should never have to think about hppa+sparc+whatever again, just upload i386
and the source each release and check buildd.debian.org every now and then
to see if things got broken somehow.

--=20
Wesley W. Terpstra

--sdtB3X0nJg68CQEu
Content-Type: application/octet-stream
Content-Disposition: attachment; filename="regression.log.gz"
Content-Transfer-Encoding: base64

H4sICOs4yEECA3JlZ3Jlc3Npb24ubG9nAJVYTY/bNhC9+1f42ALVQpbs3U3Q9pQWLZBNgaYo
egsoamQzpkQtSa3t/PqO7I3nUVYKFAth5z2JnOGQ80E/vY+uWz69/+uPD3//8ufH3//4sPyu
GoyNyyfm35FeFvlyVb4t1m/zDcv5esm86pQ9RaNNPH2/aKzahuVPyyyeesr0jvR+Gf1Ay0Wk
EE23Xa5EykUEthCxFHEt4kbEexEfRHwU8c1VlGkL0VuI3gI+EL0iiQGiX9SLdlEuun8ddk8m
7Ly6MqrSNQEKo78EW5u5F/LWqToI6706pahIYZnCdQo3KbxPoaxAhUjehP2VqFQwIQs75RkJ
a7ZZalJlOuMEOWez6E1vZWHVKZLmea6E5qVqPYHFBJeAA4lDxpnuglZdwuSA+Ph9OtsIg4zX
g0UT2tqaTmzUrnIWUNuqrs4mn7QtdTGjrgauC9Er00WkXhIACztpcEutojoHzMHEXdZ4Io6f
F+UDfgGfk6oBUJ9x2MVIHZCNGmycOUS1O8hnvBeyX/QMYnIc6QjiTg0svuDbDuUCwW8mROdP
M1QJXO869qZR4vVG6QggpEBUNI3JXK+eB0IKZBhoLAU4B43hvGW+0F1xQwFxpDrjLaUtyYEZ
nX05+ThWyHKGBIqOnrTzsoON860CQzlfdhr3u2HMPrvirc60s5bAR1vqyIMDt94dMj6NQWbh
0GhdZyTYdmStyw7OW7HFgMgH3HTNXX7DrG6Y4oYpb5j1DbO5YSoTXR9uaI63Xnm64a3bpprH
895Yd0DyKn8e2v4K9ibWqttCEF6ZEqnGVOUGiX31ebBvkLGmoXIzJJRzfYHEmEPIVt5FZJ+D
8wnh6dQ5W4d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