Re: [coreboot] Passing CFLAGS to coreboot make (and reproducible builds)

2017-02-02 Thread Julius Werner
> > Hmm. I must have messed up someting in my earlier tests (maybe they > ran without BUILD_TIMELESS=1?). You're right; the resulting firmware > images do not depend on the build path, so the extra CFLAGS are not > necessary. CBFS binaries (SELFs) cannot contain debug symbols, so -fdebug-prefix

Re: [coreboot] Passing CFLAGS to coreboot make (and reproducible builds)

2017-02-02 Thread Trammell Hudson
On Thu, Feb 02, 2017 at 09:10:09PM +0100, Patrick Georgi via coreboot wrote: > coreboot is normally reproducible: > https://tests.reproducible-builds.org/coreboot/coreboot.html Hmm. I must have messed up someting in my earlier tests (maybe they ran without BUILD_TIMELESS=1?). You're right; the r

Re: [coreboot] Passing CFLAGS to coreboot make (and reproducible builds)

2017-02-02 Thread Patrick Georgi via coreboot
Am 02.02.2017 8:39 nachm. schrieb "Trammell Hudson" : Is there a right way to pass additional compiler flags to the coreboot makefiles? Please add them as a test to util/xcompile/xcompile. We've been working on making the Heads firmware reproducible coreboot is normally reproducible: https://te

Re: [coreboot] Passing CFLAGS to coreboot make (and reproducible builds)

2017-02-02 Thread Trammell Hudson
On Thu, Feb 02, 2017 at 08:55:56PM +0100, Zoran Stojsavljevic wrote: > > Is there a right way to pass additional compiler flags to the coreboot > > makefiles? We've been working on making the Heads firmware reproducible > > and found that the -fdebug-prefix-map option is necessary to deal with > >

Re: [coreboot] Passing CFLAGS to coreboot make (and reproducible builds)

2017-02-02 Thread Zoran Stojsavljevic
> Is there a right way to pass additional compiler flags to the coreboot > makefiles? We've been working on making the Heads firmware reproducible > and found that the -fdebug-prefix-map option is necessary to deal with > different build directories. To make this work with coreboot we ended > pas

[coreboot] Passing CFLAGS to coreboot make (and reproducible builds)

2017-02-02 Thread Trammell Hudson
Is there a right way to pass additional compiler flags to the coreboot makefiles? We've been working on making the Heads firmware reproducible and found that the -fdebug-prefix-map option is necessary to deal with different build directories. To make this work with coreboot we ended passing in en