Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 706942 - app-emulation/coldfire-0.3.1 : fails to build with -fno-common or gcc-10
Summary: app-emulation/coldfire-0.3.1 : 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: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-28 18:44 UTC by Toralf Förster
Modified: 2020-11-07 19:14 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.13 KB, text/plain)
2020-01-28 18:44 UTC, Toralf Förster
Details
app-emulation:coldfire-0.3.1:20200128-122449.log (app-emulation:coldfire-0.3.1:20200128-122449.log,13.27 KB, text/plain)
2020-01-28 18:44 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,192.17 KB, text/plain)
2020-01-28 18:44 UTC, Toralf Förster
Details
environment (environment,20.27 KB, text/plain)
2020-01-28 18:44 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,15.65 KB, application/x-bzip)
2020-01-28 18:45 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,6.54 KB, application/x-bzip)
2020-01-28 18:45 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,8.99 KB, application/x-bzip)
2020-01-28 18:45 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-28 18:44:48 UTC
  349 |  int status;
      |      ^~~~~~
x86_64-pc-linux-gnu-gcc -Wall  -O2 -pipe -march=native -fno-common -I.. -c sim_5307.c
ld -r isa.o ram.o sim_5206.o timer_5206.o uart_5206.o sim_5307.o -o peripherals.o
ld: sim_5307.o:(.bss+0x0): multiple definition of `sim_data'; sim_5206.o:(.bss+0x0): first defined here
make[1]: *** [Makefile:54: peripherals.o] Error 1

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib-20200124-204141

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

  Please see the tracker bug for details.

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

clang:
clang version 9.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.1
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.40.0 *
java-config:
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.242_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Tue, 28 Jan 2020 12:06:25 +0000

emerge -qpvO app-emulation/coldfire
[ebuild  N    ] app-emulation/coldfire-0.3.1
Comment 1 Toralf Förster gentoo-dev 2020-01-28 18:44:51 UTC
Created attachment 606728 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-28 18:44:54 UTC
Created attachment 606730 [details]
app-emulation:coldfire-0.3.1:20200128-122449.log
Comment 3 Toralf Förster gentoo-dev 2020-01-28 18:44:56 UTC
Created attachment 606732 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-01-28 18:44:59 UTC
Created attachment 606734 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-01-28 18:45:03 UTC
Created attachment 606736 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-28 18:45:06 UTC
Created attachment 606738 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-01-28 18:45:09 UTC
Created attachment 606740 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-11-07 19:14:47 UTC
The bug has been closed via the following commit(s):

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

commit 7e0dc4bbbd8748f4b66006a715b2656298eaacd9
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2020-11-07 19:14:24 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2020-11-07 19:14:43 +0000

    app-emulation/coldfire: tweak for gcc-10
    
    Reported-by: Toralf Förster
    Closes: https://bugs.gentoo.org/706942
    Package-Manager: Portage-3.0.9, Repoman-3.0.2
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 app-emulation/coldfire/coldfire-0.3.1.ebuild       | 16 ++++++++++++---
 .../coldfire/files/coldfire-0.3.1-ld.patch         | 11 +++++++++++
 .../coldfire/files/coldfire-0.3.1-no-common.patch  | 23 ++++++++++++++++++++++
 3 files changed, 47 insertions(+), 3 deletions(-)