kickpass FTBFS on amd64 with LTO

Bug #2021577 reported by Shengjing Zhu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kickpass (Ubuntu)
Fix Released
Undecided
Steve Langasek

Bug Description

[ 37%] Linking C shared library libkickpass.so
/usr/bin/cmake -E cmake_link_script CMakeFiles/libkickpass.dir/link.txt --verbose=1
/usr/bin/cc -fPIC -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/kickpass-0.2.0-6 -Wdate-time -D_FORTIFY_SOURCE=2 -D_DEFAULT_SOURCE -D_BSD_SOURCE -O3 -DNDEBUG -fPIE -pie -D_FORTIFY_SOURCE=2 -fstack-protector -Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -Wl,-z,relro -Wl,-z,now -shared -Wl,-soname,libkickpass.so.0 -o libkickpass.so.0.2.0 CMakeFiles/libkickpass.dir/lib/config.c.o CMakeFiles/libkickpass.dir/lib/error.c.o CMakeFiles/libkickpass.dir/lib/kickpass.c.o CMakeFiles/libkickpass.dir/lib/password.c.o CMakeFiles/libkickpass.dir/lib/safe.c.o CMakeFiles/libkickpass.dir/lib/storage.c.o CMakeFiles/libkickpass.dir/lib/kpagent.c.o
/usr/bin/ld: /tmp/ccaQgUID.ltrans0.ltrans.o: warning: relocation against `charset' in read-only section `.text'
/usr/bin/ld: /tmp/ccaQgUID.ltrans0.ltrans.o: relocation R_X86_64_PC32 against symbol `charset' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status

Shengjing Zhu (zhsj)
tags: added: ftbfs update-excuse
Revision history for this message
Shengjing Zhu (zhsj) wrote :
Revision history for this message
Shengjing Zhu (zhsj) wrote :
Steve Langasek (vorlon)
Changed in kickpass (Ubuntu):
status: New → Fix Committed
assignee: nobody → Steve Langasek (vorlon)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package kickpass - 0.2.0-6ubuntu1

---------------
kickpass (0.2.0-6ubuntu1) mantic; urgency=medium

  * Drop patch 20_add_flags which injects pie flags manually
    pie is enabled by default by gcc. (LP: #2021577)

 -- Shengjing Zhu <email address hidden> Tue, 30 May 2023 16:50:38 +0800

Changed in kickpass (Ubuntu):
status: Fix Committed → Fix Released
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.