Hi Ahmad, On Thu, Mar 26, 2020 at 5:00 PM Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx> wrote: > > Hi, > > On 3/26/20 4:31 PM, Yegor Yefremov wrote: > > On Thu, Mar 26, 2020 at 7:36 AM Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> wrote: > > With these changes I get the tools bareboxenv-target etc. cross-compiled: > > > > diff --git a/scripts/compiler.h b/scripts/compiler.h > > index 0891c3bfa..74cd98074 100644 > > --- a/scripts/compiler.h > > +++ b/scripts/compiler.h > > @@ -113,7 +113,7 @@ typedef uint32_t __u32; > > (void) (&_min1 == &_min2); \ > > _min1 < _min2 ? _min1 : _min2; }) > > > > -inline void *xmalloc(size_t size) > > +void *xmalloc(size_t size) > > This has been static inline instead for 2 years now[1]. Please check out a current > barebox revision. > > [1]: 359966df3721 ("scripts/compiler.h: inline functions in headers must be static") You're right, I was experimenting with the old version 2018.x. Sorry for the noise. Yegor _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox