Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707480 - sys-block/vblade-24 : fails to build with -fno-common or gcc-10
Summary: sys-block/vblade-24 : 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's Team for Core System packages
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-30 19:26 UTC by Toralf Förster
Modified: 2020-12-28 11:50 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.33 KB, text/plain)
2020-01-30 19:27 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,161.92 KB, text/plain)
2020-01-30 19:27 UTC, Toralf Förster
Details
environment (environment,45.40 KB, text/plain)
2020-01-30 19:27 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,18.60 KB, application/x-bzip)
2020-01-30 19:27 UTC, Toralf Förster
Details
sys-block:vblade-24:20200130-135053.log (sys-block:vblade-24:20200130-135053.log,7.70 KB, text/plain)
2020-01-30 19:27 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,12.79 KB, application/x-bzip)
2020-01-30 19:27 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-01-30 19:26:56 UTC
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wall -c bpf.c
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wall -c linux.c
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wall -c ata.c
x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -o vblade aoe.o bpf.o linux.o ata.o
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bpf.o:(.bss+0x0): multiple definition of `serial'; aoe.o:(.bss+0xb20): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: bpf.o:(.bss+0x18): multiple definition of `progname'; aoe.o:(.bss+0xb38): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-libressl_test-20200126-104546

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

  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.7
  [3]   python3.6
  [4]   python2.7 (fallback)
  [5]   pypy3 (fallback)

Available Rust versions:
  [1]   rust-1.40.0 *
java-config:
The following VMs are available for generation-2:
Available Java Virtual Machines:
  (none found)
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Thu, 30 Jan 2020 12:08:44 +0000

emerge -qpvO sys-block/vblade
[ebuild  N    ] sys-block/vblade-24
Comment 1 Toralf Förster gentoo-dev 2020-01-30 19:27:00 UTC
Created attachment 609202 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-30 19:27:02 UTC
Created attachment 609204 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-30 19:27:05 UTC
Created attachment 609206 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-30 19:27:08 UTC
Created attachment 609208 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-30 19:27:11 UTC
Created attachment 609210 [details]
sys-block:vblade-24:20200130-135053.log
Comment 6 Toralf Förster gentoo-dev 2020-01-30 19:27:13 UTC
Created attachment 609212 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-12-28 11:50:36 UTC
The bug has been closed via the following commit(s):

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

commit c381d2a51249c41ce1b0322884f324db769feb66
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2020-12-28 11:50:16 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-12-28 11:50:16 +0000

    sys-block/vblade: fix build with gcc-10
    
    Closes: https://bugs.gentoo.org/707480
    Package-Manager: Portage-3.0.9, Repoman-3.0.1
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: David Seifert <soap@gentoo.org>

 sys-block/vblade/files/vblade-24-fno-common.patch | 48 +++++++++++++++++++++++
 sys-block/vblade/files/vblade-24-makefile.patch   | 35 +++++++++++++++++
 sys-block/vblade/vblade-24.ebuild                 | 19 +++++----
 3 files changed, 92 insertions(+), 10 deletions(-)