Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 638164

Summary: sys-libs/efivar-30 fails to link with gcc-7.2, "multiple definition of `efi_set_variable'"
Product: Gentoo Linux Reporter: Andreas K. Hüttel <dilfridge>
Component: Current packagesAssignee: Mike Gilbert <floppym>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 617524    
Attachments: build log
emerge --info

Description Andreas K. Hüttel archtester gentoo-dev 2017-11-19 19:26:00 UTC
In function ‘memcpy’,
    inlined from ‘_format_media_dn’ at dp-media.c:73:3:
/usr/include/bits/string3.h:53:10: warning: ‘__builtin_memcpy’: specified size 18446744073709551608 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
   return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest));
          ^
/var/tmp/portage/sys-libs/efivar-30/temp/ccRnAE5U.ltrans0.ltrans.o: In function `default_probe':
/var/tmp/portage/sys-libs/efivar-30/work/efivar-30/src/lib.c:35: multiple definition of `efi_set_variable'
/var/tmp/portage/sys-libs/efivar-30/temp/ccRnAE5U.ltrans0.ltrans.o:/var/tmp/portage/sys-libs/efivar-30/work/efivar-30/src/lib.c:77: first defined here
collect2: error: ld returned 1 exit status
make[1]: *** [/var/tmp/portage/sys-libs/efivar-30/work/efivar-30/Make.rules:20: libefivar.so] Error 1
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2017-11-19 19:26:48 UTC
Created attachment 504982 [details]
build log
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2017-11-19 19:27:59 UTC
Created attachment 504984 [details]
emerge --info
Comment 3 Andreas K. Hüttel archtester gentoo-dev 2017-11-19 19:36:46 UTC
efivar-31 merges fine, so I consider this fixed... maybe time to get it stable.