Public bug reported:

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

** Affects: powerpc-utils (Ubuntu)
     Importance: Undecided
         Status: Confirmed


** Tags: lto

** Tags added: lto

** Changed in: powerpc-utils (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1922078

Title:
  package ftbfs with -flto

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/powerpc-utils/+bug/1922078/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to