Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 746488

Summary: app-office/magicpoint-1.13a_p20121015-r1 fails to compile with -fno-common
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal CC: sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: ~arch only
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764    
Attachments: build.log

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