-
Notifications
You must be signed in to change notification settings - Fork 17.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cmd/go: build with -x shows C linker error although build works #68743
Comments
just to make it clear, the library works in the end (and the exit code from the build process is 0)... so this might not be a real bug but rather a annoyance in the output |
@golang/compiler |
Just to be clear, this only shows up with But simultaneously, it's a bit surprising these particular errors are ending up in the output at all. Can you share the full output of |
well yes but a subsequent plain Output of 'go build -a -x'$ go build -a -x
WORK=/tmp/go-build2639352060
mkdir -p $WORK/b012/
mkdir -p $WORK/b013/
mkdir -p $WORK/b007/
mkdir -p $WORK/b015/
mkdir -p $WORK/b005/
echo '# import config' > $WORK/b012/importcfg # internal
cd /home/bearsh/tmp/hid
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/b012/_pkg_.a -trimpath "$WORK/b012=>" -p internal/coverage/rtcov -std -complete -buildid oss_nwh-VhwHZLExN9Yl/oss_nwh-VhwHZLExN9Yl -goversion go1.22.5 -c=4 -nolocalimports -importcfg $WORK/b012/importcfg -pack /usr/local/go/src/internal/coverage/rtcov/rtcov.go
echo '# import config' > $WORK/b007/importcfg # internal
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/b007/_pkg_.a -trimpath "$WORK/b007=>" -p internal/unsafeheader -std -complete -buildid mew9__z41EY2SmyZG6n6/mew9__z41EY2SmyZG6n6 -goversion go1.22.5 -c=4 -nolocalimports -importcfg $WORK/b007/importcfg -pack /usr/local/go/src/internal/unsafeheader/unsafeheader.go
echo '# import config' > $WORK/b005/importcfg # internal
echo '# import config' > $WORK/b013/importcfg # internal
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/b005/_pkg_.a -trimpath "$WORK/b005=>" -p internal/goarch -std -complete -buildid 0r1ZWalEbFn2k8Hggq8O/0r1ZWalEbFn2k8Hggq8O -goversion go1.22.5 -c=4 -nolocalimports -importcfg $WORK/b005/importcfg -pack /usr/local/go/src/internal/goarch/goarch.go /usr/local/go/src/internal/goarch/goarch_amd64.go /usr/local/go/src/internal/goarch/zgoarch_amd64.go
echo '# import config' > $WORK/b015/importcfg # internal
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/b013/_pkg_.a -trimpath "$WORK/b013=>" -p internal/godebugs -std -complete -buildid yfC2Wsn4BDpTUvdEgpqy/yfC2Wsn4BDpTUvdEgpqy -goversion go1.22.5 -c=4 -nolocalimports -importcfg $WORK/b013/importcfg -pack /usr/local/go/src/internal/godebugs/table.go
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/b015/_pkg_.a -trimpath "$WORK/b015=>" -p internal/goos -std -complete -buildid A6rxMUQ1i0u_czHMrzeh/A6rxMUQ1i0u_czHMrzeh -goversion go1.22.5 -c=4 -nolocalimports -importcfg $WORK/b015/importcfg -pack /usr/local/go/src/internal/goos/goos.go /usr/local/go/src/internal/goos/unix.go /usr/local/go/src/internal/goos/zgoos_linux.go
mkdir -p $WORK/b014/
echo '# import config' > $WORK/b014/importcfg # internal
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/b014/_pkg_.a -trimpath "$WORK/b014=>" -p internal/goexperiment -std -complete -buildid zRhporqLQx-wTHi8U_l4/zRhporqLQx-wTHi8U_l4 -goversion go1.22.5 -c=4 -nolocalimports -importcfg $WORK/b014/importcfg -pack /usr/local/go/src/internal/goexperiment/exp_allocheaders_on.go /usr/local/go/src/internal/goexperiment/exp_arenas_off.go /usr/local/go/src/internal/goexperiment/exp_boringcrypto_off.go /usr/local/go/src/internal/goexperiment/exp_cacheprog_off.go /usr/local/go/src/internal/goexperiment/exp_cgocheck2_off.go /usr/local/go/src/internal/goexperiment/exp_coverageredesign_on.go /usr/local/go/src/internal/goexperiment/exp_exectracer2_on.go /usr/local/go/src/internal/goexperiment/exp_fieldtrack_off.go /usr/local/go/src/internal/goexperiment/exp_heapminimum512kib_off.go /usr/local/go/src/internal/goexperiment/exp_loopvar_off.go /usr/local/go/src/internal/goexperiment/exp_newinliner_off.go /usr/local/go/src/internal/goexperiment/exp_pagetrace_off.go /usr/local/go/src/internal/goexperiment/exp_preemptibleloops_off.go /usr/local/go/src/internal/goexperiment/exp_rangefunc_off.go /usr/local/go/src/internal/goexperiment/exp_regabiargs_on.go /usr/local/go/src/internal/goexperiment/exp_regabiwrappers_on.go /usr/local/go/src/internal/goexperiment/exp_staticlockranking_off.go /usr/local/go/src/internal/goexperiment/flags.go
mkdir -p $WORK/b010/
mkdir -p $WORK/b016/
echo -n > $WORK/b010/go_asm.h # internal
cd /usr/local/go/src/internal/cpu
/usr/local/go/pkg/tool/linux_amd64/asm -p internal/cpu -trimpath "$WORK/b010=>" -I $WORK/b010/ -I /usr/local/go/pkg/include -D GOOS_linux -D GOARCH_amd64 -D GOAMD64_v1 -gensymabis -o $WORK/b010/symabis ./cpu.s ./cpu_x86.s
echo -n > $WORK/b016/go_asm.h # internal
cd /usr/local/go/src/runtime/internal/atomic
/usr/local/go/pkg/tool/linux_amd64/asm -p runtime/internal/atomic -trimpath "$WORK/b016=>" -I $WORK/b016/ -I /usr/local/go/pkg/include -D GOOS_linux -D GOARCH_amd64 -D GOAMD64_v1 -gensymabis -o $WORK/b016/symabis ./atomic_amd64.s
/usr/local/go/pkg/tool/linux_amd64/buildid -w $WORK/b007/_pkg_.a # internal
/usr/local/go/pkg/tool/linux_amd64/buildid -w $WORK/b014/_pkg_.a # internal
/usr/local/go/pkg/tool/linux_amd64/buildid -w $WORK/b015/_pkg_.a # internal
/usr/local/go/pkg/tool/linux_amd64/buildid -w $WORK/b005/_pkg_.a # internal
cp $WORK/b007/_pkg_.a /home/bearsh/.cache/go-build/08/08d46fa5b04e692a58c6a37f4243524cf60e862e63c9e380cd823ee7ee953dc4-d # internal
cp $WORK/b014/_pkg_.a /home/bearsh/.cache/go-build/9d/9d093556b5e1c8acb84b717a22313dd5fb9e23afa64a0b470851a93dba46633f-d # internal
mkdir -p $WORK/b023/
cp $WORK/b015/_pkg_.a /home/bearsh/.cache/go-build/2f/2f944d86e80954a830a3951681fc5eee152901a4db6c861edd8aabb63628b177-d # internal
mkdir -p $WORK/b019/
echo '# import config' > $WORK/b023/importcfg # internal
cd /home/bearsh/tmp/hid
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/b023/_pkg_.a -trimpath "$WORK/b023=>" -p internal/itoa -std -complete -buildid yj6hJYq4_AqaRew-HIs0/yj6hJYq4_AqaRew-HIs0 -goversion go1.22.5 -c=4 -nolocalimports -importcfg $WORK/b023/importcfg -pack /usr/local/go/src/internal/itoa/itoa.go
cp $WORK/b005/_pkg_.a /home/bearsh/.cache/go-build/7a/7ae794e373c51f719a809c377d61d0a30fee90490015993af7257187682cf666-d # internal
mkdir -p $WORK/b025/
echo '# import config' > $WORK/b010/importcfg # internal
echo '# import config' > $WORK/b016/importcfg # internal
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/b010/_pkg_.a -trimpath "$WORK/b010=>" -p internal/cpu -std -buildid 2HojZiw3efxCZv9jSukh/2HojZiw3efxCZv9jSukh -goversion go1.22.5 -symabis $WORK/b010/symabis -c=4 -nolocalimports -importcfg $WORK/b010/importcfg -pack -asmhdr $WORK/b010/go_asm.h /usr/local/go/src/internal/cpu/cpu.go /usr/local/go/src/internal/cpu/cpu_x86.go
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/b016/_pkg_.a -trimpath "$WORK/b016=>" -p runtime/internal/atomic -std -buildid tsTd6aI6r5V5IL4ut-UQ/tsTd6aI6r5V5IL4ut-UQ -goversion go1.22.5 -symabis $WORK/b016/symabis -c=4 -nolocalimports -importcfg $WORK/b016/importcfg -pack -asmhdr $WORK/b016/go_asm.h /usr/local/go/src/runtime/internal/atomic/atomic_amd64.go /usr/local/go/src/runtime/internal/atomic/doc.go /usr/local/go/src/runtime/internal/atomic/stubs.go /usr/local/go/src/runtime/internal/atomic/types.go /usr/local/go/src/runtime/internal/atomic/types_64bit.go /usr/local/go/src/runtime/internal/atomic/unaligned.go
echo -n > $WORK/b019/go_asm.h # internal
cd /usr/local/go/src/runtime/internal/syscall
/usr/local/go/pkg/tool/linux_amd64/asm -p runtime/internal/syscall -trimpath "$WORK/b019=>" -I $WORK/b019/ -I /usr/local/go/pkg/include -D GOOS_linux -D GOARCH_amd64 -D GOAMD64_v1 -gensymabis -o $WORK/b019/symabis ./asm_linux_amd64.s
echo '# import config' > $WORK/b025/importcfg # internal
cd /home/bearsh/tmp/hid
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/b025/_pkg_.a -trimpath "$WORK/b025=>" -p math/bits -std -complete -buildid TP34NQKH678e4QZ3RaGg/TP34NQKH678e4QZ3RaGg -goversion go1.22.5 -c=4 -nolocalimports -importcfg $WORK/b025/importcfg -pack /usr/local/go/src/math/bits/bits.go /usr/local/go/src/math/bits/bits_errors.go /usr/local/go/src/math/bits/bits_tables.go
mkdir -p $WORK/b004/
/usr/local/go/pkg/tool/linux_amd64/buildid -w $WORK/b012/_pkg_.a # internal
/usr/local/go/pkg/tool/linux_amd64/buildid -w $WORK/b013/_pkg_.a # internal
echo -n > $WORK/b004/go_asm.h # internal
cd /usr/local/go/src/internal/abi
/usr/local/go/pkg/tool/linux_amd64/asm -p internal/abi -trimpath "$WORK/b004=>" -I $WORK/b004/ -I /usr/local/go/pkg/include -D GOOS_linux -D GOARCH_amd64 -D GOAMD64_v1 -gensymabis -o $WORK/b004/symabis ./abi_test.s ./stub.s
cp $WORK/b013/_pkg_.a /home/bearsh/.cache/go-build/fb/fba003aab0a8fb61b26da91443e926a2d953a636b39ffef996e18c49b47a39ac-d # internal
echo '# import config' > $WORK/b019/importcfg # internal
cp $WORK/b012/_pkg_.a /home/bearsh/.cache/go-build/59/59d0bce46e5e05cf1d2715028cf8563d7f6bdfda0860fadd36c9e9889bf144dc-d # internal
cd /home/bearsh/tmp/hid
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/b019/_pkg_.a -trimpath "$WORK/b019=>" -p runtime/internal/syscall -std -buildid hqGQcDOzlcQjysp24aF4/hqGQcDOzlcQjysp24aF4 -goversion go1.22.5 -symabis $WORK/b019/symabis -c=4 -nolocalimports -importcfg $WORK/b019/importcfg -pack -asmhdr $WORK/b019/go_asm.h /usr/local/go/src/runtime/internal/syscall/defs_linux_amd64.go /usr/local/go/src/runtime/internal/syscall/syscall_linux.go
mkdir -p $WORK/b017/
mkdir -p $WORK/b011/
cat >/tmp/go-build2639352060/b017/importcfg << 'EOF' # internal
# import config
packagefile internal/goarch=/tmp/go-build2639352060/b005/_pkg_.a
EOF
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/b017/_pkg_.a -trimpath "$WORK/b017=>" -p runtime/internal/math -std -complete -buildid QEV6wCclc98Ze4yqAEFh/QEV6wCclc98Ze4yqAEFh -goversion go1.22.5 -c=4 -nolocalimports -importcfg $WORK/b017/importcfg -pack /usr/local/go/src/runtime/internal/math/math.go
echo -n > $WORK/b011/go_asm.h # internal
cd /usr/local/go/src/internal/chacha8rand
/usr/local/go/pkg/tool/linux_amd64/asm -p internal/chacha8rand -trimpath "$WORK/b011=>" -I $WORK/b011/ -I /usr/local/go/pkg/include -D GOOS_linux -D GOARCH_amd64 -D GOAMD64_v1 -gensymabis -o $WORK/b011/symabis ./chacha8_amd64.s
/usr/local/go/pkg/tool/linux_amd64/buildid -w $WORK/b023/_pkg_.a # internal
cp $WORK/b023/_pkg_.a /home/bearsh/.cache/go-build/28/28dc6713f997ea3a554521b960cde2fe681fd49a66e59ba5ff63c3b59d628053-d # internal
mkdir -p $WORK/b018/
cat >/tmp/go-build2639352060/b018/importcfg << 'EOF' # internal
# import config
packagefile internal/goarch=/tmp/go-build2639352060/b005/_pkg_.a
packagefile internal/goos=/tmp/go-build2639352060/b015/_pkg_.a
EOF
cd /home/bearsh/tmp/hid
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/b018/_pkg_.a -trimpath "$WORK/b018=>" -p runtime/internal/sys -std -complete -buildid v-l3Z2csiKTeBGigdVpP/v-l3Z2csiKTeBGigdVpP -goversion go1.22.5 -c=4 -nolocalimports -importcfg $WORK/b018/importcfg -pack /usr/local/go/src/runtime/internal/sys/consts.go /usr/local/go/src/runtime/internal/sys/consts_norace.go /usr/local/go/src/runtime/internal/sys/intrinsics.go /usr/local/go/src/runtime/internal/sys/nih.go /usr/local/go/src/runtime/internal/sys/sys.go /usr/local/go/src/runtime/internal/sys/zversion.go
cat >/tmp/go-build2639352060/b004/importcfg << 'EOF' # internal
# import config
packagefile internal/goarch=/tmp/go-build2639352060/b005/_pkg_.a
EOF
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/b004/_pkg_.a -trimpath "$WORK/b004=>" -p internal/abi -std -buildid MqZ9XNMTzMzAa4NX9YhX/MqZ9XNMTzMzAa4NX9YhX -goversion go1.22.5 -symabis $WORK/b004/symabis -c=4 -nolocalimports -importcfg $WORK/b004/importcfg -pack -asmhdr $WORK/b004/go_asm.h /usr/local/go/src/internal/abi/abi.go /usr/local/go/src/internal/abi/abi_amd64.go /usr/local/go/src/internal/abi/compiletype.go /usr/local/go/src/internal/abi/funcpc.go /usr/local/go/src/internal/abi/map.go /usr/local/go/src/internal/abi/stack.go /usr/local/go/src/internal/abi/switch.go /usr/local/go/src/internal/abi/symtab.go /usr/local/go/src/internal/abi/type.go
cat >/tmp/go-build2639352060/b011/importcfg << 'EOF' # internal
# import config
packagefile internal/goarch=/tmp/go-build2639352060/b005/_pkg_.a
EOF
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/b011/_pkg_.a -trimpath "$WORK/b011=>" -p internal/chacha8rand -std -buildid 8sc4S7eq_wFWvQ7gGgNy/8sc4S7eq_wFWvQ7gGgNy -goversion go1.22.5 -symabis $WORK/b011/symabis -c=4 -nolocalimports -importcfg $WORK/b011/importcfg -pack -asmhdr $WORK/b011/go_asm.h /usr/local/go/src/internal/chacha8rand/chacha8.go /usr/local/go/src/internal/chacha8rand/chacha8_generic.go
/usr/local/go/pkg/tool/linux_amd64/buildid -w $WORK/b017/_pkg_.a # internal
cp $WORK/b017/_pkg_.a /home/bearsh/.cache/go-build/2a/2a3547f0593251b27e2c4c6511b133751e5dca3928364e461d0aeac90ccdaaee-d # internal
mkdir -p $WORK/b027/
echo '# import config' > $WORK/b027/importcfg # internal
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/b027/_pkg_.a -trimpath "$WORK/b027=>" -p unicode/utf8 -std -complete -buildid NuQMaY-7Pa766j6scIZb/NuQMaY-7Pa766j6scIZb -goversion go1.22.5 -c=4 -nolocalimports -importcfg $WORK/b027/importcfg -pack /usr/local/go/src/unicode/utf8/utf8.go
cd /usr/local/go/src/runtime/internal/syscall
/usr/local/go/pkg/tool/linux_amd64/asm -p runtime/internal/syscall -trimpath "$WORK/b019=>" -I $WORK/b019/ -I /usr/local/go/pkg/include -D GOOS_linux -D GOARCH_amd64 -D GOAMD64_v1 -o $WORK/b019/asm_linux_amd64.o ./asm_linux_amd64.s
/usr/local/go/pkg/tool/linux_amd64/buildid -w $WORK/b018/_pkg_.a # internal
cp $WORK/b018/_pkg_.a /home/bearsh/.cache/go-build/43/43480daf1de1b96f92e2ceb9e7a59adfdd10de179f49b9081796ad9538197e31-d # internal
mkdir -p $WORK/b029/
cd /usr/local/go/src/internal/cpu
/usr/local/go/pkg/tool/linux_amd64/asm -p internal/cpu -trimpath "$WORK/b010=>" -I $WORK/b010/ -I /usr/local/go/pkg/include -D GOOS_linux -D GOARCH_amd64 -D GOAMD64_v1 -o $WORK/b010/cpu.o ./cpu.s
echo '# import config' > $WORK/b029/importcfg # internal
cd /home/bearsh/tmp/hid
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/b029/_pkg_.a -trimpath "$WORK/b029=>" -p internal/race -std -complete -buildid OwHBXTcfbV7Zj9laxnSq/OwHBXTcfbV7Zj9laxnSq -goversion go1.22.5 -c=4 -nolocalimports -importcfg $WORK/b029/importcfg -pack /usr/local/go/src/internal/race/doc.go /usr/local/go/src/internal/race/norace.go
cd /usr/local/go/src/runtime/internal/syscall
/usr/local/go/pkg/tool/linux_amd64/pack r $WORK/b019/_pkg_.a $WORK/b019/asm_linux_amd64.o # internal
/usr/local/go/pkg/tool/linux_amd64/buildid -w $WORK/b019/_pkg_.a # internal
/usr/local/go/pkg/tool/linux_amd64/buildid -w $WORK/b025/_pkg_.a # internal
cp $WORK/b019/_pkg_.a /home/bearsh/.cache/go-build/c6/c654549acacf797c947fec18a5a95b4dd0cb9ae4826006ef70cbee232c7da2f3-d # internal
mkdir -p $WORK/b030/
echo -n > $WORK/b030/go_asm.h # internal
cd /usr/local/go/src/sync/atomic
/usr/local/go/pkg/tool/linux_amd64/asm -p sync/atomic -trimpath "$WORK/b030=>" -I $WORK/b030/ -I /usr/local/go/pkg/include -D GOOS_linux -D GOARCH_amd64 -D GOAMD64_v1 -gensymabis -o $WORK/b030/symabis ./asm.s
cd /usr/local/go/src/internal/cpu
/usr/local/go/pkg/tool/linux_amd64/asm -p internal/cpu -trimpath "$WORK/b010=>" -I $WORK/b010/ -I /usr/local/go/pkg/include -D GOOS_linux -D GOARCH_amd64 -D GOAMD64_v1 -o $WORK/b010/cpu_x86.o ./cpu_x86.s
cp $WORK/b025/_pkg_.a /home/bearsh/.cache/go-build/e3/e3394bb97891d77f033fc709c2014ab4f1b35a6594aa7c0d3668101b1731b2ca-d # internal
mkdir -p $WORK/b031/
echo '# import config' > $WORK/b031/importcfg # internal
cd /home/bearsh/tmp/hid
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/b031/_pkg_.a -trimpath "$WORK/b031=>" -p unicode -std -complete -buildid KcmYXR8K_sXfYhaBHkKW/KcmYXR8K_sXfYhaBHkKW -goversion go1.22.5 -c=4 -nolocalimports -importcfg $WORK/b031/importcfg -pack /usr/local/go/src/unicode/casetables.go /usr/local/go/src/unicode/digit.go /usr/local/go/src/unicode/graphic.go /usr/local/go/src/unicode/letter.go /usr/local/go/src/unicode/tables.go
cd /usr/local/go/src/runtime/internal/atomic
/usr/local/go/pkg/tool/linux_amd64/asm -p runtime/internal/atomic -trimpath "$WORK/b016=>" -I $WORK/b016/ -I /usr/local/go/pkg/include -D GOOS_linux -D GOARCH_amd64 -D GOAMD64_v1 -o $WORK/b016/atomic_amd64.o ./atomic_amd64.s
/usr/local/go/pkg/tool/linux_amd64/buildid -w $WORK/b029/_pkg_.a # internal
echo '# import config' > $WORK/b030/importcfg # internal
cd /home/bearsh/tmp/hid
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/b030/_pkg_.a -trimpath "$WORK/b030=>" -p sync/atomic -std -buildid Rr26oZr2KI4kfNAJHZMZ/Rr26oZr2KI4kfNAJHZMZ -goversion go1.22.5 -symabis $WORK/b030/symabis -c=4 -nolocalimports -importcfg $WORK/b030/importcfg -pack -asmhdr $WORK/b030/go_asm.h /usr/local/go/src/sync/atomic/doc.go /usr/local/go/src/sync/atomic/type.go /usr/local/go/src/sync/atomic/value.go
cp $WORK/b029/_pkg_.a /home/bearsh/.cache/go-build/ce/ce285bf90f25e69dd7969c3edb66f93fa89fe784306231f796a08fd3994dc136-d # internal
cd /usr/local/go/src/internal/cpu
/usr/local/go/pkg/tool/linux_amd64/pack r $WORK/b010/_pkg_.a $WORK/b010/cpu.o $WORK/b010/cpu_x86.o # internal
/usr/local/go/pkg/tool/linux_amd64/buildid -w $WORK/b010/_pkg_.a # internal
cd /usr/local/go/src/runtime/internal/atomic
/usr/local/go/pkg/tool/linux_amd64/pack r $WORK/b016/_pkg_.a $WORK/b016/atomic_amd64.o # internal
/usr/local/go/pkg/tool/linux_amd64/buildid -w $WORK/b016/_pkg_.a # internal
mkdir -p $WORK/b034/
echo '# import config' > $WORK/b034/importcfg # internal
cd /home/bearsh/tmp/hid
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/b034/_pkg_.a -trimpath "$WORK/b034=>" -p cmp -std -complete -buildid lyZ_18F3pmu5LiWj4t8p/lyZ_18F3pmu5LiWj4t8p -goversion go1.22.5 -c=4 -nolocalimports -importcfg $WORK/b034/importcfg -pack /usr/local/go/src/cmp/cmp.go
cp $WORK/b010/_pkg_.a /home/bearsh/.cache/go-build/cd/cde8a71ca749ca619b4865324e90f83f5525942408a85f6fd98ec652a9c4d3c4-d # internal
cp $WORK/b016/_pkg_.a /home/bearsh/.cache/go-build/27/270f7f9e9f90df965ef0b64882484b47896ce0cea048aeab1c01a0f25b408eab-d # internal
cd /usr/local/go/src/internal/chacha8rand
/usr/local/go/pkg/tool/linux_amd64/asm -p internal/chacha8rand -trimpath "$WORK/b011=>" -I $WORK/b011/ -I /usr/local/go/pkg/include -D GOOS_linux -D GOARCH_amd64 -D GOAMD64_v1 -o $WORK/b011/chacha8_amd64.o ./chacha8_amd64.s
mkdir -p $WORK/b009/
/usr/local/go/pkg/tool/linux_amd64/buildid -w $WORK/b027/_pkg_.a # internal
echo -n > $WORK/b009/go_asm.h # internal
cd /usr/local/go/src/internal/bytealg
/usr/local/go/pkg/tool/linux_amd64/asm -p internal/bytealg -trimpath "$WORK/b009=>" -I $WORK/b009/ -I /usr/local/go/pkg/include -D GOOS_linux -D GOARCH_amd64 -D GOAMD64_v1 -gensymabis -o $WORK/b009/symabis ./compare_amd64.s ./count_amd64.s ./equal_amd64.s ./index_amd64.s ./indexbyte_amd64.s
cd /usr/local/go/src/internal/chacha8rand
/usr/local/go/pkg/tool/linux_amd64/pack r $WORK/b011/_pkg_.a $WORK/b011/chacha8_amd64.o # internal
/usr/local/go/pkg/tool/linux_amd64/buildid -w $WORK/b011/_pkg_.a # internal
cp $WORK/b027/_pkg_.a /home/bearsh/.cache/go-build/07/07ee01f61f90e67c5260aa67eb5a996694700a466a3ea5cd5c361daf2810f9f6-d # internal
mkdir -p $WORK/b047/
cp $WORK/b011/_pkg_.a /home/bearsh/.cache/go-build/22/22de6b4a48d5b678eca541adb57dab54b1fa995edd24655dd9e2b93e792de7fd-d # internal
/usr/local/go/pkg/tool/linux_amd64/buildid -w $WORK/b034/_pkg_.a # internal
mkdir -p $WORK/b052/
cp $WORK/b034/_pkg_.a /home/bearsh/.cache/go-build/07/07767ccf55c835d6995b586d614db3e6856c289719d601ae0b9ece81f4a3edb6-d # internal
echo '# import config' > $WORK/b047/importcfg # internal
cd /home/bearsh/tmp/hid
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/b047/_pkg_.a -trimpath "$WORK/b047=>" -p github.com/bearsh/hid/hidapi -lang=go1.17 -complete -buildid Gg6uCG1Gq2p1gT1fSDgU/Gg6uCG1Gq2p1gT1fSDgU -goversion go1.22.5 -c=4 -nolocalimports -importcfg $WORK/b047/importcfg -pack ./hidapi/hidapi.go
echo '# import config' > $WORK/b052/importcfg # internal
mkdir -p $WORK/b033/
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/b052/_pkg_.a -trimpath "$WORK/b052=>" -p unicode/utf16 -std -complete -buildid TosZ0bQMygcdv8YEDTlP/TosZ0bQMygcdv8YEDTlP -goversion go1.22.5 -c=4 -nolocalimports -importcfg $WORK/b052/importcfg -pack /usr/local/go/src/unicode/utf16/utf16.go
cat >/tmp/go-build2639352060/b033/importcfg << 'EOF' # internal
# import config
packagefile cmp=/tmp/go-build2639352060/b034/_pkg_.a
packagefile math/bits=/tmp/go-build2639352060/b025/_pkg_.a
EOF
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/b033/_pkg_.a -trimpath "$WORK/b033=>" -p slices -std -complete -buildid E-6qhF-9yNCXnGu0RttF/E-6qhF-9yNCXnGu0RttF -goversion go1.22.5 -c=4 -nolocalimports -importcfg $WORK/b033/importcfg -pack /usr/local/go/src/slices/slices.go /usr/local/go/src/slices/sort.go /usr/local/go/src/slices/zsortanyfunc.go /usr/local/go/src/slices/zsortordered.go
cat >/tmp/go-build2639352060/b009/importcfg << 'EOF' # internal
# import config
packagefile internal/cpu=/tmp/go-build2639352060/b010/_pkg_.a
EOF
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/b009/_pkg_.a -trimpath "$WORK/b009=>" -p internal/bytealg -std -buildid SwOYuJp_BXafUmjm3SNf/SwOYuJp_BXafUmjm3SNf -goversion go1.22.5 -symabis $WORK/b009/symabis -c=4 -nolocalimports -importcfg $WORK/b009/importcfg -pack -asmhdr $WORK/b009/go_asm.h /usr/local/go/src/internal/bytealg/bytealg.go /usr/local/go/src/internal/bytealg/compare_native.go /usr/local/go/src/internal/bytealg/count_native.go /usr/local/go/src/internal/bytealg/equal_generic.go /usr/local/go/src/internal/bytealg/equal_native.go /usr/local/go/src/internal/bytealg/index_amd64.go /usr/local/go/src/internal/bytealg/index_native.go /usr/local/go/src/internal/bytealg/indexbyte_native.go /usr/local/go/src/internal/bytealg/lastindexbyte_generic.go
mkdir -p $WORK/b024/
echo -n > $WORK/b024/go_asm.h # internal
cd /usr/local/go/src/math
/usr/local/go/pkg/tool/linux_amd64/asm -p math -trimpath "$WORK/b024=>" -I $WORK/b024/ -I /usr/local/go/pkg/include -D GOOS_linux -D GOARCH_amd64 -D GOAMD64_v1 -gensymabis -o $WORK/b024/symabis ./dim_amd64.s ./exp_amd64.s ./floor_amd64.s ./hypot_amd64.s ./log_amd64.s
/usr/local/go/pkg/tool/linux_amd64/buildid -w $WORK/b047/_pkg_.a # internal
cp $WORK/b047/_pkg_.a /home/bearsh/.cache/go-build/e5/e5483436bd19a38aef855327d929bb3d28a95ecef0efa17e387fef6a1a70754a-d # internal
/usr/local/go/pkg/tool/linux_amd64/buildid -w $WORK/b052/_pkg_.a # internal
cp $WORK/b052/_pkg_.a /home/bearsh/.cache/go-build/dd/dde04c4f8f89b53371918a8c9c6450f8ef57483aeef080c6ce01b065d9b674cd-d # internal
cd /usr/local/go/src/internal/bytealg
/usr/local/go/pkg/tool/linux_amd64/asm -p internal/bytealg -trimpath "$WORK/b009=>" -I $WORK/b009/ -I /usr/local/go/pkg/include -D GOOS_linux -D GOARCH_amd64 -D GOAMD64_v1 -o $WORK/b009/compare_amd64.o ./compare_amd64.s
cat >/tmp/go-build2639352060/b024/importcfg << 'EOF' # internal
# import config
packagefile internal/cpu=/tmp/go-build2639352060/b010/_pkg_.a
packagefile math/bits=/tmp/go-build2639352060/b025/_pkg_.a
EOF
cd /home/bearsh/tmp/hid
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/b024/_pkg_.a -trimpath "$WORK/b024=>" -p math -std -buildid lUrY7z7X-5zevhA2tlSd/lUrY7z7X-5zevhA2tlSd -goversion go1.22.5 -symabis $WORK/b024/symabis -c=4 -nolocalimports -importcfg $WORK/b024/importcfg -pack -asmhdr $WORK/b024/go_asm.h /usr/local/go/src/math/abs.go /usr/local/go/src/math/acosh.go /usr/local/go/src/math/asin.go /usr/local/go/src/math/asinh.go /usr/local/go/src/math/atan.go /usr/local/go/src/math/atan2.go /usr/local/go/src/math/atanh.go /usr/local/go/src/math/bits.go /usr/local/go/src/math/cbrt.go /usr/local/go/src/math/const.go /usr/local/go/src/math/copysign.go /usr/local/go/src/math/dim.go /usr/local/go/src/math/dim_asm.go /usr/local/go/src/math/erf.go /usr/local/go/src/math/erfinv.go /usr/local/go/src/math/exp.go /usr/local/go/src/math/exp2_noasm.go /usr/local/go/src/math/exp_amd64.go /usr/local/go/src/math/exp_asm.go /usr/local/go/src/math/expm1.go /usr/local/go/src/math/floor.go /usr/local/go/src/math/floor_asm.go /usr/local/go/src/math/fma.go /usr/local/go/src/math/frexp.go /usr/local/go/src/math/gamma.go /usr/local/go/src/math/hypot.go /usr/local/go/src/math/hypot_asm.go /usr/local/go/src/math/j0.go /usr/local/go/src/math/j1.go /usr/local/go/src/math/jn.go /usr/local/go/src/math/ldexp.go /usr/local/go/src/math/lgamma.go /usr/local/go/src/math/log.go /usr/local/go/src/math/log10.go /usr/local/go/src/math/log1p.go /usr/local/go/src/math/log_asm.go /usr/local/go/src/math/logb.go /usr/local/go/src/math/mod.go /usr/local/go/src/math/modf.go /usr/local/go/src/math/modf_noasm.go /usr/local/go/src/math/nextafter.go /usr/local/go/src/math/pow.go /usr/local/go/src/math/pow10.go /usr/local/go/src/math/remainder.go /usr/local/go/src/math/signbit.go /usr/local/go/src/math/sin.go /usr/local/go/src/math/sincos.go /usr/local/go/src/math/sinh.go /usr/local/go/src/math/sqrt.go /usr/local/go/src/math/stubs.go /usr/local/go/src/math/tan.go /usr/local/go/src/math/tanh.go /usr/local/go/src/math/trig_reduce.go /usr/local/go/src/math/unsafe.go
cd /usr/local/go/src/internal/bytealg
/usr/local/go/pkg/tool/linux_amd64/asm -p internal/bytealg -trimpath "$WORK/b009=>" -I $WORK/b009/ -I /usr/local/go/pkg/include -D GOOS_linux -D GOARCH_amd64 -D GOAMD64_v1 -o $WORK/b009/count_amd64.o ./count_amd64.s
cd /usr/local/go/src/sync/atomic
/usr/local/go/pkg/tool/linux_amd64/asm -p sync/atomic -trimpath "$WORK/b030=>" -I $WORK/b030/ -I /usr/local/go/pkg/include -D GOOS_linux -D GOARCH_amd64 -D GOAMD64_v1 -o $WORK/b030/asm.o ./asm.s
cd /usr/local/go/src/internal/bytealg
/usr/local/go/pkg/tool/linux_amd64/asm -p internal/bytealg -trimpath "$WORK/b009=>" -I $WORK/b009/ -I /usr/local/go/pkg/include -D GOOS_linux -D GOARCH_amd64 -D GOAMD64_v1 -o $WORK/b009/equal_amd64.o ./equal_amd64.s
cd /usr/local/go/src/sync/atomic
/usr/local/go/pkg/tool/linux_amd64/pack r $WORK/b030/_pkg_.a $WORK/b030/asm.o # internal
/usr/local/go/pkg/tool/linux_amd64/buildid -w $WORK/b030/_pkg_.a # internal
/usr/local/go/pkg/tool/linux_amd64/buildid -w $WORK/b033/_pkg_.a # internal
cd /usr/local/go/src/internal/bytealg
/usr/local/go/pkg/tool/linux_amd64/asm -p internal/bytealg -trimpath "$WORK/b009=>" -I $WORK/b009/ -I /usr/local/go/pkg/include -D GOOS_linux -D GOARCH_amd64 -D GOAMD64_v1 -o $WORK/b009/index_amd64.o ./index_amd64.s
cp $WORK/b033/_pkg_.a /home/bearsh/.cache/go-build/0b/0b71156c3c6c932bc9a91909e7e248f64e0b2b9da510df20711bc3b0e8b6c98f-d # internal
cp $WORK/b030/_pkg_.a /home/bearsh/.cache/go-build/c8/c8fa3564a919612f3bbb246bbf77884bd1a8e3d21d58305f3eea3898590dec96-d # internal
/usr/local/go/pkg/tool/linux_amd64/asm -p internal/bytealg -trimpath "$WORK/b009=>" -I $WORK/b009/ -I /usr/local/go/pkg/include -D GOOS_linux -D GOARCH_amd64 -D GOAMD64_v1 -o $WORK/b009/indexbyte_amd64.o ./indexbyte_amd64.s
/usr/local/go/pkg/tool/linux_amd64/pack r $WORK/b009/_pkg_.a $WORK/b009/compare_amd64.o $WORK/b009/count_amd64.o $WORK/b009/equal_amd64.o $WORK/b009/index_amd64.o $WORK/b009/indexbyte_amd64.o # internal
/usr/local/go/pkg/tool/linux_amd64/buildid -w $WORK/b009/_pkg_.a # internal
cp $WORK/b009/_pkg_.a /home/bearsh/.cache/go-build/9e/9ee67ded8a27a585ac538da80cc30639544c94ad0266c5ae12627c3d935ce828-d # internal
cd /usr/local/go/src/internal/abi
/usr/local/go/pkg/tool/linux_amd64/asm -p internal/abi -trimpath "$WORK/b004=>" -I $WORK/b004/ -I /usr/local/go/pkg/include -D GOOS_linux -D GOARCH_amd64 -D GOAMD64_v1 -o $WORK/b004/abi_test.o ./abi_test.s
/usr/local/go/pkg/tool/linux_amd64/asm -p internal/abi -trimpath "$WORK/b004=>" -I $WORK/b004/ -I /usr/local/go/pkg/include -D GOOS_linux -D GOARCH_amd64 -D GOAMD64_v1 -o $WORK/b004/stub.o ./stub.s
/usr/local/go/pkg/tool/linux_amd64/pack r $WORK/b004/_pkg_.a $WORK/b004/abi_test.o $WORK/b004/stub.o # internal
/usr/local/go/pkg/tool/linux_amd64/buildid -w $WORK/b004/_pkg_.a # internal
cp $WORK/b004/_pkg_.a /home/bearsh/.cache/go-build/10/1000e94b55e7796f8ddcebdcbcdb49b2596c1b05512133fb61fe1aca40e3b89f-d # internal
/usr/local/go/pkg/tool/linux_amd64/buildid -w $WORK/b031/_pkg_.a # internal
cp $WORK/b031/_pkg_.a /home/bearsh/.cache/go-build/c4/c4bf3bbffc94dd036e1c3fd45cc7cccec64e0e680570b1a9d57701165f7aec19-d # internal
mkdir -p $WORK/b008/
echo -n > $WORK/b008/go_asm.h # internal
cd /usr/local/go/src/runtime
/usr/local/go/pkg/tool/linux_amd64/asm -p runtime -trimpath "$WORK/b008=>" -I $WORK/b008/ -I /usr/local/go/pkg/include -D GOOS_linux -D GOARCH_amd64 -D GOAMD64_v1 -gensymabis -o $WORK/b008/symabis ./asm.s ./asm_amd64.s ./duff_amd64.s ./memclr_amd64.s ./memmove_amd64.s ./preempt_amd64.s ./rt0_linux_amd64.s ./sys_linux_amd64.s ./test_amd64.s ./time_linux_amd64.s
cd /usr/local/go/src/math
/usr/local/go/pkg/tool/linux_amd64/asm -p math -trimpath "$WORK/b024=>" -I $WORK/b024/ -I /usr/local/go/pkg/include -D GOOS_linux -D GOARCH_amd64 -D GOAMD64_v1 -o $WORK/b024/dim_amd64.o ./dim_amd64.s
/usr/local/go/pkg/tool/linux_amd64/asm -p math -trimpath "$WORK/b024=>" -I $WORK/b024/ -I /usr/local/go/pkg/include -D GOOS_linux -D GOARCH_amd64 -D GOAMD64_v1 -o $WORK/b024/exp_amd64.o ./exp_amd64.s
/usr/local/go/pkg/tool/linux_amd64/asm -p math -trimpath "$WORK/b024=>" -I $WORK/b024/ -I /usr/local/go/pkg/include -D GOOS_linux -D GOARCH_amd64 -D GOAMD64_v1 -o $WORK/b024/floor_amd64.o ./floor_amd64.s
/usr/local/go/pkg/tool/linux_amd64/asm -p math -trimpath "$WORK/b024=>" -I $WORK/b024/ -I /usr/local/go/pkg/include -D GOOS_linux -D GOARCH_amd64 -D GOAMD64_v1 -o $WORK/b024/hypot_amd64.o ./hypot_amd64.s
cat >/tmp/go-build2639352060/b008/importcfg << 'EOF' # internal
# import config
packagefile internal/abi=/tmp/go-build2639352060/b004/_pkg_.a
packagefile internal/bytealg=/tmp/go-build2639352060/b009/_pkg_.a
packagefile internal/chacha8rand=/tmp/go-build2639352060/b011/_pkg_.a
packagefile internal/coverage/rtcov=/tmp/go-build2639352060/b012/_pkg_.a
packagefile internal/cpu=/tmp/go-build2639352060/b010/_pkg_.a
packagefile internal/goarch=/tmp/go-build2639352060/b005/_pkg_.a
packagefile internal/godebugs=/tmp/go-build2639352060/b013/_pkg_.a
packagefile internal/goexperiment=/tmp/go-build2639352060/b014/_pkg_.a
packagefile internal/goos=/tmp/go-build2639352060/b015/_pkg_.a
packagefile runtime/internal/atomic=/tmp/go-build2639352060/b016/_pkg_.a
packagefile runtime/internal/math=/tmp/go-build2639352060/b017/_pkg_.a
packagefile runtime/internal/sys=/tmp/go-build2639352060/b018/_pkg_.a
packagefile runtime/internal/syscall=/tmp/go-build2639352060/b019/_pkg_.a
EOF
cd /home/bearsh/tmp/hid
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/b008/_pkg_.a -trimpath "$WORK/b008=>" -p runtime -std -buildid LgGWgQDo-2NCIPzWkp0E/LgGWgQDo-2NCIPzWkp0E -goversion go1.22.5 -symabis $WORK/b008/symabis -c=4 -nolocalimports -importcfg $WORK/b008/importcfg -pack -asmhdr $WORK/b008/go_asm.h /usr/local/go/src/runtime/alg.go /usr/local/go/src/runtime/arena.go /usr/local/go/src/runtime/asan0.go /usr/local/go/src/runtime/atomic_pointer.go /usr/local/go/src/runtime/cgo.go /usr/local/go/src/runtime/cgo_mmap.go /usr/local/go/src/runtime/cgo_sigaction.go /usr/local/go/src/runtime/cgocall.go /usr/local/go/src/runtime/cgocallback.go /usr/local/go/src/runtime/cgocheck.go /usr/local/go/src/runtime/chan.go /usr/local/go/src/runtime/checkptr.go /usr/local/go/src/runtime/compiler.go /usr/local/go/src/runtime/complex.go /usr/local/go/src/runtime/coro.go /usr/local/go/src/runtime/covercounter.go /usr/local/go/src/runtime/covermeta.go /usr/local/go/src/runtime/cpuflags.go /usr/local/go/src/runtime/cpuflags_amd64.go /usr/local/go/src/runtime/cpuprof.go /usr/local/go/src/runtime/cputicks.go /usr/local/go/src/runtime/create_file_unix.go /usr/local/go/src/runtime/debug.go /usr/local/go/src/runtime/debugcall.go /usr/local/go/src/runtime/debuglog.go /usr/local/go/src/runtime/debuglog_off.go /usr/local/go/src/runtime/defs_linux_amd64.go /usr/local/go/src/runtime/env_posix.go /usr/local/go/src/runtime/error.go /usr/local/go/src/runtime/exithook.go /usr/local/go/src/runtime/extern.go /usr/local/go/src/runtime/fastlog2.go /usr/local/go/src/runtime/fastlog2table.go /usr/local/go/src/runtime/fds_unix.go /usr/local/go/src/runtime/float.go /usr/local/go/src/runtime/hash64.go /usr/local/go/src/runtime/heapdump.go /usr/local/go/src/runtime/histogram.go /usr/local/go/src/runtime/iface.go /usr/local/go/src/runtime/lfstack.go /usr/local/go/src/runtime/lock_futex.go /usr/local/go/src/runtime/lockrank.go /usr/local/go/src/runtime/lockrank_off.go /usr/local/go/src/runtime/malloc.go /usr/local/go/src/runtime/map.go /usr/local/go/src/runtime/map_fast32.go /usr/local/go/src/runtime/map_fast64.go /usr/local/go/src/runtime/map_faststr.go /usr/local/go/src/runtime/mbarrier.go /usr/local/go/src/runtime/mbitmap.go /usr/local/go/src/runtime/mbitmap_allocheaders.go /usr/local/go/src/runtime/mcache.go /usr/local/go/src/runtime/mcentral.go /usr/local/go/src/runtime/mcheckmark.go /usr/local/go/src/runtime/mem.go /usr/local/go/src/runtime/mem_linux.go /usr/local/go/src/runtime/metrics.go /usr/local/go/src/runtime/mfinal.go /usr/local/go/src/runtime/mfixalloc.go /usr/local/go/src/runtime/mgc.go /usr/local/go/src/runtime/mgclimit.go /usr/local/go/src/runtime/mgcmark.go /usr/local/go/src/runtime/mgcpacer.go /usr/local/go/src/runtime/mgcscavenge.go /usr/local/go/src/runtime/mgcstack.go /usr/local/go/src/runtime/mgcsweep.go /usr/local/go/src/runtime/mgcwork.go /usr/local/go/src/runtime/mheap.go /usr/local/go/src/runtime/minmax.go /usr/local/go/src/runtime/mpagealloc.go /usr/local/go/src/runtime/mpagealloc_64bit.go /usr/local/go/src/runtime/mpagecache.go /usr/local/go/src/runtime/mpallocbits.go /usr/local/go/src/runtime/mprof.go /usr/local/go/src/runtime/mranges.go /usr/local/go/src/runtime/msan0.go /usr/local/go/src/runtime/msize_allocheaders.go /usr/local/go/src/runtime/mspanset.go /usr/local/go/src/runtime/mstats.go /usr/local/go/src/runtime/mwbbuf.go /usr/local/go/src/runtime/nbpipe_pipe2.go /usr/local/go/src/runtime/netpoll.go /usr/local/go/src/runtime/netpoll_epoll.go /usr/local/go/src/runtime/nonwindows_stub.go /usr/local/go/src/runtime/os_linux.go /usr/local/go/src/runtime/os_linux_generic.go /usr/local/go/src/runtime/os_linux_noauxv.go /usr/local/go/src/runtime/os_linux_x86.go /usr/local/go/src/runtime/os_nonopenbsd.go /usr/local/go/src/runtime/os_unix.go /usr/local/go/src/runtime/pagetrace_off.go /usr/local/go/src/runtime/panic.go /usr/local/go/src/runtime/pinner.go /usr/local/go/src/runtime/plugin.go /usr/local/go/src/runtime/preempt.go /usr/local/go/src/runtime/preempt_nonwindows.go /usr/local/go/src/runtime/print.go /usr/local/go/src/runtime/proc.go /usr/local/go/src/runtime/profbuf.go /usr/local/go/src/runtime/proflabel.go /usr/local/go/src/runtime/race0.go /usr/local/go/src/runtime/rand.go /usr/local/go/src/runtime/rdebug.go /usr/local/go/src/runtime/retry.go /usr/local/go/src/runtime/runtime.go /usr/local/go/src/runtime/runtime1.go /usr/local/go/src/runtime/runtime2.go /usr/local/go/src/runtime/runtime_boring.go /usr/local/go/src/runtime/rwmutex.go /usr/local/go/src/runtime/security_linux.go /usr/local/go/src/runtime/security_unix.go /usr/local/go/src/runtime/select.go /usr/local/go/src/runtime/sema.go /usr/local/go/src/runtime/signal_amd64.go /usr/local/go/src/runtime/signal_linux_amd64.go /usr/local/go/src/runtime/signal_unix.go /usr/local/go/src/runtime/sigqueue.go /usr/local/go/src/runtime/sigqueue_note.go /usr/local/go/src/runtime/sigtab_linux_generic.go /usr/local/go/src/runtime/sizeclasses.go /usr/local/go/src/runtime/slice.go /usr/local/go/src/runtime/softfloat64.go /usr/local/go/src/runtime/stack.go /usr/local/go/src/runtime/stkframe.go /usr/local/go/src/runtime/string.go /usr/local/go/src/runtime/stubs.go /usr/local/go/src/runtime/stubs2.go /usr/local/go/src/runtime/stubs3.go /usr/local/go/src/runtime/stubs_amd64.go /usr/local/go/src/runtime/stubs_linux.go /usr/local/go/src/runtime/symtab.go /usr/local/go/src/runtime/symtabinl.go /usr/local/go/src/runtime/sys_nonppc64x.go /usr/local/go/src/runtime/sys_x86.go /usr/local/go/src/runtime/tagptr.go /usr/local/go/src/runtime/tagptr_64bit.go /usr/local/go/src/runtime/test_amd64.go /usr/local/go/src/runtime/time.go /usr/local/go/src/runtime/time_nofake.go /usr/local/go/src/runtime/timeasm.go /usr/local/go/src/runtime/tls_stub.go /usr/local/go/src/runtime/trace2.go /usr/local/go/src/runtime/trace2buf.go /usr/local/go/src/runtime/trace2cpu.go /usr/local/go/src/runtime/trace2event.go /usr/local/go/src/runtime/trace2map.go /usr/local/go/src/runtime/trace2region.go /usr/local/go/src/runtime/trace2runtime.go /usr/local/go/src/runtime/trace2stack.go /usr/local/go/src/runtime/trace2status.go /usr/local/go/src/runtime/trace2string.go /usr/local/go/src/runtime/trace2time.go /usr/local/go/src/runtime/traceback.go /usr/local/go/src/runtime/type.go /usr/local/go/src/runtime/typekind.go /usr/local/go/src/runtime/unsafe.go /usr/local/go/src/runtime/utf8.go /usr/local/go/src/runtime/vdso_elf64.go /usr/local/go/src/runtime/vdso_linux.go /usr/local/go/src/runtime/vdso_linux_amd64.go /usr/local/go/src/runtime/write_err.go
cd /usr/local/go/src/math
/usr/local/go/pkg/tool/linux_amd64/asm -p math -trimpath "$WORK/b024=>" -I $WORK/b024/ -I /usr/local/go/pkg/include -D GOOS_linux -D GOARCH_amd64 -D GOAMD64_v1 -o $WORK/b024/log_amd64.o ./log_amd64.s
/usr/local/go/pkg/tool/linux_amd64/pack r $WORK/b024/_pkg_.a $WORK/b024/dim_amd64.o $WORK/b024/exp_amd64.o $WORK/b024/floor_amd64.o $WORK/b024/hypot_amd64.o $WORK/b024/log_amd64.o # internal
/usr/local/go/pkg/tool/linux_amd64/buildid -w $WORK/b024/_pkg_.a # internal
cp $WORK/b024/_pkg_.a /home/bearsh/.cache/go-build/33/333be3f9e58c188e59a56c6e87bf6b130fb2ffc3cecdcda336f8b79edf0ad1dc-d # internal
cp /usr/local/go/src/runtime/asm_amd64.h $WORK/b008/asm_GOARCH.h
cd /usr/local/go/src/runtime
/usr/local/go/pkg/tool/linux_amd64/asm -p runtime -trimpath "$WORK/b008=>" -I $WORK/b008/ -I /usr/local/go/pkg/include -D GOOS_linux -D GOARCH_amd64 -D GOAMD64_v1 -o $WORK/b008/asm.o ./asm.s
/usr/local/go/pkg/tool/linux_amd64/asm -p runtime -trimpath "$WORK/b008=>" -I $WORK/b008/ -I /usr/local/go/pkg/include -D GOOS_linux -D GOARCH_amd64 -D GOAMD64_v1 -o $WORK/b008/asm_amd64.o ./asm_amd64.s
/usr/local/go/pkg/tool/linux_amd64/asm -p runtime -trimpath "$WORK/b008=>" -I $WORK/b008/ -I /usr/local/go/pkg/include -D GOOS_linux -D GOARCH_amd64 -D GOAMD64_v1 -o $WORK/b008/duff_amd64.o ./duff_amd64.s
/usr/local/go/pkg/tool/linux_amd64/asm -p runtime -trimpath "$WORK/b008=>" -I $WORK/b008/ -I /usr/local/go/pkg/include -D GOOS_linux -D GOARCH_amd64 -D GOAMD64_v1 -o $WORK/b008/memclr_amd64.o ./memclr_amd64.s
/usr/local/go/pkg/tool/linux_amd64/asm -p runtime -trimpath "$WORK/b008=>" -I $WORK/b008/ -I /usr/local/go/pkg/include -D GOOS_linux -D GOARCH_amd64 -D GOAMD64_v1 -o $WORK/b008/memmove_amd64.o ./memmove_amd64.s
/usr/local/go/pkg/tool/linux_amd64/asm -p runtime -trimpath "$WORK/b008=>" -I $WORK/b008/ -I /usr/local/go/pkg/include -D GOOS_linux -D GOARCH_amd64 -D GOAMD64_v1 -o $WORK/b008/preempt_amd64.o ./preempt_amd64.s
/usr/local/go/pkg/tool/linux_amd64/asm -p runtime -trimpath "$WORK/b008=>" -I $WORK/b008/ -I /usr/local/go/pkg/include -D GOOS_linux -D GOARCH_amd64 -D GOAMD64_v1 -o $WORK/b008/rt0_linux_amd64.o ./rt0_linux_amd64.s
/usr/local/go/pkg/tool/linux_amd64/asm -p runtime -trimpath "$WORK/b008=>" -I $WORK/b008/ -I /usr/local/go/pkg/include -D GOOS_linux -D GOARCH_amd64 -D GOAMD64_v1 -o $WORK/b008/sys_linux_amd64.o ./sys_linux_amd64.s
/usr/local/go/pkg/tool/linux_amd64/asm -p runtime -trimpath "$WORK/b008=>" -I $WORK/b008/ -I /usr/local/go/pkg/include -D GOOS_linux -D GOARCH_amd64 -D GOAMD64_v1 -o $WORK/b008/test_amd64.o ./test_amd64.s
/usr/local/go/pkg/tool/linux_amd64/asm -p runtime -trimpath "$WORK/b008=>" -I $WORK/b008/ -I /usr/local/go/pkg/include -D GOOS_linux -D GOARCH_amd64 -D GOAMD64_v1 -o $WORK/b008/time_linux_amd64.o ./time_linux_amd64.s
/usr/local/go/pkg/tool/linux_amd64/pack r $WORK/b008/_pkg_.a $WORK/b008/asm.o $WORK/b008/asm_amd64.o $WORK/b008/duff_amd64.o $WORK/b008/memclr_amd64.o $WORK/b008/memmove_amd64.o $WORK/b008/preempt_amd64.o $WORK/b008/rt0_linux_amd64.o $WORK/b008/sys_linux_amd64.o $WORK/b008/test_amd64.o $WORK/b008/time_linux_amd64.o # internal
/usr/local/go/pkg/tool/linux_amd64/buildid -w $WORK/b008/_pkg_.a # internal
cp $WORK/b008/_pkg_.a /home/bearsh/.cache/go-build/61/6191635d2298c2d87eba0577388f4dbcca6cfd9112080fa5b148a2a6198c7320-d # internal
mkdir -p $WORK/b003/
echo -n > $WORK/b003/go_asm.h # internal
cd /usr/local/go/src/internal/reflectlite
/usr/local/go/pkg/tool/linux_amd64/asm -p internal/reflectlite -trimpath "$WORK/b003=>" -I $WORK/b003/ -I /usr/local/go/pkg/include -D GOOS_linux -D GOARCH_amd64 -D GOAMD64_v1 -gensymabis -o $WORK/b003/symabis ./asm.s
mkdir -p $WORK/b028/
cat >/tmp/go-build2639352060/b028/importcfg << 'EOF' # internal
# import config
packagefile internal/race=/tmp/go-build2639352060/b029/_pkg_.a
packagefile runtime=/tmp/go-build2639352060/b008/_pkg_.a
packagefile sync/atomic=/tmp/go-build2639352060/b030/_pkg_.a
EOF
cd /home/bearsh/tmp/hid
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/b028/_pkg_.a -trimpath "$WORK/b028=>" -p sync -std -buildid htAyuEL3AJj0f6eb_V53/htAyuEL3AJj0f6eb_V53 -goversion go1.22.5 -c=4 -nolocalimports -importcfg $WORK/b028/importcfg -pack /usr/local/go/src/sync/cond.go /usr/local/go/src/sync/map.go /usr/local/go/src/sync/mutex.go /usr/local/go/src/sync/once.go /usr/local/go/src/sync/oncefunc.go /usr/local/go/src/sync/pool.go /usr/local/go/src/sync/poolqueue.go /usr/local/go/src/sync/runtime.go /usr/local/go/src/sync/runtime2.go /usr/local/go/src/sync/rwmutex.go /usr/local/go/src/sync/waitgroup.go
cat >/tmp/go-build2639352060/b003/importcfg << 'EOF' # internal
# import config
packagefile internal/abi=/tmp/go-build2639352060/b004/_pkg_.a
packagefile internal/goarch=/tmp/go-build2639352060/b005/_pkg_.a
packagefile internal/unsafeheader=/tmp/go-build2639352060/b007/_pkg_.a
packagefile runtime=/tmp/go-build2639352060/b008/_pkg_.a
EOF
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/b003/_pkg_.a -trimpath "$WORK/b003=>" -p internal/reflectlite -std -buildid _u1gvQIw_pi2sdrKo669/_u1gvQIw_pi2sdrKo669 -goversion go1.22.5 -symabis $WORK/b003/symabis -c=4 -nolocalimports -importcfg $WORK/b003/importcfg -pack -asmhdr $WORK/b003/go_asm.h /usr/local/go/src/internal/reflectlite/swapper.go /usr/local/go/src/internal/reflectlite/type.go /usr/local/go/src/internal/reflectlite/value.go
/usr/local/go/pkg/tool/linux_amd64/buildid -w $WORK/b028/_pkg_.a # internal
cp $WORK/b028/_pkg_.a /home/bearsh/.cache/go-build/52/5215b5bce78fe4641502b9c04cded17ebe6f4294db4881aa269f38220d9b1345-d # internal
mkdir -p $WORK/b044/
cat >/tmp/go-build2639352060/b044/importcfg << 'EOF' # internal
# import config
packagefile sync=/tmp/go-build2639352060/b028/_pkg_.a
packagefile sync/atomic=/tmp/go-build2639352060/b030/_pkg_.a
EOF
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/b044/_pkg_.a -trimpath "$WORK/b044=>" -p internal/testlog -std -complete -buildid jfWXomYiAU162dpAZ8qG/jfWXomYiAU162dpAZ8qG -goversion go1.22.5 -c=4 -nolocalimports -importcfg $WORK/b044/importcfg -pack /usr/local/go/src/internal/testlog/exit.go /usr/local/go/src/internal/testlog/log.go
mkdir -p $WORK/b049/
cd /usr/local/go/src/runtime/cgo
TERM='dumb' CGO_LDFLAGS='"-O2" "-g" "-lpthread"' /usr/local/go/pkg/tool/linux_amd64/cgo -objdir $WORK/b049/ -importpath runtime/cgo -import_runtime_cgo=false -import_syscall=false -- -I $WORK/b049/ -O2 -g -Wall -Werror -fno-stack-protector ./cgo.go
/usr/local/go/pkg/tool/linux_amd64/buildid -w $WORK/b044/_pkg_.a # internal
cp $WORK/b044/_pkg_.a /home/bearsh/.cache/go-build/84/84c0ab0e7f3ea98c9d5bdfa4aa18531bc5cd6dce857f3122b3856c06bc116042-d # internal
cd $WORK/b049
TERM='dumb' gcc -I /usr/local/go/src/runtime/cgo -fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=$WORK/b049=/tmp/go-build -gno-record-gcc-switches -I $WORK/b049/ -O2 -g -Wall -Werror -fno-stack-protector -ffile-prefix-map=/usr/local/go=/_/GOROOT -frandom-seed=aU_rnLacgV9JTyIJzHDI -o $WORK/b049/_x001.o -c _cgo_export.c
cd /usr/local/go/src/internal/reflectlite
/usr/local/go/pkg/tool/linux_amd64/asm -p internal/reflectlite -trimpath "$WORK/b003=>" -I $WORK/b003/ -I /usr/local/go/pkg/include -D GOOS_linux -D GOARCH_amd64 -D GOAMD64_v1 -o $WORK/b003/asm.o ./asm.s
/usr/local/go/pkg/tool/linux_amd64/pack r $WORK/b003/_pkg_.a $WORK/b003/asm.o # internal
/usr/local/go/pkg/tool/linux_amd64/buildid -w $WORK/b003/_pkg_.a # internal
cp $WORK/b003/_pkg_.a /home/bearsh/.cache/go-build/eb/eb935002c4106231aa325c8f7c78a233dbd4ed53b73f4514a7cb02ba3567b9e4-d # internal
mkdir -p $WORK/b002/
cat >/tmp/go-build2639352060/b002/importcfg << 'EOF' # internal
# import config
packagefile internal/reflectlite=/tmp/go-build2639352060/b003/_pkg_.a
EOF
cd /home/bearsh/tmp/hid
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/b002/_pkg_.a -trimpath "$WORK/b002=>" -p errors -std -complete -buildid V--mmgrXGdOjdi7jFGpL/V--mmgrXGdOjdi7jFGpL -goversion go1.22.5 -c=4 -nolocalimports -importcfg $WORK/b002/importcfg -pack /usr/local/go/src/errors/errors.go /usr/local/go/src/errors/join.go /usr/local/go/src/errors/wrap.go
mkdir -p $WORK/b032/
cat >/tmp/go-build2639352060/b032/importcfg << 'EOF' # internal
# import config
packagefile internal/reflectlite=/tmp/go-build2639352060/b003/_pkg_.a
packagefile math/bits=/tmp/go-build2639352060/b025/_pkg_.a
packagefile slices=/tmp/go-build2639352060/b033/_pkg_.a
EOF
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/b032/_pkg_.a -trimpath "$WORK/b032=>" -p sort -std -complete -buildid q6Q4b6G5A63luiOg1W8o/q6Q4b6G5A63luiOg1W8o -goversion go1.22.5 -c=4 -nolocalimports -importcfg $WORK/b032/importcfg -pack /usr/local/go/src/sort/search.go /usr/local/go/src/sort/slice.go /usr/local/go/src/sort/sort.go /usr/local/go/src/sort/sort_impl_go121.go /usr/local/go/src/sort/zsortfunc.go /usr/local/go/src/sort/zsortinterface.go
/usr/local/go/pkg/tool/linux_amd64/buildid -w $WORK/b002/_pkg_.a # internal
cp $WORK/b002/_pkg_.a /home/bearsh/.cache/go-build/2e/2efc042e8b9eeeaf7bf0fed6f65a1eb120b69b86809afdf7d9976b5a9729b056-d # internal
cd $WORK/b049
TERM='dumb' gcc -I /usr/local/go/src/runtime/cgo -fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=$WORK/b049=/tmp/go-build -gno-record-gcc-switches -I $WORK/b049/ -O2 -g -Wall -Werror -fno-stack-protector -ffile-prefix-map=/usr/local/go=/_/GOROOT -frandom-seed=aU_rnLacgV9JTyIJzHDI -o $WORK/b049/_x002.o -c cgo.cgo2.c
mkdir -p $WORK/b040/
mkdir -p $WORK/b042/
mkdir -p $WORK/b046/
cat >/tmp/go-build2639352060/b040/importcfg << 'EOF' # internal
# import config
packagefile errors=/tmp/go-build2639352060/b002/_pkg_.a
EOF
mkdir -p $WORK/b035/
cd /home/bearsh/tmp/hid
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/b040/_pkg_.a -trimpath "$WORK/b040=>" -p internal/oserror -std -complete -buildid zJPMKCgf6zt5Ee9o2lSp/zJPMKCgf6zt5Ee9o2lSp -goversion go1.22.5 -c=4 -nolocalimports -importcfg $WORK/b040/importcfg -pack /usr/local/go/src/internal/oserror/errors.go
cat >/tmp/go-build2639352060/b042/importcfg << 'EOF' # internal
# import config
packagefile errors=/tmp/go-build2639352060/b002/_pkg_.a
packagefile runtime=/tmp/go-build2639352060/b008/_pkg_.a
EOF
cat >/tmp/go-build2639352060/b046/importcfg << 'EOF' # internal
# import config
packagefile errors=/tmp/go-build2639352060/b002/_pkg_.a
packagefile internal/bytealg=/tmp/go-build2639352060/b009/_pkg_.a
packagefile unicode/utf8=/tmp/go-build2639352060/b027/_pkg_.a
EOF
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/b042/_pkg_.a -trimpath "$WORK/b042=>" -p internal/safefilepath -std -complete -buildid XssN7jnx_ahY7f4kvNqv/XssN7jnx_ahY7f4kvNqv -goversion go1.22.5 -c=4 -nolocalimports -importcfg $WORK/b042/importcfg -pack /usr/local/go/src/internal/safefilepath/path.go /usr/local/go/src/internal/safefilepath/path_other.go
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/b046/_pkg_.a -trimpath "$WORK/b046=>" -p path -std -complete -buildid K0OrRV4cHgkjx4TW2FXD/K0OrRV4cHgkjx4TW2FXD -goversion go1.22.5 -c=4 -nolocalimports -importcfg $WORK/b046/importcfg -pack /usr/local/go/src/path/match.go /usr/local/go/src/path/path.go
cat >/tmp/go-build2639352060/b035/importcfg << 'EOF' # internal
# import config
packagefile errors=/tmp/go-build2639352060/b002/_pkg_.a
packagefile sync=/tmp/go-build2639352060/b028/_pkg_.a
EOF
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/b035/_pkg_.a -trimpath "$WORK/b035=>" -p io -std -complete -buildid hkRWSX9dfF24sXH5Ylmk/hkRWSX9dfF24sXH5Ylmk -goversion go1.22.5 -c=4 -nolocalimports -importcfg $WORK/b035/importcfg -pack /usr/local/go/src/io/io.go /usr/local/go/src/io/multi.go /usr/local/go/src/io/pipe.go
mkdir -p $WORK/b026/
cat >/tmp/go-build2639352060/b026/importcfg << 'EOF' # internal
# import config
packagefile errors=/tmp/go-build2639352060/b002/_pkg_.a
packagefile internal/bytealg=/tmp/go-build2639352060/b009/_pkg_.a
packagefile math=/tmp/go-build2639352060/b024/_pkg_.a
packagefile math/bits=/tmp/go-build2639352060/b025/_pkg_.a
packagefile unicode/utf8=/tmp/go-build2639352060/b027/_pkg_.a
EOF
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/b026/_pkg_.a -trimpath "$WORK/b026=>" -p strconv -std -complete -buildid ZuCBR1CrUjwPoOL_Qdgf/ZuCBR1CrUjwPoOL_Qdgf -goversion go1.22.5 -c=4 -nolocalimports -importcfg $WORK/b026/importcfg -pack /usr/local/go/src/strconv/atob.go /usr/local/go/src/strconv/atoc.go /usr/local/go/src/strconv/atof.go /usr/local/go/src/strconv/atoi.go /usr/local/go/src/strconv/bytealg.go /usr/local/go/src/strconv/ctoa.go /usr/local/go/src/strconv/decimal.go /usr/local/go/src/strconv/doc.go /usr/local/go/src/strconv/eisel_lemire.go /usr/local/go/src/strconv/ftoa.go /usr/local/go/src/strconv/ftoaryu.go /usr/local/go/src/strconv/isprint.go /usr/local/go/src/strconv/itoa.go /usr/local/go/src/strconv/quote.go
/usr/local/go/pkg/tool/linux_amd64/buildid -w $WORK/b040/_pkg_.a # internal
cp $WORK/b040/_pkg_.a /home/bearsh/.cache/go-build/13/138541ed73723eda946a1feb3d3e9220bd5477f2264bc418a310804dcd9d3ed4-d # internal
/usr/local/go/pkg/tool/linux_amd64/buildid -w $WORK/b042/_pkg_.a # internal
cp $WORK/b042/_pkg_.a /home/bearsh/.cache/go-build/e1/e15908dfed086560cb2a0ec7462231bb16677ad6e50069e427e09d584cd4bbd0-d # internal
mkdir -p $WORK/b039/
echo -n > $WORK/b039/go_asm.h # internal
cd /usr/local/go/src/syscall
/usr/local/go/pkg/tool/linux_amd64/asm -p syscall -trimpath "$WORK/b039=>" -I $WORK/b039/ -I /usr/local/go/pkg/include -D GOOS_linux -D GOARCH_amd64 -D GOAMD64_v1 -gensymabis -o $WORK/b039/symabis ./asm_linux_amd64.s
cd /usr/local/go/src/runtime/cgo
TERM='dumb' gcc -I . -fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=$WORK/b049=/tmp/go-build -gno-record-gcc-switches -I $WORK/b049/ -O2 -g -Wall -Werror -fno-stack-protector -ffile-prefix-map=/usr/local/go=/_/GOROOT -frandom-seed=aU_rnLacgV9JTyIJzHDI -o $WORK/b049/_x003.o -c gcc_context.c
cat >/tmp/go-build2639352060/b039/importcfg << 'EOF' # internal
# import config
packagefile errors=/tmp/go-build2639352060/b002/_pkg_.a
packagefile internal/bytealg=/tmp/go-build2639352060/b009/_pkg_.a
packagefile internal/itoa=/tmp/go-build2639352060/b023/_pkg_.a
packagefile internal/oserror=/tmp/go-build2639352060/b040/_pkg_.a
packagefile internal/race=/tmp/go-build2639352060/b029/_pkg_.a
packagefile runtime=/tmp/go-build2639352060/b008/_pkg_.a
packagefile sync=/tmp/go-build2639352060/b028/_pkg_.a
packagefile sync/atomic=/tmp/go-build2639352060/b030/_pkg_.a
EOF
cd /home/bearsh/tmp/hid
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/b039/_pkg_.a -trimpath "$WORK/b039=>" -p syscall -std -buildid uta1g8Mel3p6mSfSFg7L/uta1g8Mel3p6mSfSFg7L -goversion go1.22.5 -symabis $WORK/b039/symabis -c=4 -nolocalimports -importcfg $WORK/b039/importcfg -pack -asmhdr $WORK/b039/go_asm.h /usr/local/go/src/syscall/asan0.go /usr/local/go/src/syscall/dirent.go /usr/local/go/src/syscall/endian_little.go /usr/local/go/src/syscall/env_unix.go /usr/local/go/src/syscall/exec_linux.go /usr/local/go/src/syscall/exec_unix.go /usr/local/go/src/syscall/flock_linux.go /usr/local/go/src/syscall/forkpipe2.go /usr/local/go/src/syscall/lsf_linux.go /usr/local/go/src/syscall/msan0.go /usr/local/go/src/syscall/net.go /usr/local/go/src/syscall/netlink_linux.go /usr/local/go/src/syscall/rlimit.go /usr/local/go/src/syscall/rlimit_stub.go /usr/local/go/src/syscall/setuidgid_linux.go /usr/local/go/src/syscall/sockcmsg_linux.go /usr/local/go/src/syscall/sockcmsg_unix.go /usr/local/go/src/syscall/sockcmsg_unix_other.go /usr/local/go/src/syscall/syscall.go /usr/local/go/src/syscall/syscall_linux.go /usr/local/go/src/syscall/syscall_linux_accept4.go /usr/local/go/src/syscall/syscall_linux_amd64.go /usr/local/go/src/syscall/syscall_unix.go /usr/local/go/src/syscall/time_nofake.go /usr/local/go/src/syscall/timestruct.go /usr/local/go/src/syscall/zerrors_linux_amd64.go /usr/local/go/src/syscall/zsyscall_linux_amd64.go /usr/local/go/src/syscall/zsysnum_linux_amd64.go /usr/local/go/src/syscall/ztypes_linux_amd64.go
/usr/local/go/pkg/tool/linux_amd64/buildid -w $WORK/b046/_pkg_.a # internal
cp $WORK/b046/_pkg_.a /home/bearsh/.cache/go-build/ef/ef507ca3c3b23759c3cc454a2e37326f845bbe73526b3fe40c2e633b9df4e1fb-d # internal
/usr/local/go/pkg/tool/linux_amd64/buildid -w $WORK/b035/_pkg_.a # internal
cp $WORK/b035/_pkg_.a /home/bearsh/.cache/go-build/1b/1bc970a02a1eada043cd0d1883955c2d0eab147a65003a42368625cbce3d3bd5-d # internal
cd /usr/local/go/src/runtime/cgo
TERM='dumb' gcc -I . -fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=$WORK/b049=/tmp/go-build -gno-record-gcc-switches -I $WORK/b049/ -O2 -g -Wall -Werror -fno-stack-protector -ffile-prefix-map=/usr/local/go=/_/GOROOT -frandom-seed=aU_rnLacgV9JTyIJzHDI -o $WORK/b049/_x004.o -c gcc_fatalf.c
/usr/local/go/pkg/tool/linux_amd64/buildid -w $WORK/b032/_pkg_.a # internal
cp $WORK/b032/_pkg_.a /home/bearsh/.cache/go-build/6f/6f990177b825552a73b8b740aff1389efeacbd7603538e961dd7fb38a27e0ef6-d # internal
TERM='dumb' gcc -I . -fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=$WORK/b049=/tmp/go-build -gno-record-gcc-switches -I $WORK/b049/ -O2 -g -Wall -Werror -fno-stack-protector -ffile-prefix-map=/usr/local/go=/_/GOROOT -frandom-seed=aU_rnLacgV9JTyIJzHDI -o $WORK/b049/_x005.o -c gcc_libinit.c
/usr/local/go/pkg/tool/linux_amd64/buildid -w $WORK/b026/_pkg_.a # internal
cp $WORK/b026/_pkg_.a /home/bearsh/.cache/go-build/a9/a9fe4a7a6e5a3753fe615a9c24f4b89904f8a91c5b231aa6f62c577a8c8f8279-d # internal
mkdir -p $WORK/b022/
echo -n > $WORK/b022/go_asm.h # internal
cd /usr/local/go/src/reflect
/usr/local/go/pkg/tool/linux_amd64/asm -p reflect -trimpath "$WORK/b022=>" -I $WORK/b022/ -I /usr/local/go/pkg/include -D GOOS_linux -D GOARCH_amd64 -D GOAMD64_v1 -gensymabis -o $WORK/b022/symabis ./asm_amd64.s
cat >/tmp/go-build2639352060/b022/importcfg << 'EOF' # internal
# import config
packagefile errors=/tmp/go-build2639352060/b002/_pkg_.a
packagefile internal/abi=/tmp/go-build2639352060/b004/_pkg_.a
packagefile internal/bytealg=/tmp/go-build2639352060/b009/_pkg_.a
packagefile internal/goarch=/tmp/go-build2639352060/b005/_pkg_.a
packagefile internal/itoa=/tmp/go-build2639352060/b023/_pkg_.a
packagefile internal/unsafeheader=/tmp/go-build2639352060/b007/_pkg_.a
packagefile math=/tmp/go-build2639352060/b024/_pkg_.a
packagefile runtime=/tmp/go-build2639352060/b008/_pkg_.a
packagefile strconv=/tmp/go-build2639352060/b026/_pkg_.a
packagefile sync=/tmp/go-build2639352060/b028/_pkg_.a
packagefile unicode=/tmp/go-build2639352060/b031/_pkg_.a
packagefile unicode/utf8=/tmp/go-build2639352060/b027/_pkg_.a
EOF
cd /home/bearsh/tmp/hid
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/b022/_pkg_.a -trimpath "$WORK/b022=>" -p reflect -std -buildid fBhpC95YpR6OQ2HCB9eL/fBhpC95YpR6OQ2HCB9eL -goversion go1.22.5 -symabis $WORK/b022/symabis -c=4 -nolocalimports -importcfg $WORK/b022/importcfg -pack -asmhdr $WORK/b022/go_asm.h /usr/local/go/src/reflect/abi.go /usr/local/go/src/reflect/deepequal.go /usr/local/go/src/reflect/float32reg_generic.go /usr/local/go/src/reflect/makefunc.go /usr/local/go/src/reflect/swapper.go /usr/local/go/src/reflect/type.go /usr/local/go/src/reflect/value.go /usr/local/go/src/reflect/visiblefields.go
cd /usr/local/go/src/runtime/cgo
TERM='dumb' gcc -I . -fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=$WORK/b049=/tmp/go-build -gno-record-gcc-switches -I $WORK/b049/ -O2 -g -Wall -Werror -fno-stack-protector -ffile-prefix-map=/usr/local/go=/_/GOROOT -frandom-seed=aU_rnLacgV9JTyIJzHDI -o $WORK/b049/_x006.o -c gcc_linux_amd64.c
TERM='dumb' gcc -I . -fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=$WORK/b049=/tmp/go-build -gno-record-gcc-switches -I $WORK/b049/ -O2 -g -Wall -Werror -fno-stack-protector -ffile-prefix-map=/usr/local/go=/_/GOROOT -frandom-seed=aU_rnLacgV9JTyIJzHDI -o $WORK/b049/_x007.o -c gcc_mmap.c
TERM='dumb' gcc -I . -fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=$WORK/b049=/tmp/go-build -gno-record-gcc-switches -I $WORK/b049/ -O2 -g -Wall -Werror -fno-stack-protector -ffile-prefix-map=/usr/local/go=/_/GOROOT -frandom-seed=aU_rnLacgV9JTyIJzHDI -o $WORK/b049/_x008.o -c gcc_setenv.c
TERM='dumb' gcc -I . -fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=$WORK/b049=/tmp/go-build -gno-record-gcc-switches -I $WORK/b049/ -O2 -g -Wall -Werror -fno-stack-protector -ffile-prefix-map=/usr/local/go=/_/GOROOT -frandom-seed=aU_rnLacgV9JTyIJzHDI -o $WORK/b049/_x009.o -c gcc_sigaction.c
cd /usr/local/go/src/syscall
/usr/local/go/pkg/tool/linux_amd64/asm -p syscall -trimpath "$WORK/b039=>" -I $WORK/b039/ -I /usr/local/go/pkg/include -D GOOS_linux -D GOARCH_amd64 -D GOAMD64_v1 -o $WORK/b039/asm_linux_amd64.o ./asm_linux_amd64.s
/usr/local/go/pkg/tool/linux_amd64/pack r $WORK/b039/_pkg_.a $WORK/b039/asm_linux_amd64.o # internal
/usr/local/go/pkg/tool/linux_amd64/buildid -w $WORK/b039/_pkg_.a # internal
cp $WORK/b039/_pkg_.a /home/bearsh/.cache/go-build/c7/c7f5d82dfbb101c8fb8603535cb78d2c7d451aedc0a68089002eaef8adbe540d-d # internal
mkdir -p $WORK/b043/
cat >/tmp/go-build2639352060/b043/importcfg << 'EOF' # internal
# import config
packagefile syscall=/tmp/go-build2639352060/b039/_pkg_.a
EOF
cd /home/bearsh/tmp/hid
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/b043/_pkg_.a -trimpath "$WORK/b043=>" -p internal/syscall/execenv -std -complete -buildid GrYyx-cvU1mdon3t2y-Y/GrYyx-cvU1mdon3t2y-Y -goversion go1.22.5 -c=4 -nolocalimports -importcfg $WORK/b043/importcfg -pack /usr/local/go/src/internal/syscall/execenv/execenv_default.go
mkdir -p $WORK/b041/
mkdir -p $WORK/b038/
cat >/tmp/go-build2639352060/b041/importcfg << 'EOF' # internal
# import config
packagefile errors=/tmp/go-build2639352060/b002/_pkg_.a
packagefile runtime=/tmp/go-build2639352060/b008/_pkg_.a
packagefile sync=/tmp/go-build2639352060/b028/_pkg_.a
packagefile syscall=/tmp/go-build2639352060/b039/_pkg_.a
EOF
cat >/tmp/go-build2639352060/b038/importcfg << 'EOF' # internal
# import config
packagefile sync/atomic=/tmp/go-build2639352060/b030/_pkg_.a
packagefile syscall=/tmp/go-build2639352060/b039/_pkg_.a
EOF
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/b041/_pkg_.a -trimpath "$WORK/b041=>" -p time -std -buildid JxTE5-bPBLz_SR3DYBNr/JxTE5-bPBLz_SR3DYBNr -goversion go1.22.5 -c=4 -nolocalimports -importcfg $WORK/b041/importcfg -pack /usr/local/go/src/time/format.go /usr/local/go/src/time/format_rfc3339.go /usr/local/go/src/time/sleep.go /usr/local/go/src/time/sys_unix.go /usr/local/go/src/time/tick.go /usr/local/go/src/time/time.go /usr/local/go/src/time/zoneinfo.go /usr/local/go/src/time/zoneinfo_goroot.go /usr/local/go/src/time/zoneinfo_read.go /usr/local/go/src/time/zoneinfo_unix.go
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/b038/_pkg_.a -trimpath "$WORK/b038=>" -p internal/syscall/unix -std -complete -buildid 0-mMfzVzbW4OhXtPtjOT/0-mMfzVzbW4OhXtPtjOT -goversion go1.22.5 -c=4 -nolocalimports -importcfg $WORK/b038/importcfg -pack /usr/local/go/src/internal/syscall/unix/at.go /usr/local/go/src/internal/syscall/unix/at_fstatat.go /usr/local/go/src/internal/syscall/unix/at_sysnum_linux.go /usr/local/go/src/internal/syscall/unix/at_sysnum_newfstatat_linux.go /usr/local/go/src/internal/syscall/unix/constants.go /usr/local/go/src/internal/syscall/unix/copy_file_range_linux.go /usr/local/go/src/internal/syscall/unix/eaccess_linux.go /usr/local/go/src/internal/syscall/unix/fcntl_unix.go /usr/local/go/src/internal/syscall/unix/getrandom.go /usr/local/go/src/internal/syscall/unix/getrandom_linux.go /usr/local/go/src/internal/syscall/unix/kernel_version_linux.go /usr/local/go/src/internal/syscall/unix/net.go /usr/local/go/src/internal/syscall/unix/nonblocking_unix.go /usr/local/go/src/internal/syscall/unix/pidfd_linux.go /usr/local/go/src/internal/syscall/unix/sysnum_linux_amd64.go
/usr/local/go/pkg/tool/linux_amd64/buildid -w $WORK/b043/_pkg_.a # internal
cp $WORK/b043/_pkg_.a /home/bearsh/.cache/go-build/c9/c962adc62cb2b0099ddd4e48381ac9ea39a6cd278a79b35766da57c909dee71e-d # internal
/usr/local/go/pkg/tool/linux_amd64/buildid -w $WORK/b038/_pkg_.a # internal
cp $WORK/b038/_pkg_.a /home/bearsh/.cache/go-build/14/147f97b4a081283f204288330ed6607261ada58c16a962002f863813655f2436-d # internal
cd /usr/local/go/src/runtime/cgo
TERM='dumb' gcc -I . -fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=$WORK/b049=/tmp/go-build -gno-record-gcc-switches -I $WORK/b049/ -O2 -g -Wall -Werror -fno-stack-protector -ffile-prefix-map=/usr/local/go=/_/GOROOT -frandom-seed=aU_rnLacgV9JTyIJzHDI -o $WORK/b049/_x010.o -c gcc_stack_unix.c
TERM='dumb' gcc -I . -fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=$WORK/b049=/tmp/go-build -gno-record-gcc-switches -I $WORK/b049/ -O2 -g -Wall -Werror -fno-stack-protector -ffile-prefix-map=/usr/local/go=/_/GOROOT -frandom-seed=aU_rnLacgV9JTyIJzHDI -o $WORK/b049/_x011.o -c gcc_traceback.c
TERM='dumb' gcc -I . -fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=$WORK/b049=/tmp/go-build -gno-record-gcc-switches -I $WORK/b049/ -O2 -g -Wall -Werror -fno-stack-protector -ffile-prefix-map=/usr/local/go=/_/GOROOT -frandom-seed=aU_rnLacgV9JTyIJzHDI -o $WORK/b049/_x012.o -c gcc_util.c
TERM='dumb' gcc -I . -fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=$WORK/b049=/tmp/go-build -gno-record-gcc-switches -I $WORK/b049/ -O2 -g -Wall -Werror -fno-stack-protector -ffile-prefix-map=/usr/local/go=/_/GOROOT -frandom-seed=aU_rnLacgV9JTyIJzHDI -o $WORK/b049/_x013.o -c linux_syscall.c
TERM='dumb' gcc -I . -fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=$WORK/b049=/tmp/go-build -gno-record-gcc-switches -I $WORK/b049/ -O2 -g -Wall -Werror -fno-stack-protector -ffile-prefix-map=/usr/local/go=/_/GOROOT -frandom-seed=aU_rnLacgV9JTyIJzHDI -o $WORK/b049/_x014.o -c gcc_amd64.S
cd $WORK/b049
TERM='dumb' gcc -I /usr/local/go/src/runtime/cgo -fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=$WORK/b049=/tmp/go-build -gno-record-gcc-switches -I $WORK/b049/ -O2 -g -Wall -Werror -fno-stack-protector -ffile-prefix-map=/usr/local/go=/_/GOROOT -frandom-seed=aU_rnLacgV9JTyIJzHDI -o $WORK/b049/_cgo_main.o -c _cgo_main.c
/usr/local/go/pkg/tool/linux_amd64/buildid -w $WORK/b041/_pkg_.a # internal
cd /home/bearsh/tmp/hid
TERM='dumb' gcc -I /usr/local/go/src/runtime/cgo -fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=$WORK/b049=/tmp/go-build -gno-record-gcc-switches -o $WORK/b049/_cgo_.o $WORK/b049/_cgo_main.o $WORK/b049/_x001.o $WORK/b049/_x002.o $WORK/b049/_x003.o $WORK/b049/_x004.o $WORK/b049/_x005.o $WORK/b049/_x006.o $WORK/b049/_x007.o $WORK/b049/_x008.o $WORK/b049/_x009.o $WORK/b049/_x010.o $WORK/b049/_x011.o $WORK/b049/_x012.o $WORK/b049/_x013.o $WORK/b049/_x014.o -O2 -g -lpthread
cp $WORK/b041/_pkg_.a /home/bearsh/.cache/go-build/c5/c501250023cd61a2075e86cafe4e57a1dfe473252445f467fdfb37d3685dd567-d # internal
mkdir -p $WORK/b045/
cat >/tmp/go-build2639352060/b045/importcfg << 'EOF' # internal
# import config
packagefile errors=/tmp/go-build2639352060/b002/_pkg_.a
packagefile internal/oserror=/tmp/go-build2639352060/b040/_pkg_.a
packagefile io=/tmp/go-build2639352060/b035/_pkg_.a
packagefile path=/tmp/go-build2639352060/b046/_pkg_.a
packagefile sort=/tmp/go-build2639352060/b032/_pkg_.a
packagefile time=/tmp/go-build2639352060/b041/_pkg_.a
packagefile unicode/utf8=/tmp/go-build2639352060/b027/_pkg_.a
EOF
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/b045/_pkg_.a -trimpath "$WORK/b045=>" -p io/fs -std -complete -buildid T3X-IPvzxkFO8wOCZX5K/T3X-IPvzxkFO8wOCZX5K -goversion go1.22.5 -c=4 -nolocalimports -importcfg $WORK/b045/importcfg -pack /usr/local/go/src/io/fs/format.go /usr/local/go/src/io/fs/fs.go /usr/local/go/src/io/fs/glob.go /usr/local/go/src/io/fs/readdir.go /usr/local/go/src/io/fs/readfile.go /usr/local/go/src/io/fs/stat.go /usr/local/go/src/io/fs/sub.go /usr/local/go/src/io/fs/walk.go
mkdir -p $WORK/b037/
cat >/tmp/go-build2639352060/b037/importcfg << 'EOF' # internal
# import config
packagefile errors=/tmp/go-build2639352060/b002/_pkg_.a
packagefile internal/syscall/unix=/tmp/go-build2639352060/b038/_pkg_.a
packagefile io=/tmp/go-build2639352060/b035/_pkg_.a
packagefile runtime=/tmp/go-build2639352060/b008/_pkg_.a
packagefile sync=/tmp/go-build2639352060/b028/_pkg_.a
packagefile sync/atomic=/tmp/go-build2639352060/b030/_pkg_.a
packagefile syscall=/tmp/go-build2639352060/b039/_pkg_.a
packagefile time=/tmp/go-build2639352060/b041/_pkg_.a
EOF
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/b037/_pkg_.a -trimpath "$WORK/b037=>" -p internal/poll -std -buildid gZOSuFawB9KtGAYYaJ1u/gZOSuFawB9KtGAYYaJ1u -goversion go1.22.5 -c=4 -nolocalimports -importcfg $WORK/b037/importcfg -pack /usr/local/go/src/internal/poll/copy_file_range_linux.go /usr/local/go/src/internal/poll/errno_unix.go /usr/local/go/src/internal/poll/fd.go /usr/local/go/src/internal/poll/fd_fsync_posix.go /usr/local/go/src/internal/poll/fd_mutex.go /usr/local/go/src/internal/poll/fd_poll_runtime.go /usr/local/go/src/internal/poll/fd_posix.go /usr/local/go/src/internal/poll/fd_unix.go /usr/local/go/src/internal/poll/fd_unixjs.go /usr/local/go/src/internal/poll/fd_writev_unix.go /usr/local/go/src/internal/poll/hook_cloexec.go /usr/local/go/src/internal/poll/hook_unix.go /usr/local/go/src/internal/poll/iovec_unix.go /usr/local/go/src/internal/poll/sendfile_linux.go /usr/local/go/src/internal/poll/sock_cloexec.go /usr/local/go/src/internal/poll/sockopt.go /usr/local/go/src/internal/poll/sockopt_linux.go /usr/local/go/src/internal/poll/sockopt_unix.go /usr/local/go/src/internal/poll/sockoptip.go /usr/local/go/src/internal/poll/splice_linux.go /usr/local/go/src/internal/poll/writev.go
cd /usr/local/go/src/reflect
/usr/local/go/pkg/tool/linux_amd64/asm -p reflect -trimpath "$WORK/b022=>" -I $WORK/b022/ -I /usr/local/go/pkg/include -D GOOS_linux -D GOARCH_amd64 -D GOAMD64_v1 -o $WORK/b022/asm_amd64.o ./asm_amd64.s
/usr/local/go/pkg/tool/linux_amd64/pack r $WORK/b022/_pkg_.a $WORK/b022/asm_amd64.o # internal
/usr/local/go/pkg/tool/linux_amd64/buildid -w $WORK/b022/_pkg_.a # internal
cd /home/bearsh/tmp/hid
TERM='dumb' /usr/local/go/pkg/tool/linux_amd64/cgo -dynpackage cgo -dynimport $WORK/b049/_cgo_.o -dynout $WORK/b049/_cgo_import.go -dynlinker
echo -n > $WORK/b049/go_asm.h # internal
cd /usr/local/go/src/runtime/cgo
/usr/local/go/pkg/tool/linux_amd64/asm -p runtime/cgo -trimpath "$WORK/b049=>" -I $WORK/b049/ -I /usr/local/go/pkg/include -D GOOS_linux -D GOARCH_amd64 -D GOAMD64_v1 -gensymabis -o $WORK/b049/symabis ./asm_amd64.s
cp $WORK/b022/_pkg_.a /home/bearsh/.cache/go-build/f7/f7b05e1443b010f37f042d6fbcb55cc5213fe44a6ed3ff09b8b51dca378124b4-d # internal
mkdir -p $WORK/b021/
cat >/tmp/go-build2639352060/b021/importcfg << 'EOF' # internal
# import config
packagefile reflect=/tmp/go-build2639352060/b022/_pkg_.a
packagefile sort=/tmp/go-build2639352060/b032/_pkg_.a
EOF
cd /home/bearsh/tmp/hid
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/b021/_pkg_.a -trimpath "$WORK/b021=>" -p internal/fmtsort -std -complete -buildid 5c5MCOf6qif5j3qYOQAR/5c5MCOf6qif5j3qYOQAR -goversion go1.22.5 -c=4 -nolocalimports -importcfg $WORK/b021/importcfg -pack /usr/local/go/src/internal/fmtsort/sort.go
cat >/tmp/go-build2639352060/b049/importcfg << 'EOF' # internal
# import config
packagefile runtime/internal/sys=/tmp/go-build2639352060/b018/_pkg_.a
packagefile sync=/tmp/go-build2639352060/b028/_pkg_.a
packagefile sync/atomic=/tmp/go-build2639352060/b030/_pkg_.a
EOF
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/b049/_pkg_.a -trimpath "$WORK/b049=>" -p runtime/cgo -std -buildid aU_rnLacgV9JTyIJzHDI/aU_rnLacgV9JTyIJzHDI -goversion go1.22.5 -symabis $WORK/b049/symabis -c=4 -nolocalimports -importcfg $WORK/b049/importcfg -pack -asmhdr $WORK/b049/go_asm.h /usr/local/go/src/runtime/cgo/callbacks.go /usr/local/go/src/runtime/cgo/callbacks_traceback.go /usr/local/go/src/runtime/cgo/handle.go /usr/local/go/src/runtime/cgo/iscgo.go /usr/local/go/src/runtime/cgo/linux.go /usr/local/go/src/runtime/cgo/mmap.go /usr/local/go/src/runtime/cgo/setenv.go /usr/local/go/src/runtime/cgo/sigaction.go $WORK/b049/_cgo_gotypes.go $WORK/b049/cgo.cgo1.go $WORK/b049/_cgo_import.go
/usr/local/go/pkg/tool/linux_amd64/buildid -w $WORK/b045/_pkg_.a # internal
cp $WORK/b045/_pkg_.a /home/bearsh/.cache/go-build/05/05147d83cc80bc1a2add586690a90dff3a6c4f2d679c4bb6eff9c9a7a4b844db-d # internal
cp /usr/local/go/src/runtime/cgo/abi_amd64.h $WORK/b049/abi_GOARCH.h
cd /usr/local/go/src/runtime/cgo
/usr/local/go/pkg/tool/linux_amd64/asm -p runtime/cgo -trimpath "$WORK/b049=>" -I $WORK/b049/ -I /usr/local/go/pkg/include -D GOOS_linux -D GOARCH_amd64 -D GOAMD64_v1 -o $WORK/b049/asm_amd64.o ./asm_amd64.s
/usr/local/go/pkg/tool/linux_amd64/pack r $WORK/b049/_pkg_.a $WORK/b049/asm_amd64.o $WORK/b049/_x001.o $WORK/b049/_x002.o $WORK/b049/_x003.o $WORK/b049/_x004.o $WORK/b049/_x005.o $WORK/b049/_x006.o $WORK/b049/_x007.o $WORK/b049/_x008.o $WORK/b049/_x009.o $WORK/b049/_x010.o $WORK/b049/_x011.o $WORK/b049/_x012.o $WORK/b049/_x013.o $WORK/b049/_x014.o # internal
/usr/local/go/pkg/tool/linux_amd64/buildid -w $WORK/b049/_pkg_.a # internal
cp $WORK/b049/_pkg_.a /home/bearsh/.cache/go-build/b3/b3cc27c87bd36b7608add49dadf836deffeebacb8250735669dfdb220af3e961-d # internal
mkdir -p $WORK/b048/
cd /home/bearsh/tmp/hid/hidapi/libusb
TERM='dumb' CGO_LDFLAGS='"-O2" "-g"' /usr/local/go/pkg/tool/linux_amd64/cgo -objdir $WORK/b048/ -importpath github.com/bearsh/hid/hidapi/libusb -- -I $WORK/b048/ -O2 -g -I/home/bearsh/tmp/hid/hidapi -I/home/bearsh/tmp/hid/libusb/libusb ./libusb.go
mkdir -p $WORK/b051/
cd /home/bearsh/tmp/hid/libusb/libusb/os
pkg-config --cflags -- libudev
mkdir -p $WORK/b050/
cd /home/bearsh/tmp/hid/libusb/libusb
TERM='dumb' CGO_LDFLAGS='"-O2" "-g"' /usr/local/go/pkg/tool/linux_amd64/cgo -objdir $WORK/b050/ -importpath github.com/bearsh/hid/libusb/libusb -- -I $WORK/b050/ -O2 -g -I/home/bearsh/tmp/hid -DDEFAULT_VISIBILITY= -DOS_LINUX -D_GNU_SOURCE -DPLATFORM_POSIX ./libusb.go
cd /home/bearsh/tmp/hid/libusb/libusb/os
pkg-config --libs -- libudev
TERM='dumb' CGO_LDFLAGS='"-O2" "-g" "-ludev"' /usr/local/go/pkg/tool/linux_amd64/cgo -objdir $WORK/b051/ -importpath github.com/bearsh/hid/libusb/libusb/os -- -I $WORK/b051/ -O2 -g -I/home/bearsh/tmp/hid/libusb/libusb/os -I/home/bearsh/tmp/hid/libusb/libusb -I/home/bearsh/tmp/hid -DOS_LINUX -D_GNU_SOURCE -DPLATFORM_POSIX ./os.go
/usr/local/go/pkg/tool/linux_amd64/buildid -w $WORK/b021/_pkg_.a # internal
cp $WORK/b021/_pkg_.a /home/bearsh/.cache/go-build/f6/f6fef1ee2ae7cbbabd763c0c1047771e94037c9b0ee6357e5a8d45f3412eb1c9-d # internal
cd $WORK/b048
TERM='dumb' gcc -I /home/bearsh/tmp/hid/hidapi/libusb -fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=$WORK/b048=/tmp/go-build -gno-record-gcc-switches -I $WORK/b048/ -O2 -g -I/home/bearsh/tmp/hid/hidapi -I/home/bearsh/tmp/hid/libusb/libusb -frandom-seed=a4ORVHbSNojdx3T_KQV9 -o $WORK/b048/_x001.o -c _cgo_export.c
cd $WORK/b050
TERM='dumb' gcc -I /home/bearsh/tmp/hid/libusb/libusb -fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=$WORK/b050=/tmp/go-build -gno-record-gcc-switches -I $WORK/b050/ -O2 -g -I/home/bearsh/tmp/hid -DDEFAULT_VISIBILITY= -DOS_LINUX -D_GNU_SOURCE -DPLATFORM_POSIX -frandom-seed=JxsUe35BwrFjgFPrsO04 -o $WORK/b050/_x001.o -c _cgo_export.c
cd $WORK/b051
TERM='dumb' gcc -I /home/bearsh/tmp/hid/libusb/libusb/os -fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=$WORK/b051=/tmp/go-build -gno-record-gcc-switches -I $WORK/b051/ -O2 -g -I/home/bearsh/tmp/hid/libusb/libusb/os -I/home/bearsh/tmp/hid/libusb/libusb -I/home/bearsh/tmp/hid -DOS_LINUX -D_GNU_SOURCE -DPLATFORM_POSIX -frandom-seed=xrxe-A7KEJBRXG1oayJq -o $WORK/b051/_x001.o -c _cgo_export.c
cd $WORK/b050
TERM='dumb' gcc -I /home/bearsh/tmp/hid/libusb/libusb -fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=$WORK/b050=/tmp/go-build -gno-record-gcc-switches -I $WORK/b050/ -O2 -g -I/home/bearsh/tmp/hid -DDEFAULT_VISIBILITY= -DOS_LINUX -D_GNU_SOURCE -DPLATFORM_POSIX -frandom-seed=JxsUe35BwrFjgFPrsO04 -o $WORK/b050/_x002.o -c libusb.cgo2.c
cd $WORK/b048
TERM='dumb' gcc -I /home/bearsh/tmp/hid/hidapi/libusb -fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=$WORK/b048=/tmp/go-build -gno-record-gcc-switches -I $WORK/b048/ -O2 -g -I/home/bearsh/tmp/hid/hidapi -I/home/bearsh/tmp/hid/libusb/libusb -frandom-seed=a4ORVHbSNojdx3T_KQV9 -o $WORK/b048/_x002.o -c libusb.cgo2.c
cd $WORK/b051
TERM='dumb' gcc -I /home/bearsh/tmp/hid/libusb/libusb/os -fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=$WORK/b051=/tmp/go-build -gno-record-gcc-switches -I $WORK/b051/ -O2 -g -I/home/bearsh/tmp/hid/libusb/libusb/os -I/home/bearsh/tmp/hid/libusb/libusb -I/home/bearsh/tmp/hid -DOS_LINUX -D_GNU_SOURCE -DPLATFORM_POSIX -frandom-seed=xrxe-A7KEJBRXG1oayJq -o $WORK/b051/_x002.o -c os.cgo2.c
cd /home/bearsh/tmp/hid/hidapi/libusb
TERM='dumb' gcc -I . -fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=$WORK/b048=/tmp/go-build -gno-record-gcc-switches -I $WORK/b048/ -O2 -g -I/home/bearsh/tmp/hid/hidapi -I/home/bearsh/tmp/hid/libusb/libusb -frandom-seed=a4ORVHbSNojdx3T_KQV9 -o $WORK/b048/_x003.o -c hid.c
cd /home/bearsh/tmp/hid/libusb/libusb
TERM='dumb' gcc -I . -fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=$WORK/b050=/tmp/go-build -gno-record-gcc-switches -I $WORK/b050/ -O2 -g -I/home/bearsh/tmp/hid -DDEFAULT_VISIBILITY= -DOS_LINUX -D_GNU_SOURCE -DPLATFORM_POSIX -frandom-seed=JxsUe35BwrFjgFPrsO04 -o $WORK/b050/_x003.o -c core.c
cd /home/bearsh/tmp/hid/libusb/libusb/os
TERM='dumb' gcc -I . -fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=$WORK/b051=/tmp/go-build -gno-record-gcc-switches -I $WORK/b051/ -O2 -g -I/home/bearsh/tmp/hid/libusb/libusb/os -I/home/bearsh/tmp/hid/libusb/libusb -I/home/bearsh/tmp/hid -DOS_LINUX -D_GNU_SOURCE -DPLATFORM_POSIX -frandom-seed=xrxe-A7KEJBRXG1oayJq -o $WORK/b051/_x003.o -c events_posix.c
/usr/local/go/pkg/tool/linux_amd64/buildid -w $WORK/b037/_pkg_.a # internal
cp $WORK/b037/_pkg_.a /home/bearsh/.cache/go-build/46/468b263089bc0dbb294a5d451802c7b365a53883036c11b567e98073c09d7654-d # internal
mkdir -p $WORK/b036/
cat >/tmp/go-build2639352060/b036/importcfg << 'EOF' # internal
# import config
packagefile errors=/tmp/go-build2639352060/b002/_pkg_.a
packagefile internal/bytealg=/tmp/go-build2639352060/b009/_pkg_.a
packagefile internal/itoa=/tmp/go-build2639352060/b023/_pkg_.a
packagefile internal/poll=/tmp/go-build2639352060/b037/_pkg_.a
packagefile internal/safefilepath=/tmp/go-build2639352060/b042/_pkg_.a
packagefile internal/syscall/execenv=/tmp/go-build2639352060/b043/_pkg_.a
packagefile internal/syscall/unix=/tmp/go-build2639352060/b038/_pkg_.a
packagefile internal/testlog=/tmp/go-build2639352060/b044/_pkg_.a
packagefile io=/tmp/go-build2639352060/b035/_pkg_.a
packagefile io/fs=/tmp/go-build2639352060/b045/_pkg_.a
packagefile runtime=/tmp/go-build2639352060/b008/_pkg_.a
packagefile sort=/tmp/go-build2639352060/b032/_pkg_.a
packagefile sync=/tmp/go-build2639352060/b028/_pkg_.a
packagefile sync/atomic=/tmp/go-build2639352060/b030/_pkg_.a
packagefile syscall=/tmp/go-build2639352060/b039/_pkg_.a
packagefile time=/tmp/go-build2639352060/b041/_pkg_.a
EOF
cd /home/bearsh/tmp/hid
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/b036/_pkg_.a -trimpath "$WORK/b036=>" -p os -std -buildid k7s8NojpxfubKkIVsxXU/k7s8NojpxfubKkIVsxXU -goversion go1.22.5 -c=4 -nolocalimports -importcfg $WORK/b036/importcfg -pack /usr/local/go/src/os/dir.go /usr/local/go/src/os/dir_unix.go /usr/local/go/src/os/dirent_linux.go /usr/local/go/src/os/endian_little.go /usr/local/go/src/os/env.go /usr/local/go/src/os/error.go /usr/local/go/src/os/error_errno.go /usr/local/go/src/os/error_posix.go /usr/local/go/src/os/exec.go /usr/local/go/src/os/exec_posix.go /usr/local/go/src/os/exec_unix.go /usr/local/go/src/os/executable.go /usr/local/go/src/os/executable_procfs.go /usr/local/go/src/os/file.go /usr/local/go/src/os/file_open_unix.go /usr/local/go/src/os/file_posix.go /usr/local/go/src/os/file_unix.go /usr/local/go/src/os/getwd.go /usr/local/go/src/os/path.go /usr/local/go/src/os/path_unix.go /usr/local/go/src/os/pipe2_unix.go /usr/local/go/src/os/proc.go /usr/local/go/src/os/rawconn.go /usr/local/go/src/os/removeall_at.go /usr/local/go/src/os/stat.go /usr/local/go/src/os/stat_linux.go /usr/local/go/src/os/stat_unix.go /usr/local/go/src/os/sticky_notbsd.go /usr/local/go/src/os/sys.go /usr/local/go/src/os/sys_linux.go /usr/local/go/src/os/sys_unix.go /usr/local/go/src/os/tempfile.go /usr/local/go/src/os/types.go /usr/local/go/src/os/types_unix.go /usr/local/go/src/os/wait_waitid.go /usr/local/go/src/os/zero_copy_linux.go
cd /home/bearsh/tmp/hid/libusb/libusb/os
TERM='dumb' gcc -I . -fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=$WORK/b051=/tmp/go-build -gno-record-gcc-switches -I $WORK/b051/ -O2 -g -I/home/bearsh/tmp/hid/libusb/libusb/os -I/home/bearsh/tmp/hid/libusb/libusb -I/home/bearsh/tmp/hid -DOS_LINUX -D_GNU_SOURCE -DPLATFORM_POSIX -frandom-seed=xrxe-A7KEJBRXG1oayJq -o $WORK/b051/_x004.o -c linux_netlink.c
/usr/local/go/pkg/tool/linux_amd64/buildid -w $WORK/b036/_pkg_.a # internal
TERM='dumb' gcc -I . -fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=$WORK/b051=/tmp/go-build -gno-record-gcc-switches -I $WORK/b051/ -O2 -g -I/home/bearsh/tmp/hid/libusb/libusb/os -I/home/bearsh/tmp/hid/libusb/libusb -I/home/bearsh/tmp/hid -DOS_LINUX -D_GNU_SOURCE -DPLATFORM_POSIX -frandom-seed=xrxe-A7KEJBRXG1oayJq -o $WORK/b051/_x005.o -c linux_udev.c
cp $WORK/b036/_pkg_.a /home/bearsh/.cache/go-build/7f/7f2c0045312ce45275a2671255cb2967d008d9b489ebd184dd5b3bc45e9b37da-d # internal
mkdir -p $WORK/b020/
cat >/tmp/go-build2639352060/b020/importcfg << 'EOF' # internal
# import config
packagefile errors=/tmp/go-build2639352060/b002/_pkg_.a
packagefile internal/fmtsort=/tmp/go-build2639352060/b021/_pkg_.a
packagefile io=/tmp/go-build2639352060/b035/_pkg_.a
packagefile math=/tmp/go-build2639352060/b024/_pkg_.a
packagefile os=/tmp/go-build2639352060/b036/_pkg_.a
packagefile reflect=/tmp/go-build2639352060/b022/_pkg_.a
packagefile sort=/tmp/go-build2639352060/b032/_pkg_.a
packagefile strconv=/tmp/go-build2639352060/b026/_pkg_.a
packagefile sync=/tmp/go-build2639352060/b028/_pkg_.a
packagefile unicode/utf8=/tmp/go-build2639352060/b027/_pkg_.a
EOF
cd /home/bearsh/tmp/hid
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/b020/_pkg_.a -trimpath "$WORK/b020=>" -p fmt -std -complete -buildid 3totINv7V6fnJ5HqI5oX/3totINv7V6fnJ5HqI5oX -goversion go1.22.5 -c=4 -nolocalimports -importcfg $WORK/b020/importcfg -pack /usr/local/go/src/fmt/doc.go /usr/local/go/src/fmt/errors.go /usr/local/go/src/fmt/format.go /usr/local/go/src/fmt/print.go /usr/local/go/src/fmt/scan.go
cd /home/bearsh/tmp/hid/libusb/libusb/os
TERM='dumb' gcc -I . -fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=$WORK/b051=/tmp/go-build -gno-record-gcc-switches -I $WORK/b051/ -O2 -g -I/home/bearsh/tmp/hid/libusb/libusb/os -I/home/bearsh/tmp/hid/libusb/libusb -I/home/bearsh/tmp/hid -DOS_LINUX -D_GNU_SOURCE -DPLATFORM_POSIX -frandom-seed=xrxe-A7KEJBRXG1oayJq -o $WORK/b051/_x006.o -c linux_usbfs.c
cd /home/bearsh/tmp/hid/libusb/libusb
TERM='dumb' gcc -I . -fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=$WORK/b050=/tmp/go-build -gno-record-gcc-switches -I $WORK/b050/ -O2 -g -I/home/bearsh/tmp/hid -DDEFAULT_VISIBILITY= -DOS_LINUX -D_GNU_SOURCE -DPLATFORM_POSIX -frandom-seed=JxsUe35BwrFjgFPrsO04 -o $WORK/b050/_x004.o -c descriptor.c
cd $WORK/b048
TERM='dumb' gcc -I /home/bearsh/tmp/hid/hidapi/libusb -fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=$WORK/b048=/tmp/go-build -gno-record-gcc-switches -I $WORK/b048/ -O2 -g -I/home/bearsh/tmp/hid/hidapi -I/home/bearsh/tmp/hid/libusb/libusb -frandom-seed=a4ORVHbSNojdx3T_KQV9 -o $WORK/b048/_cgo_main.o -c _cgo_main.c
/usr/local/go/pkg/tool/linux_amd64/buildid -w $WORK/b020/_pkg_.a # internal
cp $WORK/b020/_pkg_.a /home/bearsh/.cache/go-build/a4/a4a5d48648551b75b5e95dcea9ae755538f71ed0c6adebc29cca05e9b7764cfe-d # internal
cd /home/bearsh/tmp/hid
TERM='dumb' gcc -I ./hidapi/libusb -fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=$WORK/b048=/tmp/go-build -gno-record-gcc-switches -o $WORK/b048/_cgo_.o $WORK/b048/_cgo_main.o $WORK/b048/_x001.o $WORK/b048/_x002.o $WORK/b048/_x003.o -O2 -g
echo -n > $WORK/b048/dynimportfail # internal
cat >/tmp/go-build2639352060/b048/importcfg << 'EOF' # internal
# import config
packagefile runtime/cgo=/tmp/go-build2639352060/b049/_pkg_.a
packagefile syscall=/tmp/go-build2639352060/b039/_pkg_.a
EOF
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/b048/_pkg_.a -trimpath "$WORK/b048=>" -p github.com/bearsh/hid/hidapi/libusb -lang=go1.17 -buildid a4ORVHbSNojdx3T_KQV9/a4ORVHbSNojdx3T_KQV9 -goversion go1.22.5 -c=4 -nolocalimports -importcfg $WORK/b048/importcfg -pack $WORK/b048/_cgo_gotypes.go $WORK/b048/libusb.cgo1.go
cd /home/bearsh/tmp/hid/hidapi/libusb
/usr/local/go/pkg/tool/linux_amd64/pack r $WORK/b048/_pkg_.a $WORK/b048/_x001.o $WORK/b048/_x002.o $WORK/b048/_x003.o $WORK/b048/dynimportfail # internal
/usr/local/go/pkg/tool/linux_amd64/buildid -w $WORK/b048/_pkg_.a # internal
cp $WORK/b048/_pkg_.a /home/bearsh/.cache/go-build/0e/0e9de26f73507f8f455064e6c4d488eb5b1632dfdd7e376d208ff262d4e66b77-d # internal
# github.com/bearsh/hid/hidapi/libusb
/usr/bin/ld: $WORK/b048/_x003.o: in function `get_path':
hidapi/libusb/hid.c:502: undefined reference to `libusb_get_port_numbers'
/usr/bin/ld: hidapi/libusb/hid.c:505: undefined reference to `libusb_get_bus_number'
/usr/bin/ld: $WORK/b048/_x003.o: in function `read_thread':
hidapi/libusb/hid.c:979: undefined reference to `libusb_alloc_transfer'
/usr/bin/ld: hidapi/libusb/hid.c:991: undefined reference to `libusb_submit_transfer'
/usr/bin/ld: hidapi/libusb/hid.c:1003: undefined reference to `libusb_handle_events'
/usr/bin/ld: hidapi/libusb/hid.c:1021: undefined reference to `libusb_cancel_transfer'
/usr/bin/ld: hidapi/libusb/hid.c:1024: undefined reference to `libusb_handle_events_completed'
/usr/bin/ld: $WORK/b048/_x003.o: in function `hid_get_report_descriptor_libusb':
hidapi/libusb/hid.c:577: undefined reference to `libusb_control_transfer'
/usr/bin/ld: $WORK/b048/_x003.o: in function `hidapi_initialize_device':
hidapi/libusb/hid.c:1052: undefined reference to `libusb_get_device'
/usr/bin/ld: hidapi/libusb/hid.c:1052: undefined reference to `libusb_get_device_descriptor'
/usr/bin/ld: hidapi/libusb/hid.c:1058: undefined reference to `libusb_kernel_driver_active'
/usr/bin/ld: hidapi/libusb/hid.c:1070: undefined reference to `libusb_claim_interface'
/usr/bin/ld: hidapi/libusb/hid.c:1059: undefined reference to `libusb_detach_kernel_driver'
/usr/bin/ld: hidapi/libusb/hid.c:1076: undefined reference to `libusb_attach_kernel_driver'
/usr/bin/ld: $WORK/b048/_x003.o: in function `hid_get_report_descriptor_libusb':
hidapi/libusb/hid.c:577: undefined reference to `libusb_control_transfer'
/usr/bin/ld: $WORK/b048/_x003.o: in function `read_callback':
hidapi/libusb/hid.c:961: undefined reference to `libusb_submit_transfer'
/usr/bin/ld: $WORK/b048/_x003.o: in function `hid_init':
hidapi/libusb/hid.c:545: undefined reference to `libusb_init'
/usr/bin/ld: $WORK/b048/_x003.o: in function `hid_exit':
hidapi/libusb/hid.c:560: undefined reference to `libusb_exit'
/usr/bin/ld: $WORK/b048/_x003.o: in function `hid_open_path':
hidapi/libusb/hid.c:1154: undefined reference to `libusb_get_device_list'
/usr/bin/ld: hidapi/libusb/hid.c:1159: undefined reference to `libusb_get_active_config_descriptor'
/usr/bin/ld: hidapi/libusb/hid.c:1184: undefined reference to `libusb_free_config_descriptor'
/usr/bin/ld: hidapi/libusb/hid.c:1187: undefined reference to `libusb_free_device_list'
/usr/bin/ld: hidapi/libusb/hid.c:1172: undefined reference to `libusb_open'
/usr/bin/ld: hidapi/libusb/hid.c:1184: undefined reference to `libusb_free_config_descriptor'
/usr/bin/ld: hidapi/libusb/hid.c:1187: undefined reference to `libusb_free_device_list'
/usr/bin/ld: hidapi/libusb/hid.c:1179: undefined reference to `libusb_close'
/usr/bin/ld: hidapi/libusb/hid.c:1184: undefined reference to `libusb_free_config_descriptor'
/usr/bin/ld: hidapi/libusb/hid.c:1187: undefined reference to `libusb_free_device_list'
/usr/bin/ld: $WORK/b048/_x003.o: in function `hid_libusb_wrap_sys_device':
hidapi/libusb/hid.c:1216: undefined reference to `libusb_wrap_sys_device'
/usr/bin/ld: hidapi/libusb/hid.c:1222: undefined reference to `libusb_get_device'
/usr/bin/ld: hidapi/libusb/hid.c:1222: undefined reference to `libusb_get_active_config_descriptor'
/usr/bin/ld: hidapi/libusb/hid.c:1264: undefined reference to `libusb_close'
/usr/bin/ld: hidapi/libusb/hid.c:1262: undefined reference to `libusb_free_config_descriptor'
/usr/bin/ld: hidapi/libusb/hid.c:1224: undefined reference to `libusb_get_device'
/usr/bin/ld: hidapi/libusb/hid.c:1224: undefined reference to `libusb_get_config_descriptor'
/usr/bin/ld: $WORK/b048/_x003.o: in function `hid_write':
hidapi/libusb/hid.c:1315: undefined reference to `libusb_interrupt_transfer'
/usr/bin/ld: hidapi/libusb/hid.c:1296: undefined reference to `libusb_control_transfer'
/usr/bin/ld: $WORK/b048/_x003.o: in function `hid_send_feature_report':
hidapi/libusb/hid.c:1467: undefined reference to `libusb_control_transfer'
/usr/bin/ld: $WORK/b048/_x003.o: in function `hid_get_feature_report':
hidapi/libusb/hid.c:1498: undefined reference to `libusb_control_transfer'
/usr/bin/ld: hidapi/libusb/hid.c:1498: undefined reference to `libusb_control_transfer'
/usr/bin/ld: $WORK/b048/_x003.o: in function `hid_get_input_report':
hidapi/libusb/hid.c:1528: undefined reference to `libusb_control_transfer'
/usr/bin/ld: $WORK/b048/_x003.o:/home/bearsh/tmp/hid/hidapi/libusb/hid.c:1528: more undefined references to `libusb_control_transfer' follow
/usr/bin/ld: $WORK/b048/_x003.o: in function `hid_close':
hidapi/libusb/hid.c:1552: undefined reference to `libusb_cancel_transfer'
/usr/bin/ld: hidapi/libusb/hid.c:1560: undefined reference to `libusb_free_transfer'
/usr/bin/ld: hidapi/libusb/hid.c:1563: undefined reference to `libusb_release_interface'
/usr/bin/ld: hidapi/libusb/hid.c:1575: undefined reference to `libusb_close'
/usr/bin/ld: hidapi/libusb/hid.c:1568: undefined reference to `libusb_attach_kernel_driver'
/usr/bin/ld: $WORK/b048/_x003.o: in function `libusb_get_string_descriptor':
./libusb/libusb/libusb.h:1857: undefined reference to `libusb_control_transfer'
/usr/bin/ld: ./libusb/libusb/libusb.h:1857: undefined reference to `libusb_control_transfer'
/usr/bin/ld: ./libusb/libusb/libusb.h:1857: undefined reference to `libusb_control_transfer'
/usr/bin/ld: $WORK/b048/_x003.o: in function `hid_enumerate':
hidapi/libusb/hid.c:756: undefined reference to `libusb_get_device_list'
/usr/bin/ld: hidapi/libusb/hid.c:764: undefined reference to `libusb_get_device_descriptor'
/usr/bin/ld: hidapi/libusb/hid.c:773: undefined reference to `libusb_get_active_config_descriptor'
/usr/bin/ld: hidapi/libusb/hid.c:785: undefined reference to `libusb_open'
/usr/bin/ld: hidapi/libusb/hid.c:837: undefined reference to `libusb_close'
/usr/bin/ld: hidapi/libusb/hid.c:843: undefined reference to `libusb_free_config_descriptor'
/usr/bin/ld: hidapi/libusb/hid.c:847: undefined reference to `libusb_free_device_list'
/usr/bin/ld: hidapi/libusb/hid.c:775: undefined reference to `libusb_get_config_descriptor'
/usr/bin/ld: $WORK/b048/_x003.o: in function `hid_get_device_info':
hidapi/libusb/hid.c:1606: undefined reference to `libusb_get_device'
/usr/bin/ld: hidapi/libusb/hid.c:1607: undefined reference to `libusb_get_device_descriptor'
collect2: error: ld returned 1 exit status
cd /home/bearsh/tmp/hid/libusb/libusb
TERM='dumb' gcc -I . -fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=$WORK/b050=/tmp/go-build -gno-record-gcc-switches -I $WORK/b050/ -O2 -g -I/home/bearsh/tmp/hid -DDEFAULT_VISIBILITY= -DOS_LINUX -D_GNU_SOURCE -DPLATFORM_POSIX -frandom-seed=JxsUe35BwrFjgFPrsO04 -o $WORK/b050/_x005.o -c hotplug.c
TERM='dumb' gcc -I . -fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=$WORK/b050=/tmp/go-build -gno-record-gcc-switches -I $WORK/b050/ -O2 -g -I/home/bearsh/tmp/hid -DDEFAULT_VISIBILITY= -DOS_LINUX -D_GNU_SOURCE -DPLATFORM_POSIX -frandom-seed=JxsUe35BwrFjgFPrsO04 -o $WORK/b050/_x006.o -c io.c
cd /home/bearsh/tmp/hid/libusb/libusb/os
TERM='dumb' gcc -I . -fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=$WORK/b051=/tmp/go-build -gno-record-gcc-switches -I $WORK/b051/ -O2 -g -I/home/bearsh/tmp/hid/libusb/libusb/os -I/home/bearsh/tmp/hid/libusb/libusb -I/home/bearsh/tmp/hid -DOS_LINUX -D_GNU_SOURCE -DPLATFORM_POSIX -frandom-seed=xrxe-A7KEJBRXG1oayJq -o $WORK/b051/_x007.o -c threads_posix.c
cd $WORK/b051
TERM='dumb' gcc -I /home/bearsh/tmp/hid/libusb/libusb/os -fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=$WORK/b051=/tmp/go-build -gno-record-gcc-switches -I $WORK/b051/ -O2 -g -I/home/bearsh/tmp/hid/libusb/libusb/os -I/home/bearsh/tmp/hid/libusb/libusb -I/home/bearsh/tmp/hid -DOS_LINUX -D_GNU_SOURCE -DPLATFORM_POSIX -frandom-seed=xrxe-A7KEJBRXG1oayJq -o $WORK/b051/_cgo_main.o -c _cgo_main.c
cd /home/bearsh/tmp/hid
TERM='dumb' gcc -I ./libusb/libusb/os -fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=$WORK/b051=/tmp/go-build -gno-record-gcc-switches -o $WORK/b051/_cgo_.o $WORK/b051/_cgo_main.o $WORK/b051/_x001.o $WORK/b051/_x002.o $WORK/b051/_x003.o $WORK/b051/_x004.o $WORK/b051/_x005.o $WORK/b051/_x006.o $WORK/b051/_x007.o -O2 -g -ludev
echo -n > $WORK/b051/dynimportfail # internal
cat >/tmp/go-build2639352060/b051/importcfg << 'EOF' # internal
# import config
packagefile runtime/cgo=/tmp/go-build2639352060/b049/_pkg_.a
packagefile syscall=/tmp/go-build2639352060/b039/_pkg_.a
EOF
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/b051/_pkg_.a -trimpath "$WORK/b051=>" -p github.com/bearsh/hid/libusb/libusb/os -lang=go1.17 -buildid xrxe-A7KEJBRXG1oayJq/xrxe-A7KEJBRXG1oayJq -goversion go1.22.5 -c=4 -nolocalimports -importcfg $WORK/b051/importcfg -pack $WORK/b051/_cgo_gotypes.go $WORK/b051/os.cgo1.go
cd /home/bearsh/tmp/hid/libusb/libusb/os
/usr/local/go/pkg/tool/linux_amd64/pack r $WORK/b051/_pkg_.a $WORK/b051/_x001.o $WORK/b051/_x002.o $WORK/b051/_x003.o $WORK/b051/_x004.o $WORK/b051/_x005.o $WORK/b051/_x006.o $WORK/b051/_x007.o $WORK/b051/dynimportfail # internal
/usr/local/go/pkg/tool/linux_amd64/buildid -w $WORK/b051/_pkg_.a # internal
cp $WORK/b051/_pkg_.a /home/bearsh/.cache/go-build/6e/6e7739eb5fea72224cf7e93f3629788f76ef6f29b8073fb80e9df0efa8cbc46d-d # internal
# github.com/bearsh/hid/libusb/libusb/os
/usr/bin/ld: $WORK/b051/_x006.o: in function `op_close':
libusb/libusb/os/linux_usbfs.c:1423: undefined reference to `usbi_remove_event_source'
/usr/bin/ld: $WORK/b051/_x006.o: in function `handle_control_completion':
libusb/libusb/os/linux_usbfs.c:2649: undefined reference to `usbi_handle_transfer_completion'
/usr/bin/ld: $WORK/b051/_x006.o: in function `handle_iso_completion':
libusb/libusb/os/linux_usbfs.c:2583: undefined reference to `usbi_handle_transfer_completion'
/usr/bin/ld: $WORK/b051/_x006.o: in function `handle_bulk_completion':
libusb/libusb/os/linux_usbfs.c:2468: undefined reference to `usbi_handle_transfer_completion'
/usr/bin/ld: $WORK/b051/_x006.o: in function `handle_iso_completion':
libusb/libusb/os/linux_usbfs.c:2556: undefined reference to `usbi_handle_transfer_completion'
/usr/bin/ld: $WORK/b051/_x006.o: in function `handle_control_completion':
libusb/libusb/os/linux_usbfs.c:2609: undefined reference to `usbi_handle_transfer_cancellation'
/usr/bin/ld: $WORK/b051/_x006.o: in function `op_wrap_sys_device':
libusb/libusb/os/linux_usbfs.c:1366: undefined reference to `usbi_alloc_device'
/usr/bin/ld: libusb/libusb/os/linux_usbfs.c:1373: undefined reference to `usbi_sanitize_device'
/usr/bin/ld: $WORK/b051/_x006.o: in function `initialize_handle':
libusb/libusb/os/linux_usbfs.c:1337: undefined reference to `usbi_add_event_source'
/usr/bin/ld: $WORK/b051/_x006.o: in function `op_wrap_sys_device':
libusb/libusb/os/linux_usbfs.c:1386: undefined reference to `libusb_unref_device'
/usr/bin/ld: $WORK/b051/_x006.o: in function `linux_enumerate_device':
libusb/libusb/os/linux_usbfs.c:1103: undefined reference to `usbi_get_device_by_session_id'
/usr/bin/ld: libusb/libusb/os/linux_usbfs.c:1107: undefined reference to `libusb_unref_device'
/usr/bin/ld: libusb/libusb/os/linux_usbfs.c:1113: undefined reference to `usbi_alloc_device'
/usr/bin/ld: libusb/libusb/os/linux_usbfs.c:1120: undefined reference to `usbi_sanitize_device'
/usr/bin/ld: libusb/libusb/os/linux_usbfs.c:1131: undefined reference to `usbi_connect_device'
/usr/bin/ld: libusb/libusb/os/linux_usbfs.c:1129: undefined reference to `libusb_unref_device'
/usr/bin/ld: $WORK/b051/_x006.o: in function `linux_get_parent_info':
libusb/libusb/os/linux_usbfs.c:1067: undefined reference to `libusb_ref_device'
/usr/bin/ld: $WORK/b051/_x006.o: in function `usbi_mutex_static_lock':
libusb/libusb/os/threads_posix.h:32: undefined reference to `active_contexts_lock'
/usr/bin/ld: $WORK/b051/_x006.o: in function `linux_hotplug_enumerate':
libusb/libusb/os/linux_usbfs.c:1141: undefined reference to `active_contexts_list'
/usr/bin/ld: $WORK/b051/_x006.o: in function `usbi_mutex_static_lock':
libusb/libusb/os/threads_posix.h:32: undefined reference to `active_contexts_lock'
/usr/bin/ld: $WORK/b051/_x006.o: in function `linux_device_disconnected':
libusb/libusb/os/linux_usbfs.c:1154: undefined reference to `active_contexts_list'
/usr/bin/ld: libusb/libusb/os/linux_usbfs.c:1155: undefined reference to `usbi_get_device_by_session_id'
/usr/bin/ld: libusb/libusb/os/linux_usbfs.c:1157: undefined reference to `usbi_disconnect_device'
/usr/bin/ld: libusb/libusb/os/linux_usbfs.c:1158: undefined reference to `libusb_unref_device'
/usr/bin/ld: $WORK/b051/_x006.o: in function `op_handle_events':
libusb/libusb/os/linux_usbfs.c:2725: undefined reference to `usbi_remove_event_source'
/usr/bin/ld: libusb/libusb/os/linux_usbfs.c:2742: undefined reference to `usbi_handle_disconnect'
/usr/bin/ld: $WORK/b051/_x006.o: in function `initialize_handle':
libusb/libusb/os/linux_usbfs.c:1337: undefined reference to `usbi_add_event_source'
collect2: error: ld returned 1 exit status
cd /home/bearsh/tmp/hid/libusb/libusb
TERM='dumb' gcc -I . -fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=$WORK/b050=/tmp/go-build -gno-record-gcc-switches -I $WORK/b050/ -O2 -g -I/home/bearsh/tmp/hid -DDEFAULT_VISIBILITY= -DOS_LINUX -D_GNU_SOURCE -DPLATFORM_POSIX -frandom-seed=JxsUe35BwrFjgFPrsO04 -o $WORK/b050/_x007.o -c strerror.c
TERM='dumb' gcc -I . -fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=$WORK/b050=/tmp/go-build -gno-record-gcc-switches -I $WORK/b050/ -O2 -g -I/home/bearsh/tmp/hid -DDEFAULT_VISIBILITY= -DOS_LINUX -D_GNU_SOURCE -DPLATFORM_POSIX -frandom-seed=JxsUe35BwrFjgFPrsO04 -o $WORK/b050/_x008.o -c sync.c
cd $WORK/b050
TERM='dumb' gcc -I /home/bearsh/tmp/hid/libusb/libusb -fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=$WORK/b050=/tmp/go-build -gno-record-gcc-switches -I $WORK/b050/ -O2 -g -I/home/bearsh/tmp/hid -DDEFAULT_VISIBILITY= -DOS_LINUX -D_GNU_SOURCE -DPLATFORM_POSIX -frandom-seed=JxsUe35BwrFjgFPrsO04 -o $WORK/b050/_cgo_main.o -c _cgo_main.c
cd /home/bearsh/tmp/hid
TERM='dumb' gcc -I ./libusb/libusb -fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=$WORK/b050=/tmp/go-build -gno-record-gcc-switches -o $WORK/b050/_cgo_.o $WORK/b050/_cgo_main.o $WORK/b050/_x001.o $WORK/b050/_x002.o $WORK/b050/_x003.o $WORK/b050/_x004.o $WORK/b050/_x005.o $WORK/b050/_x006.o $WORK/b050/_x007.o $WORK/b050/_x008.o -O2 -g
echo -n > $WORK/b050/dynimportfail # internal
cat >/tmp/go-build2639352060/b050/importcfg << 'EOF' # internal
# import config
packagefile runtime/cgo=/tmp/go-build2639352060/b049/_pkg_.a
packagefile syscall=/tmp/go-build2639352060/b039/_pkg_.a
EOF
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/b050/_pkg_.a -trimpath "$WORK/b050=>" -p github.com/bearsh/hid/libusb/libusb -lang=go1.17 -buildid JxsUe35BwrFjgFPrsO04/JxsUe35BwrFjgFPrsO04 -goversion go1.22.5 -c=4 -nolocalimports -importcfg $WORK/b050/importcfg -pack $WORK/b050/_cgo_gotypes.go $WORK/b050/libusb.cgo1.go
cd /home/bearsh/tmp/hid/libusb/libusb
/usr/local/go/pkg/tool/linux_amd64/pack r $WORK/b050/_pkg_.a $WORK/b050/_x001.o $WORK/b050/_x002.o $WORK/b050/_x003.o $WORK/b050/_x004.o $WORK/b050/_x005.o $WORK/b050/_x006.o $WORK/b050/_x007.o $WORK/b050/_x008.o $WORK/b050/dynimportfail # internal
/usr/local/go/pkg/tool/linux_amd64/buildid -w $WORK/b050/_pkg_.a # internal
cp $WORK/b050/_pkg_.a /home/bearsh/.cache/go-build/dc/dc03a72b7941409c1832a32744d8d9002c1bf2b2ff3d202f69a2255bd881f2d3-d # internal
# github.com/bearsh/hid/libusb/libusb
/usr/bin/ld: $WORK/b050/_x006.o: in function `libusb_alloc_transfer':
libusb/libusb/io.c:1298: undefined reference to `usbi_backend'
/usr/bin/ld: $WORK/b050/_x006.o: in function `libusb_free_transfer':
libusb/libusb/io.c:1350: undefined reference to `usbi_backend'
/usr/bin/ld: $WORK/b050/_x006.o: in function `libusb_submit_transfer':
libusb/libusb/io.c:1559: undefined reference to `usbi_backend'
/usr/bin/ld: $WORK/b050/_x006.o: in function `libusb_cancel_transfer':
libusb/libusb/io.c:1619: undefined reference to `usbi_backend'
/usr/bin/ld: $WORK/b050/_x006.o: in function `handle_events':
libusb/libusb/io.c:2244: undefined reference to `usbi_wait_for_events'
/usr/bin/ld: libusb/libusb/io.c:2274: undefined reference to `usbi_backend'
/usr/bin/ld: libusb/libusb/io.c:2218: undefined reference to `usbi_alloc_event_data'
/usr/bin/ld: libusb/libusb/io.c:2230: undefined reference to `usbi_clear_event'
/usr/bin/ld: $WORK/b050/_x006.o: in function `handle_event_trigger':
libusb/libusb/io.c:2148: undefined reference to `usbi_backend'
/usr/bin/ld: libusb/libusb/io.c:2166: undefined reference to `usbi_clear_event'
/usr/bin/ld: $WORK/b050/_x006.o: in function `usbi_signal_transfer_completion':
libusb/libusb/io.c:1765: undefined reference to `usbi_signal_event'
/usr/bin/ld: $WORK/b050/_x006.o: in function `libusb_interrupt_event_handler':
libusb/libusb/io.c:1952: undefined reference to `usbi_signal_event'
/usr/bin/ld: $WORK/b050/_x006.o: in function `libusb_wait_for_event':
libusb/libusb/io.c:2032: undefined reference to `usbi_cond_timedwait'
/usr/bin/ld: $WORK/b050/_x006.o: in function `usbi_event_source_notification':
libusb/libusb/io.c:2666: undefined reference to `usbi_signal_event'
/usr/bin/ld: $WORK/b050/_x006.o: in function `usbi_io_init':
libusb/libusb/io.c:1163: undefined reference to `usbi_cond_init'
/usr/bin/ld: libusb/libusb/io.c:1172: undefined reference to `usbi_create_event'
/usr/bin/ld: libusb/libusb/io.c:1200: undefined reference to `usbi_destroy_event'
/usr/bin/ld: $WORK/b050/_x006.o: in function `usbi_event_source_notification':
libusb/libusb/io.c:2666: undefined reference to `usbi_signal_event'
/usr/bin/ld: $WORK/b050/_x006.o: in function `usbi_io_exit':
libusb/libusb/io.c:1230: undefined reference to `usbi_destroy_event'
/usr/bin/ld: $WORK/b050/_x006.o: in function `usbi_handle_disconnect':
libusb/libusb/io.c:2849: undefined reference to `usbi_backend'
/usr/bin/ld: $WORK/b050/_x003.o: in function `libusb_wrap_sys_device':
libusb/libusb/core.c:1246: undefined reference to `usbi_backend'
/usr/bin/ld: $WORK/b050/_x003.o: in function `libusb_get_configuration':
libusb/libusb/core.c:1547: undefined reference to `usbi_backend'
/usr/bin/ld: $WORK/b050/_x003.o: in function `libusb_set_configuration':
libusb/libusb/core.c:1632: undefined reference to `usbi_backend'
/usr/bin/ld: $WORK/b050/_x003.o: in function `libusb_claim_interface':
libusb/libusb/core.c:1679: undefined reference to `usbi_backend'
/usr/bin/ld: $WORK/b050/_x003.o:/home/bearsh/tmp/hid/libusb/libusb/core.c:1722: more undefined references to `usbi_backend' follow
/usr/bin/ld: $WORK/b050/_x003.o: in function `libusb_close':
libusb/libusb/core.c:1481: undefined reference to `usbi_signal_event'
/usr/bin/ld: libusb/libusb/core.c:1498: undefined reference to `usbi_clear_event'
/usr/bin/ld: $WORK/b050/_x003.o: in function `libusb_get_device_list':
libusb/libusb/core.c:835: undefined reference to `usbi_backend'
/usr/bin/ld: libusb/libusb/core.c:850: undefined reference to `usbi_backend'
/usr/bin/ld: $WORK/b050/_x004.o: in function `get_active_config_descriptor':
libusb/libusb/descriptor.c:483: undefined reference to `usbi_backend'
/usr/bin/ld: $WORK/b050/_x004.o: in function `get_config_descriptor':
libusb/libusb/descriptor.c:503: undefined reference to `usbi_backend'
/usr/bin/ld: $WORK/b050/_x004.o: in function `libusb_get_config_descriptor_by_value':
libusb/libusb/descriptor.c:648: undefined reference to `usbi_backend'
/usr/bin/ld: $WORK/b050/_x005.o: in function `usbi_hotplug_notification':
libusb/libusb/hotplug.c:270: undefined reference to `usbi_signal_event'
/usr/bin/ld: $WORK/b050/_x005.o: in function `libusb_hotplug_deregister_callback':
libusb/libusb/hotplug.c:439: undefined reference to `usbi_signal_event'
collect2: error: ld returned 1 exit status
mkdir -p $WORK/b001/
cd /home/bearsh/tmp/hid
TERM='dumb' CGO_LDFLAGS='"-O2" "-g" "-lrt"' /usr/local/go/pkg/tool/linux_amd64/cgo -objdir $WORK/b001/ -importpath github.com/bearsh/hid -- -I $WORK/b001/ -O2 -g -I/home/bearsh/tmp/hid/hidapi ./hid_enabled.go ./wchar.go
cd $WORK/b001
TERM='dumb' gcc -I /home/bearsh/tmp/hid -fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=$WORK/b001=/tmp/go-build -gno-record-gcc-switches -I $WORK/b001/ -O2 -g -I/home/bearsh/tmp/hid/hidapi -frandom-seed=0EdPD5EGL3pWhHVFT4ZZ -o $WORK/b001/_x001.o -c _cgo_export.c
TERM='dumb' gcc -I /home/bearsh/tmp/hid -fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=$WORK/b001=/tmp/go-build -gno-record-gcc-switches -I $WORK/b001/ -O2 -g -I/home/bearsh/tmp/hid/hidapi -frandom-seed=0EdPD5EGL3pWhHVFT4ZZ -o $WORK/b001/_x002.o -c hid_enabled.cgo2.c
TERM='dumb' gcc -I /home/bearsh/tmp/hid -fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=$WORK/b001=/tmp/go-build -gno-record-gcc-switches -I $WORK/b001/ -O2 -g -I/home/bearsh/tmp/hid/hidapi -frandom-seed=0EdPD5EGL3pWhHVFT4ZZ -o $WORK/b001/_x003.o -c wchar.cgo2.c
TERM='dumb' gcc -I /home/bearsh/tmp/hid -fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=$WORK/b001=/tmp/go-build -gno-record-gcc-switches -I $WORK/b001/ -O2 -g -I/home/bearsh/tmp/hid/hidapi -frandom-seed=0EdPD5EGL3pWhHVFT4ZZ -o $WORK/b001/_cgo_main.o -c _cgo_main.c
cd /home/bearsh/tmp/hid
TERM='dumb' gcc -I . -fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=$WORK/b001=/tmp/go-build -gno-record-gcc-switches -o $WORK/b001/_cgo_.o $WORK/b001/_cgo_main.o $WORK/b001/_x001.o $WORK/b001/_x002.o $WORK/b001/_x003.o -O2 -g -lrt
echo -n > $WORK/b001/dynimportfail # internal
cat >/tmp/go-build2639352060/b001/importcfg << 'EOF' # internal
# import config
packagefile errors=/tmp/go-build2639352060/b002/_pkg_.a
packagefile fmt=/tmp/go-build2639352060/b020/_pkg_.a
packagefile github.com/bearsh/hid/hidapi=/tmp/go-build2639352060/b047/_pkg_.a
packagefile github.com/bearsh/hid/hidapi/libusb=/tmp/go-build2639352060/b048/_pkg_.a
packagefile github.com/bearsh/hid/libusb/libusb=/tmp/go-build2639352060/b050/_pkg_.a
packagefile github.com/bearsh/hid/libusb/libusb/os=/tmp/go-build2639352060/b051/_pkg_.a
packagefile runtime=/tmp/go-build2639352060/b008/_pkg_.a
packagefile sync=/tmp/go-build2639352060/b028/_pkg_.a
packagefile syscall=/tmp/go-build2639352060/b039/_pkg_.a
packagefile unicode/utf16=/tmp/go-build2639352060/b052/_pkg_.a
packagefile unicode/utf8=/tmp/go-build2639352060/b027/_pkg_.a
packagefile runtime/cgo=/tmp/go-build2639352060/b049/_pkg_.a
EOF
/usr/local/go/pkg/tool/linux_amd64/compile -o $WORK/b001/_pkg_.a -trimpath "$WORK/b001=>" -p github.com/bearsh/hid -lang=go1.17 -buildid 0EdPD5EGL3pWhHVFT4ZZ/0EdPD5EGL3pWhHVFT4ZZ -goversion go1.22.5 -c=4 -nolocalimports -importcfg $WORK/b001/importcfg -pack ./hid.go ./hid_libusb_linux.go $WORK/b001/_cgo_gotypes.go $WORK/b001/hid_enabled.cgo1.go $WORK/b001/wchar.cgo1.go
/usr/local/go/pkg/tool/linux_amd64/pack r $WORK/b001/_pkg_.a $WORK/b001/_x001.o $WORK/b001/_x002.o $WORK/b001/_x003.o $WORK/b001/dynimportfail # internal
/usr/local/go/pkg/tool/linux_amd64/buildid -w $WORK/b001/_pkg_.a # internal
cp $WORK/b001/_pkg_.a /home/bearsh/.cache/go-build/d0/d0b1dabb8fe0bbf1d9a1b640a93a2c645583afb42d70b181e0fc07feab66ce4f-d # internal
# github.com/bearsh/hid
/usr/bin/ld: $WORK/b001/_x002.o: in function `_cgo_54ed2fc108e9_C2func_hid_read':
/tmp/go-build/cgo-gcc-prolog:59: undefined reference to `hid_read'
/usr/bin/ld: $WORK/b001/_x002.o: in function `_cgo_54ed2fc108e9_C2func_hid_read_timeout':
/tmp/go-build/cgo-gcc-prolog:86: undefined reference to `hid_read_timeout'
/usr/bin/ld: $WORK/b001/_x002.o: in function `_cgo_54ed2fc108e9_Cfunc_hid_enumerate':
/tmp/go-build/cgo-gcc-prolog:132: undefined reference to `hid_enumerate'
/usr/bin/ld: $WORK/b001/_x002.o: in function `_cgo_54ed2fc108e9_Cfunc_hid_error':
/tmp/go-build/cgo-gcc-prolog:150: undefined reference to `hid_error'
/usr/bin/ld: $WORK/b001/_x002.o: in function `_cgo_54ed2fc108e9_Cfunc_hid_get_device_info':
/tmp/go-build/cgo-gcc-prolog:180: undefined reference to `hid_get_device_info'
/usr/bin/ld: $WORK/b001/_x002.o: in function `_cgo_54ed2fc108e9_Cfunc_hid_get_feature_report':
/tmp/go-build/cgo-gcc-prolog:201: undefined reference to `hid_get_feature_report'
/usr/bin/ld: $WORK/b001/_x002.o: in function `_cgo_54ed2fc108e9_Cfunc_hid_get_input_report':
/tmp/go-build/cgo-gcc-prolog:222: undefined reference to `hid_get_input_report'
/usr/bin/ld: $WORK/b001/_x002.o: in function `_cgo_54ed2fc108e9_Cfunc_hid_get_report_descriptor':
/tmp/go-build/cgo-gcc-prolog:243: undefined reference to `hid_get_report_descriptor'
/usr/bin/ld: $WORK/b001/_x002.o: in function `_cgo_54ed2fc108e9_Cfunc_hid_init':
/tmp/go-build/cgo-gcc-prolog:261: undefined reference to `hid_init'
/usr/bin/ld: $WORK/b001/_x002.o: in function `_cgo_54ed2fc108e9_Cfunc_hid_open_path':
/tmp/go-build/cgo-gcc-prolog:279: undefined reference to `hid_open_path'
/usr/bin/ld: $WORK/b001/_x002.o: in function `_cgo_54ed2fc108e9_Cfunc_hid_read':
/tmp/go-build/cgo-gcc-prolog:300: undefined reference to `hid_read'
/usr/bin/ld: $WORK/b001/_x002.o: in function `_cgo_54ed2fc108e9_Cfunc_hid_read_timeout':
/tmp/go-build/cgo-gcc-prolog:323: undefined reference to `hid_read_timeout'
/usr/bin/ld: $WORK/b001/_x002.o: in function `_cgo_54ed2fc108e9_Cfunc_hid_send_feature_report':
/tmp/go-build/cgo-gcc-prolog:344: undefined reference to `hid_send_feature_report'
/usr/bin/ld: $WORK/b001/_x002.o: in function `_cgo_54ed2fc108e9_Cfunc_hid_set_nonblocking':
/tmp/go-build/cgo-gcc-prolog:365: undefined reference to `hid_set_nonblocking'
/usr/bin/ld: $WORK/b001/_x002.o: in function `_cgo_54ed2fc108e9_Cfunc_hid_write':
/tmp/go-build/cgo-gcc-prolog:386: undefined reference to `hid_write'
/usr/bin/ld: $WORK/b001/_x002.o: in function `_cgo_54ed2fc108e9_Cfunc_hid_close':
/tmp/go-build/cgo-gcc-prolog:115: undefined reference to `hid_close'
/usr/bin/ld: $WORK/b001/_x002.o: in function `_cgo_54ed2fc108e9_Cfunc_hid_free_enumeration':
/tmp/go-build/cgo-gcc-prolog:165: undefined reference to `hid_free_enumeration'
collect2: error: ld returned 1 exit status |
I see where this output is coming from. In cmd/go/internal/work, the function
This behavior appears to date back to https://go.dev/cl/413460. Before that CL, we always printed the errors, even though things were actually OK. See #52863. Now we hide the errors, but we print them when using So in general the build is working fine. This is a cmd/go issue. CC @matloob @samthanawalla though maybe I should try to work on it since I seem to have introduced it. |
@ianlancetaylor We'd definitely appreciate the help but we could fix it too: though we'd like to figure out that the behavior should be. It seems like the two options are that we hide the errors, or that we print the command causing the error along with the error? |
I'm not sure what the best choice is. Another option is to display the command but not the output. It's a confusing case because it's fine if the link fails, but that is not obvious to the person reading the output. Maybe we could add a comment? There is precedent in the |
Hm, I like the idea of adding a comment. I suppose we could start with that? |
Go version
go version go1.22.5 linux/amd64
Output of
go env
in your module/workspace:What did you do?
I maintain go binding to hidapi. After restructuring the project I discovered linker errors when building with the
-x
flag.steps to reproduce:
git clone https://github.com/bearsh/hid.git cd hid git switch feature/no-dummy-go-files
then call go build, make sure CGO is enabled. this outputs a linker error:
What did you see happen?
What did you expect to see?
no errors
The text was updated successfully, but these errors were encountered: