GNU bug report logs - #50243
[core-updates-frozen] "multiple definition of..." build failures

Previous Next

Package: guix;

Reported by: Sarah Morgensen <iskarian <at> mgsn.dev>

Date: Sat, 28 Aug 2021 21:24:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Sarah Morgensen <iskarian <at> mgsn.dev>
To: 50243 <at> debbugs.gnu.org
Subject: bug#50243: [core-updates-frozen] "multiple definition of..." build failures
Date: Sat, 28 Aug 2021 14:23:13 -0700
Hello Guix,

GCC 10 changed the default behavior when encountering multiple
definitions of a global (often an enum) [0].  This causes error messages
like [1]:

--8<---------------cut here---------------start------------->8---
  ld: a.o:(.bss+0x0): multiple definition of `a'; main.o:(.data+0x0): first defined here
--8<---------------cut here---------------end--------------->8---

Gentoo's tracker for this issue [2] also has some more info.  I manually
searched Cuirass build logs and found 28 packages failing on x86_64 with
this error:

arcan-sdl <at> 0.5.5.2-1.b4dd1fb
aris <at> 2.2
blastem <at> 0.6.2
chocolate-doom <at> 3.0.1
crispy-doom <at> 5.8.0
geeqie <at> 1.5
glabels <at> 3.4.1
gmtp <at> 1.3.11
gpredict <at> 2.2.1
gtksheet <at> 4.3.5
jumpnbump <at> 1.61
lablgtk <at> 2.18.10
libappindicator <at> 12.10.0
libopenshot <at> 0.2.5
libsrtp <at> 2.3.0
linsmith <at> 0.99.31
megaglest <at> 3.13.0
mupen64plus-core <at> 2.5
ocaml4.07-lablgtk <at> 1.18.10
ocl-icd <at> 2.2.12
opencpn <at> 5.0.0
pcsxr <at> 1.9.95
pipewire <at> 0.2.7
transcode <at> 1.1.7
transmission-remote-gtk <at> 1.4.1
uget <at> 2.2.1
uim-gtk <at> 1.8.8
uim-qt <at> 1.8.8

I submitted an issue upstream for transmission-remote-gtk [3], but I
haven't taken a look at the others.  Any takers?

[0] https://gcc.gnu.org/gcc-10/porting_to.html
[1] https://wiki.gentoo.org/wiki/Project:Toolchain/Gcc_10_porting_notes/fno_common
[2] https://bugs.gentoo.org/705764
[3] https://github.com/transmission-remote-gtk/transmission-remote-gtk/issues/122

--
Sarah




This bug report was last modified 3 years and 204 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.