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: Problem with libstdc++ in GCC 4.4.0 port to interix


> Still trying to solve the problems porting libstdc++ in GCC 4.4.0 to
> interix I notice that when I compile the test code below with 
> flags  -fopenmp -D_GLIBCXX_PARALLEL -O3 it works as expected at a
> decent speed. But if I omit the _GLIBCXX_PARALLEL flag then the weird
> behaviour with high CPU kernel times and slow execution occures
> whenever more than one thread is requested in the program.
> 
> Are there any libstdc++ gurus out there who knows what these symptoms
> might mean?

No. I am not familiar with this platform and have never used it.

After you did your modifications, did you run the testsuite? Did you
get any fails? If so, which tests failed? There are some threading
tests in the testsuite: see if these pass.
 
> On a related note I see that among the source files in 
> gcc-4.4.0/libstdc++-v3/config/os ctype_base is implemented for most 
> platforms but interix. Does anyone know what is needed to write an
> interix implementation for ctype_base or are there a set of defaults
> that are being used?

The default is generic/ctype_base.h is being used.

If this isn't correct you'll notice testsuite failures. 

-benjamin


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