This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC PATCH] Optimized __cxa_guard_{acquire,release,abort} for Linux


On Fri, Jan 04, 2008 at 04:50:12PM -0600, Benjamin Kosnik wrote:
> 
> > The patch below doesn't include the configury bits yet (they might be
> > very similar to enable_linux_futex stuff in libgomp configury).
> > Would this be acceptable with the configury bits in even for 4.3
> > (could be e.g. only enabled if explicitly requested with
> > --enable-linux-futex there), or just 4.4+
> 
> I would rather put this in 4.3, especially considering the new work in
> this area from 4.2 hasn't been released yet. Then, we won't be changing
> it and changing it again.

Ok.

> As for the configure bits, I suggest using the same bits (exactly) for
> both libgomp and libstdc++, to avoid yet more twisty borrowing between
> these two runtimes. 
> 
> ;)
> 
> Which means you might as well move it toplevel and avoid the
> duplication if possible. Thoughts?

Toplevel AFAIK doesn't contain configure tests like that, do you mean
just adding config/futex.m4 and using it in both libstdc++-v3 and libgomp
configury?  That could theoretically work, there is just one obstackle
- libstdc++-v3 insists on doing no link tests when cross compiling
(don't understand why, I can understand why runtime tests aren't possible,
but link tests should be possible), while libgomp doesn't.

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]