From nobody Sat Jan 22 09:26:12 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id B9EBB196F113 for ; Sat, 22 Jan 2022 09:26:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JgrTc3KG2z3kKH for ; Sat, 22 Jan 2022 09:26:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4E1FD4F36 for ; Sat, 22 Jan 2022 09:26:12 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 20M9QCVL005278 for ; Sat, 22 Jan 2022 09:26:12 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 20M9QCku005277 for bugs@FreeBSD.org; Sat, 22 Jan 2022 09:26:12 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 261401] science/helfem: Fails to find std::swap-related symbols Date: Sat, 22 Jan 2022 09:26:12 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: yuri@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642843572; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Z+epkcXDefcSWP0p7O6to8a0zrgSLV6g+gKMQZ1t7TY=; b=K6WDccQFCeyrZRurcAOdV6s501+SXjgzXsKmWen9Wq875NlO41AbNrZ/wcW3AnPu6giR5z TjOliKJT4FCAT3Xb9jSVsTPT+YX3Nj1KFkfYIuR0B++cbl7aR1N4bf7+ZWyy/PG3ipeRXW 5lndYo3S0rlPzTStii4v5u+NvwKozy+RCN8NqEoyNg9vhJTDA39uSqLrgkdK3crK4rdthn 36z1mL4HJ/IfBVi/qRfZdXTNVDuq1C251v5RYV4A03SFfiA8z/SQwKL4/0FQ2ReChAy50Q iDCTkTjxZLjIkAxG8h6sXP7V3H7gvpBpQGcu234nVoZ2p5lSn8QihFZ+0IpsaQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1642843572; a=rsa-sha256; cv=none; b=ARESbHxQGwJQevWoSKpdTB7IXdc2SrBjy+H/pL79VPu3vIABBCmGI6LcANZHP79YTk2+kF xZwmOYHCNE5fZxTFN8NMtOkyfbm9igWQziWdrL1WC9NJ+52evy+p/sAybS8SdGjA7Fbne4 mGo9Mc/WBIJS+ppt19yZJluZLaopuMe+BMClBEcxdTZTNKXadQacObKvq+PhfrR+hFN1A4 RdKyox4+BoIPt4eNIQc70EYSmLpDX3CBHsIDZgwaGX6cRlOMp1ihi+7iKsb/XzNzkvi9oV O2oMY9vBMmvEGgg7ZWG+rGQ9ccXcuN5YTb6vJKYNT8jfEhTapm70T7ikzRKBFg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261401 Bug ID: 261401 Summary: science/helfem: Fails to find std::swap-related symbols Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: misc Assignee: bugs@FreeBSD.org Reporter: yuri@freebsd.org science/helfem fails only on CURRENT. This code appears to trigger the failure: > double Phi_general(unsigned int n, double Xi, double xi) { > if(Xi < xi) > std::swap(Xi,xi); Error: > /usr/local/bin/ld: CMakeFiles/helfem.dir/src/erfc_expn.cpp.o: in function= `helfem::atomic::erfc_expn::Phi_general(unsigned int, double, double)': > erfc_expn.cpp:(.text+0x3b): undefined reference to `std::__1::enable_if::value&&is_move_assignable::value, voi= d>::type std::__1::swap(double&, double&)' > /usr/local/bin/ld: CMakeFiles/helfem.dir/src/erfc_expn.cpp.o: in function= `helfem::atomic::erfc_expn::Phi_short(unsigned int, double, double)': > erfc_expn.cpp:(.text+0x969): undefined reference to `std::__1::enable_if<= is_move_constructible::value&&is_move_assignable::value, vo= id>::type std::__1::swap(double&, double&)' > /usr/local/bin/ld: CMakeFiles/helfem.dir/src/erfc_expn.cpp.o: in function= `helfem::atomic::erfc_expn::Phi(unsigned int, double, double)': > erfc_expn.cpp:(.text+0xac4): undefined reference to `std::__1::enable_if<= is_move_constructible::value&&is_move_assignable::value, vo= id>::type std::__1::swap(double&, double&)' > /usr/local/bin/ld: libhelfem.so: hidden symbol `_ZNSt3__14swapIdEENS_9ena= ble_ifIXaasr21is_move_constructibleIT_EE5valuesr18is_move_assignableIS2_EE5= valueEvE4typeERS2_S5_' isn't defined > /usr/local/bin/ld: final link failed: bad value Log: http://beefy18.nyi.freebsd.org/data/main-amd64-default/pd48577352169_s7406e= c4ea9/logs/helfem-g20210912_2.log --=20 You are receiving this mail because: You are the assignee for the bug.=