Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 579954 Details for
Bug 688198
sys-apps/fwupdate-12 - fwupdate.c:529:8: error: taking address of packed member of ‘struct update_info_s’ may result in an unaligned pointer value [-Werror=address-of-packed-member]
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
build.log
build.log (text/plain), 10.63 KB, created by
Fabio Coatti
on 2019-06-17 07:30:40 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
Fabio Coatti
Created:
2019-06-17 07:30:40 UTC
Size:
10.63 KB
patch
obsolete
>[32;01m * [39;49;00mPackage: sys-apps/fwupdate-12 >[32;01m * [39;49;00mRepository: gentoo >[32;01m * [39;49;00mMaintainer: polynomial-c@gentoo.org >[32;01m * [39;49;00mUSE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU >[32;01m * [39;49;00mFEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>>> [1m[37mcfg-update-1.8.2-r1[0m[0m: Checksum index is up-to-date ... >>>> Unpacking source... >>>> Unpacking fwupdate-12.tar.gz to /var/tmp/portage/sys-apps/fwupdate-12/work >>>> Source unpacked in /var/tmp/portage/sys-apps/fwupdate-12/work >>>> Preparing source in /var/tmp/portage/sys-apps/fwupdate-12/work/fwupdate-12 ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/sys-apps/fwupdate-12/work/fwupdate-12 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/sys-apps/fwupdate-12/work/fwupdate-12 ... >make -j4 CC=x86_64-pc-linux-gnu-gcc EFIDIR=gentoo GNUEFIDIR=/usr/lib64 >Building with EFIDIR as gentoo >make[1]: Entering directory '/var/tmp/portage/sys-apps/fwupdate-12/work/fwupdate-12/efi' >x86_64-pc-linux-gnu-gcc -O2 -pipe -fpic -Werror -Wall -Wextra -fshort-wchar -Wno-error=missing-field-initializers -Wno-missing-field-initializers -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check --std=gnu11 -DCONFIG_x86_64 -I/usr/include/efi/ -I/usr/include/efi/x86_64/ -iquote/var/tmp/portage/sys-apps/fwupdate-12/work/fwupdate-12/include "-DDEBUGDIR=L\"/\"" -mno-mmx -mno-sse -mno-red-zone -nostdinc -maccumulate-outgoing-args -DEFI_FUNCTION_WRAPPER -DGNU_EFI_USE_MS_ABI -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include -c -o fakeesrt2.o fakeesrt2.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -fpic -Werror -Wall -Wextra -fshort-wchar -Wno-error=missing-field-initializers -Wno-missing-field-initializers -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check --std=gnu11 -DCONFIG_x86_64 -I/usr/include/efi/ -I/usr/include/efi/x86_64/ -iquote/var/tmp/portage/sys-apps/fwupdate-12/work/fwupdate-12/include "-DDEBUGDIR=L\"/\"" -mno-mmx -mno-sse -mno-red-zone -nostdinc -maccumulate-outgoing-args -DEFI_FUNCTION_WRAPPER -DGNU_EFI_USE_MS_ABI -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include -c -o fakeesrt.o fakeesrt.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -fpic -Werror -Wall -Wextra -fshort-wchar -Wno-error=missing-field-initializers -Wno-missing-field-initializers -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check --std=gnu11 -DCONFIG_x86_64 -I/usr/include/efi/ -I/usr/include/efi/x86_64/ -iquote/var/tmp/portage/sys-apps/fwupdate-12/work/fwupdate-12/include "-DDEBUGDIR=L\"/\"" -mno-mmx -mno-sse -mno-red-zone -nostdinc -maccumulate-outgoing-args -DEFI_FUNCTION_WRAPPER -DGNU_EFI_USE_MS_ABI -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include -c -o dumpesrt.o dumpesrt.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -fpic -Werror -Wall -Wextra -fshort-wchar -Wno-error=missing-field-initializers -Wno-missing-field-initializers -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check --std=gnu11 -DCONFIG_x86_64 -I/usr/include/efi/ -I/usr/include/efi/x86_64/ -iquote/var/tmp/portage/sys-apps/fwupdate-12/work/fwupdate-12/include "-DDEBUGDIR=L\"/\"" -mno-mmx -mno-sse -mno-red-zone -nostdinc -maccumulate-outgoing-args -DEFI_FUNCTION_WRAPPER -DGNU_EFI_USE_MS_ABI -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include -c -o fwupdate.o fwupdate.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -fpic -Werror -Wall -Wextra -fshort-wchar -Wno-error=missing-field-initializers -Wno-missing-field-initializers -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check --std=gnu11 -DCONFIG_x86_64 -I/usr/include/efi/ -I/usr/include/efi/x86_64/ -iquote/var/tmp/portage/sys-apps/fwupdate-12/work/fwupdate-12/include "-DDEBUGDIR=L\"/\"" -mno-mmx -mno-sse -mno-red-zone -nostdinc -maccumulate-outgoing-args -DEFI_FUNCTION_WRAPPER -DGNU_EFI_USE_MS_ABI -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include -c -o mkvar.o mkvar.c >In file included from [01m[K/usr/include/efi/efi.h:41[m[K, > from [01m[Kfwupdate.c:11[m[K: >[01m[Kfwupdate.c:[m[K In function â[01m[Kfind_updates[m[Kâ: >[01m[Kfwupdate.c:529:8:[m[K [01;31m[Kerror: [m[Ktaking address of packed member of â[01m[Kstruct update_info_s[m[Kâ may result in an unaligned pointer value [[01;31m[K-Werror=address-of-packed-member[m[K] > 529 | [01;31m[K&update->info->time_attempted[m[K, > | [01;31m[K^~~~~~~~~~~~~~~~~~~~~~~~~~~~~[m[K >[01m[K/usr/include/efi/x86_64/efibind.h:296:51:[m[K [01;36m[Knote: [m[Kin definition of macro â[01m[Kuefi_call_wrapper[m[Kâ > 296 | #define uefi_call_wrapper(func, va_num, ...) func([01;36m[K__VA_ARGS__[m[K) > | [01;36m[K^~~~~~~~~~~[m[K >x86_64-pc-linux-gnu-gcc -O2 -pipe -fpic -Werror -Wall -Wextra -fshort-wchar -Wno-error=missing-field-initializers -Wno-missing-field-initializers -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check --std=gnu11 -DCONFIG_x86_64 -I/usr/include/efi/ -I/usr/include/efi/x86_64/ -iquote/var/tmp/portage/sys-apps/fwupdate-12/work/fwupdate-12/include "-DDEBUGDIR=L\"/\"" -mno-mmx -mno-sse -mno-red-zone -nostdinc -maccumulate-outgoing-args -DEFI_FUNCTION_WRAPPER -DGNU_EFI_USE_MS_ABI -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include -c -o dumpf.o dumpf.c >[01m[Kfwupdate.c:[m[K In function â[01m[Kadd_capsule[m[Kâ: >[01m[Kfwupdate.c:1060:16:[m[K [01;31m[Kerror: [m[Ktaking address of packed member of â[01m[Kstruct update_info_s[m[Kâ may result in an unaligned pointer value [[01;31m[K-Werror=address-of-packed-member[m[K] > 1060 | if ((guid_cmp([01;31m[K&update->info->guid[m[K, (efi_guid_t *)fbuf) == 0 || > | [01;31m[K^~~~~~~~~~~~~~~~~~~[m[K >[01m[Kfwupdate.c:1076:41:[m[K [01;31m[Kerror: [m[Ktaking address of packed member of â[01m[Kstruct update_info_s[m[Kâ may result in an unaligned pointer value [[01;31m[K-Werror=address-of-packed-member[m[K] > 1076 | if (!cap_out->Flags && !is_ux_capsule([01;31m[K&update->info->guid[m[K)) { > | [01;31m[K^~~~~~~~~~~~~~~~~~~[m[K >[01m[Kfwupdate.c:1023:39:[m[K [01;36m[Knote: [m[Kin definition of macro â[01m[Kis_ux_capsule[m[Kâ > 1023 | #define is_ux_capsule(guid) (guid_cmp([01;36m[Kguid[m[K, &ux_capsule_guid) == 0) > | [01;36m[K^~~~[m[K >[01m[Kfwupdate.c:1099:22:[m[K [01;31m[Kerror: [m[Ktaking address of packed member of â[01m[Kstruct update_info_s[m[Kâ may result in an unaligned pointer value [[01;31m[K-Werror=address-of-packed-member[m[K] > 1099 | if (!is_ux_capsule([01;31m[K&update->info->guid[m[K)) { > | [01;31m[K^~~~~~~~~~~~~~~~~~~[m[K >[01m[Kfwupdate.c:1023:39:[m[K [01;36m[Knote: [m[Kin definition of macro â[01m[Kis_ux_capsule[m[Kâ > 1023 | #define is_ux_capsule(guid) (guid_cmp([01;36m[Kguid[m[K, &ux_capsule_guid) == 0) > | [01;36m[K^~~~[m[K >[01m[Kfwupdate.c:1118:20:[m[K [01;31m[Kerror: [m[Ktaking address of packed member of â[01m[Kstruct update_info_s[m[Kâ may result in an unaligned pointer value [[01;31m[K-Werror=address-of-packed-member[m[K] > 1118 | if (is_ux_capsule([01;31m[K&update->info->guid[m[K)) { > | [01;31m[K^~~~~~~~~~~~~~~~~~~[m[K >[01m[Kfwupdate.c:1023:39:[m[K [01;36m[Knote: [m[Kin definition of macro â[01m[Kis_ux_capsule[m[Kâ > 1023 | #define is_ux_capsule(guid) (guid_cmp([01;36m[Kguid[m[K, &ux_capsule_guid) == 0) > | [01;36m[K^~~~[m[K >[01m[Kfwupdate.c:[m[K In function â[01m[Kefi_main[m[Kâ: >[01m[Kfwupdate.c:1295:22:[m[K [01;31m[Kerror: [m[Ktaking address of packed member of â[01m[Kstruct update_info_s[m[Kâ may result in an unaligned pointer value [[01;31m[K-Werror=address-of-packed-member[m[K] > 1295 | is_ux_capsule([01;31m[K&updates[i]->info->guid[m[K)) > | [01;31m[K^~~~~~~~~~~~~~~~~~~~~~~[m[K >[01m[Kfwupdate.c:1023:39:[m[K [01;36m[Knote: [m[Kin definition of macro â[01m[Kis_ux_capsule[m[Kâ > 1023 | #define is_ux_capsule(guid) (guid_cmp([01;36m[Kguid[m[K, &ux_capsule_guid) == 0) > | [01;36m[K^~~~[m[K >x86_64-pc-linux-gnu-gcc -O2 -pipe -fpic -Werror -Wall -Wextra -fshort-wchar -Wno-error=missing-field-initializers -Wno-missing-field-initializers -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check --std=gnu11 -DCONFIG_x86_64 -I/usr/include/efi/ -I/usr/include/efi/x86_64/ -iquote/var/tmp/portage/sys-apps/fwupdate-12/work/fwupdate-12/include "-DDEBUGDIR=L\"/\"" -mno-mmx -mno-sse -mno-red-zone -nostdinc -maccumulate-outgoing-args -DEFI_FUNCTION_WRAPPER -DGNU_EFI_USE_MS_ABI -I/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/include -c -o mkvar2.o mkvar2.c >x86_64-pc-linux-gnu-gcc -nostdlib -Wl,--warn-common -Wl,--no-undefined -Wl,--fatal-warnings -Wl,-shared -Wl,-Bsymbolic -L/usr/lib64 -L/usr/lib64 -Wl,--build-id=sha1 -Wl,--hash-style=sysv /usr/lib64/crt0-efi-x86_64.o -o fakeesrt2.so fakeesrt2.o -lefi -lgnuefi \ > /usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/libgcc.a \ > -T elf_x86_64_efi.lds >/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: fatal error: -shared and -pie are incompatible >collect2: error: ld returned 1 exit status >make[1]: *** [/var/tmp/portage/sys-apps/fwupdate-12/work/fwupdate-12/efi/Makefile:113: fakeesrt2.so] Error 1 >make[1]: *** Waiting for unfinished jobs.... >cc1: all warnings being treated as errors >make[1]: *** [/var/tmp/portage/sys-apps/fwupdate-12/work/fwupdate-12/efi/Makefile:118: fwupdate.o] Error 1 >rm fakeesrt2.o mkvar.o dumpf.o fakeesrt.o mkvar2.o dumpesrt.o >make[1]: Leaving directory '/var/tmp/portage/sys-apps/fwupdate-12/work/fwupdate-12/efi' >make: *** [Makefile:16: all] Error 2 > [31;01m*[0m ERROR: sys-apps/fwupdate-12::gentoo failed (compile phase): > [31;01m*[0m emake failed > [31;01m*[0m > [31;01m*[0m If you need support, post the output of `emerge --info '=sys-apps/fwupdate-12::gentoo'`, > [31;01m*[0m the complete build log and the output of `emerge -pqv '=sys-apps/fwupdate-12::gentoo'`. > [31;01m*[0m The complete build log is located at '/var/log/portage/sys-apps:fwupdate-12:20190617-072448.log'. > [31;01m*[0m For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-apps/fwupdate-12/temp/build.log'. > [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/sys-apps/fwupdate-12/temp/environment'. > [31;01m*[0m Working directory: '/var/tmp/portage/sys-apps/fwupdate-12/work/fwupdate-12' > [31;01m*[0m S: '/var/tmp/portage/sys-apps/fwupdate-12/work/fwupdate-12'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 688198
: 579954