[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#849651: efibootmgr: FTBFS on armhf: collect2: error: ld returned 1 exit status; 2-byte wchar_t



On Thu, Dec 29, 2016 at 03:22:02PM +0000, Chris West (Faux) wrote:
>Source: efibootmgr
>Version: 14-1
>Severity: serious
>Justification: fails to build from source
>Tags: sid stretch
>User: reproducible-builds@lists.alioth.debian.org
>Usertags: ftbfs
>X-Debbugs-CC: reproducible-builds@lists.alioth.debian.org
>
>Dear Maintainer,
>
>The package fails to build on armhf:
>
>gcc -g -O2 -fdebug-prefix-map=/build/1st/efibootmgr-14=. -fstack-protector-strong -Wformat -Werror=format-security -I/build/1st/efibootmgr-14/src/include -Werror -Wall -Wextra -Wsign-compare -Wstrict-aliasing -std=gnu11 -fshort-wchar -fPIC -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLOCALEDIR=\"/usr/share/locale/\" -DEFIBOOTMGR_VERSION="\"14\""   -I/usr/include/efivar  -Wl,-z,relro  -fno-merge-constants -Wl,--fatal-warnings,--no-allow-shlib-undefined -Wl,-O2 -Wl,--no-undefined-version  -Wdate-time -D_FORTIFY_SOURCE=2 -o efibootmgr efibootmgr.o efi.o unparse_path.o  -lefivar -lefiboot
>/usr/bin/ld: warning: efibootmgr.o uses 2-byte wchar_t yet the output is to use 4-byte wchar_t; use of wchar_t values across objects may fail
>/usr/bin/ld: warning: efi.o uses 2-byte wchar_t yet the output is to use 4-byte wchar_t; use of wchar_t values across objects may fail
>/usr/bin/ld: warning: unparse_path.o uses 2-byte wchar_t yet the output is to use 4-byte wchar_t; use of wchar_t values across objects may fail
>collect2: error: ld returned 1 exit status
>/build/1st/efibootmgr-14/Make.rules:21: recipe for target 'efibootmgr' failed

Confirmed - just seen the same build failure on a porter box. Looks
like YA issue found with newer gcc. I'll look for a fix.

-- 
Steve McIntyre, Cambridge, UK.                                steve@einval.com
"When C++ is your hammer, everything looks like a thumb." -- Steven M. Haflich


Reply to: