public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/109188] New: Building genmodes under MinGW-W64/MSYS2 fails due to undefined HOST_EXTRA_OBJS_SYMBOL
@ 2023-03-19  8:11 jdx at o2 dot pl
  2023-03-19 11:09 ` [Bug bootstrap/109188] " pinskia at gcc dot gnu.org
                   ` (15 more replies)
  0 siblings, 16 replies; 17+ messages in thread
From: jdx at o2 dot pl @ 2023-03-19  8:11 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 109188
           Summary: Building genmodes under MinGW-W64/MSYS2 fails due to
                    undefined HOST_EXTRA_OBJS_SYMBOL
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jdx at o2 dot pl
  Target Milestone: ---
              Host: x86_64-w64-mingw32
            Target: arm-eabi

I get the following error message when I try to build master (33fb1625):

make[2]: Entering directory '/d/works/xcomp/gcc-build/gcc'
TARGET_CPU_DEFAULT="" \
HEADERS="auto-host.h ansidecl.h config/i386/xm-mingw32.h" DEFINES="" \
/bin/sh ../../../gcc/gcc/mkconfig.sh config.h
TARGET_CPU_DEFAULT="\"arm7tdmi\"" \
HEADERS="options.h insn-constants.h config/vxworks-dummy.h config/elfos.h
config/arm/unknown-elf.h config/arm/elf.h config/arm/bpabi.h
config/newlib-stdint.h config/arm/aout.h config/arm/arm.h
config/initfini-array.h defaults.h" DEFINES="LIBC_GLIBC=1 LIBC_UCLIBC=2
LIBC_BIONIC=3 LIBC_MUSL=4" \
/bin/sh ../../../gcc/gcc/mkconfig.sh tm.h
TARGET_CPU_DEFAULT="" \
HEADERS="config/arm/arm-flags.h config/arm/arm-protos.h
config/arm/aarch-common-protos.h tm-preds.h" DEFINES="" \
/bin/sh ../../../gcc/gcc/mkconfig.sh tm_p.h
TARGET_CPU_DEFAULT="" \
HEADERS="auto-host.h ansidecl.h config/i386/xm-mingw32.h" DEFINES="" \
/bin/sh ../../../gcc/gcc/mkconfig.sh bconfig.h
g++ -c   -g -O2     -DIN_GCC -fPIC -DCROSS_DIRECTORY_STRUCTURE  
-fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing
-Wwrite-strings -Wcast-qual -Wmissing-format-attribute
-Wconditionally-supported -Woverloaded-virtual -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H 
-DGENERATOR_FILE -I. -Ibuild -I../../../gcc/gcc -I../../../gcc/gcc/build
-I../../../gcc/gcc/../include  -I../../../gcc/gcc/../libcpp/include  \
        -o build/genmodes.o ../../../gcc/gcc/genmodes.cc
g++ -c   -g -O2     -DIN_GCC -fPIC -DCROSS_DIRECTORY_STRUCTURE  
-fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing
-Wwrite-strings -Wcast-qual -Wmissing-format-attribute
-Wconditionally-supported -Woverloaded-virtual -pedantic -Wno-long-long
-Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H 
-DGENERATOR_FILE -I. -Ibuild -I../../../gcc/gcc -I../../../gcc/gcc/build
-I../../../gcc/gcc/../include  -I../../../gcc/gcc/../libcpp/include  \
        -o build/errors.o ../../../gcc/gcc/errors.cc
../../../gcc/gcc/errors.cc: In function 'void warning(const char*, ...)':
../../../gcc/gcc/errors.cc:50:12: warning: function 'void warning(const char*,
...)' might be a candidate for 'gnu_printf' format attribute
[-Wsuggest-attribute=format]
   50 |   vfprintf (stderr, format, ap);
      |   ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
../../../gcc/gcc/errors.cc: In function 'void error(const char*, ...)':
../../../gcc/gcc/errors.cc:65:12: warning: function 'void error(const char*,
...)' might be a candidate for 'gnu_printf' format attribute
[-Wsuggest-attribute=format]
   65 |   vfprintf (stderr, format, ap);
      |   ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
../../../gcc/gcc/errors.cc: In function 'void fatal(const char*, ...)':
../../../gcc/gcc/errors.cc:82:12: warning: function 'void fatal(const char*,
...)' might be a candidate for 'gnu_printf' format attribute
[-Wsuggest-attribute=format]
   82 |   vfprintf (stderr, format, ap);
      |   ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
../../../gcc/gcc/errors.cc: In function 'void internal_error(const char*,
...)':
../../../gcc/gcc/errors.cc:97:12: warning: function 'void internal_error(const
char*, ...)' might be a candidate for 'gnu_printf' format attribute
[-Wsuggest-attribute=format]
   97 |   vfprintf (stderr, format, ap);
      |   ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
g++   -g -O2     -DIN_GCC -fPIC -DCROSS_DIRECTORY_STRUCTURE   -fno-exceptions
-fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wmissing-format-attribute -Wconditionally-supported
-Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings   -DHAVE_CONFIG_H  -DGENERATOR_FILE -static-libstdc++
-static-libgcc -Wl,--stack,12582912
-Wl,--require-defined=HOST_EXTRA_OBJS_SYMBOL -o build/genmodes.exe \
    build/genmodes.o build/errors.o
../build-x86_64-w64-mingw32/libiberty/libiberty.a
C:/Tools/MSYS/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
required symbol `HOST_EXTRA_OBJS_SYMBOL' not defined
collect2.exe: error: ld returned 1 exit status
make[2]: *** [Makefile:3042: build/genmodes.exe] Error 1
make[2]: Leaving directory '/d/works/xcomp/gcc-build/gcc'
make[1]: *** [Makefile:4613: all-gcc] Error 2
make[1]: Leaving directory '/d/works/xcomp/gcc-build'
make: *** [Makefile:1034: all] Error 2



My configuration command:

../../gcc/configure --prefix=/usr/local --with-sysroot=/d/works/xcomp/sysroot
--target=arm-eabi --disable-nls --disable-threads --disable-tls
--enable-checking=release --enable-languages=c --with-newlib --without-headers
--enable-multilib --enable-lto --disable-shared --enable-static
--disable-host-shared --disable-bootstrap --disable-libatomic --disable-libgomp
--disable-libitm --disable-libquadmath --disable-libsanitizer --disable-libssp
--disable-libvtv --with-system-zlib

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

end of thread, other threads:[~2023-03-24 13:33 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-19  8:11 [Bug c/109188] New: Building genmodes under MinGW-W64/MSYS2 fails due to undefined HOST_EXTRA_OBJS_SYMBOL jdx at o2 dot pl
2023-03-19 11:09 ` [Bug bootstrap/109188] " pinskia at gcc dot gnu.org
2023-03-19 11:47 ` jdx at o2 dot pl
2023-03-19 18:31 ` jdx at o2 dot pl
2023-03-19 18:45 ` pinskia at gcc dot gnu.org
2023-03-20  1:26 ` jdx at o2 dot pl
2023-03-20  1:38 ` pinskia at gcc dot gnu.org
2023-03-20  1:57 ` jdx at o2 dot pl
2023-03-20  2:05 ` jdx at o2 dot pl
2023-03-20  2:15 ` pinskia at gcc dot gnu.org
2023-03-20  2:48 ` jdx at o2 dot pl
2023-03-20  2:57 ` pinskia at gcc dot gnu.org
2023-03-20  4:13 ` jdx at o2 dot pl
2023-03-23  8:27 ` jdx at o2 dot pl
2023-03-23  9:58 ` costas.argyris at gmail dot com
2023-03-24 12:01 ` costas.argyris at gmail dot com
2023-03-24 13:33 ` rguenth 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).