DragonFly bugs List (threaded) for 2009-04
DragonFly BSD
DragonFly bugs List (threaded) for 2009-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Installworld failed on HEAD


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Sat, 25 Apr 2009 10:26:30 -0700 (PDT)

::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@backplane.com>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]