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

Bug 720266

Summary: x11-drivers/xf86-video-ati-19.1.0 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo X packagers <x11>
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
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2
x11-drivers:xf86-video-ati-19.1.0:20200501-054418.log

Description Toralf Förster gentoo-dev 2020-05-01 10:28:19 UTC
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/radeon_video.o:(.bss+0x0): multiple definition of `drmmode_sprite_funcs'; .libs/radeon_accel.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/radeon_textured_video.o:(.bss+0x0): multiple definition of `drmmode_sprite_funcs'; .libs/radeon_accel.o:(.bss+0x0): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_developer-20200426-201443

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

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.0 *
clang version 10.0.0 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
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-bin-1.43.0
  [2]   rust-1.43.0 *
The following VMs are available for generation-2:
*)	IcedTea JDK 3.15.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.0.2

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Fri 01 May 2020 04:38:55 AM UTC

emerge -qpvO x11-drivers/xf86-video-ati
[ebuild  N    ] x11-drivers/xf86-video-ati-19.1.0  USE="udev"
Comment 1 Toralf Förster gentoo-dev 2020-05-01 10:28:22 UTC
Created attachment 635456 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-05-01 10:28:25 UTC
Created attachment 635458 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-05-01 10:28:28 UTC
Created attachment 635460 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-05-01 10:28:30 UTC
Created attachment 635462 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-05-01 10:28:33 UTC
Created attachment 635464 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-05-01 10:28:36 UTC
Created attachment 635466 [details]
temp.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-05-01 10:28:39 UTC
Created attachment 635468 [details]
x11-drivers:xf86-video-ati-19.1.0:20200501-054418.log
Comment 8 Larry the Git Cow gentoo-dev 2020-05-01 18:54:48 UTC
The bug has been closed via the following commit(s):

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

commit 1089c0fa030301e8f4d29c04552ac1cbff1bd645
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2020-05-01 18:48:58 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2020-05-01 18:54:34 +0000

    x11-drivers/xf86-video-ati: Add patch for GCC-10
    
    Closes: https://bugs.gentoo.org/720266
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 ...o-ati-19.1.0-Fix-link-failure-with-gcc-10.patch | 33 ++++++++++++++++++++++
 .../xf86-video-ati/xf86-video-ati-19.1.0.ebuild    |  4 +++
 2 files changed, 37 insertions(+)