From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from tb-mx0.topicbox.com (localhost.local [127.0.0.1]) by tb-mx0.topicbox.com (Postfix) with ESMTP id 16DAC1A2DB97 for ; Mon, 3 Jun 2024 17:22:09 -0400 (EDT) (envelope-from richlowe@richlowe.net) Received: from tb-mx0.topicbox.com (localhost [127.0.0.1]) by tb-mx0.topicbox.com (Authentication Milter) with ESMTP id CC7B3043D02; Mon, 3 Jun 2024 17:22:09 -0400 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1717449729; b=m4+NT64EIkjwBJlB4HWUJsOByR428UQKTgYB4YWs/CzptQmGzi 94jONmcBt0JuI2MpfSo3KiOul1B6Wmqjg+isHuUSuVrli4cirKKhHiQe6h2P+aRw yb+h/UvRHtthEumTwQSMq0OPV+JqPJQUl9yR5ytecEDuKa+UTGBQizfox31ybBdd IiftDKnxUzHG5keY6c23ON+T0Y/4BcdkLVFhsxm2YTO4rkALvzn+eVKYD54YAiEZ JISSxhn1E7tgzQfZIiSiXB0tMTG49KIE33pow/uWnlSDknTvKHgws4u/mhnwNq7B gszWJbI+eP50gBBJ8MlBOruoQvgYvUgLX5KA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=mime-version:from:date:message-id:subject:to :content-type; s=arcseal; t=1717449729; bh=RdAlyorGBmDI3ppYwcIqn eFSMUqpbnDTj3QlOsoou0Y=; b=ufPMEA2IjL4JLm03juVlQRce6k2kawCbZk5Vb 6jIgAWhuKVZQbUReYDCF65AulbTwsihF+ojwBpP/wFNeBqoOf0bZajZyEJ1D59tF /luIcqS+tX1XkhYdCR+y0XsEelQPIQSeHCZf2eLXyRhimBJ2dIrzMzd8WgPV4s9l 9TmReBQFLkDObfNV++YfoU8or69aBuQWI8s/hcwG9ODYUeN8N/gj/Ebhkf9Vn6lZ BZsk7ktyNL5Ucq4kz6pOe5dzL2lYQkzwXVw/J/xwW8fXorkdfSFQeVmRIIXUIVHM Se+9H0VgJmbU3vgGqERteuruNpkmdF5l+9UMrV5LI6ENRrdgg== ARC-Authentication-Results: i=1; tb-mx0.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC did not pass); dkim=invalid (public key: not available, unknown key sha256) header.d=richlowe.net header.i=@richlowe.net header.b=Wgzyl3sC header.a=unknown-sha256 header.s=mail; dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=richlowe.net; iprev=pass smtp.remote-ip=209.85.222.41 (mail-ua1-f41.google.com); spf=pass smtp.mailfrom=richlowe@richlowe.net smtp.helo=mail-ua1-f41.google.com; x-aligned-from=pass (Address match); x-google-dkim=pass (2048-bit rsa key) header.d=1e100.net header.i=@1e100.net header.b=vVS3yQxJ; x-me-sender=none; x-ptr=pass smtp.helo=mail-ua1-f41.google.com policy.ptr=mail-ua1-f41.google.com; x-return-mx=pass header.domain=richlowe.net policy.is_org=yes (MX Records found: aspmx.l.google.com,alt2.aspmx.l.google.com,aspmx3.googlemail.com,aspmx2.googlemail.com,alt1.aspmx.l.google.com); x-return-mx=pass smtp.domain=richlowe.net policy.is_org=yes (MX Records found: aspmx.l.google.com,alt2.aspmx.l.google.com,aspmx3.googlemail.com,aspmx2.googlemail.com,alt1.aspmx.l.google.com); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=-100 state=0 Authentication-Results: tb-mx0.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC did not pass); dkim=invalid (public key: not available, unknown key sha256) header.d=richlowe.net header.i=@richlowe.net header.b=Wgzyl3sC header.a=unknown-sha256 header.s=mail; dmarc=none policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=richlowe.net; iprev=pass smtp.remote-ip=209.85.222.41 (mail-ua1-f41.google.com); spf=pass smtp.mailfrom=richlowe@richlowe.net smtp.helo=mail-ua1-f41.google.com; x-aligned-from=pass (Address match); x-google-dkim=pass (2048-bit rsa key) header.d=1e100.net header.i=@1e100.net header.b=vVS3yQxJ; x-me-sender=none; x-ptr=pass smtp.helo=mail-ua1-f41.google.com policy.ptr=mail-ua1-f41.google.com; x-return-mx=pass header.domain=richlowe.net policy.is_org=yes (MX Records found: aspmx.l.google.com,alt2.aspmx.l.google.com,aspmx3.googlemail.com,aspmx2.googlemail.com,alt1.aspmx.l.google.com); x-return-mx=pass smtp.domain=richlowe.net policy.is_org=yes (MX Records found: aspmx.l.google.com,alt2.aspmx.l.google.com,aspmx3.googlemail.com,aspmx2.googlemail.com,alt1.aspmx.l.google.com); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=-100 state=0 X-ME-VSCause: gggruggvucftvghtrhhoucdtuddrgedvledrvdelvddgudehlecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg hnthhsucdlqddutddtmdenucfjughrpegghfffkffuvfgtsehttdertddttdejnecuhfhr ohhmpeftihgthhgrrhguucfnohifvgcuoehrihgthhhlohifvgesrhhitghhlhhofigvrd hnvghtqeenucggtffrrghtthgvrhhnpeehueeuhfekffefleeftdehheffteduuefhuedv gfelhffgiedukedtjeetteettdenucffohhmrghinhepihhllhhumhhoshdrohhrghenuc fkphepvddtledrkeehrddvvddvrdegudenucevlhhushhtvghrufhiiigvpedtnecurfgr rhgrmhepihhnvghtpedvtdelrdekhedrvddvvddrgedupdhhvghlohepmhgrihhlqdhurg duqdhfgedurdhgohhoghhlvgdrtghomhdpmhgrihhlfhhrohhmpeeorhhitghhlhhofigv sehrihgthhhlohifvgdrnhgvtheqpdhnsggprhgtphhtthhopedupdhrtghpthhtohepoe guvghvvghlohhpvghrsehlihhsthhsrdhilhhluhhmohhsrdhorhhgqe X-ME-VSScore: -100 X-ME-VSCategory: clean Received-SPF: pass (richlowe.net: Sender is authorized to use 'richlowe@richlowe.net' in 'mfrom' identity (mechanism 'include:_spf.google.com' matched)) receiver=tb-mx0.topicbox.com; identity=mailfrom; envelope-from="richlowe@richlowe.net"; helo=mail-ua1-f41.google.com; client-ip=209.85.222.41 Received: from mail-ua1-f41.google.com (mail-ua1-f41.google.com [209.85.222.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tb-mx0.topicbox.com (Postfix) with ESMTPS for ; Mon, 3 Jun 2024 17:22:08 -0400 (EDT) (envelope-from richlowe@richlowe.net) Received: by mail-ua1-f41.google.com with SMTP id a1e0cc1a2514c-80ae09dce7eso114670241.2 for ; Mon, 03 Jun 2024 14:22:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=richlowe.net; s=mail; t=1717449728; x=1718054528; darn=lists.illumos.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=RdAlyorGBmDI3ppYwcIqneFSMUqpbnDTj3QlOsoou0Y=; b=Wgzyl3sCjxf6kpUuwH5bDkl+gf7mlqvtJVjqzXg+rfPqufdk/ENiVORRc+R9rjKs7j Egl+Sb+Fu+b1EY1tDB+tEr8qe23thV/R29wBmNLPSiWYZeklkSm5sjJ81XFIzYV/n23p mkwCPlE/ovrbTlPZfzTpj5EpBeJCD7oBXGqNk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717449728; x=1718054528; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=RdAlyorGBmDI3ppYwcIqneFSMUqpbnDTj3QlOsoou0Y=; b=vVS3yQxJb/i7y+zOHruPprnGiv1xv3cIzJHkWCKn7GZYJwT6JCAquossJ9kia3/xnH kpUFu7rePXU7UDPxrYuQYMTSy/CvfqIvyaNEJ0bKnDJSNSvBvTTU9JryC5QIi3HpZR1i hi4kaz+fbCa/DgF77yC5CUGrp5N2SniLVWQGopgdOu0Xm5ymzJ4Ik6TZ0DFgIAIUX/an MaurjiYCyXOEdCbn/CzDuIJ+vFq5cYTnNPq9AP816eN13Ok4lp3zS7m6jzKHroMf0ELg /+AckAgYGatuC9qLH0XYlk54Zxvn3fMBzuZKfnYo0Oj1X3Szno/LJtJL5KG9ja7nopRd PeZA== X-Gm-Message-State: AOJu0YwlUic3xeQwo2eqlhfY5avNVU4UTtwmWl7/Dna6AxPpNJyRN9BJ xefUDeELg0yiQisyikwPouRJhFQ+jMqOSbTGpQS8WaObUpm16MlnozVEVm4rypLI8rb37/gvnp5 6OOPVH4Jh/QwXxgMJALq+BpExr4KmnBjczHEww6I/tWouc202RrFp X-Google-Smtp-Source: AGHT+IEB1cAHTMHDYGPcx1C/qFH0XWvqjdLuAnmDXMaJh/p4NG5z/VSXa3n67g3oZZUoH15Zi8sU+DnvpKSXzQVik7Q= X-Received: by 2002:a05:6102:3114:b0:48b:92ee:371d with SMTP id ada2fe7eead31-48bc2370603mr9140283137.31.1717449727802; Mon, 03 Jun 2024 14:22:07 -0700 (PDT) MIME-Version: 1.0 From: Richard Lowe Date: Mon, 3 Jun 2024 16:21:56 -0500 Message-ID: Subject: [REVIEW] 16569 want a more foolproof method to build native tools To: illumos-dev , Gordon Ross , Andrew Stormont Content-Type: text/plain; charset="UTF-8" Topicbox-Policy-Reasoning: allow: sender is an admin Topicbox-Message-UUID: 5848d4ba-21ef-11ef-81e9-2435fc8b7b06 https://code.illumos.org/c/illumos-gate/+/3524 16569 want a more foolproof method to build native tools 15552 NATIVE_LIBS needs a more truthful name 16570 tools svccfg could be built more normally Unfortunately this is hard to split up in a way that still makes logical sense to integrate, or at least I've failed to. #15552 I put up for review long ago, and Gordon and Andy Stormont looked at it, but I withdrew it because it opened up a can of worms. This is the lid for the can of worms, via the arm64-gate where the distinctions here are obviously far more important. This is still not unfortunately _great_, but it is markedly better. Something especially to draw your attention to is the addition of the `--tag` parameter to cw(1ONBLD). This does nothing at all, except by its existence lets you annotate the command line for what it is doing (in this case, either "native" or "target"), making it much easier to audit for what's going on. I want to draw your attention to this because having a parameter that does nothing is, to say the least, a weird design choice, and to point out that while this makes it _possible_ to much more easily seek out classes of bugs where we use the proto area or adjunct incorrectly, I haven't actually _done that yet_.