From nobody Sun Jul 3 07:28:35 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 2743E8B58AF for ; Sun, 3 Jul 2022 07:28:36 +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 4LbLC75G4tz4cZ5 for ; Sun, 3 Jul 2022 07:28:35 +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 94FAD200ED for ; Sun, 3 Jul 2022 07:28:35 +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 2637SZvL069734 for ; Sun, 3 Jul 2022 07:28:35 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2637SZur069733 for bugs@FreeBSD.org; Sun, 3 Jul 2022 07:28:35 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 265008] 'undefined symbol: environ' which shouldn't happen according to environ(7) Date: Sun, 03 Jul 2022 07:28:35 +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: 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: 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=1656833315; 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=UAHvLpnhb6vk1Fa4imBtowE3T494gm5kQ/RSA9/Izik=; b=ebAtttx3ptxtKtA218uznXVehYVSYco4CGzOdGoVf6h3G24MfHVOGUeCc8WcIm3DcixSq1 Xsa0TxDfPfqmfhKXoVr5YMRVq6548ts/OudIFwQnVFx5HABgQ4S4JGJaiYup+WrmZRxTRi aJqfnKosC35gOIIShfvANK0LHKxdNQ1Z9z6QUYHtzuaDAfRkf848lp++fPpcPH9qaHkAtY +0LriKB2q79QgEVA47ZajQuni6TF4QztPLbFoZn4H5CEfSHNk83aXj134whf47TGQFKNoP uGIi2TvOhrztDU1tw3qlCLxB4hpkBjixdxXRHipVioShIRguLzJojajuHwnVHQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1656833315; a=rsa-sha256; cv=none; b=iTVAH/mQSeJo77OAXyR1JhQekPyA8u07Vj6Q95afwkdS2Fmv6d1ELNzMPKfCqzpGaxJZ98 fo5X9NUpCamd2w0CJf3C/ah9+GHvlmeHvS5ZnS+1oxx74Za6EpJq5+MVv8qFCXTMA4x6nY Uw+CuV4zxD7HmeXMJAy5znn6Nnp1+xi6yiTxNF0WyqT9SF8kklpjmA8xv8lSYokyTQ6Smy sD5bfyEb0oBDv9/JYESgHXuxNLyqnKQcEZdEVkcLN+1gOAHEPIi22Y9VJg1azAckuENg5d Y3/shMkmPLoF+dBVt/XxOuHS+vgJFZUvKDtCp3F44db+cp1lq3btVSA9GAe0Yg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265008 Bug ID: 265008 Summary: 'undefined symbol: environ' which shouldn't happen according to environ(7) Product: Base System Version: 13.1-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: misc Assignee: bugs@FreeBSD.org Reporter: yuri@freebsd.org The Criterion project (https://github.com/Snaipe/Criterion) fails to build with: cc -o src/libcriterion.so.3.2.0 src/libcriterion.so.3.2.0.p/err.c.o src/libcriterion.so.3.2.0.p/mutex.c.o src/libcriterion.so.3.2.0.p/capi_specifiers.c.o src/libcriterion.so.3.2.0.p/capi_stream.c.o src/libcriterion.so.3.2.0.p/compat_alloc.c.o src/libcriterion.so.3.2.0.p/compat_kill.c.o src/libcriterion.so.3.2.0.p/compat_mockfile.c.o src/libcriterion.so.3.2.0.p/compat_path.c.o src/libcriterion.so.3.2.0.p/compat_pipe.c.o src/libcriterion.so.3.2.0.p/compat_process.c.o src/libcriterion.so.3.2.0.p/compat_processor.c.o src/libcriterion.so.3.2.0.p/compat_section.c.o src/libcriterion.so.3.2.0.p/compat_strtok.c.o src/libcriterion.so.3.2.0.p/compat_time.c.o src/libcriterion.so.3.2.0.p/core_abort.c.o src/libcriterion.so.3.2.0.p/core_assert.c.o src/libcriterion.so.3.2.0.p/core_client.c.o src/libcriterion.so.3.2.0.p/core_ordered-set.c.o src/libcriterion.so.3.2.0.p/core_report.c.o src/libcriterion.so.3.2.0.p/core_runner.c.o src/libcriterion.so.3.2.0.p/core_runner_coroutine.c.o src/libcriterion.so.3.2.0.p/core_stats.c.o src/libcriterion.so.3.2.0.p/core_test.c.o src/libcriterion.so.3.2.0.p/csptr_array.c.o src/libcriterion.so.3.2.0.p/csptr_mman.c.o src/libcriterion.so.3.2.0.p/entry_entry.c.o src/libcriterion.so.3.2.0.p/entry_options.c.o src/libcriterion.so.3.2.0.p/entry_params.c.o src/libcriterion.so.3.2.0.p/io_event.c.o src/libcriterion.so.3.2.0.p/io_file.c.o src/libcriterion.so.3.2.0.p/io_json= .c.o src/libcriterion.so.3.2.0.p/io_output.c.o src/libcriterion.so.3.2.0.p/io_redirect.c.o src/libcriterion.so.3.2.0.p/io_tap.c.o src/libcriterion.so.3.2.0.p/io_xml.c= .o src/libcriterion.so.3.2.0.p/log_logging.c.o src/libcriterion.so.3.2.0.p/log_normal.c.o src/libcriterion.so.3.2.0.p/protocol_connect.c.o src/libcriterion.so.3.2.0.p/protocol_messages.c.o src/libcriterion.so.3.2.0.p/protocol_protocol.c.o src/libcriterion.so.3.2.0.p/string_brz.c.o src/libcriterion.so.3.2.0.p/string_extglobmatch.c.o src/libcriterion.so.3.2.0.p/string_fmt.c.o src/libcriterion.so.3.2.0.p/string_i18n.c.o src/libcriterion.so.3.2.0.p/string_xxd.c.o src/libcriterion.so.3.2.0.p/protocol_criterion.pb.c.o src/libcriterion.so.3.2.0.p/string_diff.c.o src/libcriterion.so.3.2.0.p/core_theories.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -shared -fPIC -Wl,--start-group -Wl,-soname,libcriterion.so.3 -fstack-protector-strong -O2 -pipe -fno-omit-frame-pointer -fstack-protector-strong -fno-strict-aliasing -fno-omit-frame-pointer -Wl,-rpath,/usr/local/lib -Wl,-rpath-link,/usr/local/lib subprojects/boxfort/src/libboxfort.a subprojects/nanomsg/libnanomsg.a subprojects/nanopb/libprotobuf_nanopb_stat= ic.a -Wl,--exclude-libs,ALL -pthread -lrt -lm /usr/local/lib/libffi.so /usr/local/lib/libgit2.so -lpthread -Wl,--end-group ld: error: undefined symbol: environ >>> referenced by sandbox-posix.c extern is defined in sandbox-posix.c: > extern char **environ; so it should just exist and no such error should ever occur. There was a dedicated bug report for this but I can't find it now. --=20 You are receiving this mail because: You are the assignee for the bug.=