Fedora Account System
Red Hat Associate
Red Hat Customer
Created attachment 1338927 [details] Proposed change to go macros Description of problem: For snapd, I need to specify that some components need to be built statically because they get bind-mounted into sandbox environments that may or may not have a compatible libc. However, it is not possible to specify additional external ldflags without messing up the set used for the C components, too. Please add a way to inject additional extldflags through a macro. I propose a %__golang_extldflags macro that, if defined with stuff, will be added right into the extldflags call. I'd like this to be fixed across the board (Fedora 25, Fedora 26, Fedora 27, and Rawhide) if possible. Version-Release number of selected component (if applicable): 1-11.fc26 Additional info: This affects Fedora 25, Fedora 27, and Rawhide in addition to Fedora 26.
Created attachment 1338928 [details] Revised proposed change to go macros Oops, forgot to change it for the other case. Added that too.
I do not know what's required for this to work with gcc-go, so I ask that someone please figure that out too. :)
Looks reasonable to me. I have pushed it in to rawhide and f27. Please test and if everything works I can do back port to f26. PS: sorry for longer notice
go-compilers-1-15.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-d56d15a5d7
go-compilers-1-15.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-d56d15a5d7
go-compilers-1-15.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.