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
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard: ~arch only
Keywords:
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: ---


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

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
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

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

NOTE:
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

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/ld.gold: error: grammar.o: multiple definition of 'yylineno'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: 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):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fec4effdd2bd2dfce8775be5ee50ef475b593dfc

commit fec4effdd2bd2dfce8775be5ee50ef475b593dfc
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2021-02-04 19:25:10 +0000
Commit:     Ben Kohler <bkohler@gentoo.org>
CommitDate: 2021-02-09 16:59:19 +0000

    app-office/magicpoint: Fix build with gcc-10
    
    Closes: https://bugs.gentoo.org/746488
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: Ben Kohler <bkohler@gentoo.org>

 .../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(-)