From nobody Fri Jun 24 13:27:16 2022 X-Original-To: dev-commits-src-main@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 F049586BA96; Fri, 24 Jun 2022 13:27:36 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-ej1-f48.google.com (mail-ej1-f48.google.com [209.85.218.48]) (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 4LTybW64t1z4bqR; Fri, 24 Jun 2022 13:27:35 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: by mail-ej1-f48.google.com with SMTP id ge10so4701347ejb.7; Fri, 24 Jun 2022 06:27:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=GrJzH2KcV2Lz4DCMIwGbCqmG+EiZchR9QEI1IaFNq9g=; b=VkvwtcDsyIKA7nSCS1uc808Neuollkpk+pVfyTsyDvo5Q7q18BIWiP+dzkTpXBqvX+ 0UoOppLvefQl197UlVcm0JJRTs4GO9oHl2QvK8YuYl5HqZ+N/GMFIEtnqROs60sATnvj oDPuWAbp6PGNJuwP12M74G39ZLWcaJIMXbzDNT24ikem2Fd8BaRI4JpVUm8jYMLLrRbO SO5N7GmnI0YhGfIM8/s6BxX4TJbhMWCET4XvPxOt+KQT2v67fMS7xbkWp8VS8Y2Hdfns Skk9Vu0gz6tsI12qHKkIAtJl+t6Gsr2ChS3PWLtvvakNDpxlNzRx3E0K8aobcTLZIgr8 mYrg== X-Gm-Message-State: AJIora/2hcJE8rn0lzGdYIIkz+ZtaR9Ubp65VYEFYoROF3C2Ql8EP79C 7OOksI1bYVy4Vo1m6ffToB8LaC3O+VYOYmyRN1V2oMPI X-Google-Smtp-Source: AGRyM1uT1gd3WrxCsuz0TKvrSOWt1ElEpIOkbHMpRuYE6oulV3tVnaVQkTlMfxXcmPdG57V+Y8dlsho56w8aBxA377Q= X-Received: by 2002:a17:907:6294:b0:6e1:ea4:74a3 with SMTP id nd20-20020a170907629400b006e10ea474a3mr13359678ejc.168.1656077248403; Fri, 24 Jun 2022 06:27:28 -0700 (PDT) List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 References: <202206221620.25MGKCHU098065@gitrepo.freebsd.org> <79422862-b886-09c0-8af9-d5136a7e6f7f@FreeBSD.org> In-Reply-To: From: Ed Maste Date: Fri, 24 Jun 2022 09:27:16 -0400 Message-ID: Subject: Re: git: 2f3a961487c9 - main - Add RELRO build knob, default to enabled To: John Baldwin Cc: src-committers , "" , dev-commits-src-main@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4LTybW64t1z4bqR X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of carpeddiem@gmail.com designates 209.85.218.48 as permitted sender) smtp.mailfrom=carpeddiem@gmail.com X-Spamd-Result: default: False [-2.99 / 15.00]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; FREEFALL_USER(0.00)[carpeddiem]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; DMARC_NA(0.00)[freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-0.99)[-0.993]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCVD_IN_DNSWL_NONE(0.00)[209.85.218.48:from]; MLMMJ_DEST(0.00)[dev-commits-src-all,dev-commits-src-main]; FORGED_SENDER(0.30)[emaste@freebsd.org,carpeddiem@gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.218.48:from]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[emaste@freebsd.org,carpeddiem@gmail.com]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N On Fri, 24 Jun 2022 at 09:19, Ed Maste wrote: > > On Thu, 23 Jun 2022 at 21:23, John Baldwin wrote: > > > > This broke the cross-build on macOS (the GitHub jobs are failing on main now). > > > > Looks like macOS's linker doesn't like '-z relro'. > > Interesting. I see that the cross-build jobs install Clang and LLD on > Ubuntu, but only Clang (via brew install ...) on MacOS. Do you know > what linker is getting used in this case? Oh, this is the host linker, linking build tools. Let me see how we handle this elsewhere.