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

            Bug ID: 116091
           Summary: MinGW-w64 build not building plugin libraries
           Product: gcc
           Version: 14.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
          Assignee: unassigned at gcc dot gnu.org
          Reporter: brechtsanders at users dot sourceforge.net
  Target Milestone: ---

When building MinGW-w64 builds of GCC 13 or higher natively on Windows (in
MSYS2 shell) I noticed the plugin libraries cc1.exe.a and cc1plus.exe.a are no
longer built when building with --enable-plugin

In fact, make succeeds but make install fails because it can't find these
files, but it is trying to install them:

/usr/bin/install -c -m 644 cc1.exe.a
/R/winlibs-gcc13.2.0-posix-msvcrt-11.0.1_64/inst_gcc-14.1.0/share/gcc/lib/gcc/x86_64-w64-mingw32/14.1.0/plugin/cc1.exe.a
/usr/bin/install: cannot stat 'cc1.exe.a': No such file or directory

Can you tell me where in the make files it is supposed to be building cc1.exe.a
and cc1plus.exe.a ?

My configure command looks like this:

./configure
--prefix=/R/winlibs-gcc13.2.0-posix-msvcrt-11.0.1_64/inst_gcc-14.1.0/share/gcc
--build=x86_64-w64-mingw32 --host=x86_64-w64-mingw32
--enable-offload-targets=nvptx-none --with-pkgversion=MinGW-W64
x86_64-msvcrt-posix-seh, built by Brecht Sanders --with-tune=generic
--enable-checking=release --enable-threads=posix --disable-sjlj-exceptions
--disable-libunwind-exceptions --disable-serial-configure --disable-bootstrap
--enable-host-shared --enable-plugin --disable-default-ssp --disable-rpath
--disable-libstdcxx-debug --disable-version-specific-runtime-libs --with-stabs
--disable-symvers --enable-languages=c,c++,fortran,lto,objc,obj-c++
--disable-gold --disable-nls --disable-stage1-checking --disable-win32-registry
--disable-multilib --enable-ld --enable-libquadmath --enable-libada
--enable-libssp --enable-libstdcxx --enable-lto --enable-fully-dynamic-string
--enable-libgomp --enable-graphite --enable-mingw-wildcard
--enable-libstdcxx-time --enable-libstdcxx-pch
--with-mpc=/d/Prog/winlibs-gcc13.2.0-posix-msvcrt-11.0.1/custombuilt64
--with-mpfr=/d/Prog/winlibs-gcc13.2.0-posix-msvcrt-11.0.1/custombuilt64
--with-gmp=/d/Prog/winlibs-gcc13.2.0-posix-msvcrt-11.0.1/custombuilt64
--with-isl=/d/Prog/winlibs-gcc13.2.0-posix-msvcrt-11.0.1/custombuilt64
--disable-libstdcxx-backtrace --enable-install-libiberty --enable-__cxa_atexit
--without-included-gettext --with-diagnostics-color=auto
--enable-clocale=generic --with-libiconv --with-system-zlib
--with-build-sysroot=/R/winlibs-gcc13.2.0-posix-msvcrt-11.0.1_64/gcc-14.1.0/mingw-w64
CFLAGS=-D__USE_MINGW_ANSI_STDIO=0
-I/d/Prog/winlibs-gcc13.2.0-posix-msvcrt-11.0.1/custombuilt64/include/libdl-win32
  -march=nocona -msahf -mtune=generic -O2 -Wno-error=format
CXXFLAGS=-D__USE_MINGW_ANSI_STDIO=0 -Wno-int-conversion  -march=nocona -msahf
-mtune=generic -O2 LDFLAGS=-pthread -Wl,--no-insert-timestamp -Wl,--dynamicbase
-Wl,--high-entropy-va -Wl,--nxcompat -Wl,--tsaware

Reply via email to