Error compiling gcc13 : profile count data file not found

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux