https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88608
Bug ID: 88608 Summary: error: corrupted profile info: profile data is not flow-consistent for unrar sources Product: gcc Version: 8.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: gcov-profile Assignee: unassigned at gcc dot gnu.org Reporter: aros at gmx dot com CC: marxin at gcc dot gnu.org Target Milestone: --- Created attachment 45289 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45289&action=edit Sources I'm trying to compile unrar sources ( https://rarlab.com/rar/unrarsrc-5.6.8.tar.gz ) using -flto and -fprofile-generate/use. Here's what I get: threadpool.cpp: In member function ‘ThreadPool::GetQueuedTask(ThreadPool::QueueEntry*)’: threadpool.cpp:213:1: error: corrupted profile info: profile data is not flow-consistent } ^ threadpool.cpp:213:1: error: corrupted profile info: number of executions for edge 7-11 thought to be -4 threadpool.cpp:213:1: error: corrupted profile info: number of executions for edge 7-8 thought to be 8272 threadpool.cpp: At top level: make: *** [makefile:132: threadpool.o] Error 1 make: *** Waiting for unfinished jobs.... unpack.cpp: In member function ‘Unpack::MakeDecodeTables(unsigned char*, DecodeTable*, unsigned int)’: unpack.cpp:354:1: error: corrupted profile info: profile data is not flow-consistent } ^ unpack.cpp:354:1: error: corrupted profile info: number of executions for edge 14-16 thought to be -9 unpack.cpp:354:1: error: corrupted profile info: number of executions for edge 14-15 thought to be 17391 unpack.cpp: At top level: make: *** [makefile:132: unpack.o] Error 1 Run make to see the errors. GCC: gcc-8.2.1-6.fc29.x86_64. CPU: Intel Core i5 2500. Linux: Fedora 29 64.