Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 708720

Summary: app-editors/aee-2.2.21 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Akinori Hattori <hattya>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764    
Attachments: emerge-info.txt
app-editors:aee-2.2.21:20200208-103241.log
emerge-history.txt
environment
etc.portage.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2020-02-08 13:17:13 UTC
  118 |      chdir(tmp);
      |      ^~~~~~~~~~
x86_64-pc-linux-gnu-gcc new_curse.c -c -DSYS5  -DBSD_SELECT   -DNCURSE  -DHAS_UNISTD  -DHAS_STDLIB -DHAS_CTYPE -DHAS_SYS_IOCTL -DHAS_SYS_WAIT  -O2 -pipe -march=native -fno-common   -DSLCT_HDR -DTERMCAP="\"/etc/termcap\"" -Wl,-O1 -Wl,--as-needed
x86_64-pc-linux-gnu-gcc -o aee aee.o control.o format.o localize.o srch_rep.o delete.o mark.o motion.o keys.o help.o windows.o journal.o file.o new_curse.o -DHAS_UNISTD  -DHAS_STDLIB -DHAS_CTYPE -DHAS_SYS_IOCTL -DHAS_SYS_WAIT  -O2 -pipe -march=native -fno-common   -DSLCT_HDR -DTERMCAP="\"/etc/termcap\"" -Wl,-O1 -Wl,--as-needed 
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: control.o:(.bss+0x0): multiple definition of `top_of_win'; aee.o:(.bss+0x2278): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: format.o:(.bss+0x0): multiple definition of `top_of_win'; aee.o:(.bss+0x2278): first defined here

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

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

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

  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 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 <==
Sat, 08 Feb 2020 09:27:46 +0000

emerge -qpvO app-editors/aee
[ebuild  N    ] app-editors/aee-2.2.21  USE="-X"
Comment 1 Toralf Förster gentoo-dev 2020-02-08 13:17:16 UTC
Created attachment 612740 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-08 13:17:18 UTC
Created attachment 612742 [details]
app-editors:aee-2.2.21:20200208-103241.log
Comment 3 Toralf Förster gentoo-dev 2020-02-08 13:17:21 UTC
Created attachment 612744 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-02-08 13:17:24 UTC
Created attachment 612746 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-02-08 13:17:27 UTC
Created attachment 612748 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-02-08 13:17:30 UTC
Created attachment 612750 [details]
temp.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2020-05-10 09:42:54 UTC
The bug has been closed via the following commit(s):

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

commit 4eaf9db562dc96352ae999ffef3d8c6aa6a3222f
Author:     Akinori Hattori <hattya@gentoo.org>
AuthorDate: 2020-05-10 09:38:53 +0000
Commit:     Akinori Hattori <hattya@gentoo.org>
CommitDate: 2020-05-10 09:42:44 +0000

    app-editors/aee: fix build with >=sys-devel/gcc-10
    
    Closes: https://bugs.gentoo.org/708720
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Akinori Hattori <hattya@gentoo.org>

 app-editors/aee/aee-2.2.15b.ebuild     |  1 +
 app-editors/aee/aee-2.2.21.ebuild      |  1 +
 app-editors/aee/files/aee-gcc-10.patch | 44 ++++++++++++++++++++++++++++++++++
 3 files changed, 46 insertions(+)