Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 732820 - media-libs/mesa-20.1.3: fails to build with gcc-11
Summary: media-libs/mesa-20.1.3: fails to build with gcc-11
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
Depends on:
Blocks: gcc-11
  Show dependency tree
Reported: 2020-07-16 04:27 UTC by lekto
Modified: 2020-07-30 20:17 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---

build.log (build.log,690.08 KB, text/x-log)
2020-07-16 04:27 UTC, lekto
emerge --info (,5.69 KB, application/x-info)
2020-07-16 04:28 UTC, lekto

Note You need to log in before you can comment on or make changes to this bug.
Description lekto 2020-07-16 04:27:47 UTC
Created attachment 649398 [details]

../mesa-20.1.3/src/compiler/glsl/ast_function.cpp: In function ‘ir_rvalue* emit_inline_record_constructor(const glsl_type*, exec_list*, exec_list*, void*)’:
../mesa-20.1.3/src/compiler/glsl/ast_function.cpp:1883:67: error: ‘this’ pointer null [-Werror=nonnull]
 1883 |       ir_rvalue *const rhs = ((ir_instruction *) node)->as_rvalue();
      |                                                                   ^
In file included from ../mesa-20.1.3/src/compiler/glsl/glsl_symbol_table.h:31,
                 from ../mesa-20.1.3/src/compiler/glsl/ast_function.cpp:24:
../mesa-20.1.3/src/compiler/glsl/ir.h:148:21: note: in a call to non-static member function ‘ir_rvalue* ir_instruction::as_rvalue()’
  148 |    class ir_##TYPE *as_##TYPE()                         \
      |                     ^~~
../mesa-20.1.3/src/compiler/glsl/ir.h:159:4: note: in expansion of macro ‘AS_BASE’
  159 |    AS_BASE(rvalue)
      |    ^~~~~~~
Comment 1 lekto 2020-07-16 04:28:21 UTC
Created attachment 649400 [details]
emerge --info
Comment 2 Matt Turner gentoo-dev 2020-07-30 20:17:27 UTC
gcc-11 isn't planned to be released for nearly another year. Please submit patches to upstream projects if you're interested in ensuring they're compatible when the time comes.