Bug#881372: gcc-7: gccgo runtime fails to build on ia64
Package: gcc-7
Version: 7.2.0-12
Severity: normal
Dear Maintainer,
When trying to build the gccgo runtime on ia64, the build fails with undefined references to 'lfstackPack' and 'lfstackUnpack'.
I believe this is fixed by the attached patch.
-- System Information:
Debian Release: 7.11
APT prefers oldoldstable
APT policy: (500, 'oldoldstable')
Architecture: ia64
Kernel: Linux 3.2.0-4-mckinley (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages gcc-7 depends on:
ii binutils 2.25-5+deb8u1
ii cpp-7 7.2.0-12
ii gcc-7-base 7.2.0-12
ii libc6.1 2.13-38+deb7u10
ii libcc1-0 7.2.0-12
ii libgcc-7-dev 7.2.0-12
ii libgcc1 1:7.2.0-12
ii libgmp10 2:6.1.2+dfsg-1.1
ii libisl15 0.18-1
ii libmpc3 1.0.3-2
ii libmpfr4 3.1.6-1
ii libstdc++6 7.2.0-12
ii libunwind7 0.99-0.3
ii zlib1g 1:1.2.8.dfsg-5
Versions of packages gcc-7 recommends:
ii libc6.1-dev 2.13-38+deb7u10
Versions of packages gcc-7 suggests:
pn gcc-7-doc <none>
pn gcc-7-locales <none>
pn libasan4-dbg <none>
pn libatomic1-dbg <none>
pn libcilkrts5-dbg <none>
pn libgcc1-dbg <none>
pn libgomp1-dbg <none>
pn libitm1-dbg <none>
pn liblsan0-dbg <none>
pn libmpx2-dbg <none>
pn libquadmath0-dbg <none>
pn libtsan0-dbg <none>
pn libubsan0-dbg <none>
-- debconf information excluded
--- src/libgo/go/runtime/lfstack_64bit.go.orig 2017-11-10 14:19:42.699987069 -0500
+++ src/libgo/go/runtime/lfstack_64bit.go 2017-11-10 14:19:52.635987138 -0500
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-// +build amd64 arm64 mips64 mips64le ppc64 ppc64le s390x arm64be alpha sparc64
+// +build amd64 arm64 mips64 mips64le ppc64 ppc64le s390x arm64be alpha sparc64 ia64
package runtime
Reply to: