From nobody Sun Jul 03 17:11:26 2022 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 B161E8A1FBC for ; Sun, 3 Jul 2022 17:11:26 +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 4Lbb7f2xh0z4m13 for ; Sun, 3 Jul 2022 17:11:26 +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 469C92868D for ; Sun, 3 Jul 2022 17:11:26 +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 263HBQ6E094767 for ; Sun, 3 Jul 2022 17:11:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 263HBQOm094766 for toolchain@FreeBSD.org; Sun, 3 Jul 2022 17:11:26 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 265008] 'undefined symbol: environ' when a shared library is built which shouldn't happen according to environ(7) Date: Sun, 03 Jul 2022 17:11:26 +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.1-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: 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=1656868286; 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=6T4Z5qig/Iplq9c3RO6Lou5grBtuMzWZp48UR6ErbyI=; b=EUiG/m6Uu1By5+sKrqnwuXRxn55WBRlvtDGyRUYswWw641bffqcddDqRx4xT8+/OJJrErH SbvOW5cTggtqe7mK93gQ+y+Vaaly5AE3AKsl8lWG10yH57r4iQxPeasVT9o/I0NBFniF8w VhySk8yJ6xBuzy4FkQIrjIRGL8RVQx8nT1wZFsZzSO2PR61xVZEeg7YgdGT7KDShB4XHIb ui8L3JXSK0I8qvYlEJb+dBSxNOj1ZQtU5E1H49yT9Gd15cMRxXuv35xV1B80jpxNWkMVWN ciX2ra7JdwVM2LL5QMNh6b3AewCm+62XM0x4I7pPzNt1OoSARZSRIfohJmOAHg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1656868286; a=rsa-sha256; cv=none; b=ddm2GySUqi90op+KBEjPeGVj0q+09r6Mp7RT8NTP4UvK3NhJbVUPui6srNqK1/ZP24BlQN 0wu4IQA6NfLHzsp3DCQjF28ZDdLEhDsBTHJD1aXLnNpm9qpDsFThJndYXcj2yzyLk8zj/v 0LJ6BdUDEX2T2akpQgeC+h7w1FV0BuusOKtYqH73dIevARl9Xqu4TMGu8nrtPun53b8WhI 83VvTXbC+XP9YQW0gRfmqQm67GsqJUaChjkXNAl6GNA5tpjfjMxtExIxRKkpOBWaDAsn1/ c8/6dIeYU+jDrZqTE4wHSnBAdD8tZSRO30QBDG9S298s8/JRNpUPjDrY0HHB/g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265008 --- Comment #3 from Yuri Victorovich --- (In reply to Mark Millard from comment #2) Hi Mark, Every symbol should be resolvable in some way, either through some library = or it should "just exist". environ(7) suggests that it just exists, w/out the need for any libraries. = And it does just exists, except when one links some shared library with particu= lar flags. The provided example is a valid use case of environ, yet it fails without an obvious workaround that doesn't alter link flags. Yuri --=20 You are receiving this mail because: You are the assignee for the bug.=