0KnowledgeNetwork / tmp-goreleaser

temporary project to explore automated cross-platform go builds
GNU Affero General Public License v3.0
0 stars 0 forks source link

build apps/walletshield for multi platforms #4

Open xendarboh opened 6 months ago

xendarboh commented 6 months ago
platform status
linux-amd64
darwin-arm64 maybe close, fails differently than others with incompatible linker flag
linux-arm64
darwin-amd64
windows-amd64
xendarboh commented 2 weeks ago

2024-11-05

platform status
linux-amd64
linux-arm64
darwin-amd64
darwin-arm64
windows-amd64
windows-arm64
windows-386
linux-armhf

Error Logs

windows-amd64 ``` /root/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.23.2.linux-amd64/pkg/tool/linux_amd64/link: running x86_64-w64-mingw32-gcc failed: exit status 1 /usr/bin/x86_64-w64-mingw32-gcc -m64 -s -mconsole -Wl,--tsaware -Wl,--nxcompat -Wl,--major-os-version=6 -Wl,--minor-os-version=1 -Wl,--major-subsystem-version=6 -Wl,--minor-subsystem-version=1 -o $WORK/b001/exe/a.out.exe -Wl,--no-insert-timestamp /tmp/go-link-1584902609/go.o /tmp/go-link-1584902609/000000.o /tmp/go-link-1584902609/000001.o /tmp/go-link-1584902609/000002.o /tmp/go-link-1584902609/000003.o /tmp/go-link-1584902609/000004.o /tmp/go-link-1584902609/000005.o /tmp/go-link-1584902609/000006.o /tmp/go-link-1584902609/000007.o /tmp/go-link-1584902609/000008.o /tmp/go-link-1584902609/000009.o /tmp/go-link-1584902609/000010.o /tmp/go-link-1584902609/000011.o /tmp/go-link-1584902609/000012.o /tmp/go-link-1584902609/000013.o /tmp/go-link-1584902609/000014.o /tmp/go-link-1584902609/000015.o /tmp/go-link-1584902609/000016.o /tmp/go-link-1584902609/000017.o /tmp/go-link-1584902609/000018.o /tmp/go-link-1584902609/000019.o /tmp/go-link-1584902609/000020.o /tmp/go-link-1584902609/000021.o /tmp/go-link-1584902609/000022.o /tmp/go-link-1584902609/000023.o /tmp/go-link-1584902609/000024.o /tmp/go-link-1584902609/000025.o /tmp/go-link-1584902609/000026.o /tmp/go-link-1584902609/000027.o /tmp/go-link-1584902609/000028.o /tmp/go-link-1584902609/000029.o /tmp/go-link-1584902609/000030.o /tmp/go-link-15849026 09/000031.o /tmp/go-link-1584902609/000032.o /tmp/go-link-1584902609/000033.o /tmp/go-link-1584902609/000034.o /tmp/go-link-1584902609/000035.o /tmp/go-link-1584902609/000036.o /tmp/go-link-1584902609/000037.o /tmp/go-link-1584902609/000038.o /tmp/go-link-1584902609/000039.o /tmp/go-link-1584902609/000040.o /tmp/go-link-1584902609/000041.o /tmp/go-link-1584902609/000042.o /tmp/go-link-1584902609/000043.o /tmp/go-link-1584902609/000044.o /tmp/go-link-1584902609/000045.o /tmp/go-link-1584902609/000046.o /tmp/go-link-1584902609/000047.o /tmp/go-link-1584902609/000048.o /tmp/go-link-1584902609/000049.o /tmp/go-link-1584902609/000050.o /tmp/go-link-1584902609/000051.o /tmp/go-link-1584902609/000052.o /tmp/go-link-1584902609/000053.o /tmp/go-link-1584902609/000054.o /tmp/go-link-1584902609/000055.o /tmp/go-link-1584902609/000056.o /tmp/go-link-1584902609/000057.o /tmp/go-link-1584902609/000058.o /tmp/go-link-1584902609/000059.o /tmp/go-link-1584902609/000060.o /tmp/go-link-1584902609/000061.o /tmp/go-link-1584902609/000062.o /tmp/go-link-1584902609/000063.o /tmp/go-link-1584902609/000064.o /tmp/go-link-1584902609/000065.o /tmp/go-link-1584902609/000066.o /tmp/go-link-1584902609/000067.o /tmp/go-link-1584902609/000068.o /tmp/go-link-1584902609/000069.o /tmp/go-link-1584902609/000070.o /tmp/go-link-1584902609/000071.o /tmp/go-link-1584902609/000072.o /tmp/go-link-1584902609/000073.o /tmp/go-link-1584902609/000074.o /tmp/go-link-1584902609/000075.o /tmp/go-link-1584902609/000076.o /tmp/go-link-1584902609/000077.o /tmp/go-link-1584902609/000078.o /tmp/go-link-1584902609/000079.o /tmp/go-link-1584902609/000080.o /tmp/go-link-1584902609/000081.o /tmp/go-link-1584902609/000082.o /tmp/go-link-1584902609/000083.o /tmp/go-link-1584902609/000084.o /tmp/go-link-1584902609/000085.o /tmp/go-link-1584902609/000086.o /tmp/go-link-1584902609/000087.o /tmp/go-link-1584902609/000088.o /tmp/go-link-1584902609/000089.o /tmp/go-link-1584902609/000090.o /tmp/go-link-1584902609/000091.o /tmp/go-link-1584902609/000092.o /tmp/go-link-1584902609/000093.o /tmp/go-link-1584902609/000094.o /tmp/go-link-1584902609/000095.o /tmp/go-link-1584902609/000096.o /tmp/go-link-1584902609/000097.o /tmp/go-link-1584902609/000098.o /tmp/go-link-1584902609/000099.o /tmp/go-link-1584902609/000100.o /tmp/go-link-1584902609/000101.o /tmp/go-link-1584902609/000102.o /tmp/go-link-1584902609/000103.o /tmp/go-link-1584902609/000104.o /tmp/go-link-1584902609/000105.o /tmp/go-link-1584902609/000106.o /tmp/go-link-1584902609/000107.o /tmp/go-link-1584902609/000108.o /tmp/go-link-1584902609/000109.o -O2 -g -O2 -g -O2 -g -O2 -g -O2 -g -O2 -g -no-pie -Wl,-T,/tmp/go-link-1584902609/fix_debug_gdb_scripts.ld -Wl,--start-group -lmingwex -lmingw32 -Wl,--end-group -lkernel32 /usr/bin/x86_64-w64-mingw32-ld: /tmp/go-link-1584902609/000011.o: in function `fillrandom_1024_custom': \\_\_/codeberg.org/vula/highctidh@v1.0.2024092800/src/ctidh1024/binding1024.h:21: multiple definition of `.weak.fillrandom_1024_custom.'; /tmp/go-link-1584902609/000001.o://_/_/codeberg.org/vula/highctidh@v1.0.2024092800/src/ctidh1024/binding1024.h:21: first defined here /usr/bin/x86_64-w64-mingw32-ld: /tmp/go-link-1584902609/000036.o: in function `fillrandom_2048_custom': \\_\_/codeberg.org/vula/highctidh@v1.0.2024092800/src/ctidh2048/binding2048.h:21: multiple definition of `.weak.fillrandom_2048_custom.'; /tmp/go-link-1584902609/000026.o://_/_/codeberg.org/vula/highctidh@v1.0.2024092800/src/ctidh2048/binding2048.h:21: first defined here /usr/bin/x86_64-w64-mingw32-ld: /tmp/go-link-1584902609/000061.o: in function `fillrandom_511_custom': \\_\_/codeberg.org/vula/highctidh@v1.0.2024092800/src/ctidh511/binding511.h:21: multiple definition of `.weak.fillrandom_511_custom.'; /tmp/go-link-1584902609/000051.o://_/_/codeberg.org/vula/highctidh@v1.0.2024092800/src/ctidh511/binding511.h:21: first defined here /usr/bin/x86_64-w64-mingw32-ld: /tmp/go-link-1584902609/000086.o: in function `fillrandom_512_custom': \\_\_/codeberg.org/vula/highctidh@v1.0.2024092800/src/ctidh512/binding512.h:21: multiple definition of `.weak.fillrandom_512_custom.'; /tmp/go-link-1584902609/000076.o://_/_/codeberg.org/vula/highctidh@v1.0.2024092800/src/ctidh512/binding512.h:21: first defined here collect2: error: ld returned 1 exit status ```
windows-arm64 ``` In file included from _cgo_export.c:4: cgo-gcc-export-header-prolog:52:35: error: redeclaration of 'highctidh_511_go_fillrandom' cannot add 'dllexport' attribute /root/go/pkg/mod/codeberg.org/vula/highctidh@v1.0.2024092800/src/ctidh511/binding511.h:12:6: note: previous declaration is here # codeberg.org/vula/highctidh/src/ctidh1024 In file included from _cgo_export.c:4: cgo-gcc-export-header-prolog:52:35: error: redeclaration of 'highctidh_1024_go_fillrandom' cannot add 'dllexport' attribute /root/go/pkg/mod/codeberg.org/vula/highctidh@v1.0.2024092800/src/ctidh1024/binding1024.h:12:6: note: previous declaration is here # codeberg.org/vula/highctidh/src/ctidh512 In file included from _cgo_export.c:4: cgo-gcc-export-header-prolog:52:35: error: redeclaration of 'highctidh_512_go_fillrandom' cannot add 'dllexport' attribute /root/go/pkg/mod/codeberg.org/vula/highctidh@v1.0.2024092800/src/ctidh512/binding512.h:12:6: note: previous declaration is here # codeberg.org/vula/highctidh/src/ctidh2048 In file included from _cgo_export.c:4: cgo-gcc-export-header-prolog:52:35: error: redeclaration of 'highctidh_2048_go_fillrandom' cannot add 'dllexport' attribute /root/go/pkg/mod/codeberg.org/vula/highctidh@v1.0.2024092800/src/ctidh2048/binding2048.h:12:6: note: previous declaration is here ```
windows-386 ``` codeberg.org/vula/highctidh/src/ctidh2048: invalid flag in #cgo CFLAGS: -fforce-enable-int128 codeberg.org/vula/highctidh/src/ctidh511: invalid flag in #cgo CFLAGS: -fforce-enable-int128 codeberg.org/vula/highctidh/src/ctidh512: invalid flag in #cgo CFLAGS: -fforce-enable-int128 ```
linux-armhf ``` In file included from ./fp.h:23, from ./csidh.h:10, from /root/go/pkg/mod/codeberg.org/vula/highctidh@v1.0.2024092800/src/ctidh2048/ctidh2048.go:7: ./fiat_p2048.h:15:42: error: '__int128' is not supported on this target 15 | FIAT_P2048_FIAT_EXTENSION typedef signed __int128 fiat_p2048_int128; | ^~~~~~~~ ./fiat_p2048.h:16:44: error: '__int128' is not supported on this target 16 | FIAT_P2048_FIAT_EXTENSION typedef unsigned __int128 fiat_p2048_uint128; | ^~~~~~~~ # codeberg.org/vula/highctidh/src/ctidh512 In file included from ./fp.h:19, from ./csidh.h:10, from /root/go/pkg/mod/codeberg.org/vula/highctidh@v1.0.2024092800/src/ctidh512/ctidh512.go:7: ./fiat_p512.h:17:41: error: '__int128' is not supported on this target 17 | FIAT_P512_FIAT_EXTENSION typedef signed __int128 fiat_p512_int128; | ^~~~~~~~ ./fiat_p512.h:18:43: error: '__int128' is not supported on this target 18 | FIAT_P512_FIAT_EXTENSION typedef unsigned __int128 fiat_p512_uint128; | ^~~~~~~~ # codeberg.org/vula/highctidh/src/ctidh511 In file included from ./fp.h:17, from ./csidh.h:10, from /root/go/pkg/mod/codeberg.org/vula/highctidh@v1.0.2024092800/src/ctidh511/ctidh511.go:7: ./fiat_p511.h:17:41: error: '__int128' is not supported on this target 17 | FIAT_P511_FIAT_EXTENSION typedef signed __int128 fiat_p511_int128; | ^~~~~~~~ ./fiat_p511.h:18:43: error: '__int128' is not supported on this target 18 | FIAT_P511_FIAT_EXTENSION typedef unsigned __int128 fiat_p511_uint128; | ^~~~~~~~ # codeberg.org/vula/highctidh/src/ctidh1024 In file included from ./fp.h:21, from ./csidh.h:10, from /root/go/pkg/mod/codeberg.org/vula/highctidh@v1.0.2024092800/src/ctidh1024/ctidh1024.go:7: ./fiat_p1024.h:15:42: error: '__int128' is not supported on this target 15 | FIAT_P1024_FIAT_EXTENSION typedef signed __int128 fiat_p1024_int128; | ^~~~~~~~ ./fiat_p1024.h:16:44: error: '__int128' is not supported on this target 16 | FIAT_P1024_FIAT_EXTENSION typedef unsigned __int128 fiat_p1024_uint128; | ^~~~~~~~ ```
xendarboh commented 1 week ago

2024-11-12

platform status
linux-amd64
linux-arm64
darwin-amd64
darwin-arm64
windows-amd64
windows-arm64
windows-386
linux-armhf