Bug 105960 - [bisected] meson build test fails with: undefined reference to `etna_pm_create_query'
Summary: [bisected] meson build test fails with: undefined reference to `etna_pm_creat...
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Other (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Christian Gmeiner
QA Contact: mesa-dev
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-09 16:30 UTC by Clayton Craft
Modified: 2018-04-09 20:46 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Clayton Craft 2018-04-09 16:30:53 UTC
The meson buildtest in Mesa CI is failing with the following errors:


05:41:27 src/gallium/drivers/etnaviv/libetnaviv.a(etnaviv_screen.c.o): In function `etna_screen_create':
05:41:27 /home/jenkins/workspace/Leeroy_4/repos/mesa/build_meson-buildtest_m64/../src/gallium/drivers/etnaviv/etnaviv_screen.c:997: undefined reference to `etna_pm_query_setup'
05:41:27 src/gallium/drivers/etnaviv/libetnaviv.a(etnaviv_query.c.o): In function `etna_get_driver_query_group_info':
05:41:27 /home/jenkins/workspace/Leeroy_4/repos/mesa/build_meson-buildtest_m64/../src/gallium/drivers/etnaviv/etnaviv_query.c:125: undefined reference to `etna_pm_get_driver_query_group_info'
05:41:27 src/gallium/drivers/etnaviv/libetnaviv.a(etnaviv_query.c.o): In function `etna_get_driver_query_info':
05:41:27 /home/jenkins/workspace/Leeroy_4/repos/mesa/build_meson-buildtest_m64/../src/gallium/drivers/etnaviv/etnaviv_query.c:109: undefined reference to `etna_pm_get_driver_query_info'
05:41:27 src/gallium/drivers/etnaviv/libetnaviv.a(etnaviv_query.c.o): In function `etna_get_driver_query_group_info':
05:41:27 /home/jenkins/workspace/Leeroy_4/repos/mesa/build_meson-buildtest_m64/../src/gallium/drivers/etnaviv/etnaviv_query.c:133: undefined reference to `etna_pm_get_driver_query_group_info'
05:41:27 src/gallium/drivers/etnaviv/libetnaviv.a(etnaviv_query.c.o): In function `etna_get_driver_query_info':
05:41:27 /home/jenkins/workspace/Leeroy_4/repos/mesa/build_meson-buildtest_m64/../src/gallium/drivers/etnaviv/etnaviv_query.c:117: undefined reference to `etna_pm_get_driver_query_info'
05:41:27 src/gallium/drivers/etnaviv/libetnaviv.a(etnaviv_query.c.o): In function `etna_create_query':
05:41:27 /home/jenkins/workspace/Leeroy_4/repos/mesa/build_meson-buildtest_m64/../src/gallium/drivers/etnaviv/etnaviv_query.c:48: undefined reference to `etna_pm_create_query'


This has been bisected to:

commit 9e802736935816d5456ff93c990d3a751c11a971
Author: Christian Gmeiner <christian.gmeiner@gmail.com>
Date:   Sun Mar 25 22:30:07 2018 +0200

    etnaviv: expose perfmon query groups
Comment 1 Christian Gmeiner 2018-04-09 16:57:04 UTC
Issue got added with:

commit 72d2043be06c4b0135177482ae95aa321286cc17
Author: Christian Gmeiner <christian.gmeiner@gmail.com>
Date:   Sun Mar 25 22:29:56 2018 +0200

    etnaviv: add perfmon query implementation
    
    Add needed infrastructure to use performance monitor
    requests for queries.
    
    Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
    Tested-by: Chris Healy <cphealy@gmail.com>
Comment 2 Emil Velikov 2018-04-09 17:05:43 UTC
https://patchwork.freedesktop.org/patch/215989/
should fix it
Comment 3 Clayton Craft 2018-04-09 20:46:37 UTC
Yep, that seems to have fixed it, thanks!


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.