Bug 108610

Summary: build error on i386 - util/rounding.h:108: undefined reference to `lrintf'
Product: Mesa Reporter: Fabio Pedretti <pedretti.fabio>
Component: Mesa coreAssignee: mesa-dev
Status: RESOLVED DUPLICATE QA Contact: mesa-dev
Severity: normal    
Priority: medium CC: baker.dylan.c
Version: git   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Fabio Pedretti 2018-10-31 08:42:14 UTC
Build error on i386 since 2018-10-30. Builds fine on arm64 and amd64.

Error:
./build/src/util/../../../src/util/rounding.h:108: undefined reference to `lrintf'
/usr/bin/ld: ./build/src/util/../../../src/util/rounding.h:108: undefined reference to `lrintf'
collect2: error: ld returned 1 exit status
make[5]: *** [Makefile:3215: tools/i965_disasm] Error 1

Full build log and configure options: https://launchpadlibrarian.net/395412164/buildlog_ubuntu-disco-i386.mesa_18.3~git1810310730.d3a0d8~oibaf~d_BUILDING.txt.gz
Comment 1 Sergii Romantsov 2018-10-31 09:49:16 UTC
Hello, Fabio.
It looks like a duplicate of https://bugs.freedesktop.org/show_bug.cgi?id=108560
And patch: https://patchwork.freedesktop.org/patch/259176/
Comment 2 Sergii Romantsov 2018-11-01 07:42:01 UTC

*** This bug has been marked as a duplicate of bug 108560 ***

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.