Summary: | media-libs/mesa-20.1.3: fails to build with gcc-11 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | lekto |
Component: | Current packages | Assignee: | Gentoo X packagers <x11> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | jstein |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 732706 | ||
Attachments: |
build.log
emerge --info |
Created attachment 649400 [details]
emerge --info
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. |
Created attachment 649398 [details] build.log ../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) | ^~~~~~~