I was trying to build mingw-w64-cross-gcc according to PKGBUILD provided
(for gcc-9.3.0) when i have run into the following issue.
Compilation goes on until it is time for configuration of
x86_64-w64-mingw32/libgcc in build tree. It then fails to configure.

Here is relevant section of config.log:


> configure:3747: checking for suffix of object files
> configure:3769:
/e/work/unix_env/sources_packages/gcc-9.3.0/build3/./gcc/xgcc -B/e/work
/unix_env/sources_packages/gcc-9.3.0/build3/./gcc/
-L/opt/x86_64-w64-mingw32/lib -L/opt/mingw/lib -isystem
/opt/x86_64-w64-mingw32/include -isystem /opt/mingw/include
-B/opt/x86_64-w64-mingw32/bin/ -B/opt/x86_64-w64-mingw32/lib/ -isystem
/opt/x86_64-w64-mingw32/include -isystem
/opt/x86_64-w64-mingw32/sys-include    -c -g -O2  conftest.c >&5
/e/work/unix_env/sources_packages/gcc-9.3.0/build3/./gcc/as: line 106:
exec: -o: invalid option
> exec: usage: exec [-cl] [-a name] [command [arguments ...]] [redirection
...]
> configure:3773: $? = 1
> configure: failed program was:
> | /* confdefs.h */
> | #define PACKAGE_NAME "GNU C Runtime Library"
> | #define PACKAGE_TARNAME "libgcc"
> | #define PACKAGE_VERSION "1.0"
> | #define PACKAGE_STRING "GNU C Runtime Library 1.0"
> | #define PACKAGE_BUGREPORT ""
> | #define PACKAGE_URL "http://www.gnu.org/software/libgcc/";
> | /* end confdefs.h.  */
> |
> | int
> | main ()
> | {
> |
> |   ;
> |   return 0;
> | }
> configure:3787: error: in
`/e/work/unix_env/sources_packages/gcc-9.3.0/build3/x86_64-w64-mingw32/libgcc':
> configure:3789: error: cannot compute suffix of object files: cannot
compile
> See `config.log' for more details

What could be going on there?
_______________________________________________
Msys2-users mailing list
Msys2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/msys2-users

Reply via email to