Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 706398 - sys-fabric/infinipath-psm-3.2 : fails to build with -fno-common or gcc-10
Summary: sys-fabric/infinipath-psm-3.2 : 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: https://build.opensuse.org/package/vi...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-26 08:30 UTC by Toralf Förster
Modified: 2020-11-28 23:09 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,14.96 KB, text/plain)
2020-01-26 08:30 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,77.95 KB, text/plain)
2020-01-26 08:30 UTC, Toralf Förster
Details
environment (environment,86.96 KB, text/plain)
2020-01-26 08:30 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.72 KB, application/x-bzip)
2020-01-26 08:30 UTC, Toralf Förster
Details
sys-fabric:infinipath-psm-3.2:20200126-074339.log (sys-fabric:infinipath-psm-3.2:20200126-074339.log,943.03 KB, text/plain)
2020-01-26 08:30 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,32.31 KB, application/x-bzip)
2020-01-26 08:30 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-26 08:30:09 UTC
date +'char psmi_infinipath_revision[] ="$""Date: %F %R InfiniPath $";' > ./_revision.c
gcc  -c  -Wall  -O3 -g3  -fpic -fPIC -funwind-tables -D_GNU_SOURCE -DPSM_USE_SYS_UUID  -I. -I./include -I./mpspawn -I./include/linux-x86_64  _revision.c -o _revision.o
gcc  -Wl,-O1 -Wl,--as-needed   -o libpsm_infinipath.so.1.15 -Wl,-soname=libpsm_infinipath.so.1 -shared -Wl,--unique='*fastpath*' \
	ptl_am/am_reqrep_shmem.o ptl_am/am_reqrep.o ptl_am/ptl.o ptl_am/kcopyrwu.o ptl_am/knemrwu.o psm_context.o psm_ep.o psm_ep_connect.o psm_error.o psm_utils.o psm_timer.o psm_am.o psm_mq.o psm_mq_utils.o psm_mq_recv.o psm_mpool.o psm_stats.o psm_memcpy.o psm.o libuuid/psm_uuid.o ptl_ips/ptl.o ptl_ips/ptl_rcvthread.o ptl_ips/ipserror.o ptl_ips/ips_scb.o ptl_ips/ips_epstate.o ptl_ips/ips_recvq.o ptl_ips/ips_recvhdrq.o ptl_ips/ips_spio.o ptl_ips/ips_proto.o ptl_ips/ips_proto_recv.o ptl_ips/ips_proto_connect.o ptl_ips/ips_proto_expected.o ptl_ips/ips_tid.o ptl_ips/ips_crc32.o ptl_ips/ips_tidflow.o ptl_ips/ips_proto_dump.o ptl_ips/ips_proto_mq.o ptl_ips/ips_proto_am.o ptl_ips/ips_subcontext.o ptl_ips/ips_path_rec.o ptl_ips/ips_opp_path_rec.o ptl_ips/ips_writehdrq.o ptl_self/ptl.o psm_diags.o _revision.o -Lipath -linfinipath -lrt -lpthread -ldl -luuid
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ptl_am/am_reqrep.o:/var/tmp/portage/sys-fabric/infinipath-psm-3.2/work/infinipath-psm-3.2-2_ga8c3e3e_open/./psm_user.h:103: multiple definition of `psmi_progress_lock'; ptl_am/am_reqrep_shmem.o:/var/tmp/portage/sys-fabric/infinipath-psm-3.2/work/infinipath-psm-3.2-2_ga8c3e3e_open/ptl_am/../psm_user.h:103: first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ptl_am/am_reqrep.o:/var/tmp/portage/sys-fabric/infinipath-psm-3.2/work/infinipath-psm-3.2-2_ga8c3e3e_open/./psm_utils.h:257: multiple definition of `psmi_faultinj_enabled'; ptl_am/am_reqrep_shmem.o:/var/tmp/portage/sys-fabric/infinipath-psm-3.2/work/infinipath-psm-3.2-2_ga8c3e3e_open/ptl_am/../psm_utils.h:257: first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib-20200124-204141

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

  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.7
  [2]   python3.6
  [3]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.40.0 *



repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Sun, 26 Jan 2020 07:06:11 +0000

emerge -qpvO sys-fabric/infinipath-psm
[ebuild  N    ] sys-fabric/infinipath-psm-3.2
Comment 1 Toralf Förster gentoo-dev 2020-01-26 08:30:11 UTC
Created attachment 604496 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-26 08:30:14 UTC
Created attachment 604498 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-26 08:30:17 UTC
Created attachment 604500 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-26 08:30:20 UTC
Created attachment 604502 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-26 08:30:23 UTC
Created attachment 604504 [details]
sys-fabric:infinipath-psm-3.2:20200126-074339.log
Comment 6 Toralf Förster gentoo-dev 2020-01-26 08:30:27 UTC
Created attachment 604506 [details]
temp.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2020-11-28 23:09:51 UTC
The bug has been closed via the following commit(s):

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

commit ac8f2fc430322b1a6caa125e93cac120da24db62
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2020-11-28 23:09:18 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-11-28 23:09:18 +0000

    sys-fabric/infinipath-psm: fix build with gcc-10
    
    * Thanks to Sam James for providing the patch link
    
    Closes: https://bugs.gentoo.org/706398
    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>

 .../files/infinipath-psm-3.2-fno-common.patch      | 79 ++++++++++++++++++++++
 .../infinipath-psm/infinipath-psm-3.2.ebuild       |  6 +-
 2 files changed, 82 insertions(+), 3 deletions(-)