Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 723430 - mail-mta/exim-4.93.0.4-r1 has the gcc-10.1.0 fnocommon incompatibility
Summary: mail-mta/exim-4.93.0.4-r1 has the gcc-10.1.0 fnocommon incompatibility
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Fabian Groffen
URL: https://wiki.gentoo.org/wiki/Gcc_10_p...
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-05-16 19:25 UTC by Marcel
Modified: 2020-05-24 11:26 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcel 2020-05-16 19:25:38 UTC
See link. This package appears affected. Compiled without problem with gcc-9. Now on gcc-10.1.0 it is affected by the switched default.

Reproducible: Always

Steps to Reproduce:
1. gcc-10.1.0 without -fcommon overrule
2. fails linking
Actual Results:  
x86_64-pc-linux-gnu-gcc -o macro_predef -rdynamic -ldl macro_predef.o macro-globals.o macro-readconf.o macro-route.o macro-transport.o macro-drtables.o macro-tls.o macro-appendfile.o macro-autoreply.o macro-lmtp.o macro-pipe.o macro-queuefile.o macro-smtp.o macro-accept.o macro-dnslookup.o macro-ipliteral.o macro-iplookup.o macro-manualroute.o macro-queryprogram.o macro-redirect.o macro-auth-spa.o macro-cram_md5.o macro-cyrus_sasl.o macro-dovecot.o macro-gsasl_exim.o macro-heimdal_gssapi.o macro-plaintext.o macro-spa.o macro-authtls.o macro-external.o macro-dkim.o macro-malware.o macro-signing.o
/usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: macro-globals.o:(.bss+0x1170): multiple definition of `arc_received'; macro_predef.o:(.bss+0x10): first defined here

Expected Results:  
should compile
Comment 1 Larry the Git Cow gentoo-dev 2020-05-24 11:26:59 UTC
The bug has been closed via the following commit(s):

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

commit 08aa447245b739b69a7e36cd324967b3160f2865
Author:     Fabian Groffen <grobian@gentoo.org>
AuthorDate: 2020-05-24 11:26:24 +0000
Commit:     Fabian Groffen <grobian@gentoo.org>
CommitDate: 2020-05-24 11:26:54 +0000

    mail-mta/exim-4.93.0.4-r1: add patch to fix compilation using -fno-common
    
    Closes: https://bugs.gentoo.org/723430
    Package-Manager: Portage-2.3.89, Repoman-2.3.20
    Signed-off-by: Fabian Groffen <grobian@gentoo.org>

 mail-mta/exim/exim-4.93.0.4-r1.ebuild          |  1 +
 mail-mta/exim/files/exim-4.93-fno-common.patch | 16 ++++++++++++++++
 2 files changed, 17 insertions(+)