Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 746488 - app-office/magicpoint-1.13a_p20121015-r1 fails to compile with -fno-common
Summary: app-office/magicpoint-1.13a_p20121015-r1 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: No maintainer - Look at if you want to take care of it
Whiteboard: ~arch only
Depends on:
Blocks: -fno-common
  Show dependency tree
Reported: 2020-10-04 06:05 UTC by Agostino Sarubbo
Modified: 2021-02-09 16:59 UTC (History)
1 user (show)

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

build.log (build.log,89.91 KB, text/plain)
2020-10-04 06:05 UTC, Agostino Sarubbo

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-10-04 06:05:30 UTC

Issue: app-office/magicpoint-1.13a_p20121015-r1 fails to compile with -fno-common.
Discovered on: amd64 (internal ref: tinderbox)

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 2020-10-04 06:05:32 UTC
Created attachment 663733 [details]

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2020-10-04 06:05:34 UTC
Possible context of error(s):

/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ error: grammar.o: multiple definition of 'yylineno'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ error: grammar.o: multiple definition of 'yylineno'
Comment 3 Larry the Git Cow gentoo-dev 2021-02-09 16:59:38 UTC
The bug has been closed via the following commit(s):

commit fec4effdd2bd2dfce8775be5ee50ef475b593dfc
Author:     Jakov Smolic <>
AuthorDate: 2021-02-04 19:25:10 +0000
Commit:     Ben Kohler <>
CommitDate: 2021-02-09 16:59:19 +0000

    app-office/magicpoint: Fix build with gcc-10
    Signed-off-by: Jakov Smolic <>
    Signed-off-by: Ben Kohler <>

 .../files/magicpoint-1.13a_p20121015-fno-common.patch         | 11 +++++++++++
 app-office/magicpoint/magicpoint-1.13a_p20121015-r1.ebuild    |  3 ++-
 2 files changed, 13 insertions(+), 1 deletion(-)