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
FAIL: c-c++-common/tsan/thread_leak1.c -O2 output pattern test, is
and again with g++
FAIL: c-c++-common/tsan/thread_leak1.c -O0 output pattern test, is
FAIL: c-c++-common/tsan/thread_leak1.c -O2 output pattern test, is
I am using a AMD64, 8GB system.
I have rebuild chapter 5 several times over, to the exact letter as in
the SVN docs. I did the same for chapter 6, up to gcc-4.9.0.
The report Bruce gave (24th) did not mentioned any failure in the gcc
tests. So, the question is what is going wrong?
Frans
I did extensive testing these last few days and I noticed every time
that when compiling/testing with '-O[1-3]' or no optimization given, the
above errors are the only ones.
However, when I compile/test the BSS products with '-O0' (except for
glibc which can't be compiled without optimization) more errors appear -
like lto, ABI related and internal compiler errors - where there where
none when using gcc-4.8.2.
How come that I get the feeling that gcc-4.9.0 is not yet ripe for
production use?
I also wonder what is different on my machine, compared with other
machines where things seem to be running without any error. I have build
a standard TC and the BSS is build without automatic scripts to rule out
any typo or interpretation of some sort, still yielding the same result
as with the scripted builds. I could build all without strange errors
when using gcc-4.8.2, the trouble started with the introduction of
gcc-4.9.0.
Maybe wait a few months for gcc-4.9.1?
All the above looks like one test error to me. I'm using an i7 right
now and have done LFS and am building Xorg right now. I haven't seen
the errors you are seeing.
I do note that we recommend not changing any optimizations from what
upstream is using.
For the development book, using 4.9 seems to be OK. We will, of course,
continuously evaluate as we build and test all of BLFS.
-- Bruce
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page