This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC 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]

[Bug target/65313] Compilation error in lto profiledbootstrap on powerpc64le-unknown-linux-gnu


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65313

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2016-01-26
     Ever confirmed|0                           |1
      Known to fail|                            |5.1.0, 6.0

--- Comment #2 from Martin Sebor <msebor at gcc dot gnu.org> ---
I confirm profiledbootstrap fails on powerpc64le-*-linux-gnu, though with
today's trunk, it fails with the following false positive:

/src/gcc/trunk/gcc/gimple.h:2700:20: error: âocodeâ may be used uninitialized
in this function [-Werror=maybe-uninitialized]
   s->subcode = code;
                    ^

/src/gcc/trunk/gcc/tree-vect-slp.c:3571:22: note: âocodeâ was declared here
       enum tree_code ocode;
                      ^~~~~

With that error resolved, I again get the following error which persists even
with --disable-werror.  I'm guessing that the fact that the command fails even
though there's no -Werror on the command line means that the option comes from
one of the objects from the profile (I see -Werror used earlier on in the build
log):

/build/gcc-trunk-profiledbootstrap/./prev-gcc/xgcc
-B/build/gcc-trunk-profiledbootstrap/./prev-gcc/
-B/usr/local/powerpc64le-unknown-linux-gnu/bin/
-B/usr/local/powerpc64le-unknown-linux-gnu/bin/
-B/usr/local/powerpc64le-unknown-linux-gnu/lib/ -isystem
/usr/local/powerpc64le-unknown-linux-gnu/include -isystem
/usr/local/powerpc64le-unknown-linux-gnu/sys-include -DHAVE_CONFIG_H -I.
-I/src/gcc/trunk/gmp/mpn -I.. -D__GMP_WITHIN_GMP -I/src/gcc/trunk/gmp
-DOPERATION_get_d -DNO_ASM -g -O2 -flto=jobserver -frandom-seed=1 -fprofile-use
-c get_d.c -o get_d.o
get_d.c: In function '__gmpn_get_d':
get_d.c:490:1: error: the control flow of function '__gmpn_get_d' does not
match its profile data (counter 'arcs') [-Werror=coverage-mismatch]
 }
 ^

get_d.c:490:1: error: the control flow of function '__gmpn_get_d' does not
match its profile data (counter 'time_profiler') [-Werror=coverage-mismatch]
cc1: some warnings being treated as errors
make[5]: *** [get_d.lo] Error 1
make[5]: Leaving directory `/build/gcc-trunk-profiledbootstrap/gmp/mpn'

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