Bug 111406 - [regression] - build failure on arm64
Summary: [regression] - build failure on arm64
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: git
Hardware: ARM Linux (All)
: medium normal
Assignee: mesa-dev
QA Contact: mesa-dev
Depends on:
Reported: 2019-08-15 10:04 UTC by Fabio Pedretti
Modified: 2019-09-18 20:33 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Description Fabio Pedretti 2019-08-15 10:04:35 UTC
Full build log:

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
- 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.