Fails to build on ppc64el due custom compiler flags

Bug #1964154 reported by Jochen Sprickerhof
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gcc-11 (Ubuntu)
New
Undecided
Unassigned
open3d (Ubuntu)
New
Undecided
Unassigned

Bug Description

from the logs:
lto1: error: ‘-mrelocatable’ and ‘-mno-minimal-toc’ are incompatible
lto1: error: ‘-mrelocatable’ and ‘-mcall-linux’ are incompatible
In member function ‘_M_construct’:

https://launchpadlibrarian.net/589594556/buildlog_ubuntu-jammy-ppc64el.open3d_0.14.1+dfsg-7build2_BUILDING.txt.gz

Revision history for this message
Steve Langasek (vorlon) wrote :

This package is already in the list of packages that have lto disabled, but the lto1 command is still being invoked and somehow getting confused with respect to options that are not being passed in by the open3d build system. Opening a task on gcc-11 because this appears to be a compiler bug.

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

I saw an autopkgtest on ppc64el that failed with a similar complaint too: https://autopkgtest.ubuntu.com/results/autopkgtest-jammy/jammy/ppc64el/f/faiss/20220306_103918_ed101@/log.gz

I have no idea what is going on though.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.