From nobody Sun Dec 12 19:05:31 2021 X-Original-To: toolchain@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 6505018D5BAE for ; Sun, 12 Dec 2021 19:05:31 +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 4JBvGz0gkBz3tdR for ; Sun, 12 Dec 2021 19:05:31 +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 E2541263AE for ; Sun, 12 Dec 2021 19:05:30 +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 1BCJ5U6i010082 for ; Sun, 12 Dec 2021 19:05:30 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1BCJ5UNf010081 for toolchain@FreeBSD.org; Sun, 12 Dec 2021 19:05:30 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: toolchain@FreeBSD.org Subject: [Bug 260364] Toolchain creates the shared library that SEGVs on load: Invalid permissions for mapped object. Date: Sun, 12 Dec 2021 19:05:31 +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: dim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: 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: Maintenance of FreeBSD s integrated toolchain List-Archive: https://lists.freebsd.org/archives/freebsd-toolchain List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-toolchain@freebsd.org X-BeenThere: freebsd-toolchain@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639335931; 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=j+A7cU5SC4k6oyhTu5LHgF+8bqykKcVB2fpkEfENYVE=; b=vctXvyCltEpSisG9USMHGyZdV1DMyI07B6ygvKRPeQtTRV3mFl3Oy1C1prf/0t+/Wj/3gV ue0G7n6UBgJqpjC5RfqO/74P2alhlRQZHDuAD3TA6YZKl/Q/5vDCRri4uE8xjd215Uuh2s ddrEmoxrTo6UOTQ1UlP14j+ZqV6VeVwH8zZ8Ga7A8mbaBxVlcn49cxFA9fK2FKRy/RZ/Zc qrHGET3m4pNO7y72VH1EHT4eSsgDbx4BViPLj1DGh1J/2vNr8WfMGlFpbIhSQzDzul/zLP 5dQ4Q970zHKMukye8di2hUxAeLRwDG2EVS2ItVBv2vqRuBLp9wiFpKksWMRlBg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639335931; a=rsa-sha256; cv=none; b=DY4MCBy2ZYDjfO51SJ2bSxnsw85tgwgXHUloKdT+LTtFzji/KMds52S6T17B6o2uAFzKZx sPsCoKWj8bkbw32wH0/08lOj/COmsBQFD/5Xfz7oEf2YxwmtRzGvHy6lnOktOeFvYejo3j qq+wDMLQLniJRsWcpwGG6Oaxf28Mcd5pwx2FSZq9IOm9gbqH3aZIjTZeJcyd/Lz4YwKelM ULgXJ0GAZkFAncrrALYCPS7SzHGcnbY+ZkaAkt8m4u9QUCCNvd40Mi0XKe+UMTlx0U3u8u FvkD2VXqp9RI8R6arulBOhsOQFeeQNzEE7rQwncsheOMy74LnLbh6Iycy1N6Dw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260364 --- Comment #4 from Dimitry Andric --- I think the problem is that libcalf.so is mixing libc++.so and libstdc++.so, which can never work correctly: % ldd /wrkdirs/share/dim/ports/audio/calf-lv2/work/calf-0.90.3/src/.libs/libcalf.= so /wrkdirs/share/dim/ports/audio/calf-lv2/work/calf-0.90.3/src/.libs/libcalf.= so: libexpat.so.1 =3D> /usr/local/lib/libexpat.so.1 (0xcd137d63000) libfluidsynth.so.3 =3D> /usr/local/lib/libfluidsynth.so.3 (0xcd1373= dc000) libgthread-2.0.so.0 =3D> /usr/local/lib/libgthread-2.0.so.0 (0xcd1388cb000) libglib-2.0.so.0 =3D> /usr/local/lib/libglib-2.0.so.0 (0xcd13c01600= 0) libintl.so.8 =3D> /usr/local/lib/libintl.so.8 (0xcd138a2d000) libstdc++.so.6 =3D> /usr/local/lib/gcc11/libstdc++.so.6 (0xcd13ce00= 000) libm.so.5 =3D> /lib/libm.so.5 (0xcd13aab0000) libc.so.7 =3D> /lib/libc.so.7 (0xcd135dc3000) libgcc_s.so.1 =3D> /usr/local/lib/gcc11/libgcc_s.so.1 (0xcd13b69a00= 0) libthr.so.3 =3D> /lib/libthr.so.3 (0xcd13da68000) libjack.so.0 =3D> /usr/local/lib/libjack.so.0 (0xcd13e927000) libreadline.so.8 =3D> /usr/local/lib/libreadline.so.8 (0xcd13fff600= 0) libomp.so =3D> /usr/lib/libomp.so (0xcd13ee8b000) libc++.so.1 =3D> /usr/lib/libc++.so.1 (0xcd1401ed000) libcxxrt.so.1 =3D> /lib/libcxxrt.so.1 (0xcd13fae9000) libpcre.so.1 =3D> /usr/local/lib/libpcre.so.1 (0xcd1405bf000) libiconv.so.2 =3D> /usr/local/lib/libiconv.so.2 (0xcd1415c0000) libutil.so.9 =3D> /lib/libutil.so.9 (0xcd1419b3000) libopus.so.0 =3D> /usr/local/lib/libopus.so.0 (0xcd141ac4000) libsamplerate.so.0 =3D> /usr/local/lib/libsamplerate.so.0 (0xcd142e= c8000) libdbus-1.so.3 =3D> /usr/local/lib/libdbus-1.so.3 (0xcd142a9b000) libtinfow.so.9 =3D> /lib/libtinfow.so.9 (0xcd144e33000) libexecinfo.so.1 =3D> /usr/lib/libexecinfo.so.1 (0xcd143924000) libelf.so.2 =3D> /lib/libelf.so.2 (0xcd13436c000) It seems that libfluidsynth.so.3 and libjack.so.0 are the ones that 'pull i= n' libc++.so.1. So either these should also be compiled against libstdc++, or libcalf.so. should be linked against libc++. The latter is preferred, of course. --=20 You are receiving this mail because: You are the assignee for the bug.=