https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87661
Bug ID: 87661 Summary: [9 Regression] libgo bootstrap failure on arm-linux-gnueabihf (redefinition of constants) Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: go Assignee: ian at airs dot com Reporter: doko at debian dot org CC: cmang at google dot com Target Milestone: --- seen with trunk 20181019, configured with --with-arch=armv7-a --with-fpu=vfpv3-d16 --with-float=hard --with-mode=thumb runtime_sysinfo.go:1676:7: error: redefinition of '_HWCAP_IDIVA' 1676 | const _HWCAP_IDIVA = (1 << 17) | ^ ../../../src/libgo/go/runtime/os_linux_arm.go:14:2: note: previous definition of '_HWCAP_IDIVA' was her e 14 | _HWCAP_IDIVA = 1 << 17 | ^ runtime_sysinfo.go:3157:7: error: redefinition of '_HWCAP_VFPv3' 3157 | const _HWCAP_VFPv3 = (1 << 13) | ^ ../../../src/libgo/go/runtime/os_linux_arm.go:13:2: note: previous definition of '_HWCAP_VFPv3' was her e 13 | _HWCAP_VFPv3 = 1 << 13 // introduced in 2.6.30 | ^ runtime_sysinfo.go:5588:7: error: redefinition of '_HWCAP_VFP' 5588 | const _HWCAP_VFP = (1 << 6) | ^ ../../../src/libgo/go/runtime/os_linux_arm.go:12:2: note: previous definition of '_HWCAP_VFP' was here 12 | _HWCAP_VFP = 1 << 6 // introduced in at least 2.6.11 | ^