Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 706714 - app-arch/arc-5.21p : fails to build with -fno-common or gcc-10
Summary: app-arch/arc-5.21p : fails to build with -fno-common or gcc-10
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-27 17:39 UTC by Toralf Förster
Modified: 2020-05-15 07:59 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,14.74 KB, text/plain)
2020-01-27 17:39 UTC, Toralf Förster
Details
app-arch:arc-5.21p:20200127-140118.log (app-arch:arc-5.21p:20200127-140118.log,4.62 KB, text/plain)
2020-01-27 17:39 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,25.67 KB, text/plain)
2020-01-27 17:39 UTC, Toralf Förster
Details
environment (environment,45.41 KB, text/plain)
2020-01-27 17:39 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.67 KB, application/x-bzip)
2020-01-27 17:39 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,12.36 KB, application/x-bzip)
2020-01-27 17:39 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-01-27 17:39:22 UTC
arcmisc.c:226:1: warning: type of ‘arg2’ defaults to ‘int’ [-Wimplicit-int]
arcmisc.c:226:1: warning: type of ‘arg3’ defaults to ‘int’ [-Wimplicit-int]
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -DSYSV=1 -c tmclock.c
x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -o arc arc.o arcadd.o arccode.o arccvt.o arcdata.o arcdel.o arcdos.o arcext.o arcio.o arclst.o arclzw.o arcmatch.o arcpack.o arcrun.o arcsq.o arcsvc.o arctst.o arcunp.o arcusq.o arcmisc.o  tmclock.o 
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: arclzw.o:(.bss+0x18): multiple definition of `outend'; arc.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: arclzw.o:(.bss+0x28): multiple definition of `outbuf'; arc.o:(.bss+0x8): first defined here

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-20200126-201521

  -------------------------------------------------------------------

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *


llvm:
9.0.1
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.6
  [3]   python3.7 (fallback)
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *




repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Mon, 27 Jan 2020 13:06:21 +0000

emerge -qpvO app-arch/arc
[ebuild  N    ] app-arch/arc-5.21p
Comment 1 Toralf Förster gentoo-dev 2020-01-27 17:39:25 UTC
Created attachment 605524 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-27 17:39:28 UTC
Created attachment 605526 [details]
app-arch:arc-5.21p:20200127-140118.log
Comment 3 Toralf Förster gentoo-dev 2020-01-27 17:39:30 UTC
Created attachment 605528 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-01-27 17:39:33 UTC
Created attachment 605530 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-01-27 17:39:36 UTC
Created attachment 605532 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-27 17:39:38 UTC
Created attachment 605534 [details]
temp.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2020-05-15 07:59:50 UTC
The bug has been closed via the following commit(s):

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

commit 683780129630d693bb614c41f885946dcb885831
Author:     Jeroen Roovers <jer@gentoo.org>
AuthorDate: 2020-05-15 07:58:19 +0000
Commit:     Jeroen Roovers <jer@gentoo.org>
CommitDate: 2020-05-15 07:59:46 +0000

    app-arch/arc: Fix building with CFLAGS=-fno-common
    
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=706714
    Signed-off-by: Jeroen Roovers <jer@gentoo.org>

 app-arch/arc/arc-5.21p.ebuild                 |  1 +
 app-arch/arc/files/arc-5.21p-fno-common.patch | 34 +++++++++++++++++++++++++++
 2 files changed, 35 insertions(+)