Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/link: ppc64 broken #31565
ppc64 is broken on master & release-branch.go1.11 and go1.12:
I looked at this briefly on one of our ppc64 machines with master. From the error message, it sounds like x.o is created in a way that loadelf.go doesn't like. I was not able to reproduce the same error message that happens in the log.
If I try to run all the tests in cmd/link, I get an error on the statement that does go env CC, however if I just run the single test for TestSectionsWithSameName then it passes. In the output when running them all, it runs some tests, then I see PAUSE, then CONT, and almost as if the environments are getting mixed up between tests.
I must not be running it exactly the same way as the builder does, or the system is different. I was testing on a power8 rh7.6 with gcc 4.8.5 and binutils 2.27. Also some newer gcc versions didn't fail either.