From nobody Mon Feb 07 01:31:20 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 91DA119BAC37 for ; Mon, 7 Feb 2022 01:31:20 +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 4JsTBJ2z4Hz3jLY for ; Mon, 7 Feb 2022 01:31:20 +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 3D9C81CF24 for ; Mon, 7 Feb 2022 01:31:20 +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 2171VKB1046137 for ; Mon, 7 Feb 2022 01:31:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2171VKdJ046136 for bugs@FreeBSD.org; Mon, 7 Feb 2022 01:31:20 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 261760] dlopen asserts instead of returning an error Date: Mon, 07 Feb 2022 01:31:20 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 13.0-STABLE 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: attachments.mimetype attachments.created Message-ID: In-Reply-To: References: 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=1644197480; 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: in-reply-to:in-reply-to:references:references; bh=cCqDB6O/pXE64zIHpRuKc+rm33HzXUSQ/FOlArhExxg=; b=YZgJIsYhXRL95KGS/VVx8uOWJlTAHtlhWO3KMzBUR6jYtvSGVdtbl4hBYGFG2g9BENVyg4 4oEVIGSkqqwYntUa+03yKdVPy8Mrq66D2ShYWe8K+on840xD1L2DONtWB1kNLaWumYdTej EetSogd//GCGmDm4VbVFrDFimEhYibfPTsasW2+3wfT7Z2wJ96M8BCQyh8zPwdzy9ok5qF MQ5rn7IjnHZfmQTC2vbUq7Ugv8GF6JGlyTbV5ci+5t8muKMhu0mktMm+a5WA6ocGjv9XvL 0tETsjVXiPOdlIk43nnG47pY3W8CP8JsYVVbQdgchEgG3ZfpskdOtg9Jl1FlXw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644197480; a=rsa-sha256; cv=none; b=ShJlghQKv4R55xddnXirXYAAmLAA/ndzgLA/iLLqdL6po7Q+ookSnw5bT1TalEQykPgBpp Sp6uigHM4sEHZkbS+963gdRkyLqdIz84vLYzWxVDNoF3qM/2KkrSGILZzlls8yLt2upO9+ 0Z1ShN+8oJ1LGvj4m0iu38DNd8aHsylh18CMOtpHB8L+AUzXYaLvHLtmP5S1xJanWUt393 XNLGAOyy+dUgq0IPd1TObR8QX4csXw4HkmVaNrICQIoL2HSolzg19WhBETCnRpHi0WBZHv 7iJi6TfBlY3nd0qU5Lp/b9pKvfgJcWRi8dHdEB+8lzRB2j4DTDSq/0xY1LMIFQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261760 Yuri Victorovich changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #231592|text/x-c++src |text/plain mime type| | --- Comment #14 from Yuri Victorovich --- Created attachment 231592 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D231592&action= =3Dedit shlib.cpp I am building the shared library libx.so from the attached shlib.cpp using = the attached script mk-shlib.sh Regardless of the order of -pthread and -lGL in mk-shlib.sh it still produc= es the broken shared library. Is this a toolchain problem that changing the order of libraries in the com= mand line doesn't change the order they are loaded in? --=20 You are receiving this mail because: You are the assignee for the bug.=