-
-
Notifications
You must be signed in to change notification settings - Fork 344
Closed
Description
What version of Garble and Go are you using?
latest garble
go 1.22rc1
What environment are you running Garble on?
happens on all environments, see this action run, https://github.com/chenrui333/garble/actions/runs/7280828786/job/19840079094
What did you do?
setup go 1.22rc1 and run go test --race -timeout=20m ./...
What did you expect to see?
pass the tests
What did you see instead?
tests failed
--- FAIL: TestScript (0.15s)
--- FAIL: TestScript/ldflags (19.05s)
testscript.go:534: # Note the proper domain, since the dot adds an edge case.
#
# Also note that there are three forms of -X allowed:
#
# -X=name=value
# -X name=value
# -X "name=value" (or with single quotes, allows spaces in value) ([19](https://github.com/chenrui333/garble/actions/runs/7280828786/job/19840079094#step:6:20).049s)
> env LDFLAGS='-X=main.unexportedVersion=v1.22.33 -X=main.replacedWithEmpty= -X "main.replacedWithSpaces= foo bar " -X=domain.test/main/imported.ExportedUnset=garble_replaced -X=domain.test/missing/path.missingVar=value -X=main.someType=notAVariable'
> exec garble build -ldflags=${LDFLAGS}
[stderr]
# internal/chacha8rand
$WORK/.tmp/garble-shared75670532/OsogyD_oW/Ib6vi6Lf.s:55: ABI selector only permitted when compiling runtime, reference was to "OsogyD_oW.zA5rHYMs"
asm: assembly of $WORK/.tmp/garble-shared75670532/OsogyD_oW/Ib6vi6Lf.s failed
exit status 1
exit status 1
[exit status 1]
FAIL: testdata/script/ldflags.txtar:10: unexpected command failure
--- FAIL: TestScript/syntax (19.46s)
testscript.go:534: > exec garble build
[stderr]
# internal/chacha8rand
$WORK/.tmp/garble-shared2415[20](https://github.com/chenrui333/garble/actions/runs/7280828786/job/19840079094#step:6:21)8593/OsogyD_oW/Ib6vi6Lf.s:55: ABI selector only permitted when compiling runtime, reference was to "OsogyD_oW.zA5rHYMs"
asm: assembly of $WORK/.tmp/garble-shared[24](https://github.com/chenrui333/garble/actions/runs/7280828786/job/19840079094#step:6:25)15208593/OsogyD_oW/Ib6vi6Lf.s failed
exit status 1
exit status 1
[exit status 1]
FAIL: testdata/script/syntax.txtar:1: unexpected command failure
relates to Homebrew/homebrew-core#157782
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels