Home of the GNAT AUX and future DRACO Ada compilers.

To fix Ada tasking in FreeBSD 9.0, you have to fix and rebuild the thread library.

Before you start, make sure you have the FreeBSD 9.0 source at /usr/src. If you didn't install it with FreeBSD, you can find src.txz on the install disk. Alternatively, you can download the 89MB file directly from FreeBSD Just extract it in the root directory as it starts with /usr.

  1. Obtain the patch from DragonLace
  2. Apply the patch to /usr/src/lib/libthr/thread/thr_setscheduleparam.c
  3. cd /usr/src/lib/libthr

  4. make depend

  5. make

  6. make install

Now Ada tasking should function correctly on FreeBSD 9.0. This has already been fixed for the upcoming FreeBSD 9.1.

Last edited Fri May 24 16:28:01 2013
© 2010 John Marino | design elements by styleshout | artwork by Arturo Aguirre