Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error during garble build #215

Closed
metalrex100 opened this issue Jan 28, 2021 · 26 comments
Closed

Error during garble build #215

metalrex100 opened this issue Jan 28, 2021 · 26 comments
Labels
needs info Requires extra information to be solved

Comments

@metalrex100
Copy link

metalrex100 commented Jan 28, 2021

I'm trying to build my go app binary on MacOs, but build fails with error:

/usr/local/Cellar/go/1.15.5/libexec/pkg/tool/darwin_amd64/link: running clang failed: exit status 1
Undefined symbols for architecture x86_64:
  "_type.path/to/package/types.ZfUYm", referenced from:
      _z09qX.B.func3.2 in go.o
      _z09qX.D.func2.2 in go.o
  "_type.path/to/package/types.ZmSSZ", referenced from:
      _z9sT0.E in go.o
      _z09qX.B.func3.2 in go.o
      _z09qX.D.func2.2 in go.o
  "_type.path/to/package/types.Zn3Fp", referenced from:
      _z9sT0.C in go.o
      _zdZv7.ZEW_L.func1 in go.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

exit status 2
exit status 2

I tried to build it with GOARCH=arm GOOS=linux envs, but build failed with another error:

path/to/package is my package. Sorry, can't write it here)

zdzCF.B: relocation target type.path/to/package/types.ZU31i not defined
zdzCF.F: relocation target type.path/to/package/types.ZHdpV not defined
zHIRS.ZCZ_Z.func1: relocation target type.path/to/package/types.ZHdpV not defined
z3hTq.C.func1.2: relocation target type.path/to/package/types.Z8uvN not defined
z3hTq.C.func1.2: relocation target type.path/to/package/types.ZU31i not defined
z3hTq.B.func1.2: relocation target type.path/to/package/types.Z8uvN not defined
z3hTq.B.func1.2: relocation target type.path/to/package/types.ZU31i not defined
exit status 2
exit status 2

It is the same project as in this issue: #202

Error in #202 issue seems like fixed, but as you can see new one appeared.

I'm using currently lates revision: e014f48

@lu4p
Copy link
Member

lu4p commented Jan 28, 2021

Can you share the code you're trying to obfuscate, or if not a minimally reproducible example? Otherwise we can only guess what happened here.

@metalrex100
Copy link
Author

@lu4p sorry, I can't since it's not an open source code. It's a package with some helper code. Nothing special. No idea, why the error tells about undefined symbols. Usual go build works without any problems.

@lu4p
Copy link
Member

lu4p commented Jan 28, 2021

Do you use //go:linkname somewhere in the package?

@lu4p
Copy link
Member

lu4p commented Jan 28, 2021

Can you run again with garble -x build, and paste the output here?

@lu4p
Copy link
Member

lu4p commented Jan 28, 2021

Also please provide the ouput of go env

@metalrex100
Copy link
Author

go env

GO111MODULE="on"
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/metalrex100/Library/Caches/go-build"
GOENV="/Users/metalrex100/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/metalrex100/go/pkg/mod"
GONOPROXY="path/to"
GONOSUMDB="path/to"
GOOS="darwin"
GOPATH="/Users/metalrex100/go"
GOPRIVATE="path/to/private"
GOPROXY="https://path-to-proxy,direct"
GOROOT="/usr/local/Cellar/go/1.15.5/libexec"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/Cellar/go/1.15.5/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="path/to/project/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/yd/gklnfpxx7dj1y8mxllby05mc0000gn/T/go-build983148863=/tmp/go-build -gno-record-gcc-switches -fno-common"

@metalrex100
Copy link
Author

@lu4p garble does not recognize -x flag

@metalrex100
Copy link
Author

//go:linkname is not used in project

@lu4p
Copy link
Member

lu4p commented Jan 29, 2021

@lu4p garble does not recognize -x flag

I got the flag order mixed up garble build -x

@metalrex100
Copy link
Author

metalrex100 commented Jan 29, 2021

@lu4p here the output. I've replaced some sensitive paths by path/to/package.

garble build -x .
WORK=/var/folders/yd/gklnfpxx7dj1y8mxllby05mc0000gn/T/go-build694105878
mkdir -p $WORK/b001/
cat >$WORK/b001/importcfg.link << 'EOF' # internal
packagefile path/to/package=/Users/metalrex100/Library/Caches/go-build/fd/fd71ac7bacea23f6896e1ac4d4d11d4f41f49c52fa20a557bf249dcd6737b3a1-d
packagefile path/to/package/logger=/Users/metalrex100/Library/Caches/go-build/ba/bac851fd9ed35b280a50d1c1c4d2c52bcda7ebea9d7a9279cf8db1999a377b63-d
packagefile path/to/package/utils/version=/Users/metalrex100/Library/Caches/go-build/1c/1ca7e69c9b3e0b35eb18151cceead73d3962de65599ad8f5b7c5fe48b297faec-d
packagefile path/to/package=/Users/metalrex100/Library/Caches/go-build/fc/fc69d9bf54febf340a466e6a9100e1a4e757ff0b80510da1f564ec580c2566eb-d
packagefile path/to/package=/Users/metalrex100/Library/Caches/go-build/dd/dddaf28f11e065799eff9b2eb3555d11c85eb8cb91497080d689461a02952835-d
packagefile path/to/package=/Users/metalrex100/Library/Caches/go-build/e8/e8fcdeaa3b9a965a91e408861a94c0cb539d69357d1fc85d48fff6af7482f80e-d
packagefile path/to/package=/Users/metalrex100/Library/Caches/go-build/0f/0fddd17a8c4bae3947beb84d19b7a217b228b586862eeff3e3a293ea0339e6ad-d
packagefile path/to/package=/Users/metalrex100/Library/Caches/go-build/da/da07f3d8b64e1ca99e0a54273c75bb90499532ef1c94ecf30653eabf5436ad9d-d
packagefile fmt=/Users/metalrex100/Library/Caches/go-build/41/4171f06b2768457b22f4c5d2ef94cd0b905cfdcef4682d3e683c432a4c061e6f-d
packagefile github.com/galdor/go-cmdline=/Users/metalrex100/Library/Caches/go-build/31/31de048050315ff648b73efd2a5708787e1a50ecebf09f92662acb3ba0dc2a82-d
packagefile os=/Users/metalrex100/Library/Caches/go-build/f3/f3d1336d03fea8aa9b3b97e951bcf21bc505d52b7b2f05b883d4fc4ed20634bf-d
packagefile runtime=/Users/metalrex100/Library/Caches/go-build/c1/c1075e6ef6fe4b7cff7e58af59a43e894e76c8a524b709e0a7b78b5121855863-d
packagefile path/to/package/errs=/Users/metalrex100/Library/Caches/go-build/fe/fe672be827e8263d2b5962e53b02103766101f33271ee285d84494a40341a966-d
packagefile path/to/package/types=/Users/metalrex100/Library/Caches/go-build/56/5654dcf6bfa76be772230da0e694287a676df650b199fbb52c26b60501aa81f7-d
packagefile path/to/package/utils/timeutils=/Users/metalrex100/Library/Caches/go-build/99/9945452905309a3681a74d8528568b98b9eccfa13edb12dfc52c3718eb3fedab-d
packagefile bufio=/Users/metalrex100/Library/Caches/go-build/70/70bef4e23cfb58d7bb1b2a27d3db7cf4fff03ee3a0e117009af2d9217f8c929d-d
packagefile crypto/tls=/Users/metalrex100/Library/Caches/go-build/bb/bb5fcab628d7a8f16d219b6e7c58d2330666326010d914b1a5b97446580cce50-d
packagefile github.com/RackSec/srslog=/Users/metalrex100/Library/Caches/go-build/82/82677816eab0a757e5ab97c8237867ce316a7c62aff7f63ee4fcb884ab798dab-d
packagefile github.com/getsentry/raven-go=/Users/metalrex100/Library/Caches/go-build/20/20589591373feb508f86bb275ce820bbd4782d9c0e71028fad782aeb33044850-d
packagefile github.com/prometheus/client_golang/prometheus=/Users/metalrex100/Library/Caches/go-build/58/5886843ad1de9adeed0ddd76aa69d44673e1ee73cbc7c256db4430f5293cde13-d
packagefile io=/Users/metalrex100/Library/Caches/go-build/be/becda33d39f8be05d1f58e963fa457dff1c9f81b2266ac66594e0db8be828da4-d
packagefile io/ioutil=/Users/metalrex100/Library/Caches/go-build/06/060beabadc6c98a2d94a96ba7ef0f9ff8496b722a94f7612035f67e58c8c156f-d
packagefile log=/Users/metalrex100/Library/Caches/go-build/3e/3ecc8ffaa677b58cd5b61cb3aa900e08446a66957fd1a5a8bac7fe79c954205f-d
packagefile net/http=/Users/metalrex100/Library/Caches/go-build/96/9666de813627f8a55a4984d9fabfee256201e96a242fa3ca5c3b9a246b3d8578-d
packagefile net/http/httputil=/Users/metalrex100/Library/Caches/go-build/ec/ec058d9be1cb145337f7c014abb5935f8c302aa2601df4c37d94f381a168db6e-d
packagefile time=/Users/metalrex100/Library/Caches/go-build/26/26e9eb4ee405874f959182a64caf5d0c0a2be2df9414bd2620d89e1cbf612be6-d
packagefile path/to/package/utils/recover=/Users/metalrex100/Library/Caches/go-build/5a/5a4ff79abc005b01327af1ca24039d39405b89804b9a39a416a1c3d7b5739f3f-d
packagefile path/to/package/waitgroupext=/Users/metalrex100/Library/Caches/go-build/e8/e8c68ba888b92507091d8eebd92a496b9b77034a82f251da95fbf05b981bd90a-d
packagefile path/to/package=/Users/metalrex100/Library/Caches/go-build/fa/fa656493c6a8d04c2956eaf49757f56dda1d6f140f8389fd681cceb9208b5b4f-d
packagefile path/to/package=/Users/metalrex100/Library/Caches/go-build/c4/c476725006d2f6a5fa030a68e59d3dec9c11425a31ca467a1882acbe3b5829d7-d
packagefile net/http/pprof=/Users/metalrex100/Library/Caches/go-build/3a/3a04b6154d3a35f7e6c7a24ec236d412ce634e0da7d6cad1f9fca14e9cd0ed33-d
packagefile os/signal=/Users/metalrex100/Library/Caches/go-build/4f/4ff128cb2584a042b88a35abffa6e494e8a715f8971f94bc16a1e11fa7239286-d
packagefile github.com/caarlos0/env=/Users/metalrex100/Library/Caches/go-build/08/08fb9cbbd47938095b11951ab84fb24ebacbcf44342b0f9d34aaf2a47963c734-d
packagefile path=/Users/metalrex100/Library/Caches/go-build/b9/b9acf59bafa0bf621ddbe51f188792311e27cc2340086b1c9e0853b357b3db24-d
packagefile path/filepath=/Users/metalrex100/Library/Caches/go-build/9a/9af599f879df286b27dfafe1af078224a68d9aed838a324895f0f52151cf92c8-d
packagefile regexp=/Users/metalrex100/Library/Caches/go-build/1d/1d55a400696255c9641e699654c61624982279ddbbc2e0ff645fa1024095b0cb-d
packagefile strings=/Users/metalrex100/Library/Caches/go-build/a9/a9e33443a2aca7a89cf66ee5b19b1ecd7f1c7e625d4923047bfa58b5d54c02dc-d
packagefile path/to/package=/Users/metalrex100/Library/Caches/go-build/64/646fc528f23ac556fab78c744d09c26cf2e4d1d2d6d7b5854cdea3abbf2545b1-d
packagefile context=/Users/metalrex100/Library/Caches/go-build/87/873fc9d8dec6abe7264caaec3febdbb3806c44b027e3fa5aefcc611242dc3b45-d
packagefile github.com/opentracing/opentracing-go=/Users/metalrex100/Library/Caches/go-build/81/8141c532a9e288fa09affd2e47a4b18ae0f819d532152d3331352ac7b577a01f-d
packagefile github.com/pkg/errors=/Users/metalrex100/Library/Caches/go-build/08/088ace17035d1bf0c18799df712754b8601c9ac497d099eed591140cf84faa70-d
packagefile github.com/uber/jaeger-client-go=/Users/metalrex100/Library/Caches/go-build/42/428b3651293dbc2ece51ca1c93748ef6b68ff69b55f0a171bb472d7140a728e9-d
packagefile github.com/uber/jaeger-client-go/config=/Users/metalrex100/Library/Caches/go-build/b9/b98351a641c1e25829ea0c5fd48e09461355fdfc035020af522d65df3b29a3d7-d
packagefile path/to/package/mqtt=/Users/metalrex100/Library/Caches/go-build/50/508a6de512d220296e27fcad342027801a52062d23ca19eba516e13827e51753-d
packagefile path/to/package/utils/structutils=/Users/metalrex100/Library/Caches/go-build/b3/b3455f779cb06b9b761178b1fa71d05e1f6f6dbdf659257695e9723e31d70de8-d
packagefile path/to/package=/Users/metalrex100/Library/Caches/go-build/4f/4feb1ea382a05fda8f49247009cdd0f82c73b4acb643fc8e390c860bf65dc9be-d
packagefile path/to/package=/Users/metalrex100/Library/Caches/go-build/15/15c40c6252dc048206ee7aa3187007541b2a23c8693be236bc1204175f6e6b06-d
packagefile encoding/json=/Users/metalrex100/Library/Caches/go-build/60/602995da21512968aecad97b0a32a64e635f887f2badbbf6dca9b693855ecb42-d
packagefile github.com/rcrowley/go-metrics=/Users/metalrex100/Library/Caches/go-build/f8/f816ce3b3864204dbad932953e0b8cfe7de10735d7ce6fedbd045a5d3bf5563b-d
packagefile os/exec=/Users/metalrex100/Library/Caches/go-build/38/3862ed1734b28f9fd16a5436fe458942d6d752fff76398dc52a9cb636b3fa7af-d
packagefile reflect=/Users/metalrex100/Library/Caches/go-build/0d/0d156f333be76a28515841dab4e53a535c6c6894f59b200aeef7a468b19c839f-d
packagefile strconv=/Users/metalrex100/Library/Caches/go-build/f9/f9c187492dc0bab1f485068420233de00a4ccf3f152acc8e8369dd5b9dca8262-d
packagefile path/to/package=/Users/metalrex100/Library/Caches/go-build/86/868fa7c98e3c3edc16fc7a1b12c5b0fef83cce46ab9c425e062a49781f497cb9-d
packagefile path/to/package=/Users/metalrex100/Library/Caches/go-build/6b/6bdecff6caba32234c34e75d600c15477ca7019f88887f39fa278f98a333bc9f-d
packagefile path/to/package=/Users/metalrex100/Library/Caches/go-build/2b/2b8326fd3bc6b5e473cf7d080e7bcdf8cb135f85431e53c5dcfa09bda6719ace-d
packagefile path/to/package=/Users/metalrex100/Library/Caches/go-build/49/49e4f487769aa91193ddc67b4beb792992f2cba41acf1a2f627986cb272669ac-d
packagefile path/to/package=/Users/metalrex100/Library/Caches/go-build/19/19e666937a419d114d2bed0f5bf91d9bb33c8ed60d006bc401ba90fffd15f2ab-d
packagefile path/to/package=/Users/metalrex100/Library/Caches/go-build/28/28ba2178ca5c28dfa3bce8ab7e56136d56f7268d181986d81080e4b3f7c22fe8-d
packagefile path/to/package=/Users/metalrex100/Library/Caches/go-build/bb/bb6fe33145b322e9624d402dbe2532f7950095dc0f833bc1fb05a322de0329f9-d
packagefile errors=/Users/metalrex100/Library/Caches/go-build/8a/8a83b4b3dd382711656d8e94e9fd17303aa9ae9b55e082d03e820b3b150fe105-d
packagefile internal/fmtsort=/Users/metalrex100/Library/Caches/go-build/aa/aaabc794a349213a0909603cd2024517fc2f73f4e80ba3934bd711d3c31c1faa-d
packagefile math=/Users/metalrex100/Library/Caches/go-build/a6/a6c1101af48693176bf71a4d989f9faf32238c06ad30dceb17ab2784949ddccc-d
packagefile sync=/Users/metalrex100/Library/Caches/go-build/1c/1cc73cd63deee4fafc78a1546c2ed1b9fa523975ebaf7eaba29bb5cdbc6be61e-d
packagefile unicode/utf8=/Users/metalrex100/Library/Caches/go-build/69/6915d25c1c48e33001bdff1470ce5e3c8b5260467eabbf1159f850080bcc4331-d
packagefile bytes=/Users/metalrex100/Library/Caches/go-build/72/72909b60fca7f7990997223f0effb90cd99c0ca5177ad2a4d868e87296896d32-d
packagefile sort=/Users/metalrex100/Library/Caches/go-build/e5/e5de07884455a70cb9a501173ef741a218bace1ea1c19b014c1a0e0b1260db84-d
packagefile internal/oserror=/Users/metalrex100/Library/Caches/go-build/28/284815afe6f8065468094f0e3c1a86a02c9885877a2cdc5b5fcfd3fdd8b79092-d
packagefile internal/poll=/Users/metalrex100/Library/Caches/go-build/ba/ba743d9c967144fad4c7cec6ab4ba0aff93c2c504b48f6abfd4c309883d4cafe-d
packagefile internal/syscall/execenv=/Users/metalrex100/Library/Caches/go-build/dd/dddcb8258bfa8d5b50aa3670b7f41d21b2d35d72ddf0aaee37d0f35340a07992-d
packagefile internal/syscall/unix=/Users/metalrex100/Library/Caches/go-build/af/afba1a0c14a1709a0ba0ea6cb153112e57e4638b5eab5d59dc6de636bc5323b5-d
packagefile internal/testlog=/Users/metalrex100/Library/Caches/go-build/b8/b8b7cb83eff2a50ab0634a53ab6d569c7b2caf4a2e01c06a59bacbe95dec0af3-d
packagefile sync/atomic=/Users/metalrex100/Library/Caches/go-build/f3/f3c60cc512db2bfb242c76a1f5af60d73ca2becf6ad4da5a5ca82736cf4453a5-d
packagefile syscall=/Users/metalrex100/Library/Caches/go-build/dd/ddd6f54c271fc0f95dca7bee786e20774d9b40130dc359936c3d77852d22708a-d
packagefile internal/bytealg=/Users/metalrex100/Library/Caches/go-build/0d/0ddd1689190f8415370b900872b4d729a81c9903a1cb091495acc9c8ba6c32e3-d
packagefile internal/cpu=/Users/metalrex100/Library/Caches/go-build/dc/dcb4ad45e82a872547c8b8c79a6d172596466dfaa59932aae61a8fb73d3a2540-d
packagefile runtime/internal/atomic=/Users/metalrex100/Library/Caches/go-build/c8/c8be4fe0809240f8ab70a8e7f197134bf59d8d59edb79b4a0087876b14e07e14-d
packagefile runtime/internal/math=/Users/metalrex100/Library/Caches/go-build/c1/c19a10ed46fb8fa8e7376b1a370e5e0d6cd122fb441c7c5e8ccd571831925f0a-d
packagefile runtime/internal/sys=/Users/metalrex100/Library/Caches/go-build/2e/2eca4ff554205ec913bffa9174c34f2921d59550a28dabc9f2b1ca89efb16742-d
packagefile container/list=/Users/metalrex100/Library/Caches/go-build/14/145ad0bb4ce3212e7ce6e06098d54931e6ec7e47c639b95bbf52028876783d9c-d
packagefile crypto=/Users/metalrex100/Library/Caches/go-build/ea/eaf3076083b5a9098d4a8c8bb4a0da72f56066802fa07e0eddea6a7f7151830d-d
packagefile crypto/aes=/Users/metalrex100/Library/Caches/go-build/30/30d1737156542e669b5bba9fa189cce7e1f61934344b2b202b2b945ae85d73f1-d
packagefile crypto/cipher=/Users/metalrex100/Library/Caches/go-build/2d/2d5af1d92be5f7dd777ace6fa7ffae78f8b6eaf1ce0184562bba6c0e3fb112c1-d
packagefile crypto/des=/Users/metalrex100/Library/Caches/go-build/ec/ec0138609d3ca52bf4ec6ce4a55e8e32a9689a0543882e0d1de931cf2f3a2726-d
packagefile crypto/ecdsa=/Users/metalrex100/Library/Caches/go-build/0e/0e1cbf8d23b59a44e648894363ad5d559a1177fb5ea9aeef30933e11e26a6b40-d
packagefile crypto/ed25519=/Users/metalrex100/Library/Caches/go-build/7a/7a2fa86ad2c43e302041b9db5696a247e665f942edc75df675dbc94b82c1ce6c-d
packagefile crypto/elliptic=/Users/metalrex100/Library/Caches/go-build/46/46b259ba23d906c4ab5b73d469cda8ff9ca519625194d51397f6eda0e1b77843-d
packagefile crypto/hmac=/Users/metalrex100/Library/Caches/go-build/00/004eb75c8792f3e6ee5f88140131be5fdba5205add95c2ed05320a2ec72e0341-d
packagefile crypto/md5=/Users/metalrex100/Library/Caches/go-build/50/50687a45a680c7c69717ecaf3dcb4ec3ecc75306e486f464081c3e4654eace2c-d
packagefile crypto/rand=/Users/metalrex100/Library/Caches/go-build/28/2822de61f15a0dbcb4f09bf67164d95a93782d408c3f86691c4a0e9e7e34f393-d
packagefile crypto/rc4=/Users/metalrex100/Library/Caches/go-build/84/84e6ba79c179a95b33835a5ed0f33b8a33ac6e3893fb4f11cf54cf69503c29b4-d
packagefile crypto/rsa=/Users/metalrex100/Library/Caches/go-build/75/758944128e67e04ee5a0180d54e81e20ea88bc2c9b63ecc7f4a59766554cc542-d
packagefile crypto/sha1=/Users/metalrex100/Library/Caches/go-build/ae/ae1f6720fadc5a4a2eb27ca8968740b077b76b0d9087d92afcb3947159143ce5-d
packagefile crypto/sha256=/Users/metalrex100/Library/Caches/go-build/2d/2d90d7c267ce476c63c1a62b399b52dfe21f51ced50c6762c543fc8f0b5d4c4a-d
packagefile crypto/sha512=/Users/metalrex100/Library/Caches/go-build/4a/4a2b6bed94a014b62da51d7a35b6b8bbdb605014903a8b693d6de9e456ead024-d
packagefile crypto/subtle=/Users/metalrex100/Library/Caches/go-build/60/60513f663f9a7b6621a9e1318403b150f2c3c60847f8984d21ee2a620d50bd99-d
packagefile crypto/x509=/Users/metalrex100/Library/Caches/go-build/00/003c577e2ab329216d4c3f4f54cb320cee83bc74940cd3f1ccfa7f5f943d27c2-d
packagefile encoding/pem=/Users/metalrex100/Library/Caches/go-build/3e/3e8ea3e8900a46760641bdf2758b6cf2f60f1f310d56513d26bf1db6355f86ed-d
packagefile vendor/golang.org/x/crypto/chacha20poly1305=/Users/metalrex100/Library/Caches/go-build/6c/6c942ad326b61f8fa998179afc0302312de6a0d7be5cdfa8821825c2e6162b5d-d
packagefile vendor/golang.org/x/crypto/cryptobyte=/Users/metalrex100/Library/Caches/go-build/6f/6f4b4bee586f0a38234ab12f9da1779ca5a6f06e9735480212f70ae4f8268653-d
packagefile vendor/golang.org/x/crypto/curve25519=/Users/metalrex100/Library/Caches/go-build/21/21c5a1344a842d5db3c0c9b35a1adfb3f770ba4fb96e335d93e3f660dca06655-d
packagefile vendor/golang.org/x/crypto/hkdf=/Users/metalrex100/Library/Caches/go-build/bb/bbd7db8812093315a192c62af4707ef0f8970bcf9cedb7676895482234892f61-d
packagefile hash=/Users/metalrex100/Library/Caches/go-build/89/891783cd74516cb00b74537284376cf10abbb3ad8d554776bb57509c703db676-d
packagefile math/big=/Users/metalrex100/Library/Caches/go-build/74/740d14d136fceeb6eca51df8553a3f79b9e81cc15d567aa722f4b228f43eb134-d
packagefile net=/Users/metalrex100/Library/Caches/go-build/96/96334657514c07e440e24301f61da7642a1850d7b50de28614b23a3b33475598-d
packagefile compress/zlib=/Users/metalrex100/Library/Caches/go-build/e1/e1e261c67ad88a5ea5d6e13fabae3c6f623849f1111beb17ab3817343f24040c-d
packagefile encoding/base64=/Users/metalrex100/Library/Caches/go-build/35/355c0d4f3586cb18bf56ee302db44e426e9707970fb6bc1e1c8b009d1b648cc8-d
packagefile encoding/hex=/Users/metalrex100/Library/Caches/go-build/3b/3b2fb8cbb1186643a44208956f973eaecff42dd02e877bd4cb28d46fb6dd9084-d
packagefile github.com/certifi/gocertifi=/Users/metalrex100/Library/Caches/go-build/df/df4ccadf02d16b2c77e881e0e37930d558854453cfccc3ba59419757d4f4374b-d
packagefile go/build=/Users/metalrex100/Library/Caches/go-build/d9/d9550867c9a3e6d360548e4da3e148d22701b2017a2666f59e1d3974fbad53d1-d
packagefile math/rand=/Users/metalrex100/Library/Caches/go-build/5e/5ede280cf55990830dc3c8181563feb2f56e194477afbd1d0807efd9b9f4944b-d
packagefile net/url=/Users/metalrex100/Library/Caches/go-build/4e/4e3dd5e24ad537284a8f165603c4c3051e40455c235aab95807905574bc674e0-d
packagefile runtime/debug=/Users/metalrex100/Library/Caches/go-build/6d/6d4b962c3c15ff78e8a3979375ecf2ea2eefd92756c542f8c83f2f82cbba3975-d
packagefile expvar=/Users/metalrex100/Library/Caches/go-build/ed/eda87dc9554696293c01a2b8f6fb4ac7bebecdd118483caa66d2fa2b99c5abcb-d
packagefile github.com/beorn7/perks/quantile=/Users/metalrex100/Library/Caches/go-build/b4/b475c23751266fb7adc0b2508d240b264f6e824b257f2edd368aa1e5f4505227-d
packagefile github.com/golang/protobuf/proto=/Users/metalrex100/Library/Caches/go-build/d7/d79d5d4966f5317ee7ecfdcbe46d046fe5da2370f7be473eebac7aa3427422a5-d
packagefile github.com/prometheus/client_golang/prometheus/internal=/Users/metalrex100/Library/Caches/go-build/49/4947668acbc205c057042e7771dda39a9162d07e6041be94ac01d36e8093f5f9-d
packagefile github.com/prometheus/client_model/go=/Users/metalrex100/Library/Caches/go-build/03/038a080bd083dba06b78c7187dbf3172a5aba3b44fee542303b3135c4de21852-d
packagefile github.com/prometheus/common/expfmt=/Users/metalrex100/Library/Caches/go-build/b3/b340ccc39036879fd5bd9998946165bd77a88c42672d6dbd3b94ecafbc6fcf68-d
packagefile github.com/prometheus/common/model=/Users/metalrex100/Library/Caches/go-build/43/43ef099197e5b80fca42c2b25e29700c9851a83107f67276f5dc60e12201a562-d
packagefile github.com/prometheus/procfs=/Users/metalrex100/Library/Caches/go-build/fd/fdeb755aff86c4b7c9b9114e5690f5cc3169dda33bdc020acc78119e78041673-d
packagefile compress/gzip=/Users/metalrex100/Library/Caches/go-build/2c/2c8527ff5128ea1c34730c80ff513c8f3575eda7d8ee351d1fe1b7949c72db0d-d
packagefile encoding/binary=/Users/metalrex100/Library/Caches/go-build/6a/6a92aac2d373876777fc589f74625bdf457ebdbb5f79579f4b38a1bb87fcec14-d
packagefile vendor/golang.org/x/net/http/httpguts=/Users/metalrex100/Library/Caches/go-build/a5/a53964363321eb41ddf9af3daf053979576be86203fb0d5382ce8e0e5b5f21e9-d
packagefile vendor/golang.org/x/net/http/httpproxy=/Users/metalrex100/Library/Caches/go-build/0e/0e9b3443705e1dee87e1dc0e0db89facd11eaf51f4231be89cafaa3322d425d1-d
packagefile vendor/golang.org/x/net/http2/hpack=/Users/metalrex100/Library/Caches/go-build/ae/aeea96a611448739b9c556b30a2f3c5da1e0c169f09645efc7e49c0fcbeb1141-d
packagefile vendor/golang.org/x/net/idna=/Users/metalrex100/Library/Caches/go-build/cb/cbf594b96aeaad9e977be57eafa4c6ca810366e9beb895d7cb6960a46bc08450-d
packagefile mime=/Users/metalrex100/Library/Caches/go-build/3a/3a03eee2b64c8d09a01f492095be5562ba71b3c88ff24d3713d43723826b639f-d
packagefile mime/multipart=/Users/metalrex100/Library/Caches/go-build/5f/5f6d1c2dfab26c4200e9772aa29d7a59753a9e8cb3a96357b9082248e58bf051-d
packagefile net/http/httptrace=/Users/metalrex100/Library/Caches/go-build/20/206f2ed77250c13b405d2816ee7c0b9b4c194620ed0dc7c97886c20009da21d1-d
packagefile net/http/internal=/Users/metalrex100/Library/Caches/go-build/ba/ba303beff7db1ce5a4656614dda9f23697de5d5372bb07884ab820dec8227f13-d
packagefile net/textproto=/Users/metalrex100/Library/Caches/go-build/31/31c4478bd8ca9acf3497680c94ff52cbcd99bf63130feca863daf3db5a77e203-d
packagefile path/to/package=/Users/metalrex100/Library/Caches/go-build/12/12814af93757c60abd9bcde61a2c297d5e72d315d93142f9eebda767b7795d83-d
packagefile path/to/package=/Users/metalrex100/Library/Caches/go-build/45/4543922c3bec2c77c6446b1b5b6ca6d754f4bd0ef0a99c5afe839ef320cf786e-d
packagefile path/to/package=/Users/metalrex100/Library/Caches/go-build/fe/fe483af03cae2decdd0fbb43bceaf4ab30bff5b37fbea90f9661d201ebd5b933-d
packagefile path/to/package=/Users/metalrex100/Library/Caches/go-build/b6/b6161afa94387b95170f31d5c360867ccd8db626307ff17e1fbbd28a600f93c7-d
packagefile path/to/package=/Users/metalrex100/Library/Caches/go-build/3f/3fef806f14bc6c51c3851c6e0a2abfbfba5e24eeaba03f1ae2a3f3273fb4d672-d
packagefile path/to/package=/Users/metalrex100/Library/Caches/go-build/ab/ab67a39e4452371eb48ce8685af3cf21bb0c142107a79fad3d7e79644ba37b06-d
packagefile path/to/package=/Users/metalrex100/Library/Caches/go-build/af/af8b46a708762ccfbedb7bd059daa556fc0561c8a9f1c29390403766eca4c7ea-d
packagefile path/to/package=/Users/metalrex100/Library/Caches/go-build/9f/9f22d7d003f9c958f8ddcdec99531b38537ea38a542e3e65234f3f9b905e4e7e-d
packagefile path/to/package=/Users/metalrex100/Library/Caches/go-build/27/270189a057744ce451ddd39a7b2376b7101e5c37a7820c77e405e6859b98a2a2-d
packagefile path/to/package=/Users/metalrex100/Library/Caches/go-build/51/51e5b65b2e5842f4c7c3e21f6809095525e23e33d3ce6ec23a9ec57e6affbb92-d
packagefile path/to/package=/Users/metalrex100/Library/Caches/go-build/4b/4bbf0bf7d5b8aba3a7db60a3074d8f944ed7f5f3623f1f9a8d2dd03576575a5a-d
packagefile html/template=/Users/metalrex100/Library/Caches/go-build/5b/5b439d11dec425ea63fe3bccbcd6ff1b45bd05a8e567e80ef658668a072e3e83-d
packagefile internal/profile=/Users/metalrex100/Library/Caches/go-build/f1/f12b568095ff6f751ea6cf60de8f4d4c777bac3f08a100bf8a750d4f1a2aef0b-d
packagefile runtime/pprof=/Users/metalrex100/Library/Caches/go-build/ae/aeb9d14f4297872023504794be01bba6f2f8644b05d2b5a73fee1b08a0382e8a-d
packagefile runtime/trace=/Users/metalrex100/Library/Caches/go-build/65/656d74aaa2796d5350b20dfe123a653e06dd7b65f2e0a980cfd730175b907d61-d
packagefile encoding=/Users/metalrex100/Library/Caches/go-build/0b/0bf295c4edcfdc7c1a3383ae5f417defd829305d5beba911b818839ea04f6e11-d
packagefile regexp/syntax=/Users/metalrex100/Library/Caches/go-build/97/97ac8487bfc7564072d876a89d7dfb0472c5c551eb4f6c1f76bd1e08a43cead6-d
packagefile unicode=/Users/metalrex100/Library/Caches/go-build/bb/bb7127fb071f05234a8f37f01a53b11e810519a872f2c8f28ae355e7add3272b-d
packagefile path/to/package=/Users/metalrex100/Library/Caches/go-build/f2/f2f76564700adfcb3b242dda68ec50a4e644954769475cc5a7ff23ae41d2c231-d
packagefile path/to/package=/Users/metalrex100/Library/Caches/go-build/12/122f2d8897c2474ba04d25b586f6cde802254442e02f7f49099f0501d2cf5414-d
packagefile path/to/package=/Users/metalrex100/Library/Caches/go-build/53/5374e271179e02a4d8bfe6735add47265ead7f9d31a1c601483cddbcd7398efd-d
packagefile path/to/package=/Users/metalrex100/Library/Caches/go-build/c8/c808a15fc2988d3e6265349c273bf61fe2ea3b2b6ea47fa0ee153f1444a88f28-d
packagefile path/to/package=/Users/metalrex100/Library/Caches/go-build/9d/9dacb37ae66ddd543474587414b30f0382cb85d70eb6e3dd4a71f3ce5d1fb187-d
packagefile path/to/package=/Users/metalrex100/Library/Caches/go-build/c0/c07ebac57461c6fabb2a148222d0ce087a60ebd8dcb8f0516d966883d170c6b9-d
packagefile path/to/package=/Users/metalrex100/Library/Caches/go-build/ca/cadca9137b001fe7c2b3c4e8711864944c270b33dc9f652eecfbda6eb46d3125-d
packagefile path/to/package=/Users/metalrex100/Library/Caches/go-build/79/79aa7f032732777cf3fe35c5f744080a4218e67c9e73c4d98b9a158e1ab03df0-d
packagefile path/to/package=/Users/metalrex100/Library/Caches/go-build/40/40d4bb3e182e2139da76b793d424fee7ea35447b4457280e49cb60d063ffb9eb-d
packagefile path/to/package=/Users/metalrex100/Library/Caches/go-build/c6/c6b322ae835c27d3c28f84537d10aa922af324a6aeff00f7044bf90beba2c7b6-d
packagefile path/to/package=/Users/metalrex100/Library/Caches/go-build/b2/b2f4330a1003f4c1a702090534d4c7085f5b3d3ccc55ff59685a710fd90a9eb7-d
packagefile internal/reflectlite=/Users/metalrex100/Library/Caches/go-build/52/521648d1abbd91091b786a29ba7d3e4f31714c762074a1d6be812f8ab21d850c-d
packagefile github.com/opentracing/opentracing-go/log=/Users/metalrex100/Library/Caches/go-build/b0/b096c4375c53b1d2fe2a4785af504026f5c36562506925996dfad6c7e10d6751-d
packagefile github.com/opentracing/opentracing-go/ext=/Users/metalrex100/Library/Caches/go-build/7a/7a02219f33b658eaab6cdeeb926f9cff555f090a9bf00a036d0c1fb05e58f4a8-d
packagefile github.com/uber/jaeger-client-go/internal/baggage=/Users/metalrex100/Library/Caches/go-build/41/41c25911b94f23bd0e829157afce45f28b8e8bb272ad398066631a215d8bf343-d
packagefile github.com/uber/jaeger-client-go/internal/spanlog=/Users/metalrex100/Library/Caches/go-build/c5/c56803b14e9b38d99e918394533eb3a374149345132d0c0e13e127a175698b81-d
packagefile github.com/uber/jaeger-client-go/internal/throttler=/Users/metalrex100/Library/Caches/go-build/ae/ae470442f1e86d9796111ae01a19fc257d7426ed99bf0adfe67288b36e7faf4b-d
packagefile github.com/uber/jaeger-client-go/log=/Users/metalrex100/Library/Caches/go-build/b5/b5589290dee58b098c829b9b54b8ffd6c3f16124bbde6c92ffa18dfd46fdadce-d
packagefile github.com/uber/jaeger-client-go/thrift=/Users/metalrex100/Library/Caches/go-build/ae/ae77fe283ca6e061b4b3d1768a6c0062ffd0b81d3c24339f0c32486e389b124a-d
packagefile github.com/uber/jaeger-client-go/thrift-gen/jaeger=/Users/metalrex100/Library/Caches/go-build/2c/2c422d246c60d610274b6e37df2a4eafa0645d87b21f4502fbc163d7b1a1ac13-d
packagefile github.com/uber/jaeger-client-go/thrift-gen/sampling=/Users/metalrex100/Library/Caches/go-build/e8/e8b66f88e5cf9d05b6984819f04982a5a1d24c84622c50bcaff4a378e7e3f0b7-d
packagefile github.com/uber/jaeger-client-go/thrift-gen/zipkincore=/Users/metalrex100/Library/Caches/go-build/6b/6b70b4711aced08fdfca4ec5dd5104cdb6cba18edbb041837691c0197b485bb2-d
packagefile github.com/uber/jaeger-client-go/utils=/Users/metalrex100/Library/Caches/go-build/ca/ca36723693e933ac352821a057003b5e3e77b0939186088049f67c869512dc63-d
packagefile github.com/uber/jaeger-lib/metrics=/Users/metalrex100/Library/Caches/go-build/cf/cfdcd22682b90a86c81894df8cf8d5858476e2fbe2567e3f35d8192aced4afc7-d
packagefile github.com/uber/jaeger-client-go/internal/baggage/remote=/Users/metalrex100/Library/Caches/go-build/3a/3afbfa4958dcae69cc47c406be872dbfa542349612b0e9406a84a34a7152115a-d
packagefile github.com/uber/jaeger-client-go/internal/throttler/remote=/Users/metalrex100/Library/Caches/go-build/47/47ec04d38980da846adf6457e5d53123dad53e6302c4c5d8013499bf2b9c9314-d
packagefile github.com/uber/jaeger-client-go/rpcmetrics=/Users/metalrex100/Library/Caches/go-build/50/509a8a8b5c588ed2103a1470eb47794a6f146ccc2d5246fb8a5db1e5a23fb8dd-d
packagefile github.com/uber/jaeger-client-go/transport=/Users/metalrex100/Library/Caches/go-build/fe/fe1b7c25f0ce493e6f0162cae9dbedd0cd5a5f265663f28b231b1b1ad104ad21-d
packagefile path/to/package=/Users/metalrex100/Library/Caches/go-build/79/79ad0690250468dbc7e030df28d44d1cd52b9ab0a47cfacb58b28529cffff56d-d
packagefile github.com/eclipse/paho.mqtt.golang=/Users/metalrex100/Library/Caches/go-build/00/000a10a505c2ffaf57c08e83907881a9fbfc024ec264dfb24f7b3ee2f02290fc-d
packagefile path/to/package=/Users/metalrex100/Library/Caches/go-build/ab/ab305d6fe697a1719b794c5363b5388500c4b25d2663a955d6f67c77b3d2cb1f-d
packagefile unicode/utf16=/Users/metalrex100/Library/Caches/go-build/80/802bb66841477aa1ab686b0b0ad774fee6b8e1bec54eab2fe6d9ed70b8323163-d
packagefile log/syslog=/Users/metalrex100/Library/Caches/go-build/3c/3c7b0aefca25102da9503b4c62c6ad7fabebc358234db9c0fb12e12571bbf801-d
packagefile internal/unsafeheader=/Users/metalrex100/Library/Caches/go-build/36/3665ad935f74048c595b04f7b0809b27de9f8ae27c2b725bef79c308afaecaef-d
packagefile math/bits=/Users/metalrex100/Library/Caches/go-build/a0/a010ca2e1c06d4c24212e52a46f7e9ca52a8af08b0c5d3c5e4156a8df3fb5523-d
packagefile internal/race=/Users/metalrex100/Library/Caches/go-build/87/87aeb2ce901a8c8154086171f3ae8bf954a822cba071c3753883a3a10422dad8-d
packagefile crypto/internal/subtle=/Users/metalrex100/Library/Caches/go-build/23/23eba5fc23cae5fd03f4d841154099fd1a6b68cfcf6ff44a9f108ce504bb13c0-d
packagefile crypto/internal/randutil=/Users/metalrex100/Library/Caches/go-build/6b/6b2af61024b579e7903978c204b2cce1665ab4f5bbab63b0a58b87943e3f6936-d
packagefile vendor/golang.org/x/crypto/cryptobyte/asn1=/Users/metalrex100/Library/Caches/go-build/36/3688e3b43e53552438d9b7ac034152d47d765d4a57c09dd5d4ffb0993d73652d-d
packagefile crypto/ed25519/internal/edwards25519=/Users/metalrex100/Library/Caches/go-build/8b/8b7930e778fccfeeb68268031366928be53707fe8fbafe286f87ac9f26f24f28-d
packagefile crypto/dsa=/Users/metalrex100/Library/Caches/go-build/e8/e8ac92642f651f0caaaccdd0296c0db0d9c3376b26446b7ad304756c357fd8f6-d
packagefile crypto/x509/internal/macos=/Users/metalrex100/Library/Caches/go-build/de/de8926d841ce67e8108f6a22a1ba0a8a407db16b2d2a53f0f33bedb60b984d84-d
packagefile crypto/x509/pkix=/Users/metalrex100/Library/Caches/go-build/86/863231ef1542ec852a19c4b8866f5dc0bbbff38927c982f9b0acf610db6296b3-d
packagefile encoding/asn1=/Users/metalrex100/Library/Caches/go-build/7b/7b39f685d709b3f1140057d88a9935ada407cd9ea47f6b0dc6b5bda17efffbf0-d
packagefile runtime/cgo=/Users/metalrex100/Library/Caches/go-build/a4/a4448b75f8f147a72e47935f78c3a7ef8ff889186b188ab6e7ea9e22f0f30894-d
packagefile vendor/golang.org/x/crypto/chacha20=/Users/metalrex100/Library/Caches/go-build/c3/c36ef74b69f8bf358ebf5a3d91b58c6ec73300d0979b5b9eafd8d9e4780e524e-d
packagefile vendor/golang.org/x/crypto/internal/subtle=/Users/metalrex100/Library/Caches/go-build/1b/1bfe15c4c924afc4191bef92394c7af06a0ed9e23622655384b1c59a52e6d976-d
packagefile vendor/golang.org/x/crypto/poly1305=/Users/metalrex100/Library/Caches/go-build/8c/8c032eb6b7268618d47486a25dccf0f24eba662758aed05ba4d5d19dec81fd6f-d
packagefile vendor/golang.org/x/sys/cpu=/Users/metalrex100/Library/Caches/go-build/13/13c6014755f81a5affcf3d20cf75022b4a2b54d7f3b49eb187b01e6454790af5-d
packagefile vendor/golang.org/x/net/dns/dnsmessage=/Users/metalrex100/Library/Caches/go-build/10/10f9026f0c67dd0b49f378cb7cbed0afd0ffb7dcade2060ec7637f4e56f4d9de-d
packagefile vendor/golang.org/x/net/route=/Users/metalrex100/Library/Caches/go-build/64/64b3627c9d46425cf3b3c45ef54718fe54e68dc1398d6235f8bfe410e58a8e34-d
packagefile internal/nettrace=/Users/metalrex100/Library/Caches/go-build/09/09e3b64dba8faa7f025b83941b6498dbfd935a5847a8ef4fc060767e748290c0-d
packagefile internal/singleflight=/Users/metalrex100/Library/Caches/go-build/62/62acaa944ac8ea196b54062927af28dce46d1068f7045d2b78b13b8ded6a0f8a-d
packagefile compress/flate=/Users/metalrex100/Library/Caches/go-build/85/858cd7dd2bf1990ac3686bed5fc9078f1cba9700d16e9e76e9146963a77e6e81-d
packagefile hash/adler32=/Users/metalrex100/Library/Caches/go-build/d4/d486065b376aac54c572eac7af804f60e68f8fedd0ff2f5fcb5c2f7eeb3f18c1-d
packagefile go/ast=/Users/metalrex100/Library/Caches/go-build/90/90dcd95205a073d9491dde55a1c6687d36418fac31ff0aa3673ab909e5d790cb-d
packagefile go/doc=/Users/metalrex100/Library/Caches/go-build/0c/0c5659158803961a38bc2891f9859d9a5da8d47e4f9d7ef8295fe0fd941719f8-d
packagefile go/parser=/Users/metalrex100/Library/Caches/go-build/d9/d98f94e854fae0dc690f0b16a18e56b67f81975f62c70dd61632198c83786cf5-d
packagefile go/token=/Users/metalrex100/Library/Caches/go-build/d2/d20e614b96aae44fb1d6e6df047e3a9590c56f3b6f96d58f77879f3f82fd052b-d
packagefile internal/goroot=/Users/metalrex100/Library/Caches/go-build/22/228e83d6b3ea9b7ada510cd48c7c56d847716134dcfc8bc4125bac6f81fed7db-d
packagefile internal/goversion=/Users/metalrex100/Library/Caches/go-build/67/6735bdece2c016c7a0651b0ea175095fd004ba64c7d746990cc114b86dccfc18-d
packagefile github.com/matttproud/golang_protobuf_extensions/pbutil=/Users/metalrex100/Library/Caches/go-build/ed/ed1b50bd658b43ca3daedbddc04e2f5648e342afe722d02d9676d68a72f2a5bc-d
packagefile github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg=/Users/metalrex100/Library/Caches/go-build/af/af8966699573712c392894b97db2bb21880543ec6e14defd0b4476968464e3ce-d
packagefile github.com/prometheus/procfs/internal/fs=/Users/metalrex100/Library/Caches/go-build/e7/e76116f3499d7f586ecdae9e4be7280f4caa112c3716a238e81f9e2f0147d093-d
packagefile hash/crc32=/Users/metalrex100/Library/Caches/go-build/df/df77714fb5c42ae0da71dce64efef427156885c475f83a304a7e6c2462962c6b-d
packagefile vendor/golang.org/x/text/secure/bidirule=/Users/metalrex100/Library/Caches/go-build/d6/d682959fdf8b21a0684139f4d3790e356ec3f3141f21daee7f85ac7abe662726-d
packagefile vendor/golang.org/x/text/unicode/bidi=/Users/metalrex100/Library/Caches/go-build/76/76363b759bb885b42ddef5547814f5a6551e7cd2d1fd806dd895dba7e64e5a19-d
packagefile vendor/golang.org/x/text/unicode/norm=/Users/metalrex100/Library/Caches/go-build/fc/fc280a19a68902b6e004e907c1e69490153ab9e1ac16e5a1986cbd2cd1f1638c-d
packagefile mime/quotedprintable=/Users/metalrex100/Library/Caches/go-build/69/69e6e701d805f35134a7e65c8c4e045f337dea7cc9854bc1b9c5fc3890661872-d
packagefile path/to/package=/Users/metalrex100/Library/Caches/go-build/d2/d23885e901bfdd0b4fe97957a33a3a02ad046282e5f1b1268476a9de4cab87ad-d
packagefile path/to/package=/Users/metalrex100/Library/Caches/go-build/53/5359d5787ae9c0c2781740bbc284bcaa34ac6b6b8af86b0aac2b5b89f246295b-d
packagefile path/to/package=/Users/metalrex100/Library/Caches/go-build/5a/5a5e55c0011fb691437650547fa21c33e7b32ee9732ab720453e4bc3fb78e40c-d
packagefile path/to/package=/Users/metalrex100/Library/Caches/go-build/a9/a91fee3c61cdf2233e1158d423782d69b515b98f82f6209e46eaa076fb67ed21-d
packagefile path/to/package=/Users/metalrex100/Library/Caches/go-build/f4/f45a254bbe1845bd98c98ce92527d20bb23f70864179d3ab9c61471d64b3e003-d
packagefile path/to/package=/Users/metalrex100/Library/Caches/go-build/5d/5d690aca794c09fb03009a965228955e93348981e926f04ad0c613f403f91217-d
packagefile path/to/package=/Users/metalrex100/Library/Caches/go-build/e9/e91eaddd3cd0be9bddc826780c40720ed520ac4e0bd04de3c8d227974fb78e29-d
packagefile github.com/RobinUS2/golang-moving-average=/Users/metalrex100/Library/Caches/go-build/c1/c180578a16fe1021ff2224d93975c5d67e5c08333d874d950a690fae9eaa0e4a-d
packagefile path/to/package=/Users/metalrex100/Library/Caches/go-build/02/0274c05c82218f15917fa81f3702c1b48811fed7ac425325fb79f31e1d34c7f2-d
packagefile path/to/package=/Users/metalrex100/Library/Caches/go-build/04/04d6b117fa92b38b7a2530a4b9e12b3064c349a6acb08028cb6522f65bd9d6cc-d
packagefile github.com/go-ble/ble=/Users/metalrex100/Library/Caches/go-build/f3/f3a66948d235bb6936d09cd00cf0202b8ab301d9b2369ee94cfe70591232ad7a-d
packagefile github.com/go-ble/ble/examples/lib/dev=/Users/metalrex100/Library/Caches/go-build/a7/a79bba70fc3d42336904e29fab39956baabce1f89f8f82aae686efb05accea09-d
packagefile path/to/package=/Users/metalrex100/Library/Caches/go-build/47/47a135a24e2897971c1edd42ed2b7a9f968ff1116989494cd59563e5cff73cee-d
packagefile html=/Users/metalrex100/Library/Caches/go-build/a7/a73b8e439bf694dc06bc3cd374fb3579d3436fb5a304869777695100b91059ab-d
packagefile text/template=/Users/metalrex100/Library/Caches/go-build/24/24e2cb92a729c76d8a2ab4a35b2d5659bcdad7fd715cb0b05a98351c6d7d4cb1-d
packagefile text/template/parse=/Users/metalrex100/Library/Caches/go-build/ee/eefa0f2a6a00496611383bc38596f4ec23f182b7ba30450195f6facf5f560646-d
packagefile text/tabwriter=/Users/metalrex100/Library/Caches/go-build/f3/f30026ccec5bb7fddfcab583bf2745b2ecde47d69ccf19feb75a2dc5ba9996e7-d
packagefile github.com/uber/jaeger-client-go/thrift-gen/agent=/Users/metalrex100/Library/Caches/go-build/90/90cfd55531afcc86f9dde1957b40a974ac3c7fa3a6d601ec5aed71e3eff265ce-d
packagefile github.com/uber/jaeger-client-go/thrift-gen/baggage=/Users/metalrex100/Library/Caches/go-build/ec/ecfafd79a4edaf0e836805835db76284f9725e8e1d0bac6f0026f079f6ddae83-d
packagefile github.com/eclipse/paho.mqtt.golang/packets=/Users/metalrex100/Library/Caches/go-build/b6/b692930a8c88372425acf3456fe17e61d24dd96496d9e6d46072c8270ac64659-d
packagefile golang.org/x/net/proxy=/Users/metalrex100/Library/Caches/go-build/d9/d9ca6226f47a76c5c7c4c0469cecd495b8eb2961199d3727b9fe0512e421fc00-d
packagefile golang.org/x/net/websocket=/Users/metalrex100/Library/Caches/go-build/8e/8ec6694834d54d6c8d48c94adb614031e15fe4ffeab607c11c5e167d399c0f52-d
packagefile go/scanner=/Users/metalrex100/Library/Caches/go-build/9a/9a4569ff37c904619bd9d60696edf3c4cbf009216df314977c659ece2863016b-d
packagefile internal/lazyregexp=/Users/metalrex100/Library/Caches/go-build/2a/2a87e811c63c8933c3051e2a12b2dde9fbb9da5c82f256044674d45d82750f36-d
packagefile vendor/golang.org/x/text/transform=/Users/metalrex100/Library/Caches/go-build/46/4651f0cd1a2cf30b5affe160449d741090828d634b6d105db2bc4d743801d9f4-d
packagefile github.com/JaderDias/movingmedian=/Users/metalrex100/Library/Caches/go-build/23/23adf1ec97b5f883658460661539a7cdc97ca0d1cbb28092276bf0c4bf15227e-d
packagefile container/ring=/Users/metalrex100/Library/Caches/go-build/bb/bb2024533581d772477ccef4d8e324a03866a7c74fd77932967f890b07d913d6-d
packagefile github.com/go-ble/ble/linux/hci/cmd=/Users/metalrex100/Library/Caches/go-build/f8/f849a2d4ead4a652fcf73564c7008f30aa3cca8c6350da304d5d44c928d564d3-d
packagefile github.com/go-ble/ble/darwin=/Users/metalrex100/Library/Caches/go-build/91/919671e6534cb41eba36bc9d0add04caa8e8e60cc4c307e8ca5786c21775c442-d
packagefile golang.org/x/net/internal/socks=/Users/metalrex100/Library/Caches/go-build/9b/9bbff657a7105a8ef73fe6dd17334271d98f1fa3f5a38030fe29f172f22ceb3f-d
packagefile container/heap=/Users/metalrex100/Library/Caches/go-build/e4/e4e7418687f09b435a84bc87f7d443a16c8d7d64b645aecdee9f041e976bfe5c-d
packagefile github.com/mgutz/logxi/v1=/Users/metalrex100/Library/Caches/go-build/88/88dbc3699c3f99b604302cda7f4429dfb060731d7ec5071a4ed8a9e76660ced8-d
packagefile github.com/raff/goble/xpc=/Users/metalrex100/Library/Caches/go-build/71/71cb552b9486e6845d1b176bf36cf8b44d58bc31ea6d427e8cb18a672e6b5071-d
packagefile github.com/mattn/go-colorable=/Users/metalrex100/Library/Caches/go-build/f3/f31ad2eaba6e679973f8425a93988e45b715c915085001c6c649c4935c4fdbb5-d
packagefile github.com/mattn/go-isatty=/Users/metalrex100/Library/Caches/go-build/83/83ad9b55215d3f039aad4df4f91dda2fc53562c18663091561a0b8398169c4db-d
packagefile github.com/mgutz/ansi=/Users/metalrex100/Library/Caches/go-build/3a/3a38ee9d4e43f604b8af106e1e6f0c36fbb9538b8c4b6aae2105e9aa45a93af7-d
EOF
mkdir -p $WORK/b001/exe/
cd .
GOROOT_FINAL='go' /Users/metalrex100/go/bin/garble /usr/local/Cellar/go/1.15.5/libexec/pkg/tool/darwin_amd64/link -o $WORK/b001/exe/a.out -importcfg $WORK/b001/importcfg.link -buildmode=exe -buildid=PmLCL-OI_2FgpXiZTyB7/6XNpCyFQgr6mwAAlJbW5/O203QXMNwl1a80EpD81J/PmLCL-OI_2FgpXiZTyB7 -extld=clang /Users/metalrex100/Library/Caches/go-build/fd/fd71ac7bacea23f6896e1ac4d4d11d4f41f49c52fa20a557bf249dcd6737b3a1-d
# path/to/package
/usr/local/Cellar/go/1.15.5/libexec/pkg/tool/darwin_amd64/link: running clang failed: exit status 1
Undefined symbols for architecture x86_64:
  "_type.path/to/package/types.ZcR1s", referenced from:
      _zKz8j.C.func1.2 in go.o
      _zKz8j.B.func1.2 in go.o
  "_type.path/to/package/types.ZxAv7", referenced from:
      _zxDWD.E in go.o
      _zKz8j.C.func1.2 in go.o
      _zKz8j.B.func1.2 in go.o
  "_type.path/to/package/types.ZxVSZ", referenced from:
      _zxDWD.C in go.o
      _ztEnk.ZBiQV.func1 in go.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

exit status 2
exit status 2

@metalrex100
Copy link
Author

@lu4p I think I can share the pkg code, where error occurs.
types package consists of 4 files:

file chan.go:

package types

import "time"

type CloseCh chan bool

type TimeChan chan time.Time

type BoolCh chan bool

type StringCh chan string

type ByteCh chan []byte

type InterfaceCh chan interface{}

file flag.go

package types

const (
	Flag_on     = 2
	Flag_off    = 1
	Flag_notSet = 0
)

type Flag int

func (f *Flag) Set() {
	*f = Flag_on
}

func (f *Flag) Clear() {
	*f = Flag_off
}

func (f *Flag) IsInited() bool {
	if *f != Flag_notSet {
		return true
	}
	return false
}

func (f *Flag) IsValid() bool {
	if *f == Flag_on || *f == Flag_off {
		return true
	}
	return false
}

func (f *Flag) IsSet() bool {
	if *f == Flag_on {
		return true
	}
	return false
}

func (f *Flag) IsCleared() bool {
	if *f == Flag_off {
		return true
	}
	return false
}

func (f *Flag) ToInt() int {
	return int(*f)
}

func (f *Flag) ToBool() bool {
	if *f == Flag_on {
		return true
	}
	return false
}

func NewSetFlag() Flag {
	return Flag_on
}

func NewClearedFlag() Flag {
	return Flag_off
}

func NewFlagFromBool(v bool) Flag {
	if v {
		return Flag_on
	} else {
		return Flag_off
	}
}

func IntToFlag(iValue int) Flag {
	return (Flag)(iValue)
}

file map.go

package types

import "time"

type MapStrStr map[string]string

type MapStrInterface map[string]interface{}

type MapStrInt map[string]int

type MapStrTime map[string]time.Time

type MapStrBool map[string]bool

type MapStrUint64 map[string]uint64

type MapStrFloat32 map[string]float32

type MapStrFloat64 map[string]float64

type MapStrError map[string]error

type Dictionary map[string]map[string]string

func NewDictionary(key string, items MapStrStr) Dictionary {
	return Dictionary{key: items}
}

func NewEmptyDictionary() Dictionary {
	return make(Dictionary, 0)
}

file mqtt.go

package types

import "time"

type MqttMsg struct {
	Id      string
	Data    string
	RcvTime time.Time
}

type MqttMsgCh chan MqttMsg

@capnspacehook
Copy link
Contributor

Looks like a CGO error to me? I see clang throwing a linker error, are you using CGO at all or is Go just implicitly using CGO because you're compiling for ARM? I've never compiled Go code to ARM before so I have no experience in that

@metalrex100
Copy link
Author

@capnspacehook last info I provided was about amd64 build, not arm.

@mvdan mvdan added the needs info Requires extra information to be solved label Feb 3, 2021
@mvdan
Copy link
Member

mvdan commented Feb 3, 2021

I'm going to label this "needs info" for now, because it's not a clear bug that we can reproduce or fix. I think, in general, bug reports without a way to reproduce the error will be hard to fix.

@metalrex100
Copy link
Author

@mvdan I gave all info that was requested.
I think it’s pretty usual case when some non open-source code can’t be fully shared to reproduce some errors)

@mvdan
Copy link
Member

mvdan commented Feb 3, 2021

Indeed. It's just hard to request information in pieces when we don't know what the bug is about.

I think it’s pretty usual case when some non open-source code can’t be fully shared to reproduce some errors)

Yes, which is why I've been thinking about bug templates recently. I've opened #219 to automate this process some more.

@metalrex100
Copy link
Author

@mvdan I sent full errors code (with only replaced paths to packages). May be garble does not provide enough error context?

@mvdan
Copy link
Member

mvdan commented Feb 3, 2021

Right. Which is why there's also #218.

@metalrex100
Copy link
Author

@mvdan when errors description will be extended, I will try to run garble on my project to provide more info.

lu4p added a commit to lu4p/ToRat that referenced this issue Feb 28, 2021
The base image has been updated to the latest go 1.15 release,
updates burrowers/garble#215
@mvdan
Copy link
Member

mvdan commented Mar 2, 2021

@metalrex100 can you please try again? Some major refactors have been merged in the past week. We don't automatically fill a bug template just yet, but if we're lucky maybe your bug happened to be caused by the same problems that the refactors fixed.

@metalrex100
Copy link
Author

metalrex100 commented Mar 2, 2021

@mvdan thanks for the update.

I tried to build my app with garble latest version. And build finished successfully! (if it's important, build has been done with golang version: 1.16)
I will test if obfuscated binary works as expected and will return to you with results.

@metalrex100
Copy link
Author

@mvdan I faced with linker flags usage problem:

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x88 pc=0x126b57d]

goroutine 1 [running]:
main.transformLink.func1(0x7ffeefbff28b, 0x5d)
        /Users/metalrex100/go/pkg/mod/mvdan.cc/[email protected]/main.go:1260 +0x17d
main.flagValueIter(0xc0000a8e20, 0x2f, 0x2f, 0x12e278e, 0x2, 0xc000129e28)
        /Users/metalrex100/go/pkg/mod/mvdan.cc/[email protected]/main.go:1410 +0x1e9
main.transformLink(0xc0000a8e20, 0x30, 0x36, 0x4, 0xc000114648, 0x23, 0x12dfd60, 0x0)
        /Users/metalrex100/go/pkg/mod/mvdan.cc/[email protected]/main.go:1241 +0x1b9
main.mainErr(0xc0000a8e10, 0x31, 0x37, 0x37, 0x0)
        /Users/metalrex100/go/pkg/mod/mvdan.cc/[email protected]/main.go:287 +0x389
main.main1(0xc000096058)
        /Users/metalrex100/go/pkg/mod/mvdan.cc/[email protected]/main.go:150 +0xe7
main.main()
        /Users/metalrex100/go/pkg/mod/mvdan.cc/[email protected]/main.go:83 +0x25

@metalrex100
Copy link
Author

The good news: garble works with //go:embed feature.

@metalrex100
Copy link
Author

@mvdan I will close current issue since initial bug has been resolved. For bug with linker args usage new issue will be opened.

@tzwel
Copy link

tzwel commented Dec 23, 2021

this is solved, check my comment below

no matter what I do - the error persists
flag provided but not defined:

tried this simple code

package main

func main() {
	println("test")
}

and ran garble build -tiny test.go, still can't compile and throws the error
go version go1.17.5 windows/amd64
garble version v0.4.0

the only flag that seems to work is -o
not sure what information to provide so you can reproduce the bug

@tzwel
Copy link

tzwel commented Dec 23, 2021

for anyone looking for solution - put your flags before build!!!
for example - garble -tiny build test.go

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs info Requires extra information to be solved
Development

No branches or pull requests

5 participants