segfault in objcopy building sbsigntool
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
eglibc (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
objcopy segfaults on i386, with the latest libc6 revisions (see below).
Works with 2.15-0ubuntu10 in a schroot (new precise chroot without updates)
Works with 2.15-0ubuntu10.4 (last sbsigntool backport used that)
Fails with 2.15-0ubuntu10.13 (in precise schroot)
Fails with 2.15-0ubuntu10.14 (in precise schroot).
Fails with 2.15-0ubuntu10.15 (in precise schroot).
Excerpt from the logs on my PPA [1][2]:
make test-x86_64.pecoff test-i386.pecoff test-wrapper.sh \
private-key.rsa public-cert.pem
make[3]: Entering directory `/«PKGBUILDDIR»
gcc -m64 -D_FORTIFY_SOURCE=2 -c -o test-x86_64.o test.S
gcc -g -O2 -fstack-protector --param=
objcopy -j .text -j .sdata -j .data \
-j .dynamic -j .dynsym -j .rel \
-j .rela -j .reloc \
--target=
make[3]: *** [test-x86_
make[3]: *** Deleting file `test-x86_
rm test-x86_64.elf test-x86_64.o
make[3]: Leaving directory `/«PKGBUILDDIR»
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/«PKGBUILDDIR»
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/«PKGBUILDDIR»'
dh_auto_test: make -j1 check returned exit code 2
make: *** [build] Error 29
dpkg-buildpackage: error: debian/rules build gave error exit status 2
[1] https:/
[2] https:/
This is blocking a backport of sbsigntool, which is required by shim-signed; since we're working on backporting all the latest shim/grub Secure Boot magic all the way to precise.