pkgsrc-Bugs archive

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

Re: pkg/45227: apache13 and ap13-php5 unexpectedly link against pthread



The following reply was made to PR pkg/45227; it has been noted by GNATS.

From: Matthew Mondor <mm_lists%pulsar-zone.net@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/45227: apache13 and ap13-php5 unexpectedly link against
 pthread
Date: Thu, 11 Aug 2011 20:04:41 -0400

 On Wed, 10 Aug 2011 12:50:04 +0000 (UTC)
 "OBATA Akio" <obache%netbsd.org@localhost> wrote:
 
 >  The trick is in pkgsrc/mk/dlopen.builtin.mk.
 >  On NetBSD-5, apache must be linked against pthread so that modules with 
 > pthread
 >  will be loaded successfully.
 
 Thanks for the details.  With this information I could successfully
 build a suite of non-threaded apache13 + modules.  There was
 posgresql90-client which thread-safe option couldn't be disabled
 tweaking PGSQL_THREAD_SAFETY where I had to add explicit config flags,
 but that could be the subject of another PR.
 
 Despite this, unfortunately the zend heap corruption still occurs
 unless the zend allocator is disabled, but it was worth testing.
 
 Although an admin might want a fully non-threaded apache+modules suite,
 I guess that because of the ldopen+threads flaw, the current behaviour
 is probably the right one, so this PR can probably be closed.
 
 Thanks again,
 -- 
 Matt
 


Home | Main Index | Thread Index | Old Index