Skip to content

cmd/cgo: aix c-archive corrupting stack #68957

Closed
@pmur

Description

@pmur

Go version

master

Output of go env in your module/workspace:

GOARCH=ppc64
GOOS=aix

What did you do?

go test cmd/cgo/internal/testcarchive

What did you see happen?

Various strange failures.

Many c-archive tests are failing. The argc/argv parameters are getting corrupted cause the the test binary to do unexpected things.

What did you expect to see?

All tests pass, and argc/argv parameters to main not get corrupted when c-archives are linked.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions