Summary: | sys-firmware/ipxe-1.0.0_p20130925: PIE options not disabled breaking build: missing or invalid displacement expression `client_private_key_len@GOTOFF` | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Aric Belsito <lluixhi> |
Component: | Current packages | Assignee: | Gentoo QEMU Project <qemu+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=586558 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | emerge info |
Description
Aric Belsito
2016-06-12 21:39:17 UTC
build.log? emerge --info? we will not go chasing mailing lists for information. Created attachment 438224 [details]
emerge info
Sorry @Alex
Didn't see anything wrong with linking to an upstream mailing list that described the actual cause of the problem.
Relevant portion of build.log:
env CCACHE_DISABLE=1 x86_64-gentoo-linux-musl-gcc -DARCH=i386 -DPLATFORM=pcbios -march=i386 -fomit-frame-pointer -fstrength-reduce -falign-jumps=1 -falign-loops=1 -falign-functions=1 -mpreferred-stack-boundary=2 -mregparm=3 -mrtd -freg-struct-return -m32 -fshort-wchar -Ui386 -Ulinux -DNVALGRIND -Iinclude -I. -Iarch/x86/include -Iarch/i386/include -Iarch/i386/include/pcbios -Os -g -ffreestanding -Wall -W -Wformat-nonliteral -fno-stack-protector -fno-dwarf2-cfi-asm -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -Wno-address -ffunction-sections -fdata-sections -include include/compiler.h -DOBJECT=clientcert -c crypto/clientcert.c -o bin/clientcert.o
/var/tmp/portage/sys-firmware/ipxe-1.0.0_p20130925/temp/ccoFIHBA.s: Assembler messages:
/var/tmp/portage/sys-firmware/ipxe-1.0.0_p20130925/temp/ccoFIHBA.s:38: Error: missing or invalid displacement expression `client_certificate_len@GOTOFF'
/var/tmp/portage/sys-firmware/ipxe-1.0.0_p20130925/temp/ccoFIHBA.s:63: Error: missing or invalid displacement expression `client_private_key_len@GOTOFF'
make: *** [Makefile.housekeeping:802: bin/clientcert.o] Error 1
But also, from the PIE/SSP bug, #582688: "Tracker for Packages that fail with pie or ssp enable in Gcc 6.1 The package should block this one _and_ the Gcc 6 porting bug." it's not specific to gcc-6. the code is already patched to disable PIE: https://git.ipxe.org/ipxe.git/commit/fe61f6de0dd5d39ac3de5e8e18742f9bd0aafad7 the problem is they typo-ed the option -- it's "-no-pie", not "-nopie". sent fix upstream: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d31cc8d1b42484b6635f8b4fe0cd8161183c337 Thanks, vapier! |