public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug modula2/111756] New: Re-building all-gcc after source changes fails to link
@ 2023-10-10  7:09 rguenth at gcc dot gnu.org
  2023-10-11 20:12 ` [Bug modula2/111756] " gaius at gcc dot gnu.org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-10-10  7:09 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 111756
           Summary: Re-building all-gcc after source changes fails to link
           Product: gcc
           Version: 13.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: modula2
          Assignee: gaius at gcc dot gnu.org
          Reporter: rguenth at gcc dot gnu.org
  Target Milestone: ---

When having modula-2 enabled in a development tree and there are any changes
that trigger rebuilds in m2/ doing a 'make all-gcc' in the build directory
will end up with

make[1]: Entering directory '/spc/abuild/rguenther/gcc13-g/gcc'
test -d m2/stage1 || /bin/sh
/space/rguenther/src/gcc-13-branch/gcc/../mkinstalldirs m2/stage1
g++ -no-pie   -g   -DIN_GCC    -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wstrict-prototypes -Wmissing-prototypes  -Wold-style-definition
-Wc++-compat -fno-common  -DHAVE_CONFIG_H -static-libstdc++ -static-libgcc  -o
m2/stage1/cc1gm2 m2/gm2-lang.o m2/m2pp.o m2/gm2-gcc/m2assert.o
m2/gm2-gcc/m2block.o m2/gm2-gcc/m2builtins.o m2/gm2-gcc/m2except.o
m2/gm2-gcc/m2color.o m2/gm2-gcc/m2configure.o m2/gm2-gcc/m2convert.o
m2/gm2-gcc/m2decl.o m2/gm2-gcc/m2expr.o m2/gm2-gcc/m2linemap.o
m2/gm2-gcc/m2statement.o m2/gm2-gcc/m2type.o m2/gm2-gcc/m2tree.o
m2/gm2-gcc/m2treelib.o m2/gm2-gcc/m2top.o m2/gm2-gcc/m2misc.o m2/gm2-gcc/init.o
m2/gm2-compiler-boot/m2flex.o \
                            attribs.o \
                             m2/gm2-compiler-boot/gm2.a
m2/gm2-libs-boot/libgm2.a  m2/mc-boot-ch/Glibc.o m2/mc-boot-ch/Gmcrts.o \
                             m2/gm2-gcc/rtegraph.o \
                             libbackend.a main.o libcommon-target.a libcommon.a
../libcpp/libcpp.a ../libdecnumber/libdecnumber.a libcommon.a
../libcpp/libcpp.a   ../libbacktrace/.libs/libbacktrace.a
../libiberty/libiberty.a ../libdecnumber/libdecnumber.a  -lisl -lmpc -lmpfr
-lgmp -rdynamic -ldl  -L./../zlib -lz -lzstd 
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld:
m2/gm2-compiler-boot/gm2.a(P3Build.o): in function `AsmStatement(unsigned int,
unsigned int, unsigned int)':
/abuild/rguenther/gcc13-g/gcc/m2/gm2-compiler-boot/P3Build.c:8848:(.text+0xa387):
undefined reference to `M2Quads_BuildInline'
collect2: error: ld returned 1 exit status
make[1]: *** [/space/rguenther/src/gcc-13-branch/gcc/m2/Make-lang.in:554:
m2/stage1/cc1gm2] Error 1
make[1]: Leaving directory '/spc/abuild/rguenther/gcc13-g/gcc'
make: *** [Makefile:4629: all-gcc] Error 2

this looks like a dependency issue, maybe triggered by the change renaming
BuildInline to BuildAsm.

When I remove P3Build.[co] it seems to work.  How's dependency tracking (not)
working here?

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

end of thread, other threads:[~2023-10-18  2:11 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-10  7:09 [Bug modula2/111756] New: Re-building all-gcc after source changes fails to link rguenth at gcc dot gnu.org
2023-10-11 20:12 ` [Bug modula2/111756] " gaius at gcc dot gnu.org
2023-10-15  1:29 ` gaius at gcc dot gnu.org
2023-10-16 17:19 ` gaius at gcc dot gnu.org
2023-10-17 10:18 ` gaius at gcc dot gnu.org
2023-10-17 13:12 ` cvs-commit at gcc dot gnu.org
2023-10-17 13:13 ` gaius at gcc dot gnu.org
2023-10-17 13:15 ` gaius at gcc dot gnu.org
2023-10-18  2:06 ` gaius at gcc dot gnu.org
2023-10-18  2:10 ` cvs-commit at gcc dot gnu.org
2023-10-18  2:11 ` 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).