public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Error compiling gcc13 : profile count data file not found
@ 2023-03-03 22:20 Chris S
  0 siblings, 0 replies; only message in thread
From: Chris S @ 2023-03-03 22:20 UTC (permalink / raw)
  To: gcc-help

[-- Attachment #1: Type: text/plain, Size: 1612 bytes --]

Hi, I am trying to build a snapshot of gcc13 (02-19-2023).
Building on an older version of Centos linux, using a custom build of
gcc12, in a docker container.

While I see several warnings for "profile count data file not found" early
on (non fatal)
after a long while it's rebuilding itself, it fails with -Werror causing
this to fail:

(make profiledbootstrap)

/tmp/gcc_source/gcc/genversion.cc:89:1: error:
'/tmp/gcc_build/gcc/build/genversion.gcda' profile count data file not
found [-Werror=missing-profile]
   89 | }
      | ^
/tmp/gcc_source/gcc/errors.cc: In function 'void fancy_abort(const char*,
int, const char*)':
/tmp/gcc_source/gcc/errors.cc:134:1: error:
'/tmp/gcc_build/gcc/build/errors.gcda' profile count data file not found
[-Werror=missing-profile]
  134 | }
      | ^
/tmp/gcc_source/gcc/genchecksum.cc: In function 'int main(int, char**)':
/tmp/gcc_source/gcc/genchecksum.cc:120:1: error:
'/tmp/gcc_build/gcc/build/genchecksum.gcda' profile count data file not
found [-Werror=missing-profile]
  120 | }
      | ^
/tmp/gcc_source/gcc/gengenrtl.cc: In function 'int main()':
/tmp/gcc_source/gcc/gengenrtl.cc:358:1: error:
'/tmp/gcc_build/gcc/build/gengenrtl.gcda' profile count data file not found
[-Werror=missing-profile]
  358 | }
      | ^

Before I spend time trying to figure this out I was wondering if it's a
known issue and if there's a simple fix to get past this.  I could always
NOT do the profiledboostrap, but I'd rather do it.)

Thanks.

Chris

PS I logged all the output for the whole build but the file is 14MB and
it's unclear if it would be helpful so didn't include it.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-03-03 22:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-03 22:20 Error compiling gcc13 : profile count data file not found Chris S

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).