Summary: | sys-boot/grub[netboot]:0: error: ld returned 1 exit status: multiple definition of ... | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Thomas Deutschmann (RETIRED) <whissi> |
Component: | Current packages | Assignee: | Ian Stakenvicius (RETIRED) <axs> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | base-system, chain, herrtimson, luke, pacho, thomas |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 674364 | ||
Bug Blocks: |
Description
Thomas Deutschmann (RETIRED)
2017-12-16 21:25:08 UTC
... this is being caused by a change in how the preprocessor macros are handling the code. I *think*, instead of the macros being expanded once, they seem to be expanded in every source object that #include's the header; hence why there's suddenly a lot of multiple-definitions. I don't know enough about macro expansion (or rather, changes between gcc5 and gcc6 to how macro expansion is occurring) to know how to deal with this properly. Options? Drop the use flag? grub:0 is gone |