Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 600250

Summary: media-libs/mesa-12.0.1: fails to build on ppc (-Werror=implicit-function-declaration)
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo X packagers <x11>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 611056    

Description Agostino Sarubbo gentoo-dev 2016-11-19 22:00:22 UTC
/var/tmp/portage/media-libs/mesa-12.0.1/work/mesa-12.0.1/src/gallium/auxiliary/gallivm/lp_bld_arit.c: In function ‘lp_build_fpstate_get’:
/var/tmp/portage/media-libs/mesa-12.0.1/work/mesa-12.0.1/src/gallium/auxiliary/gallivm/lp_bld_arit.c:3507:7: error: implicit declaration of function ‘lp_build_intrinsic’ [-Werror=implicit-function-declaration]
       lp_build_intrinsic(builder,
       ^
cc1: some warnings being treated as errors


Since -Werror=implicit-function-declaration is added by the upstream build system, and since nobody reported the issue I guess it happens only on ppc.

It happens only after I switched to gcc-4.9.4
Comment 1 Matt Turner gentoo-dev 2017-02-28 05:25:14 UTC
I cannot reproduce (but I do see other issues that I'll work on upstream)