Bug 14862 - go-runtime build failure
Summary: go-runtime build failure
Status: RESOLVED WORKSFORME
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 4.2
Assignee: Unassigned
QA Contact:
URL:
Whiteboard: AB-INT
Depends on:
Blocks:
 
Reported: 2022-07-14 13:24 UTC by Alexandre Belloni
Modified: 2022-11-03 14:53 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre Belloni 2022-07-14 13:24:48 UTC
| # /home/pokybuild/yocto-worker/qemuarm/build/build/tmp/work/cortexa15t2hf-neon-poky-linux-gnueabi/go-runtime/1.18.3-r0/build-tmp/go-build1301124642/b232/libstd.so
| /home/pokybuild/yocto-worker/qemuarm/build/build/tmp/work/cortexa15t2hf-neon-poky-linux-gnueabi/go-runtime/1.18.3-r0/go/pkg/tool/native_native/link: running arm-poky-linux-gnueabi-gcc failed: exit status 1
| /tmp/go-link-3088828398/go.o:go.go:function local.internal/abi.(*RegArgs).IntRegArgAddr: error: unexpected opcode while processing relocation R_ARM_CALL
| /tmp/go-link-3088828398/go.o:go.go:function local.internal/abi.(*RegArgs).IntRegArgAddr: error: unexpected opcode while processing relocation R_ARM_CALL
| /tmp/go-link-3088828398/go.o:go.go:function local.internal/abi.(*RegArgs).IntRegArgAddr: error: unexpected opcode while processing relocation R_ARM_CALL
| /tmp/go-link-3088828398/go.o:go.go:function local.internal/abi.(*IntArgRegBitmap).Set: error: unexpected opcode while processing relocation R_ARM_CALL
| /tmp/go-link-3088828398/go.o:go.go:function local.internal/abi.(*IntArgRegBitmap).Set: error: unexpected opcode while processing relocation R_ARM_CALL
| /tmp/go-link-3088828398/go.o:go.go:function local.internal/abi.(*IntArgRegBitmap).Get: error: unexpected opcode while processing relocation R_ARM_CALL
| /tmp/go-link-3088828398/go.o:go.go:function local.runtime/internal/math.MulUintptr: error: unexpected opcode while processing relocation R_ARM_CALL
| /tmp/go-link-3088828398/go.o:go.go:function local.runtime/internal/math.MulUintptr: error: unexpected opcode while processing relocation R_ARM_CALL
| /tmp/go-link-3088828398/go.o:go.go:function local.runtime/internal/math.Mul64: error: unexpected opcode while processing relocation R_ARM_CALL
| /tmp/go-link-3088828398/go.o:go.go:function local.internal/bytealg.HashStrBytes: error: unexpected opcode while processing relocation R_ARM_CALL
| /tmp/go-link-3088828398/go.o:go.go:function local.internal/bytealg.HashStrBytes: error: unexpected opcode while processing relocation R_ARM_CALL
| /tmp/go-link-3088828398/go.o:go.go:function local.internal/bytealg.HashStr: error: unexpected opcode while processing relocation R_ARM_CALL
| /tmp/go-link-3088828398/go.o:go.go:function local.internal/bytealg.HashStr: error: unexpected opcode while processing relocation R_ARM_CALL
| /tmp/go-link-3088828398/go.o:go.go:function local.internal/bytealg.HashStrRevBytes: error: unexpected opcode while processing relocation R_ARM_CALL
| /tmp/go-link-3088828398/go.o:go.go:function local.internal/bytealg.HashStrRevBytes: error: unexpected opcode while processing relocation R_ARM_CALL
| /tmp/go-link-3088828398/go.o:go.go:function local.internal/bytealg.HashStrRev: error: unexpected opcode while processing relocation R_ARM_CALL
| /tmp/go-link-3088828398/go.o:go.go:function local.internal/bytealg.HashStrRev: error: unexpected opcode while processing relocation R_ARM_CALL
| /tmp/go-link-3088828398/go.o:go.go:function local.internal/bytealg.IndexRabinKarpBytes: error: unexpected opcode while processing relocation R_ARM_CALL
| /tmp/go-link-3088828398/go.o:go.go:function local.internal/bytealg.IndexRabinKarpBytes: error: unexpected opcode while processing relocation R_ARM_CALL
| /tmp/go-link-3088828398/go.o:go.go:function local.internal/bytealg.IndexRabinKarpBytes: error: unexpected opcode while processing relocation R_ARM_CALL
| /tmp/go-link-3088828398/go.o:go.go:function local.internal/bytealg.IndexRabinKarpBytes: error: unexpected opcode while processing relocation R_ARM_CALL
| /tmp/go-link-3088828398/go.o:go.go:function local.internal/bytealg.IndexRabinKarpBytes: error: unexpected opcode while processing relocation R_ARM_CALL
| /tmp/go-link-3088828398/go.o:go.go:function local.internal/bytealg.IndexRabinKarpBytes: error: unexpected opcode while processing relocation R_ARM_CALL
| /tmp/go-link-3088828398/go.o:go.go:function local.internal/bytealg.IndexRabinKarpBytes: error: unexpected opcode while processing relocation R_ARM_CALL
| /tmp/go-link-3088828398/go.o:go.go:function local.internal/bytealg.IndexRabinKarpBytes: error: unexpected opcode while processing relocation R_ARM_CALL
| /tmp/go-link-3088828398/go.o:go.go:function local.internal/bytealg.IndexRabinKarpBytes: error: unexpected opcode while processing relocation R_ARM_CALL
| /tmp/go-link-3088828398/go.o:go.go:function local.internal/bytealg.IndexRabinKarpBytes: error: unexpected opcode while processing relocation R_ARM_CALL
| /tmp/go-link-3088828398/go.o:go.go:function local.internal/bytealg.IndexRabinKarp: error: unexpected opcode while processing relocation R_ARM_CALL
| /tmp/go-link-3088828398/go.o:go.go:function local.internal/bytealg.IndexRabinKarp: error: unexpected opcode while processing relocation R_ARM_CALL
| /tmp/go-link-3088828398/go.o:go.go:function local.internal/bytealg.IndexRabinKarp: error: unexpected opcode while processing relocation R_ARM_CALL
| /tmp/go-link-3088828398/go.o:go.go:function local.internal/bytealg.IndexRabinKarp: error: unexpected opcode while processing relocation R_ARM_CALL
| /tmp/go-link-3088828398/go.o:go.go:function local.internal/bytealg.IndexRabinKarp: error: unexpected opcode while processing relocation R_ARM_CALL
| /tmp/go-link-3088828398/go.o:go.go:function local.internal/bytealg.IndexRabinKarp: error: unexpected opcode while processing relocation R_ARM_CALL
| /tmp/go-link-3088828398/go.o:go.go:function local.internal/bytealg.IndexRabinKarp: error: unexpected opcode while processing relocation R_ARM_CALL
| /tmp/go-link-3088828398/go.o:go.go:function local.internal/bytealg.IndexRabinKarp: error: unexpected opcode while processing relocation R_ARM_CALL
| /tmp/go-link-3088828398/go.o:go.go:function local.internal/bytealg.IndexRabinKarp: error: unexpected opcode while processing relocation R_ARM_CALL
| /tmp/go-link-3088828398/go.o:go.go:function local.internal/bytealg.countGenericString: error: unexpected opcode while processing relocation R_ARM_CALL
| /tmp/go-link-3088828398/go.o:go.go:function local.internal/bytealg.countGenericString: error: unexpected opcode while processing relocation R_ARM_CALL
| /tmp/go-link-3088828398/go.o:go.go:function local.internal/bytealg.Equal: error: unexpected opcode while processing relocation R_ARM_CALL
| /tmp/go-link-3088828398/go.o:go.go:function local.internal/bytealg.Equal: error: unexpected opcode while processing relocation R_ARM_CALL
| /tmp/go-link-3088828398/go.o:go.go:function local.internal/bytealg.Index: error: unexpected opcode while processing relocation R_ARM_CALL
| /tmp/go-link-3088828398/go.o:go.go:function local.internal/bytealg.Index: error: unexpected opcode while processing relocation R_ARM_CALL
| /tmp/go-link-3088828398/go.o:go.go:function local.internal/bytealg.IndexString: error: unexpected opcode while processing relocation R_ARM_CALL
| /tmp/go-link-3088828398/go.o:go.go:function local.internal/bytealg.IndexString: error: unexpected opcode while processing relocation R_ARM_CALL
| /tmp/go-link-3088828398/go.o:go.go:function local.internal/bytealg.Cutover: error: unexpected opcode while processing relocation R_ARM_CALL
| /tmp/go-link-3088828398/go.o:go.go:function local.internal/bytealg.Cutover: error: unexpected opcode while processing relocation R_ARM_CALL
| /tmp/go-link-3088828398/go.o:go.go:function local.internal/bytealg.Compare: error: unexpected opcode while processing relocation R_ARM_JUMP24
| /tmp/go-link-3088828398/go.o:go.go:function local.runtime.cmpstring: error: unexpected opcode while processing relocation R_ARM_JUMP24
| /tmp/go-link-3088828398/go.o:go.go:function local.internal/bytealg.Count: error: unexpected opcode while processing relocation R_ARM_JUMP24
| /tmp/go-link-3088828398/go.o:go.go:function local.internal/bytealg.CountString: error: unexpected opcode while processing relocation R_ARM_JUMP24
| /tmp/go-link-3088828398/go.o:go.go:function local.runtime.memequal: error: unexpected opcode while processing relocation R_ARM_JUMP24
| /tmp/go-link-3088828398/go.o:go.go:function local.runtime.memequal_varlen: error: unexpected opcode while processing relocation R_ARM_JUMP24
| /tmp/go-link-3088828398/go.o:go.go:function local.internal/bytealg.IndexByte: error: unexpected opcode while processing relocation R_ARM_JUMP24
| /tmp/go-link-3088828398/go.o:go.go:function local.internal/bytealg.IndexByteString: error: unexpected opcode while processing relocation R_ARM_JUMP24
| /tmp/go-link-3088828398/go.o:go.go:function local.runtime.memhash8: error: unexpected opcode while processing relocation R_ARM_CALL
| /tmp/go-link-3088828398/go.o:go.go:function local.runtime.memhash8: error: unexpected opcode while processing relocation R_ARM_CALL
| /tmp/go-link-3088828398/go.o:go.go:function local.runtime.memhash16: error: unexpected opcode while processing relocation R_ARM_CALL
| /tmp/go-link-3088828398/go.o:go.go:function local.runtime.memhash16: error: unexpected opcode while processing relocation R_ARM_CALL
| /tmp/go-link-3088828398/go.o:go.go:function local.runtime.memhash128: error: unexpected opcode while processing relocation R_ARM_CALL
| /tmp/go-link-3088828398/go.o:go.go:function local.runtime.memhash128: error: unexpected opcode while processing relocation R_ARM_CALL
| /tmp/go-link-3088828398/go.o:go.go:function local.runtime.memhash_varlen: error: unexpected opcode while processing relocation R_ARM_CALL
| /tmp/go-link-3088828398/go.o:go.go:function local.runtime.strhashFallback: error: unexpected opcode while processing relocation R_ARM_CALL
| /tmp/go-link-3088828398/go.o:go.go:function local.runtime.strhashFallback: error: unexpected opcode while processing relocation R_ARM_CALL
| collect2: error: ld returned 1 exit status
| 
| WARNING: /home/pokybuild/yocto-worker/qemuarm/build/build/tmp/work/cortexa15t2hf-neon-poky-linux-gnueabi/go-runtime/1.18.3-r0/temp/run.do_compile.2411460:168 exit 2 from 'CC="$CC_FOR_linux_arm" GOARCH="arm" GOOS="linux" GOROOT=/home/pokybuild/yocto-worker/qemuarm/build/build/tmp/work/cortexa15t2hf-neon-poky-linux-gnueabi/go-runtime/1.18.3-r0/go $GOTOOLDIR/go_bootstrap install -linkshared -buildmode=shared -ldflags="--linkmode=external -extldflags ' -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a15 -fstack-protector-strong  -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/pokybuild/yocto-worker/qemuarm/build/build/tmp/work/cortexa15t2hf-neon-poky-linux-gnueabi/go-runtime/1.18.3-r0/recipe-sysroot -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed                      -fdebug-prefix-map=/home/pokybuild/yocto-worker/qemuarm/build/build/tmp/work/cortexa15t2hf-neon-poky-linux-gnueabi/go-runtime/1.18.3-r0/recipe-sysroot=                      -fdebug-prefix-map=/home/pokybuild/yocto-worker/qemuarm/build/build/tmp/work/cortexa15t2hf-neon-poky-linux-gnueabi/go-runtime/1.18.3-r0/recipe-sysroot-native=  -Wl,-z,relro,-z,now'" std'
| WARNING: Backtrace (BB generated script):
| 	#1: do_compile, /home/pokybuild/yocto-worker/qemuarm/build/build/tmp/work/cortexa15t2hf-neon-poky-linux-gnueabi/go-runtime/1.18.3-r0/temp/run.do_compile.2411460, line 168
| 	#2: main, /home/pokybuild/yocto-worker/qemuarm/build/build/tmp/work/cortexa15t2hf-neon-poky-linux-gnueabi/go-runtime/1.18.3-r0/temp/run.do_compile.2411460, line 175
NOTE: recipe go-runtime-1.18.3-r0: task do_compile: Failed


https://autobuilder.yoctoproject.org/typhoon/#/builders/53/builds/5487/steps/11/logs/stdio
qemuarm fedora36-ty-3
Comment 1 Randy MacLeod 2022-11-03 14:53:48 UTC
Re-open if seen again. -- YP bug review