go-1.16.15 build fails in check phase on powerpc64le

  • Open
  • quality assurance status badge
Details
2 participants
  • Efraim Flashner
  • Marcel van der Boom
Owner
unassigned
Submitted by
Marcel van der Boom
Severity
normal
M
M
Marcel van der Boom wrote on 21 Jul 2022 15:05
(address . bug-guix@gnu.org)
87a692fwfc.fsf@van-der-boom.nl
During the check phase of building go-1.16.15 (as dependency of
ungoogled-chromium) a failure occurs:



--- FAIL: TestTrivialExecutable (3.43s)
shared_test.go:484: file too large: got 202752, want <= 100000
--- FAIL: TestTrivialExecutablePIE (0.61s)
shared_test.go:484: file too large: got 202824, want <= 100000


Full build log: https://dpaste.org/iWfL0
M
M
Marcel van der Boom wrote on 4 Aug 2022 18:24
(address . 56680@debbugs.gnu.org)
87edxwdl87.fsf@van-der-boom.nl
I see that the full build log expired on the paste site.

Is any additional info needed here, other than the excerpt of the
log?

I suspect the check error is a safety precaution to ensure
executables are of reasonable size, but reasonable is perhaps a
bit different on the POWER9 platform?
E
E
Efraim Flashner wrote on 4 Aug 2022 19:48
(name . Marcel van der Boom)(address . marcel@van-der-boom.nl)(address . 56680@debbugs.gnu.org)
YuwGUpZECwkjnTQy@pbp
On Thu, Aug 04, 2022 at 06:24:47PM +0200, Marcel van der Boom wrote:
Toggle quote (9 lines)
>
> I see that the full build log expired on the paste site.
>
> Is any additional info needed here, other than the excerpt of the log?
>
> I suspect the check error is a safety precaution to ensure executables are
> of reasonable size, but reasonable is perhaps a bit different on the POWER9
> platform?

I'm currently working on bootstrapping go-1.17.11 directly from gccgo,
so we'd be able to skip 1.16 entirely. Currently it works on
x86_64-linux but not on riscv64-linux. If you want to test something
like that on powerpc64le that'd be great.

--
Efraim Flashner <efraim@flashner.co.il> ????? ?????
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmLsBlEACgkQQarn3Mo9
g1H/pxAAkd69IvE310nbo/E2YsL5Missd68Gnk2VCuZVd0Ag71llgOWoUIu191NW
Y5Fl2va0FD38daNU3EQP7NZRCawaRxbFHeJLr8kRYR34nSqlzTrAUfaNpHEXbY/d
2IwKZ23Y/wDbaniYHEvYtS8raxutUCCJA5A/2Iz/cM32a9kMCEm13zAIrlOOxUvQ
+lXPsRCkxPmwEyIRl/Rm3sKSrtmJmDkNYbNQnylSDBl9y1+GIhYNILKPO0dqQsHx
+bR71HTdAFM9uzB9s3qgCol5slkLJRd6vOBhn/Ca3YfXPVgTOCwWddrUIFDR9ibI
exkq90ENw8rLjJ8DgoICw5COvl1yfv5RVEG4sRhGFY2AY/Mzr/rQml6X0EcpHi4+
elBs0nq1Nj5b//OQPwxvJi0IkhTJ+4T0sU7/TF+VueWnTU87iOD9uHhtGcUr6NMA
qym7DKaA/voMmfO8G4JWpXko92NsC/47Jr1rdZC6yy/0MlPXmEBMoy288s3lHGBx
LUs+DmyxagvXEAn//frLTmgeDpxvgyopHThB9TcHW9QeO4JD207yGpwYMirFycls
Jp3rK8Ir56+Jgm3BhhBqXPEgXQS0GdXOfwrpMGZ4fintQL8tT57/OhW2au2q7che
mmZZtXTrcqwaSM0EshJFuvrnIF9xk0giy8gRu4VlEWao/sr5J0E=
=h3EP
-----END PGP SIGNATURE-----


M
M
Marcel van der Boom wrote on 4 Aug 2022 23:02
(name . Efraim Flashner)(address . efraim@flashner.co.il)(address . 56680@debbugs.gnu.org)
87a68jen3l.fsf@van-der-boom.nl
[Efraim Flashner]:
Toggle quote (7 lines)
> I'm currently working on bootstrapping go-1.17.11 directly from
> gccgo,
> so we'd be able to skip 1.16 entirely. Currently it works on
> x86_64-linux but not on riscv64-linux. If you want to test
> something
> like that on powerpc64le that'd be great.

Sure, can you point me in the right direction and get me started
on what would be useful for you?
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEE82U2v1mzEPiKRr69PyiQ+QAAY6AFAmLsNI4ACgkQPyiQ+QAA
Y6A1RQf/dt0hZZb1OqY27LqgAwbmi7Mwt4l1uXx3uK5wqs0NGdPTSkP55x/24PL8
JZLJwwA7bsqxQQmAUYKXDbKrR0IUK8Zlgagd+TfIpQ2WC6SD5YIJjXhM5QqVhyFO
8Kc3Vu0uqi+4vPjr/5PC44JrLGYdAmnUJ1IvVCamJNBNi7cERO255UKkuiFwg4j2
qYIqZMQVnihDc/NXrad5xaDXXIGBpusB35duL1aXqNc4seiGbtWJO4W+D6RW8gMA
n5I8ocfs7a9f8MnFGtTPQLE+/07Q3i3scqbyIz/2rDfEp1ATKjWShoDeKXvYSP2r
0ZIgBPkC40Pa1wyS1vOWpEtI5sC76g==
=TvA2
-----END PGP SIGNATURE-----

E
E
Efraim Flashner wrote on 4 Aug 2022 23:34
(name . Marcel van der Boom)(address . marcel@van-der-boom.nl)(address . 56680@debbugs.gnu.org)
Yuw7ZpaiR2Y8wk+Y@pbp
On Thu, Aug 04, 2022 at 11:02:53PM +0200, Marcel van der Boom wrote:
Toggle quote (10 lines)
>
> [Efraim Flashner]:
> > I'm currently working on bootstrapping go-1.17.11 directly from gccgo,
> > so we'd be able to skip 1.16 entirely. Currently it works on
> > x86_64-linux but not on riscv64-linux. If you want to test something
> > like that on powerpc64le that'd be great.
>
> Sure, can you point me in the right direction and get me started on what
> would be useful for you?

Looking at the package definitions for go it looks like the inputs and
native-inputs need to be cleaned up some, but for our purposes I think
just removing the native-inputs field completely from 1.17 should try to
make go-1.17 build with gccgo. Then try to build go@1.17.

--
Efraim Flashner <efraim@flashner.co.il> ????? ?????
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmLsO2UACgkQQarn3Mo9
g1G8Qw//bAzFbgwok3T861OZbGgzK8H16JNSxY7cZ2CnZvLSrbn0USB/TONwhPSE
dVEQHJ21Xecyixiaq/wrTfMbAMQn4XWa1VhgsGRvtLCFKvTZezFq14ZD0eEAOLgu
TblMvsgU78FLzF8A3KwIt/4IS6f443oKgnEg5+vN25tpAJGMcJVs0kZ4TRbOlWXu
Rp9rmgfe2qzK1Gr856012G4VZcYdGnnw4e+MVgZm4KxJBtUpzLu0KUDdplhbRXhY
1WDvpGsWsbuBUUlVD82V+bCZRLekbdnSDu6riAhj1abR+d5gLsUlJYAiQ1hCFvU+
DB/17FbgsILkE465iSf7SKH2yiQgEPkGZtEqtwxOaV9MaAu3bVZequxyP66OSMAM
PSk9IMSf/fVDJaFSfJjqmRQaE7rEj+yemFRLtv/66UfQJOj3v2LK02skFwJgeBUa
QX276Y6iqZfW40ruKDoo/pInit3KU0/E+8DCfSo0oBJtUw/zUno9HIKWwEzSnF3p
NvZ+PofIegJeLZEIxVhM1GexfljYUOy3mAAWD9a6IaLC9+c7m3L2Lyc2hn47ghUE
32b6co5F20uL9iTOWf93N3EdbnAl4JR/hy9gZqRVEiVcRJjbdBsM4CxYRJatcXav
PKAdGZTHsEsYF5wHB6IyXqomyQwWkL0wE09iXAdJRI3sCFhdBpA=
=N4p7
-----END PGP SIGNATURE-----


M
M
Marcel van der Boom wrote on 9 Aug 2022 15:19
(name . Efraim Flashner)(address . efraim@flashner.co.il)(address . 56680@debbugs.gnu.org)
87sfm5czv2.fsf@van-der-boom.nl
[Efraim Flashner]:
Toggle quote (5 lines)
> [...]
> just removing the native-inputs field completely from 1.17
> should try to
> make go-1.17 build with gccgo. Then try to build go@1.17.

That does indeed start a gccgo build and fails after a while with
this:
( https://dpaste.org/3UwS2has more details)


starting phase `build'
Building Go cmd/dist using
/gnu/store/imii98jzv6jhgyk4k6mkagyhksjwn0rr-gccgo-10.3.0. (go1.14.6
gccgo (GCC) 10.3.0 linux/ppc64le)
Building Go toolchain1 using
/gnu/store/imii98jzv6jhgyk4k6mkagyhksjwn0rr-gccgo-10.3.0.
Building Go bootstrap cmd/go (go_bootstrap) using Go toolchain1.

/tmp/guix-build-go-1.17.11.drv-0/source/src/internal/abi/abi.go:37:7:
internal compiler error: '(*RegArgs).Dump': nil register for
value: v13 = SelectN <mem> [0] v12
M
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 56680@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 56680
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch