From nobody Sun Apr 16 20:11:52 2023 X-Original-To: ports-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 4Q01YP46chz45tkT for ; Sun, 16 Apr 2023 20:11:53 +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 4Q01YP25XLz3QyX for ; Sun, 16 Apr 2023 20:11:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681675913; 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=zX5Ul7CMtrjdM4seku9/bMVl1k7HXtGpC3gOJ1tzd9o=; b=PqoeVpmM4qbyd5L1DQ1P+oCHVy1a5jpKW/ktMnG0QnB9s+8FSPq4DfFaBRTpcMeua4nY3r F8ThFIEHd1ZpfA73axs8DfBHWKzMc2B2WIL3wS6yQW9ic8Nr1lTOqz8/864jd4xrRnpY+M qvk4PpoZDv1hNh9nJvpg0cn2mBBGxgiEm0x5EWgxcLXFGTwYIhbjy7oqm/hMdSEOTwewVm mht9Ift/mGOSYEzATgCh8LqT8QjgBIv4y3KvBnQj2w8yLDNzFkjjlxOkngHru14/vd5D2N UWpkXdnGpfnqedmyoMCiGCMjI7bYLAWu39ye+2nWVHdxIigwh7I0W6LLUHxa4g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1681675913; a=rsa-sha256; cv=none; b=jXIScP9LryxUaNv0n8GbuXw2LWugeiKOb8/gwz4RcL6EqqDJVy4Q3J74DbrFkL+JxPqcZh xjrhYxr305xj3mAf6pEqVOgWHLtxMs/azcF53XTKM8cpFxjSp2jqAOFPgnF7OoAdodl9rv Xs5gS6LHazqn+xzYmhmhyo6xtvEBYU9H0UkpwZIStZIMSU2BYWkHBi0hgi9Qpsz97sspLN 8hmKxEDSe1ItseQPwMKHm5YCLsISj5/rbwQG4SYdl/x4cYMJhVelcZPOeV8aN4dcMz/iw4 2+dn3KaCJwwGMnbMgfNsDMbDHtxTBALn9lusyZcf+T/dNAO+3hcGw+MWMKiAiw== 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 4Q01YP179rz11Pj for ; Sun, 16 Apr 2023 20:11:53 +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 33GKBr5k024129 for ; Sun, 16 Apr 2023 20:11:53 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 33GKBrLh024128 for ports-bugs@FreeBSD.org; Sun, 16 Apr 2023 20:11:53 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: ports-bugs@FreeBSD.org Subject: [Bug 270886] lang/swi-pl update to 9.0.4 requires -lstdthreads Date: Sun, 16 Apr 2023 20:11:52 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dewayne@heuristicsystems.com.au X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name 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: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270886 Bug ID: 270886 Summary: lang/swi-pl update to 9.0.4 requires -lstdthreads Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: dewayne@heuristicsystems.com.au CC: mailinglist@diamondbox.dk Flags: maintainer-feedback?(mailinglist@diamondbox.dk) CC: mailinglist@diamondbox.dk Updating to 9.0.4 was problematic but successful. I'm sharing my experienc= e in the hope that the maintainer (or others) can provide insight into the right solution. I modified the Makefile and pkg-plist with the usual number changes, eg 8.4= .3 to 9.0.4.=20 Compiling resulted in a failure ld-elf.so.1: /var/ports/usr/ports/local/swi-pl-9.0.4-fail/work/.build/src/libswipl.so.9: Undefined symbol "cnd_init" (5 hours later) I added -lstdthreads to the set statement in cmake/Params.c= make if(MULTI_THREADED) set(C_CFLAGS "${C_CFLAGS} -pthread") endif() Aside - cc converted -pthread to -lpthread (magic happens!) Build failure continued. Out of frustration, I added -lstdthreads to LDFLA= GS which resulted in a successful build & execution, eg swipl -f /usr/local/lib/swipl/library/test_cover.pl -g 'assert((a(X):-yaml_read(X,_)))' -g 'show_coverage(a("/tmp/os.yaml"))' -g h= alt Aside: There is a noticeable size increase. Changing only LDFLAGS+=3D-lstdt= hreads -rwxr-xr-x 0 root wheel 2048104 16 Apr 19:26 /usr/local/lib/swipl/lib/amd64-freebsd/libswipl.so.8.4.3 -rwxr-xr-x 0 root wheel 2247928 17 Apr 05:14 /usr/local/lib/swipl/lib/amd64-freebsd/libswipl.so.9.0.4 (Note: I use O3 and lto=3Dthin) --=20 You are receiving this mail because: You are the assignee for the bug.=