[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Re: mxe fails to compile
From: |
|
Subject: |
Re: Re: mxe fails to compile |
Date: |
Thu, 15 Aug 2024 18:10:09 +0200 |
I also get the error when the time is correct:
[cedric@cedric ~]$ git clone https://github.com/mxe/mxe.git mxe-git
Cloning into 'mxe-git'...
remote: Enumerating objects: 57293, done.
remote: Counting objects: 100% (17475/17475), done.
remote: Compressing objects: 100% (822/822), done.
remote: Total 57293 (delta 16970), reused 16871 (delta 16647), pack-reused
39818 (from 1)
Receiving objects: 100% (57293/57293), 26.32 MiB | 3.34 MiB/s, done.
Resolving deltas: 100% (42075/42075), done.
[cedric@cedric ~]$ cd mxe-git/
[cedric@cedric mxe-git]$ make MXE_TARGETS=x86_64-w64-mingw32.static.posix
MXE_PLUGIN_DIRS=plugins/examples/qt5-freeze gcc glib libzip libusb1 libftdi1
hidapi glibmm qtbase qtimageformats qtsvg qttranslations boost check gendef
libieee1284 qtbase_CONFIGURE_OPTS='-no-sql-mysql'
[create settings.mk]
[check reqs]
[download] binutils-2.38.tar.bz2
[nonet lib] /home/cedric/mxe-git/usr/x86_64-pc-linux-gnu/lib/nonetwork.so
[git-log] 9f349e0d openssl: github is the new download source
[build] mxe-conf x86_64-w64-mingw32.static.posix
[done] mxe-conf x86_64-w64-mingw32.static.posix
0 KiB 0m2.512s
[download] ccache-3.6.tar.xz
[build] mxe-conf x86_64-pc-linux-gnu
[done] mxe-conf x86_64-pc-linux-gnu
0 KiB 0m2.513s
[build] ccache x86_64-pc-linux-gnu
[done] ccache x86_64-pc-linux-gnu
4468 KiB 0m5.102s
[build] ccache x86_64-w64-mingw32.static.posix
[done] ccache x86_64-w64-mingw32.static.posix
2220 KiB 0m2.530s
[build] binutils x86_64-w64-mingw32.static.posix
[done] binutils x86_64-w64-mingw32.static.posix
563712 KiB 0m41.256s
[download] mingw-w64-v12.0.0.tar.bz2
[build] mingw-w64 x86_64-w64-mingw32.static.posix
[done] mingw-w64 x86_64-w64-mingw32.static.posix
0 KiB 0m2.510s
[download] gmp-6.3.0.tar.xz
[build] gmp x86_64-pc-linux-gnu
[done] gmp x86_64-pc-linux-gnu
32160 KiB 0m21.624s
[download] isl-0.24.tar.bz2
[build] isl x86_64-pc-linux-gnu
[done] isl x86_64-pc-linux-gnu
70552 KiB 0m16.402s
[download] mpfr-4.2.1.tar.xz
[build] mpfr x86_64-pc-linux-gnu
[done] mpfr x86_64-pc-linux-gnu
18772 KiB 0m14.282s
[download] mpc-1.3.1.tar.gz
[build] mpc x86_64-pc-linux-gnu
[done] mpc x86_64-pc-linux-gnu
7344 KiB 0m6.688s
[download] gcc-11.4.0.tar.xz
[build] gcc x86_64-w64-mingw32.static.posix
Failed to build package gcc for target x86_64-w64-mingw32.static.posix!
------------------------------------------------------------
config.status: creating config.h
config.status: executing depdir commands
mkdir -p -- .deps
make[2]: Leaving directory
'/home/cedric/mxe-git/tmp-gcc-x86_64-w64-mingw32.static.posix/gcc-11.4.0.build_'
make[1]: *** [Makefile:903: build-only-gcc_x86_64-w64-mingw32.static.posix]
Error 2
make[1]: Leaving directory '/home/cedric/mxe-git'
real 0m25.620s
user 0m53.323s
sys 0m19.361s
------------------------------------------------------------
[log] /home/cedric/mxe-git/log/gcc_x86_64-w64-mingw32.static.posix
make: *** [Makefile:891:
/home/cedric/mxe-git/usr/x86_64-w64-mingw32.static.posix/installed/gcc] Error 1
[cedric@cedric mxe-git]$
if [ x"-fpic" != x ]; then \
gcc -c -DHAVE_CONFIG_H -g -O2 -I.
-I/home/cedric/mxe-git/tmp-gcc-x86_64-w64-mingw32.static.posix/gcc-11.4.0/libiberty/../include
-W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local
-pedantic -D_GNU_SOURCE -fcf-protection -fpic
/home/cedric/mxe-git/tmp-gcc-x86_64-w64-mingw32.static.posix/gcc-11.4.0/libiberty/simple-object-coff.c
-o pic/simple-object-coff.o; \
else true; fi
if [ x"-fpic" != x ]; then \
gcc -c -DHAVE_CONFIG_H -g -O2 -I.
-I/home/cedric/mxe-git/tmp-gcc-x86_64-w64-mingw32.static.posix/gcc-11.4.0/libiberty/../include
-W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local
-pedantic -D_GNU_SOURCE -fcf-protection -fpic
/home/cedric/mxe-git/tmp-gcc-x86_64-w64-mingw32.static.posix/gcc-11.4.0/libiberty/simple-object-elf.c
-o pic/simple-object-elf.o; \
else true; fi
yes
checking whether asprintf is declared... make[3]: Leaving directory
'/home/cedric/mxe-git/tmp-gcc-x86_64-w64-mingw32.static.posix/gcc-11.4.0.build_/build-x86_64-pc-linux-gnu/libiberty'
make[2]: *** [Makefile:2774: all-build-libiberty] Error 2
make[2]: *** Waiting for unfinished jobs....
if [ x"-fpic" != x ]; then \
gcc -c -DHAVE_CONFIG_H -g -O2 -I.
-I/home/cedric/mxe-git/tmp-gcc-x86_64-w64-mingw32.static.posix/gcc-11.4.0/libiberty/../include
-W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local
-pedantic -D_GNU_SOURCE -fcf-protection -fpic
/home/cedric/mxe-git/tmp-gcc-x86_64-w64-mingw32.static.posix/gcc-11.4.0/libiberty/simple-object-mach-o.c
-o pic/simple-object-mach-o.o; \
else true; fi
yes
../../gcc-11.4.0/libiberty/simple-object-mach-o.c: In function
‘simple_object_mach_o_write_segment’:
../../gcc-11.4.0/libiberty/simple-object-mach-o.c:1231:17: error: passing
argument 1 of ‘set_32’ from incompatible pointer type
[-Wincompatible-pointer-types]
1231 | set_32 (&index[i], index[i]);
| ^~~~~~~~~
| |
| unsigned int *
../../gcc-11.4.0/libiberty/simple-object-mach-o.c:1231:17: note: expected
‘unsigned char *’ but argument is of type ‘unsigned int *’
make[3]: *** [Makefile:1306: simple-object-mach-o.o] Error 1
make[3]: *** Waiting for unfinished jobs....
checking whether basename is declared... if [ x"" != x ]; then \
gcc -c -DHAVE_CONFIG_H -g -O2 -I.
-I/home/cedric/mxe-git/tmp-gcc-x86_64-w64-mingw32.static.posix/gcc-11.4.0/libiberty/../include
-W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local
-pedantic -D_GNU_SOURCE -fcf-protection -fpic
/home/cedric/mxe-git/tmp-gcc-x86_64-w64-mingw32.static.posix/gcc-11.4.0/libiberty/simple-object.c
-o noasan/simple-object.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I.
-I/home/cedric/mxe-git/tmp-gcc-x86_64-w64-mingw32.static.posix/gcc-11.4.0/libiberty/../include
-W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -Wshadow=local
-pedantic -D_GNU_SOURCE -fcf-protection
/home/cedric/mxe-git/tmp-gcc-x86_64-w64-mingw32.static.posix/gcc-11.4.0/libiberty/simple-object.c
-o simple-object.o
yes
--- original message ---
From: Martin Guy <martinwguy@gmail.com>
Date: 15.08.2024 10:53:17
To: mingw-cross-env-list@nongnu.org
Subject: Re: mxe fails to compile
Maybe not helped by this?
On 8/15/24 08:00, Cedric.dewijs--- via wrote:
> [create settings.mk]
> make: Warning: File 'Makefile' has modification time 7133 s in the future
probably meaning that your system's clock is out of sync with reality
M
________________________________________________________
Your E-Mail. Your Cloud. Your Office. eclipso Mail Europe.
https://www.eclipso.eu