Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 708636 - app-admin/rasdaemon-0.6.5 : fails to build with -fno-common or gcc-10
Summary: app-admin/rasdaemon-0.6.5 : 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: Matthew Thode ( prometheanfire )
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-02-07 18:21 UTC by Toralf Förster
Modified: 2021-01-06 16:35 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.77 KB, text/plain)
2020-02-07 18:22 UTC, Toralf Förster
Details
app-admin:rasdaemon-0.6.5:20200207-050044.log (app-admin:rasdaemon-0.6.5:20200207-050044.log,21.79 KB, text/plain)
2020-02-07 18:22 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,230.76 KB, text/plain)
2020-02-07 18:22 UTC, Toralf Förster
Details
environment (environment,78.25 KB, text/plain)
2020-02-07 18:22 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,16.96 KB, application/x-bzip)
2020-02-07 18:22 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,6.68 KB, application/x-bzip)
2020-02-07 18:22 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,21.92 KB, application/x-bzip)
2020-02-07 18:22 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-02-07 18:21:58 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.     -O2 -pipe -march=native -fno-common -Wall -Wmissing-prototypes -Wstrict-prototypes -c -o non-standard-hisi_hip07.o non-standard-hisi_hip07.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.     -O2 -pipe -march=native -fno-common -Wall -Wmissing-prototypes -Wstrict-prototypes -c -o non-standard-hisi_hip08.o non-standard-hisi_hip08.c
/bin/sh ./libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -fno-common -Wall -Wmissing-prototypes -Wstrict-prototypes  -Wl,-O1 -Wl,--as-needed -o rasdaemon rasdaemon.o ras-events.o ras-mc-handler.o bitfield.o  ras-aer-handler.o ras-non-standard-handler.o ras-arm-handler.o ras-mce-handler.o mce-intel.o mce-amd.o mce-intel-p4-p6.o mce-intel-nehalem.o mce-intel-dunnington.o mce-intel-tulsa.o mce-intel-sb.o mce-intel-ivb.o mce-intel-haswell.o mce-intel-knl.o mce-intel-broadwell-de.o mce-intel-broadwell-epex.o mce-intel-skylake-xeon.o mce-amd-k8.o mce-amd-smca.o ras-extlog-handler.o ras-devlink-handler.o ras-diskerror-handler.o ras-report.o non-standard-hisi_hip07.o non-standard-hisi_hip08.o -lpthread  libtrace/libtrace.a 
libtool: link: x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wall -Wmissing-prototypes -Wstrict-prototypes -Wl,-O1 -Wl,--as-needed -o rasdaemon rasdaemon.o ras-events.o ras-mc-handler.o bitfield.o ras-aer-handler.o ras-non-standard-handler.o ras-arm-handler.o ras-mce-handler.o mce-intel.o mce-amd.o mce-intel-p4-p6.o mce-intel-nehalem.o mce-intel-dunnington.o mce-intel-tulsa.o mce-intel-sb.o mce-intel-ivb.o mce-intel-haswell.o mce-intel-knl.o mce-intel-broadwell-de.o mce-intel-broadwell-epex.o mce-intel-skylake-xeon.o mce-amd-k8.o mce-amd-smca.o ras-extlog-handler.o ras-devlink-handler.o ras-diskerror-handler.o ras-report.o non-standard-hisi_hip07.o non-standard-hisi_hip08.o  -lpthread libtrace/libtrace.a
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ras-events.o:(.bss+0x0): multiple definition of `ras'; rasdaemon.o:(.bss+0x8): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ras-mc-handler.o:(.bss+0x0): multiple definition of `ras'; rasdaemon.o:(.bss+0x8): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib_hardened-libressl-20200202-054030

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

  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.6
  [3]   python3.7 (fallback)
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.41.0 *


ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Fri, 07 Feb 2020 00:48:22 +0000

emerge -qpvO app-admin/rasdaemon
[ebuild  N    ] app-admin/rasdaemon-0.6.5  USE="-sqlite"
Comment 1 Toralf Förster gentoo-dev 2020-02-07 18:22:01 UTC
Created attachment 612496 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-07 18:22:04 UTC
Created attachment 612498 [details]
app-admin:rasdaemon-0.6.5:20200207-050044.log
Comment 3 Toralf Förster gentoo-dev 2020-02-07 18:22:07 UTC
Created attachment 612500 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-02-07 18:22:09 UTC
Created attachment 612502 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-02-07 18:22:12 UTC
Created attachment 612504 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-02-07 18:22:15 UTC
Created attachment 612506 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-02-07 18:22:18 UTC
Created attachment 612508 [details]
temp.tbz2
Comment 8 Alexander Wetzel 2020-08-14 20:41:06 UTC
Looks like the issue has been fixed. The following patch works for me:
https://github.com/mchehab/rasdaemon/commit/1a3448616b3208883133227243b2a1faef198fa0
Comment 9 Larry the Git Cow gentoo-dev 2020-08-16 19:27:50 UTC
The bug has been closed via the following commit(s):

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

commit b133c3a7c53ea6523c66adf64cf095b1c4914cb8
Author:     Matthew Thode <prometheanfire@gentoo.org>
AuthorDate: 2020-08-16 19:27:41 +0000
Commit:     Matthew Thode <prometheanfire@gentoo.org>
CommitDate: 2020-08-16 19:27:41 +0000

    app-admin/rasdaemon: 0.6.6 bump
    
    Closes: https://bugs.gentoo.org/708636
    Package-Manager: Portage-3.0.2, Repoman-2.3.23
    Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>

 app-admin/rasdaemon/Manifest               |  1 +
 app-admin/rasdaemon/rasdaemon-0.6.6.ebuild | 64 ++++++++++++++++++++++++++++++
 2 files changed, 65 insertions(+)
Comment 10 Larry the Git Cow gentoo-dev 2021-01-06 16:35:37 UTC
The bug has been referenced in the following commit(s):

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

commit aa860ecd45e3901d4faca78db2bcf3a6880352fc
Author:     Andreas K. Huettel <dilfridge@gentoo.org>
AuthorDate: 2021-01-06 16:20:13 +0000
Commit:     Andreas K. Huettel <dilfridge@gentoo.org>
CommitDate: 2021-01-06 16:35:09 +0000

    app-admin/rasdaemon: Remove old
    
    Bug: https://bugs.gentoo.org/708636
    Package-Manager: Portage-3.0.12, Repoman-3.0.2
    Signed-off-by: Andreas K. Huettel <dilfridge@gentoo.org>

 app-admin/rasdaemon/Manifest                  |  3 --
 app-admin/rasdaemon/rasdaemon-0.6.1-r1.ebuild | 47 --------------------
 app-admin/rasdaemon/rasdaemon-0.6.2-r1.ebuild | 50 ---------------------
 app-admin/rasdaemon/rasdaemon-0.6.2-r3.ebuild | 57 ------------------------
 app-admin/rasdaemon/rasdaemon-0.6.2-r4.ebuild | 61 --------------------------
 app-admin/rasdaemon/rasdaemon-0.6.5.ebuild    | 63 ---------------------------
 6 files changed, 281 deletions(-)