Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 706596 - sys-fabric/libcxgb3-1.3.1-r2 : fails to build with -fno-common or gcc-10
Summary: sys-fabric/libcxgb3-1.3.1-r2 : 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 Cluster Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-27 02:49 UTC by Toralf Förster
Modified: 2020-12-28 12:43 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.56 KB, text/plain)
2020-01-27 02:49 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,54.62 KB, text/plain)
2020-01-27 02:49 UTC, Toralf Förster
Details
environment (environment,85.67 KB, text/plain)
2020-01-27 02:49 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.68 KB, application/x-bzip)
2020-01-27 02:49 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,8.62 KB, application/x-bzip)
2020-01-27 02:49 UTC, Toralf Förster
Details
sys-fabric:libcxgb3-1.3.1-r2:20200126-230245.log (sys-fabric:libcxgb3-1.3.1-r2:20200126-230245.log,15.06 KB, text/plain)
2020-01-27 02:50 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,22.07 KB, application/x-bzip)
2020-01-27 02:50 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-27 02:49:45 UTC
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -g -Wall -D_GNU_SOURCE -O2 -pipe -march=native -fno-common -c src/verbs.c -o verbs.o >/dev/null 2>&1
/bin/sh ./libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -g -Wall -D_GNU_SOURCE -O2 -pipe -march=native -fno-common  -Wl,-O1 -Wl,--as-needed -o src/libcxgb3.la -rpath /usr/lib64 -avoid-version -release rdmav2 -Wl,--version-script=./src/iwch.map cq.lo iwch.lo qp.lo verbs.lo  -libverbs 
mkdir src/.libs
x86_64-pc-linux-gnu-gcc -shared  .libs/cq.o .libs/iwch.o .libs/qp.o .libs/verbs.o  -libverbs  -march=native -Wl,-O1 -Wl,--as-needed -Wl,--version-script=./src/iwch.map -Wl,-soname -Wl,libcxgb3-rdmav2.so -o src/.libs/libcxgb3-rdmav2.so
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/iwch.o:/var/tmp/portage/sys-fabric/libcxgb3-1.3.1-r2/work/libcxgb3-1.3.1/src/cxio_wr.h:641: multiple definition of `iwch_page_size'; .libs/cq.o:/var/tmp/portage/sys-fabric/libcxgb3-1.3.1-r2/work/libcxgb3-1.3.1/src/cxio_wr.h:641: first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/iwch.o:/var/tmp/portage/sys-fabric/libcxgb3-1.3.1-r2/work/libcxgb3-1.3.1/src/cxio_wr.h:642: multiple definition of `iwch_page_shift'; .libs/cq.o:/var/tmp/portage/sys-fabric/libcxgb3-1.3.1-r2/work/libcxgb3-1.3.1/src/cxio_wr.h:642: first defined here

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

  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 21:49:48 +0000

emerge -qpvO sys-fabric/libcxgb3
[ebuild  N    ] sys-fabric/libcxgb3-1.3.1-r2
Comment 1 Toralf Förster gentoo-dev 2020-01-27 02:49:48 UTC
Created attachment 605040 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-27 02:49:51 UTC
Created attachment 605042 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-27 02:49:53 UTC
Created attachment 605044 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-27 02:49:56 UTC
Created attachment 605046 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-27 02:49:59 UTC
Created attachment 605048 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-27 02:50:01 UTC
Created attachment 605050 [details]
sys-fabric:libcxgb3-1.3.1-r2:20200126-230245.log
Comment 7 Toralf Förster gentoo-dev 2020-01-27 02:50:04 UTC
Created attachment 605052 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-12-28 12:43:10 UTC
The bug has been closed via the following commit(s):

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

commit c2802ba9b7b11cc1add9556e6a858d576fd1e861
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2020-12-28 12:42:57 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-12-28 12:42:57 +0000

    sys-fabric/libcxgb3: Port to EAPI 6
    
    Closes: https://bugs.gentoo.org/706596
    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>

 .../libcxgb3/files/libcxgb3-1.3.1-fno-common.patch | 41 ++++++++++++++++++++++
 sys-fabric/libcxgb3/libcxgb3-1.3.1-r2.ebuild       |  5 +--
 2 files changed, 44 insertions(+), 2 deletions(-)