From nobody Thu May 11 14:54:25 2023 X-Original-To: freebsd-arch@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 4QHFKq1Pwrz4BKl2 for ; Thu, 11 May 2023 14:54:39 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pf1-x42e.google.com (mail-pf1-x42e.google.com [IPv6:2607:f8b0:4864:20::42e]) (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 4QHFKp50s9z4WSl; Thu, 11 May 2023 14:54:38 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pf1-x42e.google.com with SMTP id d2e1a72fcca58-64115e652eeso58572655b3a.0; Thu, 11 May 2023 07:54:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683816877; x=1686408877; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :from:content-transfer-encoding:from:to:cc:subject:date:message-id :reply-to; bh=QxLTMbyfm+C4UKzIKPveQ3RO32lavbd2bra0+ZMjGeI=; b=YvD0KRV2Rt5lYT2zt0/3gahWSiLea5dP7q1W9E7gKxwrp7uO+gsJ40uMNVH/f8jbNt qq98ve8IvxSTQOpNjZZ9WWzPtedgoGsS0F6S3sRiiM729tN7kJjC3cCbHFDeKjqp6TvQ MUZjCxg9TgJZgkqDV0/ImcLLWTWqsNUP8ZtrXbALKD4czfrAYcEF88WCN4J5bYpwnq/q Otots+zhPdHxqVoBQjkvvfBM6Cse89/2MC+SQyP9p9FIW/LQ57vgWARtgse3hbS90Poz GGNJFkWRr87T5KWWy6afp/03l1IANJmpMGRdcORD9rDOrGujH7OZlcMqWNw51BZMUGeV crnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683816877; x=1686408877; h=to:in-reply-to:cc:references:message-id:date:subject:mime-version :from:content-transfer-encoding:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=QxLTMbyfm+C4UKzIKPveQ3RO32lavbd2bra0+ZMjGeI=; b=HjCgy8Ixzd1X3pCqWfipzI7wj+8S1u1xJU6VPYO9Sv4kEBoM8SiBeQu/7YjphYdchF zoKPvOGP924dqiNvQDHfvLugMrhPPRoQCVWfuUY66IOgtMZLiBttTm1Ts7odRRPn+tzw HqWtGglaY9bmz9pBKMS1jei0LcQ8wXsxMdtZITV719Kii64cGZ1EFfxws3A8O8EUr1Jd VD6hzImwa+clFoF8/xlkv8euAdQDogEJnEMdTfbSZMmNQWlBTz19Wq9fRj6qv9Tm+SUt tQ8l04c43gj/ERQkMwPR+SgBxagySxtLS3b7yujMlmMteacqD73DlaqoCUULkOIcO8Sl xLoQ== X-Gm-Message-State: AC+VfDx6jj8D8fYa6utq3TmmKtmmxxxehKjJWLnDvCSpzMfll+nlGAUB PI+Psk/5yN/QpNRLxrsORrBffvzACxU= X-Google-Smtp-Source: ACHHUZ42SFA6yZAQThFoC78EtUFkWRWNSdG+B9GQAzQa+q6f2hlSshX4ew3sV55FahiChV+M/17l1g== X-Received: by 2002:a05:6a00:1da9:b0:645:834c:f521 with SMTP id z41-20020a056a001da900b00645834cf521mr14252392pfw.17.1683816876664; Thu, 11 May 2023 07:54:36 -0700 (PDT) Received: from smtpclient.apple (c-73-19-52-228.hsd1.wa.comcast.net. [73.19.52.228]) by smtp.gmail.com with ESMTPSA id u18-20020aa78492000000b006470a6ef529sm5001320pfn.88.2023.05.11.07.54.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 11 May 2023 07:54:36 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Enji Cooper List-Id: Discussion related to FreeBSD architecture List-Archive: https://lists.freebsd.org/archives/freebsd-arch List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arch@freebsd.org Mime-Version: 1.0 (1.0) Subject: Re: OpenSSL 3.0 for 14.0-RELEASE: issues with 1.x/3.x symbol clashing, ports linking against base OpenSSL, ports that don't compile/link against OpenSSL 3, etc Date: Thu, 11 May 2023 07:54:25 -0700 Message-Id: References: Cc: Pierre Pronchery , freebsd-arch@freebsd.org In-Reply-To: To: Antoine Brodin X-Mailer: iPhone Mail (20D67) X-Rspamd-Queue-Id: 4QHFKp50s9z4WSl X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N > On May 11, 2023, at 00:23, Antoine Brodin wrote: >=20 > =EF=BB=BFOn Thu, May 11, 2023 at 6:31=E2=80=AFAM Pierre Pronchery > wrote: >>=20 >> Hi everyone, >>=20 >> It's been a long and tough fight, but I finally managed to complete a >> `make buildworld` on amd64 with the latest state of my work on OpenSSL >> 3; see https://github.com/freebsd/freebsd-src/pull/740 for a first draft >> of a pull-request via GitHub. >>=20 >> I will probably not be able to work on this again until the DevSummit at >> BSDCan, so feel free to take it from there until then. >>=20 >> HTH! >> -- khorben >=20 > Thanks, I have this error during buildworld: >=20 > =3D=3D=3D> secure/lib/libcrypto/modules/fips (all) > make[6]: /usr/obj/poudriere/data/src-openssl3/amd64.amd64/secure/lib/libcr= ypto/modules/fips/.depend, > 1: ignoring stale .depend for > /usr/obj/poudriere/data/src-openssl3/amd64.amd64/tmp/usr/lib/libcrypto.a > building shared library fips.so > cc -target x86_64-unknown-freebsd14.0 > --sysroot=3D/usr/obj/poudriere/data/src-openssl3/amd64.amd64/tmp > -B/usr/obj/poudriere/data/src-openssl3/amd64.amd64/tmp/usr/bin > -Wl,-zrelro -fstack-protector-strong -shared -Wl,-x > -Wl,--fatal-warnings -Wl,--warn-shared-textrel -o fips.so.full > -Wl,-soname,fips.so fips_entry.pico fipsprov.pico self_test.pico > self_test_kats.pico -lcrypto > ld: error: unable to find library -lcrypto > cc: error: linker command failed with exit code 1 (use -v to see invocatio= n) > *** Error code 1 Good find! The modules directory will likely need to be built in a later stage of world= (after libcrypto has been installed). That, or LDFLAGS needs to be adjusted= to find libcrypto in the build tree. Adjusting LDFLAGS is likely the easiest path forward. -Enji=