Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 727082 - sys-process/audit: Fix build with gcc-10
Summary: sys-process/audit: Fix build with gcc-10
Status: RESOLVED DUPLICATE of bug 706734
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-04 09:09 UTC by Phil
Modified: 2020-06-04 10:51 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Phil 2020-06-04 09:09:48 UTC
Trying to compile with x86_64-pc-linux-gnu-10.1.0 leads to multiple definition errors:

/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: ausearch-llist.o:(.bss+0x0): multiple definition of `event_node_list'; aureport.o:(.bss+0x28): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: aureport-options.o:(.bss+0xa0): multiple definition of `event_node_list'; aureport.o:(.bss+0x28): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: ausearch-parse.o:(.bss+0x0): multiple definition of `event_node_list'; aureport.o:(.bss+0x28): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: aureport-scan.o:(.bss+0x1f8): multiple definition of `event_node_list'; aureport.o:(.bss+0x28): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: aureport-output.o:(.bss+0x8): multiple definition of `event_node_list'; aureport.o:(.bss+0x28): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: ausearch-lookup.o:(.bss+0x0): multiple definition of `event_node_list'; aureport.o:(.bss+0x28): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: ausearch-time.o:(.bss+0x10): multiple definition of `event_node_list'; aureport.o:(.bss+0x28): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: ausearch-lol.o:(.bss+0x28): multiple definition of `event_node_list'; aureport.o:(.bss+0x28): first defined here

This is fixed upstream by the following commit:

https://www.redhat.com/archives/linux-audit/2020-January/msg00028.html

After applying it, audit builds fine.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2020-06-04 10:51:44 UTC

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