On 05/02/2014 09:45 PM, Frans de Boer wrote:
On 04/30/2014 10:42 PM, Frans de Boer wrote:
Since the day gcc-4.9.0 came out I am trying to get gcc compiled without
problems. That is working, by running the tests is a different story.
Where gcc-4.8.2 passes the tests, gcc-4.9.0 is failing - without
exception - every time on the next tests:
--------------------------------------------------------------------------
Running /sources-bss/gcc-4.9.0/gcc/testsuite/gcc.dg/tsan/tsan.exp ...
FAIL: c-c++-common/tsan/thread_leak1.c -O0 output pattern test, is
==================
WARNING: ThreadSanitizer: thread leak (pid=18366)
Thread T1 (tid=18371, finished) created by main thread at:
#0 pthread_create <null>:0 (libtsan.so.0+0x00000004b0d3)
#1 main
/sources-bss/gcc-4.9.0/gcc/testsuite/c-c++-common/tsan/thread_leak1.c:12
(thread_leak1.exe+0x000000000a90)
SUMMARY: ThreadSanitizer: thread leak ??:0 pthread_create
==================
ThreadSanitizer: reported 1 warnings
, should match WARNING: ThreadSanitizer: thread leak.*(
|
)SUMMARY: ThreadSanitizer: thread leak.*main.*(
|
)
FAIL: c-c++-common/tsan/thread_leak1.c -O2 output pattern test, is
==================
WARNING: ThreadSanitizer: thread leak (pid=18384)
Thread T1 (tid=18389, finished) created by main thread at:
#0 pthread_create <null>:0 (libtsan.so.0+0x00000004b0d3)
#1 main
/sources-bss/gcc-4.9.0/gcc/testsuite/c-c++-common/tsan/thread_leak1.c:12
(thread_leak1.exe+0x000000000942)
SUMMARY: ThreadSanitizer: thread leak ??:0 pthread_create
==================
ThreadSanitizer: reported 1 warnings
, should match WARNING: ThreadSanitizer: thread leak.*(
|
)SUMMARY: ThreadSanitizer: thread leak.*main.*(
|
)
Running /sources-bss/gcc-4.9.0/gcc/testsuite/gcc.dg/ubsan/ubsan.exp ...
--------------------------------------------------------------------------
and again with g++
--------------------------------------------------------------------------
Running /sources-bss/gcc-4.9.0/gcc/testsuite/g++.dg/tsan/tsan.exp ...
FAIL: c-c++-common/tsan/thread_leak1.c -O0 output pattern test, is
==================
WARNING: ThreadSanitizer: thread leak (pid=8094)
Thread T1 (tid=8099, finished) created by main thread at:
#0 pthread_create <null>:0 (libtsan.so.0+0x00000004b0d3)
#1 main
/sources-bss/gcc-4.9.0/gcc/testsuite/c-c++-common/tsan/thread_leak1.c:12
(thread_leak1.exe+0x000000000a70)
SUMMARY: ThreadSanitizer: thread leak ??:0 pthread_create
==================
ThreadSanitizer: reported 1 warnings
, should match WARNING: ThreadSanitizer: thread leak.*(
|
)SUMMARY: ThreadSanitizer: thread leak.*main.*(
|
)
FAIL: c-c++-common/tsan/thread_leak1.c -O2 output pattern test, is
==================
WARNING: ThreadSanitizer: thread leak (pid=8112)
Thread T1 (tid=8117, finished) created by main thread at:
#0 pthread_create <null>:0 (libtsan.so.0+0x00000004b0d3)
#1 main
/sources-bss/gcc-4.9.0/gcc/testsuite/c-c++-common/tsan/thread_leak1.c:12
(thread_leak1.exe+0x000000000922)
SUMMARY: ThreadSanitizer: thread leak ??:0 pthread_create
==================
ThreadSanitizer: reported 1 warnings
, should match WARNING: ThreadSanitizer: thread leak.*(
|
)SUMMARY: ThreadSanitizer: thread leak.*main.*(
|
)
Running /sources-bss/gcc-4.9.0/gcc/testsuite/g++.dg/ubsan/ubsan.exp ...
--------------------------------------------------------------------------
<<snip>>
Frans.
I tried the same on a 32-bit machine, without these errors! On this
32-bit machine I got a lot of timeout errors for gcc-4.9.0 tests but not
the first errors.
@Bruce, so maybe it is timing. Maybe it is timing combined with the type
of processor. You use a i7 and I use an AMD Phenom II 965. Your SBU's
are also about 60% compared to my machine.
Let's hope that gcc-4.9.1 is more stable and less sensitive to timing
variations.
Regards, Frans.
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page