On Thu, Dec 17, 2009 at 01:48:20PM -0700, Jerry James wrote:
On Thu, Dec 17, 2009 at 11:24 AM, Jerry James
<loganjerry(a)gmail.com> wrote:
> So this is going to hit anybody who tries to package up an executable
> produced by SBCL. Perhaps this should be noted on
>
https://fedoraproject.org/wiki/Packaging:Lisp.
And it's even worse than I thought: "prelink -u saved-image" strips
out the dumped Lisp image! I had a saved image go from 43MB to 171552
bytes when I did that. It looks like putting this in the spec file
works:
You need to first prelink -u on a copy of the program, then
run it and let it dump itself, then package it up.
I'd actually argue that such packaging is broken anyway, because you didn't
compile the binary you are packaging from source, you copied it from
/usr/bin.
Jakub