[rb-general] Reproducible build of a GCC cross-compiler?
richard.purdie at linuxfoundation.org
richard.purdie at linuxfoundation.org
Wed Jun 12 13:07:14 UTC 2019
On Wed, 2019-06-12 at 14:42 +0200, Sebastian Huber wrote:
> Hello Richard,
>
> On 07/06/2019 14:42, richard.purdie at linuxfoundation.org wrote:
> > > How did you propagate the settings to the newly built cross
> > > compiler
> > > invoked to build the target libraries?
> > We already pass in various compiler flags when building things so
> > we
> > included the right options for reproducibility as well.
> >
> > > It would be nice if I could build the cross compiler and the
> > > target
> > > libraries at an arbitrary location and then install the binaries
> > > and
> > > sources at some prefix. If I debug an application it will find
> > > the
> > > Newlib sources in the prefix automatically.
> > Yocto Project's builds and SDKs can be run or installed at
> > arbitrary
> > locations without changing the build output result. We also have
> > fairly
> > good debug symbol/debug source handling for the target (split into
> > separate but linked objects which can be optionally installed).
>
> do you have a log of the cross compiler build which shows the GCC
> configure command line? An example for a proven reproducible build
> would be a big help for me.
There is a lot more to it than that, I'd suggest you make a Yocto
Project test build following our quick start.
Cheers,
Richard
More information about the rb-general
mailing list