The go build process

Updated:

This post is a little overdue, I had meant to publish it a couple weeks back, but got caught up on other stuff and it slipped...

But... why?

As of late, I have been working on a major re-design of DataDog/orchestrion, a tool that was pioneered by my colleague at Datadog APM to automate instrumentation of Go applications. The idea is to support customers in their onboarding jouney and to try and make instrumentation more transparent, since Go does not provide much affordances in terms of dynamically injecting behavior into the application at runtime in the ways that are possible in other languages such as Ruby and Python (the dynamic nature of these languages make it relatively easy to alter behavior at runtime), and even Java and .NET (the respective virtual machines offer well defined mechanisms to modify code as it is loaded).

The original implementation of orchestrion modified source files in-place, requiring users decide between:

  • Checking in the instrumented source code;
  • Instrumenting in their build pipeline, with the caveat that stack traces would contain line numbers from the instrumented code – and not the code that is checked into version control.

Neither of these approaches is particularly appealing to me, especially since the target audience for this tool lies more on the side of operations personnel than developers... And I believe that automated instrumentation should stay out of the way of developers: automation ensures it's there, so you never have to think about it again.

Consequently, I believe the right way to do automatic instrumentation of applications is to do so as part of the build process: transforming the Go source code of the application (and all of its dependencies) before the Go compiler is invoked. This makes instrumentation entirely transparent to users, and allows instrumenting not only your own code, but also that of all of your code's dependencies, including the standard library!

As a result of this, I have spent quite a bit of time looking at the Go build process, how it works, and how to interface with it to get my deed done.

The build process

You can get a decent sense of what go build does by adding the -x argument, which will cause it to display the list of commands it runs in order to produce the final artifact...

Here's what it may look like for a simple "hello, world" application:

WORK=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565
mkdir -p $WORK/b024/
mkdir -p $WORK/b016/
echo '# import config' > $WORK/b024/importcfg # internal
cd /Users/romain.marcadier/Downloads/hello
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/compile -o $WORK/b024/_pkg_.a -trimpath "$WORK/b024=>" -p math/bits -std -complete -buildid Qf3UUfQ-QeCg_eda4jTU/Qf3UUfQ-QeCg_eda4jTU -goversion go1.22.1 -c=4 -shared -nolocalimports -importcfg $WORK/b024/importcfg -pack /opt/homebrew/Cellar/go/1.22.1/libexec/src/math/bits/bits.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/math/bits/bits_errors.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/math/bits/bits_tables.go
echo '# import config' > $WORK/b016/importcfg # internal
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/compile -o $WORK/b016/_pkg_.a -trimpath "$WORK/b016=>" -p internal/goos -std -complete -buildid mtIu7oA8_Gv842v28JP5/mtIu7oA8_Gv842v28JP5 -goversion go1.22.1 -c=4 -shared -nolocalimports -importcfg $WORK/b016/importcfg -pack /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/goos/goos.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/goos/unix.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/goos/zgoos_darwin.go
mkdir -p $WORK/b013/
mkdir -p $WORK/b026/
echo '# import config' > $WORK/b026/importcfg # internal
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/compile -o $WORK/b026/_pkg_.a -trimpath "$WORK/b026=>" -p unicode/utf8 -std -complete -buildid bQr431HMB-zu5Laprqj1/bQr431HMB-zu5Laprqj1 -goversion go1.22.1 -c=4 -shared -nolocalimports -importcfg $WORK/b026/importcfg -pack /opt/homebrew/Cellar/go/1.22.1/libexec/src/unicode/utf8/utf8.go
echo '# import config' > $WORK/b013/importcfg # internal
mkdir -p $WORK/b008/
mkdir -p $WORK/b006/
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/compile -o $WORK/b013/_pkg_.a -trimpath "$WORK/b013=>" -p internal/coverage/rtcov -std -complete -buildid V930L88REHEqAvAFqP6o/V930L88REHEqAvAFqP6o -goversion go1.22.1 -c=4 -shared -nolocalimports -importcfg $WORK/b013/importcfg -pack /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/coverage/rtcov/rtcov.go
echo '# import config' > $WORK/b008/importcfg # internal
echo '# import config' > $WORK/b006/importcfg # internal
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/compile -o $WORK/b008/_pkg_.a -trimpath "$WORK/b008=>" -p internal/unsafeheader -std -complete -buildid JRIYwbSS-Zt3AYXvsHxI/JRIYwbSS-Zt3AYXvsHxI -goversion go1.22.1 -c=4 -shared -nolocalimports -importcfg $WORK/b008/importcfg -pack /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/unsafeheader/unsafeheader.go
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/compile -o $WORK/b006/_pkg_.a -trimpath "$WORK/b006=>" -p internal/goarch -std -complete -buildid G9XVtO2-fwYvdBbj1IVM/G9XVtO2-fwYvdBbj1IVM -goversion go1.22.1 -c=4 -shared -nolocalimports -importcfg $WORK/b006/importcfg -pack /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/goarch/goarch.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/goarch/goarch_arm64.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/goarch/zgoarch_arm64.go
mkdir -p $WORK/b022/
mkdir -p $WORK/b014/
echo '# import config' > $WORK/b022/importcfg # internal
echo '# import config' > $WORK/b014/importcfg # internal
mkdir -p $WORK/b015/
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/compile -o $WORK/b014/_pkg_.a -trimpath "$WORK/b014=>" -p internal/godebugs -std -complete -buildid 6QonIuy1VidUd9T8bXkg/6QonIuy1VidUd9T8bXkg -goversion go1.22.1 -c=4 -shared -nolocalimports -importcfg $WORK/b014/importcfg -pack /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/godebugs/table.go
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/compile -o $WORK/b022/_pkg_.a -trimpath "$WORK/b022=>" -p internal/itoa -std -complete -buildid y-cH95zoA5icYPTwK2Px/y-cH95zoA5icYPTwK2Px -goversion go1.22.1 -c=4 -shared -nolocalimports -importcfg $WORK/b022/importcfg -pack /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/itoa/itoa.go
echo '# import config' > $WORK/b015/importcfg # internal
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/compile -o $WORK/b015/_pkg_.a -trimpath "$WORK/b015=>" -p internal/goexperiment -std -complete -buildid xd0OljMPvQbX1DaQyli7/xd0OljMPvQbX1DaQyli7 -goversion go1.22.1 -c=4 -shared -nolocalimports -importcfg $WORK/b015/importcfg -pack /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/goexperiment/exp_allocheaders_on.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/goexperiment/exp_arenas_off.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/goexperiment/exp_boringcrypto_off.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/goexperiment/exp_cacheprog_off.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/goexperiment/exp_cgocheck2_off.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/goexperiment/exp_coverageredesign_on.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/goexperiment/exp_exectracer2_on.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/goexperiment/exp_fieldtrack_off.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/goexperiment/exp_heapminimum512kib_off.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/goexperiment/exp_loopvar_off.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/goexperiment/exp_newinliner_off.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/goexperiment/exp_pagetrace_off.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/goexperiment/exp_preemptibleloops_off.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/goexperiment/exp_rangefunc_off.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/goexperiment/exp_regabiargs_on.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/goexperiment/exp_regabiwrappers_on.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/goexperiment/exp_staticlockranking_off.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/goexperiment/flags.go
mkdir -p $WORK/b011/
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/buildid -w $WORK/b016/_pkg_.a # internal
cp $WORK/b016/_pkg_.a /Users/romain.marcadier/Library/Caches/go-build/ed/ed68a74c9087f31f46183280226501fff81aad9f97e47f5345a142c799e36ee3-d # internal
mkdir -p $WORK/b028/
echo -n > $WORK/b011/go_asm.h # internal
cd /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/cpu
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/asm -p internal/cpu -trimpath "$WORK/b011=>" -I $WORK/b011/ -I /opt/homebrew/Cellar/go/1.22.1/libexec/pkg/include -D GOOS_darwin -D GOARCH_arm64 -shared -gensymabis -o $WORK/b011/symabis ./cpu.s ./cpu_arm64.s
echo '# import config' > $WORK/b028/importcfg # internal
cd /Users/romain.marcadier/Downloads/hello
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/compile -o $WORK/b028/_pkg_.a -trimpath "$WORK/b028=>" -p internal/race -std -complete -buildid PAf3GvgxyOCXwUc7CzV6/PAf3GvgxyOCXwUc7CzV6 -goversion go1.22.1 -c=4 -shared -nolocalimports -importcfg $WORK/b028/importcfg -pack /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/race/doc.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/race/norace.go
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/buildid -w $WORK/b013/_pkg_.a # internal
cp $WORK/b013/_pkg_.a /Users/romain.marcadier/Library/Caches/go-build/4d/4df1a84bc9ff6228659a78cdbdd6cec37cb25e2498f91438906fd6ea7ec51158-d # internal
mkdir -p $WORK/b029/
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/buildid -w $WORK/b024/_pkg_.a # internal
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/buildid -w $WORK/b014/_pkg_.a # internal
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/buildid -w $WORK/b006/_pkg_.a # internal
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/buildid -w $WORK/b015/_pkg_.a # internal
echo -n > $WORK/b029/go_asm.h # internal
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/buildid -w $WORK/b026/_pkg_.a # internal
echo '# import config' > $WORK/b011/importcfg # internal
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/buildid -w $WORK/b008/_pkg_.a # internal
cd /opt/homebrew/Cellar/go/1.22.1/libexec/src/sync/atomic
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/asm -p sync/atomic -trimpath "$WORK/b029=>" -I $WORK/b029/ -I /opt/homebrew/Cellar/go/1.22.1/libexec/pkg/include -D GOOS_darwin -D GOARCH_arm64 -shared -gensymabis -o $WORK/b029/symabis ./asm.s
cd /Users/romain.marcadier/Downloads/hello
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/compile -o $WORK/b011/_pkg_.a -trimpath "$WORK/b011=>" -p internal/cpu -std -buildid DTZytSIJGVO1eSvlGgq4/DTZytSIJGVO1eSvlGgq4 -goversion go1.22.1 -symabis $WORK/b011/symabis -c=4 -shared -nolocalimports -importcfg $WORK/b011/importcfg -pack -asmhdr $WORK/b011/go_asm.h /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/cpu/cpu.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/cpu/cpu_arm64.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/cpu/cpu_arm64_darwin.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/cpu/cpu_no_name.go
cp $WORK/b014/_pkg_.a /Users/romain.marcadier/Library/Caches/go-build/2b/2b1fe2310490509ebc2ea14cb3b8684815d2d899210376f389847feb941f1bdd-d # internal
cp $WORK/b006/_pkg_.a /Users/romain.marcadier/Library/Caches/go-build/bf/bfb221000c0f16a20c78b596868a4f1ae24eb412f974899958ae175c6bf436a1-d # internal
cp $WORK/b008/_pkg_.a /Users/romain.marcadier/Library/Caches/go-build/25/250a6f0f6f0bbe0775ac252a033743c50ffb2c06c5b4723882829f252286bf69-d # internal
cp $WORK/b024/_pkg_.a /Users/romain.marcadier/Library/Caches/go-build/7f/7f33dac851f7ef8e8db9fe14d30c2dada617b5037a2fd339a1d74e9ab20ee5b7-d # internal
mkdir -p $WORK/b012/
mkdir -p $WORK/b030/
mkdir -p $WORK/b018/
echo '# import config' > $WORK/b030/importcfg # internal
mkdir -p $WORK/b005/
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/compile -o $WORK/b030/_pkg_.a -trimpath "$WORK/b030=>" -p unicode -std -complete -buildid azqWinniy4P322H9_l3J/azqWinniy4P322H9_l3J -goversion go1.22.1 -c=4 -shared -nolocalimports -importcfg $WORK/b030/importcfg -pack /opt/homebrew/Cellar/go/1.22.1/libexec/src/unicode/casetables.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/unicode/digit.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/unicode/graphic.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/unicode/letter.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/unicode/tables.go
echo -n > $WORK/b012/go_asm.h # internal
cp $WORK/b026/_pkg_.a /Users/romain.marcadier/Library/Caches/go-build/bb/bb9bc097ee08a679bac795044236a777aa375c281c3bc0d2e6316367ea507b3f-d # internal
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/buildid -w $WORK/b022/_pkg_.a # internal
cd /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/chacha8rand
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/asm -p internal/chacha8rand -trimpath "$WORK/b012=>" -I $WORK/b012/ -I /opt/homebrew/Cellar/go/1.22.1/libexec/pkg/include -D GOOS_darwin -D GOARCH_arm64 -shared -gensymabis -o $WORK/b012/symabis ./chacha8_arm64.s
echo -n > $WORK/b005/go_asm.h # internal
cp $WORK/b015/_pkg_.a /Users/romain.marcadier/Library/Caches/go-build/4c/4c80a9a54d2a6833b5b187aac40493a3b927f6d182579f2bb916a9616c2e8253-d # internal
cd /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/abi
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/asm -p internal/abi -trimpath "$WORK/b005=>" -I $WORK/b005/ -I /opt/homebrew/Cellar/go/1.22.1/libexec/pkg/include -D GOOS_darwin -D GOARCH_arm64 -shared -gensymabis -o $WORK/b005/symabis ./abi_test.s ./stub.s
cat >/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b018/importcfg << 'EOF' # internal
# import config
packagefile internal/goarch=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b006/_pkg_.a
EOF
cd /Users/romain.marcadier/Downloads/hello
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/compile -o $WORK/b018/_pkg_.a -trimpath "$WORK/b018=>" -p runtime/internal/math -std -complete -buildid pcTmVomQOI8HN_h715ja/pcTmVomQOI8HN_h715ja -goversion go1.22.1 -c=4 -shared -nolocalimports -importcfg $WORK/b018/importcfg -pack /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/internal/math/math.go
cp $WORK/b022/_pkg_.a /Users/romain.marcadier/Library/Caches/go-build/33/339ae4017ccecd53543a93e75aaeca26e58012dd5dbf8d9ab272ef165174514d-d # internal
echo '# import config' > $WORK/b029/importcfg # internal
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/buildid -w $WORK/b028/_pkg_.a # internal
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/compile -o $WORK/b029/_pkg_.a -trimpath "$WORK/b029=>" -p sync/atomic -std -buildid MTyJyv3kTO6ZDJaITm7X/MTyJyv3kTO6ZDJaITm7X -goversion go1.22.1 -symabis $WORK/b029/symabis -c=4 -shared -nolocalimports -importcfg $WORK/b029/importcfg -pack -asmhdr $WORK/b029/go_asm.h /opt/homebrew/Cellar/go/1.22.1/libexec/src/sync/atomic/doc.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/sync/atomic/type.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/sync/atomic/value.go
mkdir -p $WORK/b019/
mkdir -p $WORK/b033/
cat >/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b019/importcfg << 'EOF' # internal
# import config
packagefile internal/goarch=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b006/_pkg_.a
packagefile internal/goos=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b016/_pkg_.a
EOF
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/compile -o $WORK/b019/_pkg_.a -trimpath "$WORK/b019=>" -p runtime/internal/sys -std -complete -buildid CVrzWHujIRpEGZAYTiy-/CVrzWHujIRpEGZAYTiy- -goversion go1.22.1 -c=4 -shared -nolocalimports -importcfg $WORK/b019/importcfg -pack /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/internal/sys/consts.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/internal/sys/consts_norace.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/internal/sys/intrinsics.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/internal/sys/nih.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/internal/sys/sys.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/internal/sys/zversion.go
echo '# import config' > $WORK/b033/importcfg # internal
cp $WORK/b028/_pkg_.a /Users/romain.marcadier/Library/Caches/go-build/97/971e336b6c993d3b35e0275ae856c0a1870c448649cd5304548d3f6241e40f0e-d # internal
cd /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/cpu
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/asm -p internal/cpu -trimpath "$WORK/b011=>" -I $WORK/b011/ -I /opt/homebrew/Cellar/go/1.22.1/libexec/pkg/include -D GOOS_darwin -D GOARCH_arm64 -shared -o $WORK/b011/cpu.o ./cpu.s
cat >/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b012/importcfg << 'EOF' # internal
# import config
packagefile internal/goarch=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b006/_pkg_.a
EOF
cd /Users/romain.marcadier/Downloads/hello
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/compile -o $WORK/b033/_pkg_.a -trimpath "$WORK/b033=>" -p cmp -std -complete -buildid yyB5TqYykhUmSftHiG8W/yyB5TqYykhUmSftHiG8W -goversion go1.22.1 -c=4 -shared -nolocalimports -importcfg $WORK/b033/importcfg -pack /opt/homebrew/Cellar/go/1.22.1/libexec/src/cmp/cmp.go
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/compile -o $WORK/b012/_pkg_.a -trimpath "$WORK/b012=>" -p internal/chacha8rand -std -buildid YNtu4lL3dIJn5v4_3cCf/YNtu4lL3dIJn5v4_3cCf -goversion go1.22.1 -symabis $WORK/b012/symabis -c=4 -shared -nolocalimports -importcfg $WORK/b012/importcfg -pack -asmhdr $WORK/b012/go_asm.h /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/chacha8rand/chacha8.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/chacha8rand/chacha8_generic.go
cat >/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b005/importcfg << 'EOF' # internal
# import config
packagefile internal/goarch=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b006/_pkg_.a
EOF
mkdir -p $WORK/b023/
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/compile -o $WORK/b005/_pkg_.a -trimpath "$WORK/b005=>" -p internal/abi -std -buildid bMSYqY0dldT6VmQ2BYqy/bMSYqY0dldT6VmQ2BYqy -goversion go1.22.1 -symabis $WORK/b005/symabis -c=4 -shared -nolocalimports -importcfg $WORK/b005/importcfg -pack -asmhdr $WORK/b005/go_asm.h /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/abi/abi.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/abi/abi_arm64.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/abi/compiletype.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/abi/funcpc.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/abi/map.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/abi/stack.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/abi/switch.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/abi/symtab.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/abi/type.go
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/buildid -w $WORK/b018/_pkg_.a # internal
echo -n > $WORK/b023/go_asm.h # internal
cd /opt/homebrew/Cellar/go/1.22.1/libexec/src/math
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/asm -p math -trimpath "$WORK/b023=>" -I $WORK/b023/ -I /opt/homebrew/Cellar/go/1.22.1/libexec/pkg/include -D GOOS_darwin -D GOARCH_arm64 -shared -gensymabis -o $WORK/b023/symabis ./dim_arm64.s ./exp_arm64.s ./floor_arm64.s ./modf_arm64.s
cp $WORK/b018/_pkg_.a /Users/romain.marcadier/Library/Caches/go-build/39/39ef0357c3127524ec0f4efce45fbdee8279bb587de33a594ef90adf7ffe7587-d # internal
cd /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/cpu
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/asm -p internal/cpu -trimpath "$WORK/b011=>" -I $WORK/b011/ -I /opt/homebrew/Cellar/go/1.22.1/libexec/pkg/include -D GOOS_darwin -D GOARCH_arm64 -shared -o $WORK/b011/cpu_arm64.o ./cpu_arm64.s
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/buildid -w $WORK/b019/_pkg_.a # internal
cp $WORK/b019/_pkg_.a /Users/romain.marcadier/Library/Caches/go-build/1b/1b511f650c71503ff7f7f4054a9d9c83f65fafaaf062e1d781b166e625e0ebba-d # internal
cat >/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b023/importcfg << 'EOF' # internal
# import config
packagefile math/bits=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b024/_pkg_.a
EOF
cd /Users/romain.marcadier/Downloads/hello
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/compile -o $WORK/b023/_pkg_.a -trimpath "$WORK/b023=>" -p math -std -buildid EF9b41UuzZPRaGYjHWs5/EF9b41UuzZPRaGYjHWs5 -goversion go1.22.1 -symabis $WORK/b023/symabis -c=4 -shared -nolocalimports -importcfg $WORK/b023/importcfg -pack -asmhdr $WORK/b023/go_asm.h /opt/homebrew/Cellar/go/1.22.1/libexec/src/math/abs.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/math/acosh.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/math/asin.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/math/asinh.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/math/atan.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/math/atan2.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/math/atanh.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/math/bits.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/math/cbrt.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/math/const.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/math/copysign.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/math/dim.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/math/dim_asm.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/math/erf.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/math/erfinv.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/math/exp.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/math/exp2_asm.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/math/exp_asm.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/math/expm1.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/math/floor.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/math/floor_asm.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/math/fma.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/math/frexp.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/math/gamma.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/math/hypot.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/math/hypot_noasm.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/math/j0.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/math/j1.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/math/jn.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/math/ldexp.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/math/lgamma.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/math/log.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/math/log10.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/math/log1p.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/math/log_stub.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/math/logb.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/math/mod.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/math/modf.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/math/modf_asm.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/math/nextafter.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/math/pow.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/math/pow10.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/math/remainder.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/math/signbit.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/math/sin.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/math/sincos.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/math/sinh.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/math/sqrt.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/math/stubs.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/math/tan.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/math/tanh.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/math/trig_reduce.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/math/unsafe.go
cd /opt/homebrew/Cellar/go/1.22.1/libexec/src/sync/atomic
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/asm -p sync/atomic -trimpath "$WORK/b029=>" -I $WORK/b029/ -I /opt/homebrew/Cellar/go/1.22.1/libexec/pkg/include -D GOOS_darwin -D GOARCH_arm64 -shared -o $WORK/b029/asm.o ./asm.s
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/buildid -w $WORK/b033/_pkg_.a # internal
cp $WORK/b033/_pkg_.a /Users/romain.marcadier/Library/Caches/go-build/b8/b8b79517f4af3834b93d8255b39841b327f867fa1cc586503d0a5a67eff6afa9-d # internal
mkdir -p $WORK/b032/
cat >/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b032/importcfg << 'EOF' # internal
# import config
packagefile cmp=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b033/_pkg_.a
packagefile math/bits=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b024/_pkg_.a
EOF
cd /Users/romain.marcadier/Downloads/hello
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/compile -o $WORK/b032/_pkg_.a -trimpath "$WORK/b032=>" -p slices -std -complete -buildid vQcynoo0996ZRQQEajg8/vQcynoo0996ZRQQEajg8 -goversion go1.22.1 -c=4 -shared -nolocalimports -importcfg $WORK/b032/importcfg -pack /opt/homebrew/Cellar/go/1.22.1/libexec/src/slices/slices.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/slices/sort.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/slices/zsortanyfunc.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/slices/zsortordered.go
cd /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/chacha8rand
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/asm -p internal/chacha8rand -trimpath "$WORK/b012=>" -I $WORK/b012/ -I /opt/homebrew/Cellar/go/1.22.1/libexec/pkg/include -D GOOS_darwin -D GOARCH_arm64 -shared -o $WORK/b012/chacha8_arm64.o ./chacha8_arm64.s
cd /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/cpu
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/pack r $WORK/b011/_pkg_.a $WORK/b011/cpu.o $WORK/b011/cpu_arm64.o # internal
cd /opt/homebrew/Cellar/go/1.22.1/libexec/src/sync/atomic
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/pack r $WORK/b029/_pkg_.a $WORK/b029/asm.o # internal
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/buildid -w $WORK/b011/_pkg_.a # internal
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/buildid -w $WORK/b029/_pkg_.a # internal
cp $WORK/b011/_pkg_.a /Users/romain.marcadier/Library/Caches/go-build/4d/4d54c09f8ae35da784c7703e37096c8cc777eccd991bbec598960bdb557886d1-d # internal
mkdir -p $WORK/b017/
echo -n > $WORK/b017/go_asm.h # internal
cp $WORK/b029/_pkg_.a /Users/romain.marcadier/Library/Caches/go-build/a5/a5b0d407306a6e1fa76890dcb2ce4ec7ead8a9669c8d542a69e6677c03b739da-d # internal
cd /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/internal/atomic
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/asm -p runtime/internal/atomic -trimpath "$WORK/b017=>" -I $WORK/b017/ -I /opt/homebrew/Cellar/go/1.22.1/libexec/pkg/include -D GOOS_darwin -D GOARCH_arm64 -shared -gensymabis -o $WORK/b017/symabis ./atomic_arm64.s
cd /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/chacha8rand
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/pack r $WORK/b012/_pkg_.a $WORK/b012/chacha8_arm64.o # internal
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/buildid -w $WORK/b012/_pkg_.a # internal
mkdir -p $WORK/b010/
echo -n > $WORK/b010/go_asm.h # internal
cd /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/bytealg
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/asm -p internal/bytealg -trimpath "$WORK/b010=>" -I $WORK/b010/ -I /opt/homebrew/Cellar/go/1.22.1/libexec/pkg/include -D GOOS_darwin -D GOARCH_arm64 -shared -gensymabis -o $WORK/b010/symabis ./compare_arm64.s ./count_arm64.s ./equal_arm64.s ./index_arm64.s ./indexbyte_arm64.s
cp $WORK/b012/_pkg_.a /Users/romain.marcadier/Library/Caches/go-build/47/472fd39e26e45a97083e58ba9a9fa31969a2ba5f8bcffb200da00f6506b9ba51-d # internal
cat >/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b017/importcfg << 'EOF' # internal
# import config
packagefile internal/cpu=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b011/_pkg_.a
EOF
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/buildid -w $WORK/b032/_pkg_.a # internal
cd /Users/romain.marcadier/Downloads/hello
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/compile -o $WORK/b017/_pkg_.a -trimpath "$WORK/b017=>" -p runtime/internal/atomic -std -buildid 62PuDPT89GeoPZi7B3YQ/62PuDPT89GeoPZi7B3YQ -goversion go1.22.1 -symabis $WORK/b017/symabis -c=4 -shared -nolocalimports -importcfg $WORK/b017/importcfg -pack -asmhdr $WORK/b017/go_asm.h /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/internal/atomic/atomic_arm64.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/internal/atomic/doc.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/internal/atomic/stubs.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/internal/atomic/types.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/internal/atomic/types_64bit.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/internal/atomic/unaligned.go
cp $WORK/b032/_pkg_.a /Users/romain.marcadier/Library/Caches/go-build/42/422cb21cb04b520933f5e6e6bd0855702e1590879d8870970f8a6168082f3da2-d # internal
cat >/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b010/importcfg << 'EOF' # internal
# import config
packagefile internal/cpu=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b011/_pkg_.a
EOF
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/compile -o $WORK/b010/_pkg_.a -trimpath "$WORK/b010=>" -p internal/bytealg -std -buildid Rtm6_iur14adubuyMUtd/Rtm6_iur14adubuyMUtd -goversion go1.22.1 -symabis $WORK/b010/symabis -c=4 -shared -nolocalimports -importcfg $WORK/b010/importcfg -pack -asmhdr $WORK/b010/go_asm.h /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/bytealg/bytealg.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/bytealg/compare_native.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/bytealg/count_native.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/bytealg/equal_generic.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/bytealg/equal_native.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/bytealg/index_arm64.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/bytealg/index_native.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/bytealg/indexbyte_native.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/bytealg/lastindexbyte_generic.go
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/buildid -w $WORK/b030/_pkg_.a # internal
cd /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/internal/atomic
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/asm -p runtime/internal/atomic -trimpath "$WORK/b017=>" -I $WORK/b017/ -I /opt/homebrew/Cellar/go/1.22.1/libexec/pkg/include -D GOOS_darwin -D GOARCH_arm64 -shared -o $WORK/b017/atomic_arm64.o ./atomic_arm64.s
cp $WORK/b030/_pkg_.a /Users/romain.marcadier/Library/Caches/go-build/12/121729a5a20c330584144e6cd7af44d75dc642277c743d0c5507b024c2b2f9f9-d # internal
cd /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/bytealg
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/asm -p internal/bytealg -trimpath "$WORK/b010=>" -I $WORK/b010/ -I /opt/homebrew/Cellar/go/1.22.1/libexec/pkg/include -D GOOS_darwin -D GOARCH_arm64 -shared -o $WORK/b010/compare_arm64.o ./compare_arm64.s
cd /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/internal/atomic
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/pack r $WORK/b017/_pkg_.a $WORK/b017/atomic_arm64.o # internal
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/buildid -w $WORK/b017/_pkg_.a # internal
cp $WORK/b017/_pkg_.a /Users/romain.marcadier/Library/Caches/go-build/de/de5d6b2d0d5bf757ab861c2113de114849e373c27a448832e581c4ad4f87fb2b-d # internal
cd /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/bytealg
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/asm -p internal/bytealg -trimpath "$WORK/b010=>" -I $WORK/b010/ -I /opt/homebrew/Cellar/go/1.22.1/libexec/pkg/include -D GOOS_darwin -D GOARCH_arm64 -shared -o $WORK/b010/count_arm64.o ./count_arm64.s
cd /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/abi
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/asm -p internal/abi -trimpath "$WORK/b005=>" -I $WORK/b005/ -I /opt/homebrew/Cellar/go/1.22.1/libexec/pkg/include -D GOOS_darwin -D GOARCH_arm64 -shared -o $WORK/b005/abi_test.o ./abi_test.s
cd /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/bytealg
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/asm -p internal/bytealg -trimpath "$WORK/b010=>" -I $WORK/b010/ -I /opt/homebrew/Cellar/go/1.22.1/libexec/pkg/include -D GOOS_darwin -D GOARCH_arm64 -shared -o $WORK/b010/equal_arm64.o ./equal_arm64.s
cd /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/abi
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/asm -p internal/abi -trimpath "$WORK/b005=>" -I $WORK/b005/ -I /opt/homebrew/Cellar/go/1.22.1/libexec/pkg/include -D GOOS_darwin -D GOARCH_arm64 -shared -o $WORK/b005/stub.o ./stub.s
cd /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/bytealg
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/asm -p internal/bytealg -trimpath "$WORK/b010=>" -I $WORK/b010/ -I /opt/homebrew/Cellar/go/1.22.1/libexec/pkg/include -D GOOS_darwin -D GOARCH_arm64 -shared -o $WORK/b010/index_arm64.o ./index_arm64.s
cd /opt/homebrew/Cellar/go/1.22.1/libexec/src/math
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/asm -p math -trimpath "$WORK/b023=>" -I $WORK/b023/ -I /opt/homebrew/Cellar/go/1.22.1/libexec/pkg/include -D GOOS_darwin -D GOARCH_arm64 -shared -o $WORK/b023/dim_arm64.o ./dim_arm64.s
cd /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/abi
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/pack r $WORK/b005/_pkg_.a $WORK/b005/abi_test.o $WORK/b005/stub.o # internal
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/buildid -w $WORK/b005/_pkg_.a # internal
cd /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/bytealg
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/asm -p internal/bytealg -trimpath "$WORK/b010=>" -I $WORK/b010/ -I /opt/homebrew/Cellar/go/1.22.1/libexec/pkg/include -D GOOS_darwin -D GOARCH_arm64 -shared -o $WORK/b010/indexbyte_arm64.o ./indexbyte_arm64.s
cd /opt/homebrew/Cellar/go/1.22.1/libexec/src/math
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/asm -p math -trimpath "$WORK/b023=>" -I $WORK/b023/ -I /opt/homebrew/Cellar/go/1.22.1/libexec/pkg/include -D GOOS_darwin -D GOARCH_arm64 -shared -o $WORK/b023/exp_arm64.o ./exp_arm64.s
cp $WORK/b005/_pkg_.a /Users/romain.marcadier/Library/Caches/go-build/88/88bf99e263349acec8b29888e1fd5e8b04f5e5bf4ee58846a2193a10d9f4361a-d # internal
cd /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/bytealg
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/pack r $WORK/b010/_pkg_.a $WORK/b010/compare_arm64.o $WORK/b010/count_arm64.o $WORK/b010/equal_arm64.o $WORK/b010/index_arm64.o $WORK/b010/indexbyte_arm64.o # internal
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/buildid -w $WORK/b010/_pkg_.a # internal
cd /opt/homebrew/Cellar/go/1.22.1/libexec/src/math
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/asm -p math -trimpath "$WORK/b023=>" -I $WORK/b023/ -I /opt/homebrew/Cellar/go/1.22.1/libexec/pkg/include -D GOOS_darwin -D GOARCH_arm64 -shared -o $WORK/b023/floor_arm64.o ./floor_arm64.s
cp $WORK/b010/_pkg_.a /Users/romain.marcadier/Library/Caches/go-build/08/08a51edddb0a4e620b12f91edf8993b5f7af6f1982cf98b8f84ec1c62fc55838-d # internal
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/asm -p math -trimpath "$WORK/b023=>" -I $WORK/b023/ -I /opt/homebrew/Cellar/go/1.22.1/libexec/pkg/include -D GOOS_darwin -D GOARCH_arm64 -shared -o $WORK/b023/modf_arm64.o ./modf_arm64.s
mkdir -p $WORK/b009/
echo -n > $WORK/b009/go_asm.h # internal
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/pack r $WORK/b023/_pkg_.a $WORK/b023/dim_arm64.o $WORK/b023/exp_arm64.o $WORK/b023/floor_arm64.o $WORK/b023/modf_arm64.o # internal
cd /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/asm -p runtime -trimpath "$WORK/b009=>" -I $WORK/b009/ -I /opt/homebrew/Cellar/go/1.22.1/libexec/pkg/include -D GOOS_darwin -D GOARCH_arm64 -shared -gensymabis -o $WORK/b009/symabis ./asm.s ./asm_arm64.s ./atomic_arm64.s ./duff_arm64.s ./memclr_arm64.s ./memmove_arm64.s ./preempt_arm64.s ./rt0_darwin_arm64.s ./sys_darwin_arm64.s ./tls_arm64.s
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/buildid -w $WORK/b023/_pkg_.a # internal
cp $WORK/b023/_pkg_.a /Users/romain.marcadier/Library/Caches/go-build/4b/4bd6eb835baf668026a31a52f3061562a45eb18b80f1ac135a6d608afbcfef97-d # internal
cat >/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b009/importcfg << 'EOF' # internal
# import config
packagefile internal/abi=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b005/_pkg_.a
packagefile internal/bytealg=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b010/_pkg_.a
packagefile internal/chacha8rand=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b012/_pkg_.a
packagefile internal/coverage/rtcov=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b013/_pkg_.a
packagefile internal/cpu=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b011/_pkg_.a
packagefile internal/goarch=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b006/_pkg_.a
packagefile internal/godebugs=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b014/_pkg_.a
packagefile internal/goexperiment=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b015/_pkg_.a
packagefile internal/goos=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b016/_pkg_.a
packagefile runtime/internal/atomic=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b017/_pkg_.a
packagefile runtime/internal/math=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b018/_pkg_.a
packagefile runtime/internal/sys=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b019/_pkg_.a
EOF
cd /Users/romain.marcadier/Downloads/hello
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/compile -o $WORK/b009/_pkg_.a -trimpath "$WORK/b009=>" -p runtime -std -buildid ySHRjpn0An9NK1WOmfk6/ySHRjpn0An9NK1WOmfk6 -goversion go1.22.1 -symabis $WORK/b009/symabis -c=4 -shared -nolocalimports -importcfg $WORK/b009/importcfg -pack -asmhdr $WORK/b009/go_asm.h /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/alg.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/arena.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/asan0.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/atomic_pointer.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/cgo.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/cgocall.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/cgocallback.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/cgocheck.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/chan.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/checkptr.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/compiler.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/complex.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/coro.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/covercounter.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/covermeta.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/cpuflags.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/cpuflags_arm64.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/cpuprof.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/create_file_unix.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/debug.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/debugcall.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/debuglog.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/debuglog_off.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/defs_darwin_arm64.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/env_posix.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/error.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/exithook.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/extern.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/fastlog2.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/fastlog2table.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/fds_unix.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/float.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/hash64.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/heapdump.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/histogram.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/iface.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/lfstack.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/lock_sema.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/lockrank.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/lockrank_off.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/malloc.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/map.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/map_fast32.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/map_fast64.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/map_faststr.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mbarrier.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mbitmap.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mbitmap_allocheaders.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mcache.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mcentral.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mcheckmark.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mem.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mem_darwin.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/metrics.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mfinal.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mfixalloc.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mgc.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mgclimit.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mgcmark.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mgcpacer.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mgcscavenge.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mgcstack.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mgcsweep.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mgcwork.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mheap.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/minmax.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mpagealloc.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mpagealloc_64bit.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mpagecache.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mpallocbits.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mprof.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mranges.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/msan0.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/msize_allocheaders.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mspanset.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mstats.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/mwbbuf.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/nbpipe_pipe.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/netpoll.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/netpoll_kqueue.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/nonwindows_stub.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/os_darwin.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/os_darwin_arm64.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/os_nonopenbsd.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/os_unix.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/os_unix_nonlinux.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/pagetrace_off.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/panic.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/pinner.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/plugin.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/preempt.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/preempt_nonwindows.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/print.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/proc.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/profbuf.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/proflabel.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/race0.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/rand.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/rdebug.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/retry.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/runtime.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/runtime1.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/runtime2.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/runtime_boring.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/rwmutex.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/security_issetugid.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/security_unix.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/select.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/sema.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/signal_arm64.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/signal_darwin.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/signal_darwin_arm64.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/signal_unix.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/sigqueue.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/sizeclasses.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/slice.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/softfloat64.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/stack.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/stkframe.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/string.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/stubs.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/stubs_arm64.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/stubs_nonlinux.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/symtab.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/symtabinl.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/sys_arm64.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/sys_darwin.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/sys_darwin_arm64.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/sys_libc.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/sys_nonppc64x.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/tagptr.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/tagptr_64bit.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/test_stubs.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/time.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/time_nofake.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/timestub.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/tls_stub.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/trace2.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/trace2buf.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/trace2cpu.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/trace2event.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/trace2map.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/trace2region.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/trace2runtime.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/trace2stack.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/trace2status.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/trace2string.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/trace2time.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/traceback.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/type.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/typekind.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/unsafe.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/utf8.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/vdso_in_none.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/write_err.go
cp /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime/tls_arm64.h $WORK/b009/tls_GOARCH.h
cd /opt/homebrew/Cellar/go/1.22.1/libexec/src/runtime
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/asm -p runtime -trimpath "$WORK/b009=>" -I $WORK/b009/ -I /opt/homebrew/Cellar/go/1.22.1/libexec/pkg/include -D GOOS_darwin -D GOARCH_arm64 -shared -o $WORK/b009/asm.o ./asm.s
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/asm -p runtime -trimpath "$WORK/b009=>" -I $WORK/b009/ -I /opt/homebrew/Cellar/go/1.22.1/libexec/pkg/include -D GOOS_darwin -D GOARCH_arm64 -shared -o $WORK/b009/asm_arm64.o ./asm_arm64.s
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/asm -p runtime -trimpath "$WORK/b009=>" -I $WORK/b009/ -I /opt/homebrew/Cellar/go/1.22.1/libexec/pkg/include -D GOOS_darwin -D GOARCH_arm64 -shared -o $WORK/b009/atomic_arm64.o ./atomic_arm64.s
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/asm -p runtime -trimpath "$WORK/b009=>" -I $WORK/b009/ -I /opt/homebrew/Cellar/go/1.22.1/libexec/pkg/include -D GOOS_darwin -D GOARCH_arm64 -shared -o $WORK/b009/duff_arm64.o ./duff_arm64.s
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/asm -p runtime -trimpath "$WORK/b009=>" -I $WORK/b009/ -I /opt/homebrew/Cellar/go/1.22.1/libexec/pkg/include -D GOOS_darwin -D GOARCH_arm64 -shared -o $WORK/b009/memclr_arm64.o ./memclr_arm64.s
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/asm -p runtime -trimpath "$WORK/b009=>" -I $WORK/b009/ -I /opt/homebrew/Cellar/go/1.22.1/libexec/pkg/include -D GOOS_darwin -D GOARCH_arm64 -shared -o $WORK/b009/memmove_arm64.o ./memmove_arm64.s
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/asm -p runtime -trimpath "$WORK/b009=>" -I $WORK/b009/ -I /opt/homebrew/Cellar/go/1.22.1/libexec/pkg/include -D GOOS_darwin -D GOARCH_arm64 -shared -o $WORK/b009/preempt_arm64.o ./preempt_arm64.s
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/asm -p runtime -trimpath "$WORK/b009=>" -I $WORK/b009/ -I /opt/homebrew/Cellar/go/1.22.1/libexec/pkg/include -D GOOS_darwin -D GOARCH_arm64 -shared -o $WORK/b009/rt0_darwin_arm64.o ./rt0_darwin_arm64.s
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/asm -p runtime -trimpath "$WORK/b009=>" -I $WORK/b009/ -I /opt/homebrew/Cellar/go/1.22.1/libexec/pkg/include -D GOOS_darwin -D GOARCH_arm64 -shared -o $WORK/b009/sys_darwin_arm64.o ./sys_darwin_arm64.s
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/asm -p runtime -trimpath "$WORK/b009=>" -I $WORK/b009/ -I /opt/homebrew/Cellar/go/1.22.1/libexec/pkg/include -D GOOS_darwin -D GOARCH_arm64 -shared -o $WORK/b009/tls_arm64.o ./tls_arm64.s
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/pack r $WORK/b009/_pkg_.a $WORK/b009/asm.o $WORK/b009/asm_arm64.o $WORK/b009/atomic_arm64.o $WORK/b009/duff_arm64.o $WORK/b009/memclr_arm64.o $WORK/b009/memmove_arm64.o $WORK/b009/preempt_arm64.o $WORK/b009/rt0_darwin_arm64.o $WORK/b009/sys_darwin_arm64.o $WORK/b009/tls_arm64.o # internal
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/buildid -w $WORK/b009/_pkg_.a # internal
cp $WORK/b009/_pkg_.a /Users/romain.marcadier/Library/Caches/go-build/48/48a0a967c2b749ba790f8169b0e318d62c02984d2e7077ce6e19dd047896eda5-d # internal
mkdir -p $WORK/b004/
echo -n > $WORK/b004/go_asm.h # internal
mkdir -p $WORK/b027/
cd /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/reflectlite
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/asm -p internal/reflectlite -trimpath "$WORK/b004=>" -I $WORK/b004/ -I /opt/homebrew/Cellar/go/1.22.1/libexec/pkg/include -D GOOS_darwin -D GOARCH_arm64 -shared -gensymabis -o $WORK/b004/symabis ./asm.s
cat >/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b027/importcfg << 'EOF' # internal
# import config
packagefile internal/race=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b028/_pkg_.a
packagefile runtime=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b009/_pkg_.a
packagefile sync/atomic=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b029/_pkg_.a
EOF
cd /Users/romain.marcadier/Downloads/hello
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/compile -o $WORK/b027/_pkg_.a -trimpath "$WORK/b027=>" -p sync -std -buildid CwpVz1A0xhCA_m63P-Yh/CwpVz1A0xhCA_m63P-Yh -goversion go1.22.1 -c=4 -shared -nolocalimports -importcfg $WORK/b027/importcfg -pack /opt/homebrew/Cellar/go/1.22.1/libexec/src/sync/cond.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/sync/map.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/sync/mutex.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/sync/once.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/sync/oncefunc.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/sync/pool.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/sync/poolqueue.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/sync/runtime.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/sync/runtime2.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/sync/rwmutex.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/sync/waitgroup.go
cat >/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b004/importcfg << 'EOF' # internal
# import config
packagefile internal/abi=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b005/_pkg_.a
packagefile internal/goarch=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b006/_pkg_.a
packagefile internal/unsafeheader=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b008/_pkg_.a
packagefile runtime=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b009/_pkg_.a
EOF
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/compile -o $WORK/b004/_pkg_.a -trimpath "$WORK/b004=>" -p internal/reflectlite -std -buildid eSag28q09baGqjqh7As5/eSag28q09baGqjqh7As5 -goversion go1.22.1 -symabis $WORK/b004/symabis -c=4 -shared -nolocalimports -importcfg $WORK/b004/importcfg -pack -asmhdr $WORK/b004/go_asm.h /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/reflectlite/swapper.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/reflectlite/type.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/reflectlite/value.go
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/buildid -w $WORK/b027/_pkg_.a # internal
cp $WORK/b027/_pkg_.a /Users/romain.marcadier/Library/Caches/go-build/b5/b5d24c049273240ba1688c0a620ae812deb05bcbd45fc76732c755fb675afc30-d # internal
mkdir -p $WORK/b043/
cat >/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b043/importcfg << 'EOF' # internal
# import config
packagefile sync=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b027/_pkg_.a
packagefile sync/atomic=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b029/_pkg_.a
EOF
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/compile -o $WORK/b043/_pkg_.a -trimpath "$WORK/b043=>" -p internal/testlog -std -complete -buildid Kucxy4SUhDRN0A-q5s9n/Kucxy4SUhDRN0A-q5s9n -goversion go1.22.1 -c=4 -shared -nolocalimports -importcfg $WORK/b043/importcfg -pack /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/testlog/exit.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/testlog/log.go
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/buildid -w $WORK/b043/_pkg_.a # internal
cp $WORK/b043/_pkg_.a /Users/romain.marcadier/Library/Caches/go-build/dc/dc575cca746fafa10c07c62d5207d08ee5a049186a529d75c8db6fa1d73cb985-d # internal
cd /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/reflectlite
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/asm -p internal/reflectlite -trimpath "$WORK/b004=>" -I $WORK/b004/ -I /opt/homebrew/Cellar/go/1.22.1/libexec/pkg/include -D GOOS_darwin -D GOARCH_arm64 -shared -o $WORK/b004/asm.o ./asm.s
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/pack r $WORK/b004/_pkg_.a $WORK/b004/asm.o # internal
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/buildid -w $WORK/b004/_pkg_.a # internal
cp $WORK/b004/_pkg_.a /Users/romain.marcadier/Library/Caches/go-build/91/915dc0164e475488c1eec2da395a0da7e45ca9df6f69b73c393815ebedaec076-d # internal
mkdir -p $WORK/b003/
mkdir -p $WORK/b031/
cat >/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b003/importcfg << 'EOF' # internal
# import config
packagefile internal/reflectlite=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b004/_pkg_.a
EOF
cd /Users/romain.marcadier/Downloads/hello
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/compile -o $WORK/b003/_pkg_.a -trimpath "$WORK/b003=>" -p errors -std -complete -buildid wUHq3JUkKjgRywqFT8w3/wUHq3JUkKjgRywqFT8w3 -goversion go1.22.1 -c=4 -shared -nolocalimports -importcfg $WORK/b003/importcfg -pack /opt/homebrew/Cellar/go/1.22.1/libexec/src/errors/errors.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/errors/join.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/errors/wrap.go
cat >/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b031/importcfg << 'EOF' # internal
# import config
packagefile internal/reflectlite=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b004/_pkg_.a
packagefile math/bits=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b024/_pkg_.a
packagefile slices=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b032/_pkg_.a
EOF
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/compile -o $WORK/b031/_pkg_.a -trimpath "$WORK/b031=>" -p sort -std -complete -buildid XxIZosoYdFt_m82PIMqN/XxIZosoYdFt_m82PIMqN -goversion go1.22.1 -c=4 -shared -nolocalimports -importcfg $WORK/b031/importcfg -pack /opt/homebrew/Cellar/go/1.22.1/libexec/src/sort/search.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/sort/slice.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/sort/sort.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/sort/sort_impl_go121.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/sort/zsortfunc.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/sort/zsortinterface.go
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/buildid -w $WORK/b003/_pkg_.a # internal
cp $WORK/b003/_pkg_.a /Users/romain.marcadier/Library/Caches/go-build/22/2215bceb593c4f4b9b919793c30721f7fca0449fcbdedd858a12ec876e540ab2-d # internal
mkdir -p $WORK/b039/
mkdir -p $WORK/b034/
mkdir -p $WORK/b045/
mkdir -p $WORK/b041/
cat >/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b039/importcfg << 'EOF' # internal
# import config
packagefile errors=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b003/_pkg_.a
EOF
cat >/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b034/importcfg << 'EOF' # internal
# import config
packagefile errors=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b003/_pkg_.a
packagefile sync=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b027/_pkg_.a
EOF
mkdir -p $WORK/b025/
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/compile -o $WORK/b039/_pkg_.a -trimpath "$WORK/b039=>" -p internal/oserror -std -complete -buildid v-bAsf5bW0gRJW9xIBiz/v-bAsf5bW0gRJW9xIBiz -goversion go1.22.1 -c=4 -shared -nolocalimports -importcfg $WORK/b039/importcfg -pack /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/oserror/errors.go
cat >/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b041/importcfg << 'EOF' # internal
# import config
packagefile errors=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b003/_pkg_.a
packagefile runtime=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b009/_pkg_.a
EOF
cat >/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b045/importcfg << 'EOF' # internal
# import config
packagefile errors=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b003/_pkg_.a
packagefile internal/bytealg=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b010/_pkg_.a
packagefile unicode/utf8=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b026/_pkg_.a
EOF
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/compile -o $WORK/b034/_pkg_.a -trimpath "$WORK/b034=>" -p io -std -complete -buildid MLMgyFt1oqvFafW35BWi/MLMgyFt1oqvFafW35BWi -goversion go1.22.1 -c=4 -shared -nolocalimports -importcfg $WORK/b034/importcfg -pack /opt/homebrew/Cellar/go/1.22.1/libexec/src/io/io.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/io/multi.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/io/pipe.go
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/compile -o $WORK/b045/_pkg_.a -trimpath "$WORK/b045=>" -p path -std -complete -buildid aohXCG6HqNMOQB2oAuhm/aohXCG6HqNMOQB2oAuhm -goversion go1.22.1 -c=4 -shared -nolocalimports -importcfg $WORK/b045/importcfg -pack /opt/homebrew/Cellar/go/1.22.1/libexec/src/path/match.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/path/path.go
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/compile -o $WORK/b041/_pkg_.a -trimpath "$WORK/b041=>" -p internal/safefilepath -std -complete -buildid XoviHMZXymHmRASfVyFu/XoviHMZXymHmRASfVyFu -goversion go1.22.1 -c=4 -shared -nolocalimports -importcfg $WORK/b041/importcfg -pack /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/safefilepath/path.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/safefilepath/path_other.go
cat >/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b025/importcfg << 'EOF' # internal
# import config
packagefile errors=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b003/_pkg_.a
packagefile internal/bytealg=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b010/_pkg_.a
packagefile math=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b023/_pkg_.a
packagefile math/bits=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b024/_pkg_.a
packagefile unicode/utf8=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b026/_pkg_.a
EOF
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/compile -o $WORK/b025/_pkg_.a -trimpath "$WORK/b025=>" -p strconv -std -complete -buildid fnw60YNUDeRIFc3vTNQS/fnw60YNUDeRIFc3vTNQS -goversion go1.22.1 -c=4 -shared -nolocalimports -importcfg $WORK/b025/importcfg -pack /opt/homebrew/Cellar/go/1.22.1/libexec/src/strconv/atob.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/strconv/atoc.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/strconv/atof.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/strconv/atoi.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/strconv/bytealg.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/strconv/ctoa.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/strconv/decimal.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/strconv/doc.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/strconv/eisel_lemire.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/strconv/ftoa.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/strconv/ftoaryu.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/strconv/isprint.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/strconv/itoa.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/strconv/quote.go
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/buildid -w $WORK/b039/_pkg_.a # internal
cp $WORK/b039/_pkg_.a /Users/romain.marcadier/Library/Caches/go-build/f2/f21508182ab3ad898b878ad39471906f57a29a8869e487cfa281f80156e1bad1-d # internal
mkdir -p $WORK/b038/
echo -n > $WORK/b038/go_asm.h # internal
cd /opt/homebrew/Cellar/go/1.22.1/libexec/src/syscall
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/asm -p syscall -trimpath "$WORK/b038=>" -I $WORK/b038/ -I /opt/homebrew/Cellar/go/1.22.1/libexec/pkg/include -D GOOS_darwin -D GOARCH_arm64 -shared -gensymabis -o $WORK/b038/symabis ./asm_darwin_arm64.s ./zsyscall_darwin_arm64.s
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/buildid -w $WORK/b041/_pkg_.a # internal
cp $WORK/b041/_pkg_.a /Users/romain.marcadier/Library/Caches/go-build/1d/1deedf3410678f76d46f60ea90c8754c6b2a4e2d176251ad3da16754ff9ccb02-d # internal
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/buildid -w $WORK/b045/_pkg_.a # internal
cp $WORK/b045/_pkg_.a /Users/romain.marcadier/Library/Caches/go-build/71/713e3ca0e1b6aaf497398e6ecb11bbd33fd71b127a17a687c3e63740dd550c1c-d # internal
cat >/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b038/importcfg << 'EOF' # internal
# import config
packagefile errors=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b003/_pkg_.a
packagefile internal/abi=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b005/_pkg_.a
packagefile internal/bytealg=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b010/_pkg_.a
packagefile internal/itoa=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b022/_pkg_.a
packagefile internal/oserror=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b039/_pkg_.a
packagefile internal/race=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b028/_pkg_.a
packagefile runtime=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b009/_pkg_.a
packagefile sync=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b027/_pkg_.a
packagefile sync/atomic=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b029/_pkg_.a
EOF
cd /Users/romain.marcadier/Downloads/hello
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/compile -o $WORK/b038/_pkg_.a -trimpath "$WORK/b038=>" -p syscall -std -buildid q41HfsREVs_6PyPFeZDd/q41HfsREVs_6PyPFeZDd -goversion go1.22.1 -symabis $WORK/b038/symabis -c=4 -shared -nolocalimports -importcfg $WORK/b038/importcfg -pack -asmhdr $WORK/b038/go_asm.h /opt/homebrew/Cellar/go/1.22.1/libexec/src/syscall/asan0.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/syscall/bpf_bsd.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/syscall/dirent.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/syscall/endian_little.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/syscall/env_unix.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/syscall/exec_libc2.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/syscall/exec_unix.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/syscall/flock_bsd.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/syscall/forkpipe.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/syscall/msan0.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/syscall/net.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/syscall/rlimit.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/syscall/rlimit_darwin.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/syscall/route_bsd.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/syscall/route_darwin.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/syscall/sockcmsg_unix.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/syscall/sockcmsg_unix_other.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/syscall/syscall.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/syscall/syscall_bsd.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/syscall/syscall_darwin.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/syscall/syscall_darwin_arm64.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/syscall/syscall_unix.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/syscall/time_nofake.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/syscall/timestruct.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/syscall/zerrors_darwin_arm64.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/syscall/zsyscall_darwin_arm64.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/syscall/zsysnum_darwin_arm64.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/syscall/ztypes_darwin_arm64.go
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/buildid -w $WORK/b031/_pkg_.a # internal
cp $WORK/b031/_pkg_.a /Users/romain.marcadier/Library/Caches/go-build/77/77e29b54a855f589729eb9eabfed86ee7acfdfc36c26bedbcb6de5edfdd84421-d # internal
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/buildid -w $WORK/b034/_pkg_.a # internal
cp $WORK/b034/_pkg_.a /Users/romain.marcadier/Library/Caches/go-build/09/0951ede462bc2c09ef85c28546e6ba078c905726aaffec63ce49e6960ab17c84-d # internal
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/buildid -w $WORK/b025/_pkg_.a # internal
cp $WORK/b025/_pkg_.a /Users/romain.marcadier/Library/Caches/go-build/51/513e8626df439a904d097e858c6bffecea32401c5e6f3d336db68ffc7426deef-d # internal
mkdir -p $WORK/b021/
echo -n > $WORK/b021/go_asm.h # internal
cd /opt/homebrew/Cellar/go/1.22.1/libexec/src/reflect
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/asm -p reflect -trimpath "$WORK/b021=>" -I $WORK/b021/ -I /opt/homebrew/Cellar/go/1.22.1/libexec/pkg/include -D GOOS_darwin -D GOARCH_arm64 -shared -gensymabis -o $WORK/b021/symabis ./asm_arm64.s
cat >/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b021/importcfg << 'EOF' # internal
# import config
packagefile errors=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b003/_pkg_.a
packagefile internal/abi=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b005/_pkg_.a
packagefile internal/bytealg=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b010/_pkg_.a
packagefile internal/goarch=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b006/_pkg_.a
packagefile internal/itoa=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b022/_pkg_.a
packagefile internal/unsafeheader=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b008/_pkg_.a
packagefile math=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b023/_pkg_.a
packagefile runtime=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b009/_pkg_.a
packagefile strconv=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b025/_pkg_.a
packagefile sync=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b027/_pkg_.a
packagefile unicode=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b030/_pkg_.a
packagefile unicode/utf8=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b026/_pkg_.a
EOF
cd /Users/romain.marcadier/Downloads/hello
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/compile -o $WORK/b021/_pkg_.a -trimpath "$WORK/b021=>" -p reflect -std -buildid ArP0L12lNzbOO-RKXWYC/ArP0L12lNzbOO-RKXWYC -goversion go1.22.1 -symabis $WORK/b021/symabis -c=4 -shared -nolocalimports -importcfg $WORK/b021/importcfg -pack -asmhdr $WORK/b021/go_asm.h /opt/homebrew/Cellar/go/1.22.1/libexec/src/reflect/abi.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/reflect/deepequal.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/reflect/float32reg_generic.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/reflect/makefunc.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/reflect/swapper.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/reflect/type.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/reflect/value.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/reflect/visiblefields.go
cd /opt/homebrew/Cellar/go/1.22.1/libexec/src/syscall
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/asm -p syscall -trimpath "$WORK/b038=>" -I $WORK/b038/ -I /opt/homebrew/Cellar/go/1.22.1/libexec/pkg/include -D GOOS_darwin -D GOARCH_arm64 -shared -o $WORK/b038/asm_darwin_arm64.o ./asm_darwin_arm64.s
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/asm -p syscall -trimpath "$WORK/b038=>" -I $WORK/b038/ -I /opt/homebrew/Cellar/go/1.22.1/libexec/pkg/include -D GOOS_darwin -D GOARCH_arm64 -shared -o $WORK/b038/zsyscall_darwin_arm64.o ./zsyscall_darwin_arm64.s
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/pack r $WORK/b038/_pkg_.a $WORK/b038/asm_darwin_arm64.o $WORK/b038/zsyscall_darwin_arm64.o # internal
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/buildid -w $WORK/b038/_pkg_.a # internal
cp $WORK/b038/_pkg_.a /Users/romain.marcadier/Library/Caches/go-build/17/17c67534c735938b0ebb90d599711a74cd730bc05fac604b1a67f34fe25a026d-d # internal
mkdir -p $WORK/b042/
cat >/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b042/importcfg << 'EOF' # internal
# import config
packagefile syscall=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b038/_pkg_.a
EOF
mkdir -p $WORK/b040/
cd /Users/romain.marcadier/Downloads/hello
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/compile -o $WORK/b042/_pkg_.a -trimpath "$WORK/b042=>" -p internal/syscall/execenv -std -complete -buildid OKQfgryVHxNVkQwqmuvN/OKQfgryVHxNVkQwqmuvN -goversion go1.22.1 -c=4 -shared -nolocalimports -importcfg $WORK/b042/importcfg -pack /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/syscall/execenv/execenv_default.go
mkdir -p $WORK/b037/
cat >/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b040/importcfg << 'EOF' # internal
# import config
packagefile errors=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b003/_pkg_.a
packagefile runtime=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b009/_pkg_.a
packagefile sync=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b027/_pkg_.a
packagefile syscall=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b038/_pkg_.a
EOF
echo -n > $WORK/b037/go_asm.h # internal
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/compile -o $WORK/b040/_pkg_.a -trimpath "$WORK/b040=>" -p time -std -buildid Ia4WSp91xUgEOr5yUwXz/Ia4WSp91xUgEOr5yUwXz -goversion go1.22.1 -c=4 -shared -nolocalimports -importcfg $WORK/b040/importcfg -pack /opt/homebrew/Cellar/go/1.22.1/libexec/src/time/format.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/time/format_rfc3339.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/time/sleep.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/time/sys_unix.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/time/tick.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/time/time.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/time/zoneinfo.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/time/zoneinfo_goroot.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/time/zoneinfo_read.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/time/zoneinfo_unix.go
cd /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/syscall/unix
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/asm -p internal/syscall/unix -trimpath "$WORK/b037=>" -I $WORK/b037/ -I /opt/homebrew/Cellar/go/1.22.1/libexec/pkg/include -D GOOS_darwin -D GOARCH_arm64 -shared -gensymabis -o $WORK/b037/symabis ./asm_darwin.s ./getentropy_darwin.s
cat >/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b037/importcfg << 'EOF' # internal
# import config
packagefile internal/abi=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b005/_pkg_.a
packagefile syscall=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b038/_pkg_.a
EOF
cd /Users/romain.marcadier/Downloads/hello
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/compile -o $WORK/b037/_pkg_.a -trimpath "$WORK/b037=>" -p internal/syscall/unix -std -buildid XC_5baYk1Kx2pESIDzQq/XC_5baYk1Kx2pESIDzQq -goversion go1.22.1 -symabis $WORK/b037/symabis -c=4 -shared -nolocalimports -importcfg $WORK/b037/importcfg -pack -asmhdr $WORK/b037/go_asm.h /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/syscall/unix/at_libc2.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/syscall/unix/at_sysnum_darwin.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/syscall/unix/constants.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/syscall/unix/eaccess_other.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/syscall/unix/fcntl_unix.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/syscall/unix/getentropy_darwin.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/syscall/unix/kernel_version_other.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/syscall/unix/net.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/syscall/unix/net_darwin.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/syscall/unix/nonblocking_unix.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/syscall/unix/pty_darwin.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/syscall/unix/user_darwin.go
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/buildid -w $WORK/b042/_pkg_.a # internal
cp $WORK/b042/_pkg_.a /Users/romain.marcadier/Library/Caches/go-build/a1/a1c5f5da569d2b869c3ac97b862fa48c4b0eecb286b947ce92f55379a2078132-d # internal
cd /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/syscall/unix
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/asm -p internal/syscall/unix -trimpath "$WORK/b037=>" -I $WORK/b037/ -I /opt/homebrew/Cellar/go/1.22.1/libexec/pkg/include -D GOOS_darwin -D GOARCH_arm64 -shared -o $WORK/b037/asm_darwin.o ./asm_darwin.s
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/asm -p internal/syscall/unix -trimpath "$WORK/b037=>" -I $WORK/b037/ -I /opt/homebrew/Cellar/go/1.22.1/libexec/pkg/include -D GOOS_darwin -D GOARCH_arm64 -shared -o $WORK/b037/getentropy_darwin.o ./getentropy_darwin.s
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/pack r $WORK/b037/_pkg_.a $WORK/b037/asm_darwin.o $WORK/b037/getentropy_darwin.o # internal
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/buildid -w $WORK/b037/_pkg_.a # internal
cp $WORK/b037/_pkg_.a /Users/romain.marcadier/Library/Caches/go-build/cc/ccf454f3adba56d9954ce2ec7d41be6bc3cc4f972007b23b0c8ce150df155c33-d # internal
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/buildid -w $WORK/b040/_pkg_.a # internal
cp $WORK/b040/_pkg_.a /Users/romain.marcadier/Library/Caches/go-build/42/4279d914931e7d743b3f93b02a4ecb7134cb7289d765293553e75fd20bf2c001-d # internal
mkdir -p $WORK/b044/
mkdir -p $WORK/b036/
cat >/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b044/importcfg << 'EOF' # internal
# import config
packagefile errors=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b003/_pkg_.a
packagefile internal/oserror=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b039/_pkg_.a
packagefile io=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b034/_pkg_.a
packagefile path=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b045/_pkg_.a
packagefile sort=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b031/_pkg_.a
packagefile time=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b040/_pkg_.a
packagefile unicode/utf8=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b026/_pkg_.a
EOF
cd /Users/romain.marcadier/Downloads/hello
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/compile -o $WORK/b044/_pkg_.a -trimpath "$WORK/b044=>" -p io/fs -std -complete -buildid 8J86JKTSnXtafaeZcWsz/8J86JKTSnXtafaeZcWsz -goversion go1.22.1 -c=4 -shared -nolocalimports -importcfg $WORK/b044/importcfg -pack /opt/homebrew/Cellar/go/1.22.1/libexec/src/io/fs/format.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/io/fs/fs.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/io/fs/glob.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/io/fs/readdir.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/io/fs/readfile.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/io/fs/stat.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/io/fs/sub.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/io/fs/walk.go
cat >/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b036/importcfg << 'EOF' # internal
# import config
packagefile errors=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b003/_pkg_.a
packagefile internal/syscall/unix=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b037/_pkg_.a
packagefile io=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b034/_pkg_.a
packagefile runtime=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b009/_pkg_.a
packagefile sync=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b027/_pkg_.a
packagefile sync/atomic=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b029/_pkg_.a
packagefile syscall=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b038/_pkg_.a
packagefile time=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b040/_pkg_.a
EOF
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/compile -o $WORK/b036/_pkg_.a -trimpath "$WORK/b036=>" -p internal/poll -std -buildid 4epwllshJ1EN1Y9aoL-m/4epwllshJ1EN1Y9aoL-m -goversion go1.22.1 -c=4 -shared -nolocalimports -importcfg $WORK/b036/importcfg -pack /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/poll/errno_unix.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/poll/fd.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/poll/fd_fsync_darwin.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/poll/fd_mutex.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/poll/fd_opendir_darwin.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/poll/fd_poll_runtime.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/poll/fd_posix.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/poll/fd_unix.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/poll/fd_unixjs.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/poll/fd_writev_libc.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/poll/hook_unix.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/poll/iovec_unix.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/poll/sendfile_bsd.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/poll/sockopt.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/poll/sockopt_unix.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/poll/sockoptip.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/poll/sys_cloexec.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/poll/writev.go
cd /opt/homebrew/Cellar/go/1.22.1/libexec/src/reflect
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/asm -p reflect -trimpath "$WORK/b021=>" -I $WORK/b021/ -I /opt/homebrew/Cellar/go/1.22.1/libexec/pkg/include -D GOOS_darwin -D GOARCH_arm64 -shared -o $WORK/b021/asm_arm64.o ./asm_arm64.s
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/pack r $WORK/b021/_pkg_.a $WORK/b021/asm_arm64.o # internal
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/buildid -w $WORK/b021/_pkg_.a # internal
cp $WORK/b021/_pkg_.a /Users/romain.marcadier/Library/Caches/go-build/f2/f283030f6097c74a76d6844438fc7305221c28530f958b3770d1aeb0bde00d77-d # internal
mkdir -p $WORK/b020/
cat >/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b020/importcfg << 'EOF' # internal
# import config
packagefile reflect=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b021/_pkg_.a
packagefile sort=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b031/_pkg_.a
EOF
cd /Users/romain.marcadier/Downloads/hello
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/compile -o $WORK/b020/_pkg_.a -trimpath "$WORK/b020=>" -p internal/fmtsort -std -complete -buildid ioGoVLSEI5clk6pzLD6g/ioGoVLSEI5clk6pzLD6g -goversion go1.22.1 -c=4 -shared -nolocalimports -importcfg $WORK/b020/importcfg -pack /opt/homebrew/Cellar/go/1.22.1/libexec/src/internal/fmtsort/sort.go
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/buildid -w $WORK/b044/_pkg_.a # internal
cp $WORK/b044/_pkg_.a /Users/romain.marcadier/Library/Caches/go-build/de/de8075c67964b0fdaa45659e51f9f07eb34d2b1c7bb76bcf7980c865f22d0b7f-d # internal
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/buildid -w $WORK/b020/_pkg_.a # internal
cp $WORK/b020/_pkg_.a /Users/romain.marcadier/Library/Caches/go-build/a5/a54bd118a7c95e91a25a9e633f736ed193be5abd886708ae6994f31a1c0d8c53-d # internal
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/buildid -w $WORK/b036/_pkg_.a # internal
cp $WORK/b036/_pkg_.a /Users/romain.marcadier/Library/Caches/go-build/d6/d6ebf5476fcc14512b504712a64c4728b08053470e4db42dc03b25cf5ec130d6-d # internal
mkdir -p $WORK/b035/
cat >/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b035/importcfg << 'EOF' # internal
# import config
packagefile errors=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b003/_pkg_.a
packagefile internal/bytealg=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b010/_pkg_.a
packagefile internal/itoa=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b022/_pkg_.a
packagefile internal/poll=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b036/_pkg_.a
packagefile internal/safefilepath=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b041/_pkg_.a
packagefile internal/syscall/execenv=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b042/_pkg_.a
packagefile internal/syscall/unix=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b037/_pkg_.a
packagefile internal/testlog=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b043/_pkg_.a
packagefile io=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b034/_pkg_.a
packagefile io/fs=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b044/_pkg_.a
packagefile runtime=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b009/_pkg_.a
packagefile sort=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b031/_pkg_.a
packagefile sync=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b027/_pkg_.a
packagefile sync/atomic=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b029/_pkg_.a
packagefile syscall=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b038/_pkg_.a
packagefile time=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b040/_pkg_.a
EOF
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/compile -o $WORK/b035/_pkg_.a -trimpath "$WORK/b035=>" -p os -std -buildid RWzOy_CLc9RdjhnFHozV/RWzOy_CLc9RdjhnFHozV -goversion go1.22.1 -c=4 -shared -nolocalimports -importcfg $WORK/b035/importcfg -pack /opt/homebrew/Cellar/go/1.22.1/libexec/src/os/dir.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/os/dir_darwin.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/os/endian_little.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/os/env.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/os/error.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/os/error_errno.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/os/error_posix.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/os/exec.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/os/exec_posix.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/os/exec_unix.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/os/executable.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/os/executable_darwin.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/os/file.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/os/file_open_unix.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/os/file_posix.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/os/file_unix.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/os/getwd.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/os/path.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/os/path_unix.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/os/pipe_unix.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/os/proc.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/os/rawconn.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/os/removeall_at.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/os/stat.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/os/stat_darwin.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/os/stat_unix.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/os/sticky_bsd.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/os/sys.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/os/sys_bsd.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/os/sys_unix.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/os/tempfile.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/os/types.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/os/types_unix.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/os/wait_unimp.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/os/zero_copy_stub.go
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/buildid -w $WORK/b035/_pkg_.a # internal
cp $WORK/b035/_pkg_.a /Users/romain.marcadier/Library/Caches/go-build/3e/3ea41fe3661a7b253f760954f7c2562ccc6f5f77cac59b23458992f8d3e7cc27-d # internal
mkdir -p $WORK/b002/
cat >/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b002/importcfg << 'EOF' # internal
# import config
packagefile errors=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b003/_pkg_.a
packagefile internal/fmtsort=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b020/_pkg_.a
packagefile io=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b034/_pkg_.a
packagefile math=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b023/_pkg_.a
packagefile os=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b035/_pkg_.a
packagefile reflect=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b021/_pkg_.a
packagefile sort=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b031/_pkg_.a
packagefile strconv=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b025/_pkg_.a
packagefile sync=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b027/_pkg_.a
packagefile unicode/utf8=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b026/_pkg_.a
EOF
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/compile -o $WORK/b002/_pkg_.a -trimpath "$WORK/b002=>" -p fmt -std -complete -buildid XcsFjmC8YVPhkbdx-uLG/XcsFjmC8YVPhkbdx-uLG -goversion go1.22.1 -c=4 -shared -nolocalimports -importcfg $WORK/b002/importcfg -pack /opt/homebrew/Cellar/go/1.22.1/libexec/src/fmt/doc.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/fmt/errors.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/fmt/format.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/fmt/print.go /opt/homebrew/Cellar/go/1.22.1/libexec/src/fmt/scan.go
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/buildid -w $WORK/b002/_pkg_.a # internal
cp $WORK/b002/_pkg_.a /Users/romain.marcadier/Library/Caches/go-build/f5/f55cb5b973280fe71e08b4da7e44f9e39c123796439c4996f865a575fec015fd-d # internal
mkdir -p $WORK/b001/
cat >/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b001/importcfg << 'EOF' # internal
# import config
packagefile fmt=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b002/_pkg_.a
packagefile runtime=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b009/_pkg_.a
EOF
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/compile -o $WORK/b001/_pkg_.a -trimpath "$WORK/b001=>" -p main -lang=go1.22 -complete -buildid yM4T9sEQp_JGa8zv9w5h/yM4T9sEQp_JGa8zv9w5h -goversion go1.22.1 -c=4 -shared -nolocalimports -importcfg $WORK/b001/importcfg -pack ./main.go
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/buildid -w $WORK/b001/_pkg_.a # internal
cp $WORK/b001/_pkg_.a /Users/romain.marcadier/Library/Caches/go-build/92/925feb906300e7e4892b492a7d44230467a5c300457e11cf73d65208a4b0418e-d # internal
cat >/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b001/importcfg.link << 'EOF' # internal
packagefile github.com/RomainMuller/hello-go=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b001/_pkg_.a
packagefile fmt=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b002/_pkg_.a
packagefile runtime=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b009/_pkg_.a
packagefile errors=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b003/_pkg_.a
packagefile internal/fmtsort=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b020/_pkg_.a
packagefile io=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b034/_pkg_.a
packagefile math=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b023/_pkg_.a
packagefile os=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b035/_pkg_.a
packagefile reflect=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b021/_pkg_.a
packagefile sort=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b031/_pkg_.a
packagefile strconv=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b025/_pkg_.a
packagefile sync=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b027/_pkg_.a
packagefile unicode/utf8=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b026/_pkg_.a
packagefile internal/abi=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b005/_pkg_.a
packagefile internal/bytealg=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b010/_pkg_.a
packagefile internal/chacha8rand=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b012/_pkg_.a
packagefile internal/coverage/rtcov=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b013/_pkg_.a
packagefile internal/cpu=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b011/_pkg_.a
packagefile internal/goarch=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b006/_pkg_.a
packagefile internal/godebugs=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b014/_pkg_.a
packagefile internal/goexperiment=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b015/_pkg_.a
packagefile internal/goos=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b016/_pkg_.a
packagefile runtime/internal/atomic=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b017/_pkg_.a
packagefile runtime/internal/math=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b018/_pkg_.a
packagefile runtime/internal/sys=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b019/_pkg_.a
packagefile internal/reflectlite=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b004/_pkg_.a
packagefile math/bits=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b024/_pkg_.a
packagefile internal/itoa=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b022/_pkg_.a
packagefile internal/poll=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b036/_pkg_.a
packagefile internal/safefilepath=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b041/_pkg_.a
packagefile internal/syscall/execenv=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b042/_pkg_.a
packagefile internal/syscall/unix=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b037/_pkg_.a
packagefile internal/testlog=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b043/_pkg_.a
packagefile io/fs=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b044/_pkg_.a
packagefile sync/atomic=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b029/_pkg_.a
packagefile syscall=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b038/_pkg_.a
packagefile time=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b040/_pkg_.a
packagefile internal/unsafeheader=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b008/_pkg_.a
packagefile unicode=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b030/_pkg_.a
packagefile slices=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b032/_pkg_.a
packagefile internal/race=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b028/_pkg_.a
packagefile internal/oserror=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b039/_pkg_.a
packagefile path=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b045/_pkg_.a
packagefile cmp=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b033/_pkg_.a
modinfo "0w\xaf\f\x92t\b\x02A\xe1\xc1\a\xe6\xd6\x18\xe6path\tgithub.com/RomainMuller/hello-go\nmod\tgithub.com/RomainMuller/hello-go\t(devel)\t\nbuild\t-buildmode=exe\nbuild\t-compiler=gc\nbuild\tCGO_ENABLED=1\nbuild\tCGO_CFLAGS=\nbuild\tCGO_CPPFLAGS=\nbuild\tCGO_CXXFLAGS=\nbuild\tCGO_LDFLAGS=\nbuild\tGOARCH=arm64\nbuild\tGOOS=darwin\n\xf92C1\x86\x18 r\x00\x82B\x10A\x16\xd8\xf2"
EOF
mkdir -p $WORK/b001/exe/
cd .
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/link -o $WORK/b001/exe/a.out -importcfg $WORK/b001/importcfg.link -buildmode=pie -buildid=xbrOLm_40E6SEBSGL1uZ/yM4T9sEQp_JGa8zv9w5h/Zggp9jNYXdFkHKBtTcWY/xbrOLm_40E6SEBSGL1uZ -extld=cc $WORK/b001/_pkg_.a
/opt/homebrew/Cellar/go/1.22.1/libexec/pkg/tool/darwin_arm64/buildid -w $WORK/b001/exe/a.out # internal
mv $WORK/b001/exe/a.out hello-go
rm -rf $WORK/b001/

There is a lot happening here... this was intentionally built with an empty GOCACHE, so it shows the full story. Here are some things we can observe:

  • The build operates in temporary directories rooted in one top-level one that is subsequently referred to as $WORK, and which is removed at the very end of the build (unless you pass -work to go build)
  • Each individual go package is built into its own stage directory $WORK/b###
  • Each stage may involve one or more commands:
    • compile creates the _pkg_.a archive from compiling .go files;
    • link creates the final binary by linking all _pkg_.a files together;
    • ...

What is not pictured here is that the go toolchain actually prepares a build plan before executing any of these commands. It loads up the source code and determines what dependencies are needed, which order they should be built in, and what source files are to be compiled ahead of time. That drives the contents of the importcfg (and importcfg.link) files, which are consumed by the compiler and linker to determine where to find the (compiled) code corresponding to all necessary import paths. For example, the following tells the compiler where to find compiled code for cmp and math when building the slices package (all three belong to the standard library):

# import config
packagefile cmp=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b033/_pkg_.a
packagefile math/bits=/var/folders/qh/q2mpbd0j6xsb7vc8dqzdm81h0000gn/T/go-build3809533565/b024/_pkg_.a

The compiler tool uses this information to drive type checking; while the link tool uses this to collect all symbols that are required in order to build the final executable.

Interception with -toolexec, and GOCACHE interaction

The go toolchain provides a simple mechanism for external tooling to interface with this process: the value provided to -toolexec will be prepended to any tool invocation command, allowing it to modify the arguments as it sees fit before invoking the real tool (or another tool, for that matters).

This would mean that the result of a build with -toolexec which modifies tools or arguments passed to the tools could tain the GOCACHE with artifacts that are not fit for other scenarios... In order to prevent this, the GOCACHE keys are based off the -buildid argument that is computed ahead of time by calling each tool with -V=full (and no other argument), asking the tools to display their complete version information. If the -toolexec modifies the output of the -V=full invocations, it'll result in separate GOCACHE entries being used for build artifacts, solving this problem!

Final words

This was only a very high level overview of the Go build process, and I'll probably write more articles to elucidate more details about what's going on and explain what orchestrion is up to (because it is doing fairly interesting stuff in there).