Bug 111406

Summary: [regression] - build failure on arm64
Product: Mesa Reporter: Fabio Pedretti <pedretti.fabio>
Component: Mesa coreAssignee: mesa-dev
Status: RESOLVED MOVED QA Contact: mesa-dev
Severity: normal    
Priority: medium CC: andrii.o.kryvytskyi, idr
Version: git   
Hardware: ARM   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Fabio Pedretti 2019-08-15 10:04:35 UTC
Full build log:
https://launchpadlibrarian.net/437404765/buildlog_ubuntu-disco-arm64.mesa_19.2~git1908150730.44a6c3~oibaf~d_BUILDING.txt.gz


Failure at > f2965f <= 44a6c3

/usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/8/libstdc++.so: undefined reference to `pthread_create'
/usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/8/libstdc++.so: undefined reference to `pthread_once'
/usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/8/libstdc++.so: undefined reference to `pthread_join'
collect2: error: ld returned 1 exit status
Comment 1 Fabio Pedretti 2019-08-19 12:07:15 UTC
Notes:
- builds fine on Ubuntu eoan, fails on disco and bionic
- builds fine on amd64 and i386
- I am compiling with -flto
Comment 2 Fabio Pedretti 2019-08-20 12:47:38 UTC
It seems the arm64 regression only happens when building with -flto on Ubuntu <= disco.
Comment 3 GitLab Migration User 2019-09-18 20:33:19 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/1046.

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.