Summary: | x11-misc/bumblebee does not build with GCC 10 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | niek |
Component: | Current packages | Assignee: | Adam Feldman <np-hardass> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | pacho, proxy-maint, rei4dan, silvio.gerli |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
/var/tmp/portage/x11-misc/bumblebee-3.2.1_p20170130/temp/build.log
emerge --info output |
Created attachment 642572 [details]
emerge --info output
Setting CFLAGS="${CFLAGS} -fcommon" seems to work. Don't CC arches yourself please. https://gcc.gnu.org/gcc-10/porting_to.html This seems to be the result of GCC 10 changing the default behavior for non-extern globals. Adding the -fcommon CFLAG does seem to be the simplest fix for this. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5702a506f6074eef248afc8cc20df6ebd68a1a6 commit d5702a506f6074eef248afc8cc20df6ebd68a1a6 Author: Pacho Ramos <pacho@gentoo.org> AuthorDate: 2020-06-19 17:34:05 +0000 Commit: Pacho Ramos <pacho@gentoo.org> CommitDate: 2020-06-19 17:34:05 +0000 x11-misc/bumblebee: Fix building with gcc-10 Closes: https://bugs.gentoo.org/726116 Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Pacho Ramos <pacho@gentoo.org> .../bumblebee/bumblebee-3.2.1_p20190421.ebuild | 5 ++ .../files/bumblebee-3.2.1_p20190421-gcc10.patch | 66 ++++++++++++++++++++++ 2 files changed, 71 insertions(+) |
Created attachment 642568 [details] /var/tmp/portage/x11-misc/bumblebee-3.2.1_p20170130/temp/build.log x11-misc/bumblebee-3.2.1_p20170130 does not want to compile using sys-devel/gcc-10.1.0 Please find the build.log and emerge --info attached.