AIX testsuite failures
Paolo Carlini
pcarlini@suse.de
Thu May 5 01:43:00 GMT 2005
Mark Mitchell wrote:
> I'm guessing that I'm being dumb about the way gthreads stuff works,
> and that HAVE_GTHR_DEFUALT is not the right test, and that, instead,
> the __GTHREADS grep test from acinclude.m4 is better:
>
> if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
> enable_thread=yes
> else
> enable_thread=no
> fi
>
> We don't have access to $gthread_file in DejaGNU, so what's the right
> way to do this without depending on the build directory? I propose
> that I have DejaGNU compile "#include <bits/gthr.h>" with "-E -dM" and
> grep for "__GTHREADS" in the resulting output. I think that will
> correctly handle and command-line options that might change the
> threading model, etc. David, can you confirm that doing that test
> will correctly report that threads are absent on AIX?
>
> If so, Paolo, is it OK to check in a patch that does as I suggest?
I came independently to the same conclusion (as other messages show). OK.
Paolo.
More information about the Libstdc++
mailing list