Bug 106027 - error: implicit declaration of function ‘_mesa_debug’
Summary: error: implicit declaration of function ‘_mesa_debug’
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: mesa-dev
QA Contact: mesa-dev
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-13 10:11 UTC by Fabio Pedretti
Modified: 2018-04-13 12:14 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Fabio Pedretti 2018-04-13 10:11:18 UTC
Build failure on i386 since latest changes.

Full build log and configure options here: https://launchpadlibrarian.net/364970067/buildlog_ubuntu-xenial-i386.mesa_18.1~git1804130730.e96182~oibaf~x_BUILDING.txt.gz

../../../src/mesa/x86/common_x86.c: In function ‘_mesa_check_os_sse_support’:
../../../src/mesa/x86/common_x86.c:200:7: error: implicit declaration of function ‘_mesa_debug’ [-Werror=implicit-function-declaration]
       _mesa_debug(NULL, "Not testing OS support for SSE, leaving enabled.\n");
       ^
cc1: some warnings being treated as errors
Makefile:3037: recipe for target 'x86/common_x86.lo' failed
make[6]: *** [x86/common_x86.lo] Error 1
make[6]: *** Waiting for unfinished jobs....
Comment 1 Timothy Arceri 2018-04-13 11:12:37 UTC
Can you bisect the commit that broke it?
Comment 2 Fabio Pedretti 2018-04-13 11:16:40 UTC
I cannot bisect, but I can say that
fa328456e8f29bd4522deee5d6a8fa4a5ba74f05
worked fine, while
e961824ba82355c36971da92ae32e3ae4978720d
gives the error.
Comment 3 Timothy Arceri 2018-04-13 12:14:47 UTC
Thanks for the bug report. I've pushed a fix:

commit c500ab2735df0b7020b44d24449ffb1d2e29275b
Author: Timothy Arceri <tarceri@itsqueeze.com>
Date:   Fri Apr 13 22:11:13 2018 +1000

    mesa: fix x86 builds
    
    Fixes: 43d66c8c2d4d "mesa: include mtypes.h less"


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.