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

Bug 706538

Summary: app-editors/ee-1.5.2 : 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:ee-1.5.2:20200126-193323.log
emerge-history.txt
environment
etc.portage.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2020-01-26 19:50:50 UTC
 4296 |   link(file_name, buffer);
      |   ^~~~~~~~~~~~~~~~~~~~~~~
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   -DSLCT_HDR -O2 -pipe -march=native -fno-common  -Wl,-O1 -Wl,--as-needed
x86_64-pc-linux-gnu-gcc -o ee ee.o new_curse.o -DHAS_UNISTD  -DHAS_STDLIB -DHAS_CTYPE -DHAS_SYS_IOCTL -DHAS_SYS_WAIT   -DSLCT_HDR -O2 -pipe -march=native -fno-common  -Wl,-O1 -Wl,--as-needed 
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: new_curse.o:(.bss+0x2688): multiple definition of `top_of_win'; ee.o:(.bss+0xac0): first defined here
collect2: error: ld returned 1 exit status

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-libressl-20200125-150902

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

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

java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.14.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Sun, 26 Jan 2020 18:26:13 +0000

emerge -qpvO app-editors/ee
[ebuild  N    ] app-editors/ee-1.5.2
Comment 1 Toralf Förster gentoo-dev 2020-01-26 19:50:53 UTC
Created attachment 604858 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-26 19:50:55 UTC
Created attachment 604860 [details]
app-editors:ee-1.5.2:20200126-193323.log
Comment 3 Toralf Förster gentoo-dev 2020-01-26 19:50:58 UTC
Created attachment 604862 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-01-26 19:51:01 UTC
Created attachment 604864 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-01-26 19:51:04 UTC
Created attachment 604866 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-26 19:51:06 UTC
Created attachment 604868 [details]
temp.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2020-05-10 09:32:08 UTC
The bug has been closed via the following commit(s):

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

commit 9c387393179ef14f6ebde703dad08ed7706384b0
Author:     Akinori Hattori <hattya@gentoo.org>
AuthorDate: 2020-05-10 09:31:10 +0000
Commit:     Akinori Hattori <hattya@gentoo.org>
CommitDate: 2020-05-10 09:32:00 +0000

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

 app-editors/ee/ee-1.5.2.ebuild       |  1 +
 app-editors/ee/files/ee-gcc-10.patch | 22 ++++++++++++++++++++++
 2 files changed, 23 insertions(+)