Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 685906 - media-gfx/librecad-2.1.3-r4 - ld: ../../generated/librecad/obj/rs_actiondrawcircletan2_1p.o:(.rodata+0x0): multiple definition of `_ZGRN12_GLOBAL__N_110enTypeListE_'; ../../generated/librecad/obj/rs_actiondrawcircletan1_2p.o:(.rodata+0x0): first defined h
Summary: media-gfx/librecad-2.1.3-r4 - ld: ../../generated/librecad/obj/rs_actiondrawc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sławek Lis (RETIRED)
URL: https://github.com/LibreCAD/LibreCAD/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-13 20:59 UTC by lekto
Modified: 2020-07-15 18:04 UTC (History)
3 users (show)

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


Attachments
emerge --info (emerge.info,5.95 KB, application/x-info)
2019-05-13 20:59 UTC, lekto
Details
build.log.bz2 (build.log.bz2,28.52 KB, application/x-bzip)
2019-05-13 21:02 UTC, lekto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lekto 2019-05-13 20:59:52 UTC
Created attachment 576512 [details]
emerge --info

>/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../generated/librecad/obj/rs_actiondrawcircletan2_1p.o:(.rodata+0x0): multiple definition of `_ZGRN12_GLOBAL__N_110enTypeListE_'; ../../generated/librecad/obj/rs_actiondrawcircletan1_2p.o:(.rodata+0x0): first defined here
>/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../generated/librecad/obj/rs_actiondrawcircletan2.o:(.rodata+0x0): multiple definition of `_ZGRN12_GLOBAL__N_110enTypeListE_'; ../../generated/librecad/obj/rs_actiondrawcircletan1_2p.o:(.rodata+0x0): first defined here
>/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../generated/librecad/obj/rs_actiondrawcircletan3.o:(.rodata+0x0): multiple definition of `_ZGRN12_GLOBAL__N_110enTypeListE_'; ../../generated/librecad/obj/rs_actiondrawcircletan1_2p.o:(.rodata+0x0): first defined here
>/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../generated/librecad/obj/rs_actiondrawlinerelangle.o:(.rodata+0x0): multiple definition of `_ZGRN12_GLOBAL__N_110enTypeListE_'; ../../generated/librecad/obj/rs_actiondrawcircletan1_2p.o:(.rodata+0x0): first defined here
>/usr/lib/gcc/x86_64-pc-linux-gnu/9.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../../generated/librecad/obj/rs_actiondrawlinetangent2.o:(.rodata+0x0): multiple definition of `_ZGRN12_GLOBAL__N_110circleTypeE_'; ../../generated/librecad/obj/rs_actiondrawlinetangent1.o:(.rodata+0x0): first defined here
>collect2: error: ld returned 1 exit status
Comment 1 lekto 2019-05-13 21:02:06 UTC
Created attachment 576514 [details]
build.log.bz2
Comment 2 Michael 'veremitz' Everitt 2019-06-30 13:36:12 UTC
WIP at https://github.com/LibreCAD/LibreCAD/pull/1125 .
Comment 3 Larry the Git Cow gentoo-dev 2019-08-15 19:47:00 UTC
The bug has been closed via the following commit(s):

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

commit 431e3685b3b65d0660a958fbee48dd2b42196b75
Author:     Slawomir Lis <slis@gentoo.org>
AuthorDate: 2019-08-15 19:38:16 +0000
Commit:     Slawomir Lis <slis@gentoo.org>
CommitDate: 2019-08-15 19:38:16 +0000

    media-gfx/librecad: Patch for compilation errors with gcc-9
    
    Merged commit d0a0ef284b7fcc5c0d65b92c30855f62b637653f from librecad repo
    
    Closes: https://bugs.gentoo.org/685906
    Package-Manager: Portage-2.3.71, Repoman-2.3.16
    Signed-off-by: Slawek Lis <slis@gentoo.org>

 .../librecad/files/librecad-2.1.3-gcc-9.patch      | 209 +++++++++++++++++++++
 media-gfx/librecad/librecad-2.1.3-r5.ebuild        |  51 +++++
 2 files changed, 260 insertions(+)