-
Notifications
You must be signed in to change notification settings - Fork 18k
x/text/unicode/norm: TestLinking consistently failing on multiple builders #34209
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
Comments
/cc @dr2chase @cherrymui @jeremyfaller |
Friendly ping. This issue currently has the label Soon, which is for regressions, serious bugs, and outages. This doesn't seem to qualify for that, so I'll remove the Soon label. |
Sorry 'bout that. Probably got lost in the runup to 1.14 freeze. I'll take a look. |
No problem, and thank you Jeremy. I just wanted to update our list of Soon issues. |
My guess is that this is due to alignment padding between segments. It seems the failures are all on architectures with large alignment (usually 0x10000 i.e. 64K). Worst case the alignment padding can increase the binary size by 64K, which can shadow the 50K difference we're looking for. If the test is checking if the table is dropped by the linker, maybe use the nm command to look for particular symbols? |
Or it can add the size of sections without the paddings. But then it needs to be OS dependent: will need codepaths for ELF, Mach-O, xcoff, etc.. |
Or the test can use linker's -R flag to reduce the alignment. This might cause problems at run time, but we don't run the resulted binaries. |
Change https://golang.org/cl/221104 mentions this issue: |
See previously #32843.
TestLinking
appears to be failing consistently on the following builders:linux-arm
(https://build.golang.org/log/367d5667c1ab0411c469fb3ff70496dec84e41e0)linux-arm64-packet
(https://build.golang.org/log/a52ea14003e838e42ca1cd2b4082435838e79631)linux-ppc64le-buildlet
(https://build.golang.org/log/6c896381e8a1c82f113eb45978ff309dd893513e)linux-ppc64le-power9osu
(https://build.golang.org/log/8b01ed9d81fbc80df42ad31a20de438c946f9ec0)The failures are all similar, but the reported numbers vary by platform.
If a test failure on these platforms is expected, the test should be skipped.
The text was updated successfully, but these errors were encountered: