package ftbfs with -flto

Bug #1922078 reported by Matthias Klose
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
powerpc-utils (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

seen at
https://launchpadlibrarian.net/530274998/buildlog_ubuntu-hirsute-ppc64el.powerpc-utils_1.3.8-2ubuntu1_BUILDING.txt.gz

gcc -Wall -g -g -O3 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror -D_FORTIFY_SOURCE=2 -fstack-protector-all -fwrapv -fPIE -Wstack-protector --param=ssp-buffer-size=1 -Wl,-Bsymbolic-functions -flto=auto -Wl,-z,relro -o src/rtas_event_decode src/rtas_event_decode.o src/common/pseries_platform.o -lrtasevent -lrtasevent -lrtas -lz
gcc -Wall -g -g -O3 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wall -Werror -D_FORTIFY_SOURCE=2 -fstack-protector-all -fwrapv -fPIE -Wstack-protector --param=ssp-buffer-size=1 -Wl,-Bsymbolic-functions -flto=auto -Wl,-z,relro -o src/sys_ident src/sys_ident.o src/common/pseries_platform.o -lrtas -lrtasevent -lrtas -lz
lto1: all warnings being treated as errors
make[2]: *** [/tmp/ccqGuyZV.mk:2: /tmp/lparstat.izcmfz.ltrans0.ltrans.o] Error 1
lto-wrapper: fatal error: make returned 2 exit status
compilation terminated.
/usr/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:832: src/lparstat] Error 1

worked around for now by disabling lto

Tags: lto
Matthias Klose (doko)
tags: added: lto
Changed in powerpc-utils (Ubuntu):
status: New → Confirmed
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.