Bug 111406 - [regression] - build failure on arm64
Summary: [regression] - build failure on arm64
Status: RESOLVED MOVED
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
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
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:


Attachments

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.