pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: mk/mesa.buildlink3.mk: MESA_TYPE



I'm getting an error when trying to build with the default gcc version
12.5.0 on netbsd-11 (error below). Seems to build fine with
GCC_REQD=13 or 14...

Thanks

David

In file included from ../src/intel/compiler/jay/jay_private.h:8,
                 from src/intel/compiler/jay/jay_nir_algebraic.c:1:
../src/intel/compiler/jay/jay_ir.h:521:22: error: expected identifier
or '(' before ':' token
  521 | enum jay_predication : uint8_t {
      |                      ^
../src/intel/compiler/jay/jay_ir.h:595:25: error: field 'predication'
has incomplete type
  595 |    enum jay_predication predication;
      |                         ^~~~~~~~~~~
../src/intel/compiler/jay/jay_ir.h: In function 'jay_inst_has_default':
../src/intel/compiler/jay/jay_ir.h:645:29: error:
'JAY_PREDICATED_DEFAULT' undeclared (first use in this function)
  645 |    return I->predication >= JAY_PREDICATED_DEFAULT;
      |                             ^~~~~~~~~~~~~~~~~~~~~~
../src/intel/compiler/jay/jay_ir.h:645:29: note: each undeclared
identifier is reported only once for each function it appears in
At top level:


On Wed, 25 Nov 2026 at 14:46, Thomas Klausner <wiz%netbsd.org@localhost> wrote:
>
> Hi!
>
> I've just added mk/mesa.buildlink3.mk (based on the
> jpeg.buildlink3.mk) for selecting between the very old
> graphics/MesaLib and the new graphics/mesa packages. The default stays
> the same as before, graphics/MesaLib.
>
> They are the same codebase, just years apart.
>
> I'll be (locally) switching to mesa and seeing how it goes,
> i.e. setting
>
> MESA_DEFAULT=mesa
>
> in my /etc/mk.conf.
>
> Please give it a try as well, so we know what would be affected when
> we switch to graphics/mesa by default (definitely not before the next
> branch).
>
> I see that mesa is currently not building in the SmartOS builds, so if
> someone could fix that, I'd appreciate it.
>
> Cheers,
>  Thomas


Home | Main Index | Thread Index | Old Index