-
Notifications
You must be signed in to change notification settings - Fork 4
Description
Is your feature request related to a problem? Please describe.
We need to be able to have the Go toolchain output input manifests for go compilations. The first step is to make a proof of concept of this working with the tools that we have created so far.
Describe the solution you'd like
We should use the omnibor-go module to generate an input manifest from the go toolchain during the go compilation. This means vendoring the omnibor-go module, finding a spot in gc (Go compiler), and adding code to generate an input manifest using the vendored module. Once done, we can manually check that the input manifest generated is correct. Lastly in order to continue onto the next step of the linker we need to embed the manifest ID so that calls to link the generated go object files can access the manifests that were generated for them.
Definition of Done
- Vendor this (omnibor-go) module into the go toolchain code (fork of golang/go)
- Determine correct location in the go code to add omnibor-go module calls
- Add calls to generate input manifest and embed manifest ID
- Check that generated input manifest is correct
- Check that correct manifest ID is embedded