Bug 105717 - [bisected] Mesa build tests fails: BIGENDIAN_CPU or LITTLEENDIAN_CPU must be defined
Summary: [bisected] Mesa build tests fails: BIGENDIAN_CPU or LITTLEENDIAN_CPU must be ...
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Eric Engestrom
QA Contact: Intel 3D Bugs Mailing List
URL:
Whiteboard:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2018-03-23 16:47 UTC by Clayton Craft
Modified: 2018-03-23 18:18 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Clayton Craft 2018-03-23 16:47:46 UTC
Both the Mesa build test and Android build test are failing in the Mesa CI with the following errors. They have been bisected to this commit:

commit cbee1bfb34274668a05995b9d4c78ddec9e5ea4c
Author: Eric Engestrom <eric.engestrom@imgtec.com>
Date:   Wed Mar 21 17:04:06 2018 +0000

    meson/configure: detect endian.h instead of trying to guess when it's available
 


Mesa build test errors:

05:34:03 In file included from /home/jenkins/workspace/Leeroy_3/repos/mesa/src/amd/addrlib/r800/ciaddrlib.cpp:36:0:
05:34:03 /home/jenkins/workspace/Leeroy_3/repos/mesa/src/amd/addrlib/inc/chip/r800/si_gb_reg.h:44:2: error: #error "BIGENDIAN_CPU or LITTLEENDIAN_CPU must be defined"
05:34:03  #error "BIGENDIAN_CPU or LITTLEENDIAN_CPU must be defined"
05:34:03   ^~~~~
05:34:03 /home/jenkins/workspace/Leeroy_3/repos/mesa/src/amd/addrlib/inc/chip/r800/si_gb_reg.h:99:6: error: ‘GB_ADDR_CONFIG_T’ does not name a type; did you mean ‘ADDR_COLOR_8’?
05:34:03       GB_ADDR_CONFIG_T f;
05:34:03       ^~~~~~~~~~~~~~~~
05:34:03       ADDR_COLOR_8
Comment 1 Clayton Craft 2018-03-23 16:48:42 UTC
Correction, I mentioned "android build test" in the original description above, but this failure does not seem to be related to this commit.
Comment 2 Emil Velikov 2018-03-23 18:18:27 UTC
Fixed with the following commit. Thanks for testing!

commit 5a75019ad0270a974788a9b8648ba98ff4203768
Author: Emil Velikov <emil.velikov@collabora.co.uk>
Date:   Fri Mar 23 17:37:39 2018 +0000

    configure: use AC_CHECK_HEADERS to check for endian.h


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.