pkgsrc-Users archive

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

Re: libaom-3.9.0 Build Fails in pkgsrc current: multimedia/libaom



I was building 2024Q1, which I didn't think about.   So that's "builds
on the stable branch".

With just libaom switched to pkgsrc-current, I get the same failure as
you.

Looks like this is a bug in gcc and it is fixed in gcc 9.

  https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78782

I suggest filing a bug with libaom that it doesn't build with 7 while
they are documenting 7 as ok.

Probably then we need GCC_REQD=9*, because this isn't a language level,
but something missing in gcc7 that should have been there.

  
* we probably also should have a way to say "if 9 is needed, just use 10
  if that's a value in the progression for this os".

I have in mk.conf.local

.if !empty(GCC_REQD:M8)
GCC_REQD+=              10
.endif

which could obviously be extended to 9 also, and then wrapped into
NetBSD/platform.mk somehow.


Home | Main Index | Thread Index | Old Index