Installworld failed on HEAD
Matthew Dillon
dillon at apollo.backplane.com
Sat Apr 25 10:27:25 PDT 2009
::Hi all,
::
::Both kernel and world are built with buildkernel and buildworld. New
::kernel is installed before installing the world.
::I got following error from cpdup during installworld:
::Fatal error 'Cannot allocate red zone for initial thead' at line 263
::in file /usr/src/lib/libthread_xu/thread/thr_init.c (errno = 12)
::Seems to be related to recent libthread_xu changes.
::
::Best Regards,
::sephe
::
::--
::Live Free or Die
:
: I will look into fixing cpdup... I think I can adust it so it does
: not initialize the threading system if it isn't being run with a
: threading option.
cpdup can't be hacked. libthread_xu pre-initializes threading whether
the program creates any threads or not.
installworld should be using the cpdup built in the bootstrap stage.
What I will do is make buildworld build a version of cpdup without
pthreads for the bootstrap binaries. That should work around the
issue.
-Matt
Matthew Dillon
<dillon at backplane.com>
More information about the Bugs
mailing list