Crack 0.8 Released

24 views
Skip to first unread message

Michael Muller

unread,
Oct 9, 2013, 7:42:05 AM10/9/13
to Crack Language Dev
[just repeating this on the mailing list]

We're pleased to announce the release of Crack 0.8. The new release includes
a number of bug-fixes and code cleanups as well as a number of new extension
modules, and brings us up to date with LLVM 3.3.

It's been almost a year since our last release, which is far longer than usual
and far longer than what we'd like. The reason for the delay has been the
ongoing work on module caching. Module caching provides a substantial
speed-up of program loading by allowing the executor to reuse the
artifacts of previous compiles instead of recompiling everything from source.
Unfortunately, it has proven to be very difficult to get this feature working
perfectly, and it still doesn't work quite right for complicated generics.
Users are encouraged to experiment with it by adding the -C option.

The complete release notes for 0.8 follows:

- Lots of bug fixes and small features.
- Lots of refactors and code cleanups.
- Implemented most of the code for caching (which is still way too buggy
for anything other than experimentation).
- Added flag driven tracing facility.
- Lots of new modules and extension modules:
- OpenSSL
- libpng
- alsa, midi, jack, and fluidsynth
- curl
- SHA1 digests
- base64 encoding
- Mongo DB and LMDB
- netCDF
- Mersenne Twister PRNG.
- enhanced the test framework to support composite tests.
- added the Wurld OpenGL example program.
- Ported to LLVM 3.3
- Changed annotation-in-generic semantics.

=============================================================================
michaelMuller = mmu...@enduden.com | http://www.mindhog.net/~mmuller
-----------------------------------------------------------------------------
If you are not willing to control your own mind, there are plenty of other
people who are willing to do it for you.
=============================================================================

denis papin

unread,
Oct 19, 2013, 9:42:19 AM10/19/13
to crack-l...@googlegroups.com
HI Guys,

I tried to build crack 0.8 and I got :


./crack -l ./lib:./lib ./tools/nml2html.crk -t \
  ./doc/Manual.template \
  -o doc/Manual.html \
  ./doc/Manual.nml
spug::Exception: ./lib/crack/ext/_pcre.so: wrong ELF class: ELFCLASS32
make[1]: *** [doc/Manual.html] Error 1
make[1]: Leaving directory `/home/oracle/crack/crack-0.8'
make: *** [install-am] Error 2

I used  GCC 4.5.2 on  Linux ubuntu 2.6.38-16-generic #67-Ubuntu SMP Thu Sep 6 17:58:38 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

but I get the same error on a Debian 6  64 bits.

Thx for your help,
Denis

Conrad Steenberg

unread,
Oct 19, 2013, 12:47:40 PM10/19/13
to crack-l...@googlegroups.com
Hi Denis,

Since you're on Ubuntu (12.04 I'm guessing) you can try using the
Synaptic package manager to check that you have the 64 bit versions of
the development headers installed. It may e.g. be that your libpcre-dev
package is the 32 bit version.

Has anybody else on the list had the same problem?

Conrad
> --
> You received this message because you are subscribed to the Google
> Groups "crack-lang-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to crack-lang-de...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.


Michael Muller

unread,
Oct 21, 2013, 11:48:22 AM10/21/13
to crack-lang-dev
I suspect the problem here is that some of the 32-bit binaries got shipped with the source tarball (my bad) and apparently doc/Manual.html did not.

Denis you should remove all of the .so's from the lib/crack/ext directory, install libpcre-dev and do a rebuild (if you want the manual, if not you can just "touch doc/Manual.html" and that should let you install with an empty manual, though without the regex module your experience may be sub-optimal)

I'll try to release a fixed 0.8.1 tarball this week.
Reply all
Reply to author
Forward
0 new messages