public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug modula2/114529] New: profiledbootstrap fails to build and m2 causes odr violations during build
@ 2024-03-29  9:32 gaius at gcc dot gnu.org
  2024-03-29  9:32 ` [Bug modula2/114529] " gaius at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: gaius at gcc dot gnu.org @ 2024-03-29  9:32 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 114529
           Summary: profiledbootstrap fails to build and m2 causes odr
                    violations during build
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: modula2
          Assignee: gaius at gcc dot gnu.org
          Reporter: gaius at gcc dot gnu.org
  Target Milestone: ---

Many warnings are seen during compilation, starting with:

/var/tmp/portage/sys-devel/gcc-14.0.1_pre20240324-r1/work/gcc-14-20240324/gcc/m2/mc-boot/GDynamicStrings.cc:109:8:
error: type Werror=odr][]]
  109 | struct DynamicStrings_Contents_r {
      |        ^
/var/tmp/portage/sys-devel/gcc-14.0.1_pre20240324-r1/work/gcc-14-20240324/gcc/m2/mc-boot/Gdecl.cc:834:8:
note: a different type is defined in another translation unit
  834 | struct DynamicStrings_Contents_r {
      |        ^
/var/tmp/portage/sys-devel/gcc-14.0.1_pre20240324-r1/work/gcc-14-20240324/gcc/m2/mc-boot/GDynamicStrings.cc:110:55:
note: the first difference of corresponding definitions is field ‘buf’
  110 |                                    DynamicStrings__T3 buf;
      |                                                       ^
/var/tmp/portage/sys-devel/gcc-14.0.1_pre20240324-r1/work/gcc-14-20240324/gcc/m2/mc-boot/Gdecl.cc:835:55:
note: a field of same name but different type is defined in another translation
unit
  835 |                                    DynamicStrings__T7 buf;
      |                                                       ^

Resulting in:

make[3]: Leaving directory
'/var/tmp/portage/sys-devel/gcc-14.0.1_pre20240324-r1/work/build/gcc'
rm gfdl.pod gcc.pod gfortran.pod gcov-dump.pod gcov-tool.pod fsf-funding.pod
gpl.pod cpp.pod gcov.pod lto-dump.pod gccgo.pod gdc.pod
make[2]: *** [Makefile:4878: all-stageprofile-gcc] Error 2 shuffle=1047648447
make[1]: *** [Makefile:31142: stageprofile-bubble] Error 2 shuffle=1047648447
make: *** [Makefile:31396: profiledbootstrap] Error 2 shuffle=1047648447
 * ERROR: sys-devel/gcc-14.0.1_pre20240324-r1::gentoo failed (compile phase):
 *   emake failed

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

end of thread, other threads:[~2024-06-11  9:08 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-29  9:32 [Bug modula2/114529] New: profiledbootstrap fails to build and m2 causes odr violations during build gaius at gcc dot gnu.org
2024-03-29  9:32 ` [Bug modula2/114529] " gaius at gcc dot gnu.org
2024-04-02  8:58 ` arsen at gcc dot gnu.org
2024-05-21 13:57 ` gaius at gcc dot gnu.org
2024-05-29 14:05 ` gaius at gcc dot gnu.org
2024-06-06 13:24 ` gaius at gcc dot gnu.org
2024-06-08 19:57 ` gaius at gcc dot gnu.org
2024-06-11  9:02 ` cvs-commit at gcc dot gnu.org
2024-06-11  9:08 ` gaius at gcc dot gnu.org

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