From nobody Sun Dec 31 17:15:46 2023 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 4T35PP4dpLz568F6 for ; Sun, 31 Dec 2023 17:16:25 +0000 (UTC) (envelope-from marietto2008@gmail.com) Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T35PN3zByz3D5R for ; Sun, 31 Dec 2023 17:16:24 +0000 (UTC) (envelope-from marietto2008@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=d4AkFBl8; spf=pass (mx1.freebsd.org: domain of marietto2008@gmail.com designates 2a00:1450:4864:20::634 as permitted sender) smtp.mailfrom=marietto2008@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-ej1-x634.google.com with SMTP id a640c23a62f3a-a2331caab22so837730466b.3 for ; Sun, 31 Dec 2023 09:16:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704042983; x=1704647783; darn=freebsd.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=vN3UTsbmdSO+AeCH6KL02qpfJPVVu68XPDFWKGCoABc=; b=d4AkFBl8P89f/FcAPjTutwyzAfc7r7zESf3ZI9101ZbOOozsiuHV3bGRRzpsWSvy6+ OSuh2JB4LpFr67dFPY1MUQRMn4Zm78jkPVAPP7IpStumZY3Evd+KuPqLzR3TIJw773D4 dG0/p0/BeBctQSrGyzaIopNQ6K9JCVXiaM8Wq0qsidaYCXRIuvSVTbKETTVUefaggaHr oIv8bQKfEhACauKz/vAmz9GfCrCRW8ibbC5e3lSKF3ZFjgOJJw9v0j1tvzyuUOoBFmcV uSFbhnjtfam1y+TIRq+n282ZDy2lDBc753dJUFWxj+VaVFvZMiVao4X3xDXikJPDJAsi +S6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704042983; x=1704647783; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=vN3UTsbmdSO+AeCH6KL02qpfJPVVu68XPDFWKGCoABc=; b=BVhyBdecaF+22MlZ5KmV2XyVG3slpKYmzVC865jG7/DOgP+ASg7yxNZj/7CXI4YPLM d/fObe5vho5KD1iesnw745a8DPGHuT9a7LaOHq6wl5+oUGWwOawRgeumxx7rrhMviw2g ZxSqNhbE5tKSgGO14BtTShGuA3nzmy/HYC3lzWIKMOni6IrbLLagGbKWsdjQGI4vgl0r CAMXfm25RfE6NfpzchpK/MBD4yBLTeyU//v148VOqsD4yJin4AKXI2GiEt1KRtF3Yhhu iiO2K1rnmQyrHNL/Rsbi+YSk7HIE0sNK+Q6YQXvIAItUUioU8rR3ynASxYU6UcqTWaVv O4Bg== X-Gm-Message-State: AOJu0YxioMHO4/5q4kG24jym4577v2nXHmE9DRoxQUzTPsQNhjmZbT65 GXeHPs6twuXA0w4J162v49A0ykx8dcgfRxr68vu6GWZCJ1q3Cg== X-Google-Smtp-Source: AGHT+IEELJMUfPRWY+LWNQBlpqNI7Tr4Om4BPlgnfMj1TyX8GsbC1TLZzH2t133/1HnZd1nMlVfYoLJ0EsY5pN+pmPE= X-Received: by 2002:a17:906:5181:b0:a28:893:64a8 with SMTP id y1-20020a170906518100b00a28089364a8mr116296ejk.85.1704042982572; Sun, 31 Dec 2023 09:16:22 -0800 (PST) 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 From: Mario Marietto Date: Sun, 31 Dec 2023 18:15:46 +0100 Message-ID: Subject: ld: error: undefined symbol: __libc_start1 To: toolchain@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[text/plain]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_COUNT_ONE(0.00)[1]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[toolchain@freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::634:from]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; FROM_HAS_DN(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; PREVIOUSLY_DELIVERED(0.00)[toolchain@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim] X-Rspamd-Queue-Id: 4T35PN3zByz3D5R X-Spamd-Bar: --- Hello. I'm not able to install sudo on my FreeBSD 14.0-RELEASE-p3 amd64 Code: marietto:/usr/ports/security/sudo # make ===> License sudo accepted by the user ===> sudo-1.9.15p4 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by sudo-1.9.15p4 for building ===> Extracting for sudo-1.9.15p4 => SHA256 Checksum OK for sudo-1.9.15p4.tar.gz. ===> Patching for sudo-1.9.15p4 ===> Applying FreeBSD patches for sudo-1.9.15p4 from /usr/ports/security/sudo/files ===> sudo-1.9.15p4 depends on package: pkgconf>=1.3.0_1 - found ===> sudo-1.9.15p4 depends on package: gettext-runtime>=0.22_1 - found ===> sudo-1.9.15p4 depends on executable: msgfmt - found ===> sudo-1.9.15p4 depends on file: /usr/local/lib/libcrypto.so.12 - found ===> sudo-1.9.15p4 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so) ===> Configuring for sudo-1.9.15p4 configure: loading site script /usr/ports/Templates/config.site checking for gcc... cc checking whether the C compiler works... no configure: error: in '/usr/ports/security/sudo/work/sudo-1.9.15p4': configure: error: C compiler cannot create executables See 'config.log' for more details ===> Script "configure" failed unexpectedly. Please report the problem to garga@FreeBSD.org [maintainer] and attach the "/usr/ports/security/sudo/work/sudo-1.9.15p4/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. a /usr/local/sbin/pkg-static info -g -Ea). *** Error code 1 Stop. make[1]: stopped in /usr/ports/security/sudo *** Error code 1 Stop. make: stopped in /usr/ports/security/sudo More informations are located here : /usr/local/sbin/pkg-static info -g -Ea = https://pastebin.ubuntu.com/p/3fCY3hFRCG/ /usr/ports/security/sudo/work/sudo-1.9.15p4/config.log = https://pastebin.ubuntu.com/p/PK2QxNHwkk/ On the log you will see this error : configure:4253: checking whether the C compiler works configure:4275: cc -O2 -pipe -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing -lgcc -L/usr/local/lib -lintl -Wl,-rpath,/usr/local/lib -fstack-protector-strong conftest.c >&5 ld: error: undefined symbol: __libc_start1 >>> referenced by crt1_s.S:83 (/usr/src/lib/csu/amd64/crt1_s.S:83) >>> /usr/lib/crt1.o_start) cc: error: linker command failed with exit code 1 (use -v to see invocation) that makes me suspect some misconfiguration on the gcc / cc / clang compiler. I expect that sudo won't be installed telling that it has been already installed from packages,but the error is different. How can I fix it ? -- Mario.