Re: [Libevent-users] Something to consider for future

2010-09-07 Thread Ralph Castain
Unfortunately, this won't solve the problem in a portable way as pragma is purely a GCC extension. Many of our users build with Intel and other compilers, so we need a more generalized solution. I have asked the OMPI developers who did the visibility work if they could either share their genera

Re: [Libevent-users] Something to consider for future

2010-09-07 Thread Springande Ulv
On Sep 7, 2010, at 5:35 PM, Nick Mathewson wrote: > The remaining non-static symbols are ones > shared between modules, and of course C doesn't let you make those > static. The right solution here is probably to manually tell the > linker about what symbols to export and what symbols not to expo

[Libevent-users] Configure changes

2010-09-07 Thread Ralph Castain
Hi folks Continuing the discussion re pushing some of Open MPI's experiences upstream, I have attached our opal_setup_libevent.m4 script for building libevent as part of OMPI. Note that the comments describe several scenarios where the existing libevent tests aren't quite adequate for detecting wh

Re: [Libevent-users] Something to consider for future

2010-09-07 Thread Ralph Castain
On Sep 7, 2010, at 9:35 AM, Nick Mathewson wrote: > Hi, Ralph! > > On Tue, Sep 7, 2010 at 11:04 AM, Ralph Castain wrote: > [...] >> (b) we need to modify it somewhat to get things working correctly across the >> broad range of our installed base. > > Any chances of getting the patches here up

Re: [Libevent-users] Something to consider for future

2010-09-07 Thread Nick Mathewson
Hi, Ralph! On Tue, Sep 7, 2010 at 11:04 AM, Ralph Castain wrote: [...] > (b) we need to modify it somewhat to get things working correctly across the > broad range of our installed base. Any chances of getting the patches here upstreamed? "Working correctly across a broad install base" sounds

[Libevent-users] Something to consider for future

2010-09-07 Thread Ralph Castain
Hi folks As stated in a prior note, I'm working on integrating libevent 2.0 with Open MPI. We actually carry a copy of your code as part of our distribution (respecting all copyright requirements) for two reasons: (a) portability (to ensure that someone building OMPI on their machine has the sa