Community Packages

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#69408 - [go]: Please backport Android NDK r22 fix

Attached to Project: Community Packages
Opened by Syrone Wong (wongsyrone) - Friday, 22 January 2021, 23:35 GMT
Last edited by Morten Linderud (Foxboron) - Thursday, 04 February 2021, 23:05 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Morten Linderud (Foxboron)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No



When compiling CGO source file, Android NDK r22 complains `"ld: error: duplicate symbol: x_cgo_inittls"`, the upstream bug report is here:

The corresponding bugfix is, but it doesn't been picked to release branches.

Please backport the fix for Android NDK r22

Additional info:
* package version(s)
go: 2:1.15.7-1
android-ndk(AUR): r22-2
* config and/or log files etc.
Not applicable
* link to upstream bug report, if any

Steps to reproduce:

Just compile a simple CGO program.
This task depends upon

Closed by  Morten Linderud (Foxboron)
Thursday, 04 February 2021, 23:05 GMT
Reason for closing:  Fixed
Additional comments about closing:  2:1.15.8-1
Comment by Syrone Wong (wongsyrone) - Friday, 22 January 2021, 23:40 GMT
Android NDK r21 works fine without the upstream golang fix, while it's annoying to patch golang sources every time when it gets update, it would be better if golang package maintainers can backport the fix for ordinary users who using NDK r22 and above.