Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 893622 - sys-libs/efivar-37 - mold: fatal: unknown command line option: --add-needed
Summary: sys-libs/efivar-37 - mold: fatal: unknown command line option: --add-needed
Status: RESOLVED DUPLICATE of bug 831472
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mike Gilbert
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: systemwide-mold
  Show dependency tree
 
Reported: 2023-02-08 17:27 UTC by ernsteiswuerfel
Modified: 2023-02-08 17:32 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (file_893622.txt,7.21 KB, text/plain)
2023-02-08 17:27 UTC, ernsteiswuerfel
Details
build.log (efivar-37:20230208-150211.log,4.23 KB, text/plain)
2023-02-08 17:28 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2023-02-08 17:27:48 UTC
Created attachment 850184 [details]
emerge --info

[...]
In file included from efivar.h:30,
                 from guid.c:27:
dp.h: In function 'format_vendor_helper':
dp.h:118:44: warning: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Waddress-of-packed-member]
  118 |         format_guid(buf, size, off, label, &dp->hw_vendor.vendor_guid);
      |                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~
dp.h:74:39: note: in definition of macro 'format_guid'
   74 |                 _rc = efi_guid_to_str(guid, &_guidstr);                 \
      |                                       ^~~~
mold: fatal: unknown command line option: --add-needed
collect2: error: ld returned 1 exit status
make[1]: *** [/var/tmp/portage/sys-libs/efivar-37/work/efivar-37/Make.rules:13: makeguids] Error 1
make[1]: Leaving directory '/var/tmp/portage/sys-libs/efivar-37/work/efivar-37/src'
make: *** [Makefile:14: all] Error 2
Comment 1 ernsteiswuerfel archtester 2023-02-08 17:28:10 UTC
Created attachment 850186 [details]
build.log
Comment 2 Stephan Hartmann (RETIRED) gentoo-dev 2023-02-08 17:32:55 UTC

*** This bug has been marked as a duplicate of bug 831472 ***