Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 719950 - x11-drivers/xf86-video-amdgpu-19.1.0 : fails to build with -fno-common or gcc-10
Summary: x11-drivers/xf86-video-amdgpu-19.1.0 : 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: Gentoo X packagers
URL: https://gitlab.freedesktop.org/xorg/d...
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-04-28 18:25 UTC by Toralf Förster
Modified: 2020-05-01 18:54 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.81 KB, text/plain)
2020-04-28 18:25 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,74.44 KB, text/plain)
2020-04-28 18:25 UTC, Toralf Förster
Details
environment (environment,82.94 KB, text/plain)
2020-04-28 18:25 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,10.66 KB, application/x-bzip)
2020-04-28 18:25 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,10.92 KB, application/x-bzip)
2020-04-28 18:26 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,25.74 KB, application/x-bzip)
2020-04-28 18:26 UTC, Toralf Förster
Details
x11-drivers:xf86-video-amdgpu-19.1.0:20200428-181959.log (x11-drivers:xf86-video-amdgpu-19.1.0:20200428-181959.log,25.45 KB, text/plain)
2020-04-28 18:26 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-04-28 18:25:46 UTC
libtool: link: x86_64-pc-linux-gnu-gcc -shared  -fPIC -DPIC  .libs/amdgpu_video.o .libs/amdgpu_misc.o .libs/amdgpu_probe.o .libs/amdgpu_bo_helper.o .libs/amdgpu_dri2.o .libs/amdgpu_dri3.o .libs/amdgpu_drm_queue.o .libs/amdgpu_kms.o .libs/amdgpu_present.o .libs/amdgpu_sync.o .libs/drmmode_display.o .libs/amdgpu_glamor.o .libs/amdgpu_glamor_wrappers.o .libs/amdgpu_pixmap.o   -Wl,--as-needed -ldrm_amdgpu -lgbm -ludev  -O2 -march=native -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-z -Wl,lazy   -Wl,-soname -Wl,amdgpu_drv.so -o .libs/amdgpu_drv.so
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/amdgpu_probe.o:(.bss+0x0): multiple definition of `drmmode_sprite_funcs'; .libs/amdgpu_video.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/amdgpu_bo_helper.o:(.bss+0x0): multiple definition of `drmmode_sprite_funcs'; .libs/amdgpu_video.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) *
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	Tue 28 Apr 2020 04:38:45 PM UTC

emerge -qpvO x11-drivers/xf86-video-amdgpu
[ebuild  N    ] x11-drivers/xf86-video-amdgpu-19.1.0  USE="udev"
Comment 1 Toralf Förster gentoo-dev 2020-04-28 18:25:49 UTC
Created attachment 635080 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-04-28 18:25:52 UTC
Created attachment 635082 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-04-28 18:25:55 UTC
Created attachment 635084 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-04-28 18:25:57 UTC
Created attachment 635086 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-04-28 18:26:00 UTC
Created attachment 635088 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-04-28 18:26:03 UTC
Created attachment 635090 [details]
temp.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-04-28 18:26:06 UTC
Created attachment 635092 [details]
x11-drivers:xf86-video-amdgpu-19.1.0:20200428-181959.log
Comment 8 Larry the Git Cow gentoo-dev 2020-05-01 18:54:45 UTC
The bug has been closed via the following commit(s):

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

commit 532a3eb3dda0ff59c4e3e80ff28b7856561fbee4
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2020-05-01 18:49:01 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2020-05-01 18:54:34 +0000

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

 ...mdgpu-19.1.0-Fix-link-failure-with-gcc-10.patch | 28 ++++++++++++++++++++++
 .../xf86-video-amdgpu-19.1.0.ebuild                |  4 ++++
 2 files changed, 32 insertions(+)