public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/110883] New: internal compiler error: in ipa_profile_write_edge_summary
@ 2023-08-03  1:57 hndxvon at 163 dot com
  2023-08-03  2:16 ` [Bug gcov-profile/110883] " pinskia at gcc dot gnu.org
  2023-08-03  2:32 ` hndxvon at 163 dot com
  0 siblings, 2 replies; 3+ messages in thread
From: hndxvon at 163 dot com @ 2023-08-03  1:57 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 110883
           Summary: internal compiler error: in
                    ipa_profile_write_edge_summary
           Product: gcc
           Version: og10 (devel/omp/gcc-10)
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hndxvon at 163 dot com
  Target Milestone: ---

Hi,
gcc-10.2.1 compiles mysql with autofdo and lto optimization, then it reports
"internal compiler error: in ipa_profile_write_edge_summary, at
ipa-profile.c:355
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
The bug is not reproducible, so it is likely a hardware or OS problem.
"
cflags  '-fauto-profile=myfbdata.gcov -flto', but I try to compile
incrementally times, it maybe success.

$gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/10/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --enable-bootstrap
--enable-languages=c,c++,fortran,objc,obj-c++,ada,go,d,lto --prefix=/usr
--mandir=/usr/share/man --infodir=/usr/share/info
--with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared
--enable-threads=posix --enable-checking=release --disable-multilib
--with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions
--enable-gnu-unique-object --enable-linker-build-id
--with-gcc-major-version-only --with-linker-hash-style=gnu --enable-plugin
--enable-initfini-array --without-isl --enable-gnu-indirect-function
--enable-cet --with-tune=generic --with-arch_32=x86-64
--build=x86_64-redhat-linux
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 10.2.1 20200825 (Redhat 10.2.1-3 2.17) (GCC)

moreover, gcc-9.2.1 build successful one time.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug gcov-profile/110883] internal compiler error: in ipa_profile_write_edge_summary
  2023-08-03  1:57 [Bug other/110883] New: internal compiler error: in ipa_profile_write_edge_summary hndxvon at 163 dot com
@ 2023-08-03  2:16 ` pinskia at gcc dot gnu.org
  2023-08-03  2:32 ` hndxvon at 163 dot com
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-08-03  2:16 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=71672
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2023-08-03

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
autofdo is not well supported and fixes for it only made it into GCC 12 and not
GCC 10.x.

Please try GCC 12.x or newer and report back.

Also since you are using a redhat supplied GCC, you should have reported it to
them as mentioned in the message that outputs:

Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug gcov-profile/110883] internal compiler error: in ipa_profile_write_edge_summary
  2023-08-03  1:57 [Bug other/110883] New: internal compiler error: in ipa_profile_write_edge_summary hndxvon at 163 dot com
  2023-08-03  2:16 ` [Bug gcov-profile/110883] " pinskia at gcc dot gnu.org
@ 2023-08-03  2:32 ` hndxvon at 163 dot com
  1 sibling, 0 replies; 3+ messages in thread
From: hndxvon at 163 dot com @ 2023-08-03  2:32 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from 海山 <hndxvon at 163 dot com> ---
(In reply to Andrew Pinski from comment #1)
> autofdo is not well supported and fixes for it only made it into GCC 12 and
> not GCC 10.x.
> 
> Please try GCC 12.x or newer and report back.
> 
> Also since you are using a redhat supplied GCC, you should have reported it
> to them as mentioned in the message that outputs:
> 
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <http://bugzilla.redhat.com/bugzilla> for instructions.

thank you.
could you list the modifying files for autofdo, not only ipa-profile.cc?

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-08-03  2:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-08-03  1:57 [Bug other/110883] New: internal compiler error: in ipa_profile_write_edge_summary hndxvon at 163 dot com
2023-08-03  2:16 ` [Bug gcov-profile/110883] " pinskia at gcc dot gnu.org
2023-08-03  2:32 ` hndxvon at 163 dot com

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).