[Buildroot] [External] - [PATCH] package/attr: fix build failure on Microblaze architecture

Vincent Fazio vfazio at xes-inc.com
Tue Feb 6 16:38:58 UTC 2024


Thomas, 

> -----Original Message-----
> From: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
> Sent: Tuesday, February 6, 2024 10:26 AM
> To: Vincent Fazio <vfazio at xes-inc.com>
> Cc: Giulio Benetti <giulio.benetti at benettiengineering.com>;
> buildroot at buildroot.org; Fabrice Fontaine <fontaine.fabrice at gmail.com>
> Subject: Re: [External] - [Buildroot] [PATCH] package/attr: fix build failure on
> Microblaze architecture
> 
> Hello Vincent,
> 
> On Tue, 6 Feb 2024 16:05:31 +0000
> Vincent Fazio <vfazio at xes-inc.com> wrote:
> 
> > Would it make sense to patch GCC for Microblaze to address these at
> > the compiler level instead of constantly patching the packages?
> >
> > I tested https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101766#c6 back
> > when we were solving this problem for xz and had no issues
> > https://gcc.gnu.org/pipermail/gcc/2023-March/240834.html
> 
> It would definitely make sense of course. Have you been able to get the
> necessary changes accepted in upstream GCC ?
> 

The mailing list conversation died out very quickly, but I can try to submit the patch for this specific fixup.

I didn't feel comfortable with migrating all of Microblaze to elfos.h as that got very nasty, very quickly and the only change we (Buildroot) need is the `ASM_OUTPUT_SYMVER_DIRECTIVE` macro.
 
> Thanks!
> 
> Thomas
> --
> Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel
> engineering and training https://bootlin.com



More information about the buildroot mailing list