Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 764077 - sys-auth/fprintd-0.8.1-r3 fails to compile with -fno-common
Summary: sys-auth/fprintd-0.8.1-r3 fails to compile with -fno-common
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Maxim Koltsov
Keywords: PullRequest
Depends on:
Blocks: -fno-common gcc-10-stable
  Show dependency tree
Reported: 2021-01-06 09:56 UTC by Agostino Sarubbo
Modified: 2021-01-12 09:37 UTC (History)
1 user (show)

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

build.log (build.log,37.92 KB, text/plain)
2021-01-06 09:56 UTC, Agostino Sarubbo
build.log (build.log,34.91 KB, text/plain)
2021-01-06 12:01 UTC, Leonid Kopylov

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2021-01-06 09:56:14 UTC

Issue: sys-auth/fprintd-0.8.1-r3 fails to compile with -fno-common.
Discovered on: amd64 (internal ref: ci)

To reproduce this issue you may want to set CFLAGS="${CFLAGS} -fno-common" or compile it with gcc-10 that enables -fno-common by default.
Comment 1 Agostino Sarubbo gentoo-dev 2021-01-06 09:56:17 UTC
Created attachment 681469 [details]

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-01-06 09:56:20 UTC
Possible context of error(s):

/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ./.libs/libfprintd.a(device.o):(.bss+0x0): multiple definition of `store'; main.o:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status
Comment 3 Leonid Kopylov 2021-01-06 12:00:36 UTC
Have exactly the same error
Comment 4 Leonid Kopylov 2021-01-06 12:01:47 UTC
Created attachment 681511 [details]
Comment 5 Larry the Git Cow gentoo-dev 2021-01-12 09:37:21 UTC
The bug has been closed via the following commit(s):

commit 989f5747c6845c252e893686086f4452df94d9c5
Author:     Jakov Smolic <>
AuthorDate: 2021-01-12 09:36:53 +0000
Commit:     David Seifert <>
CommitDate: 2021-01-12 09:36:53 +0000

    sys-auth/fprintd: Fix build with gcc-10
    * Disable static-libs
    Signed-off-by: Jakov Smolic <>
    Signed-off-by: David Seifert <>

 .../fprintd/files/fprintd-0.8.1-fno-common.patch   | 44 ++++++++++++++++++++++
 sys-auth/fprintd/fprintd-0.8.1-r3.ebuild           | 21 ++++++-----
 2 files changed, 56 insertions(+), 9 deletions(-)