[v3] 9371/9546/10093/10095

Andrew Pinski pinskia@physics.uc.edu
Fri Nov 28 06:55:00 GMT 2003


On Nov 27, 2003, at 21:28, Andreas Tobler wrote:

> Hi Benjamin,
>
> I see this on darwin7.0.0: (regress too)
>
>
>                 === libstdc++ Summary ===
>
> # of expected passes            2328
> # of unexpected failures        83
> # of expected failures          11
>
> In file included from  
> /Volumes/xufs/gcc-cvs-dylib/gcc/libstdc++-v3/testsuite/27_io/ 
> basic_filebuf/sbumpc/char/1-in.cc:25:^M/Volumes/xufs/gcc-cvs-dylib/ 
> gcc/libstdc++-v3/testsuite/testsuite_io.h: In constructor  
> `__gnu_test::fail_streambuf::fail_streambuf()':^M/Volumes/xufs/gcc- 
> cvs-dylib/gcc/libstdc++-v3/testsuite/testsuite_io.h:109: warning:  
> sorry: semantics of inline function static data `char p[2]' are wrong  
> (you'll wind up with multiple  
> copies)^M/Volumes/xufs/gcc-cvs-dylib/gcc/libstdc++-v3/testsuite/ 
> testsuite_io.h:109: warning:   you can work around this by removing  
> the initializer^M
> FAIL: 27_io/basic_filebuf/sbumpc/char/1-in.cc (test for excess errors)



This is caused by Darwin not supporting weak symbols (like ELF  
symbols), try adding
weak symbol support into GCC for Darwin is the only way around this :).


Thanks,
Andrew Pinski



More information about the Libstdc++ mailing list