From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 1FDA0A0093 for ; Fri, 11 Mar 2022 04:01:43 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A27D240E78; Fri, 11 Mar 2022 04:01:42 +0100 (CET) Received: from mail-pf1-f182.google.com (mail-pf1-f182.google.com [209.85.210.182]) by mails.dpdk.org (Postfix) with ESMTP id 8864940042 for ; Fri, 11 Mar 2022 04:01:41 +0100 (CET) Received: by mail-pf1-f182.google.com with SMTP id f8so6785904pfj.5 for ; Thu, 10 Mar 2022 19:01:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=DqxjqsCn7a2UAlqdk0+qetx7k7QzFmgOgnfmcX1xZog=; b=RJqRiG0Knx9T2Mj6WywJ6uRYDqDoRaa1qRfCd4cx1ygyJW41HECom9ozDPnqmahqaG hz5AfRiE+4XKSvqdnaqdOMjQ2gJTi7ZvLfEx0qincVFQxXjVptoNmsOrVvoYABjHh9TA C0RxPVSYkGCaPAAeQimGUDhohiq8ZuXhnc9KDbyItzGPIM94ceEtbXUDThd8LRyfRrao dVro0ZH12RUKccPDNKBSGLQ+n5mhusWI6o6INbZhW7YE2/mHO4obUJqy4KUL4gwQOJvJ P64MbslKOM9Zyd2aWVLVz78qmbAqGoTm1d43HqUdb+XoeZj6ducH5sKdDwWXmnGXzVPD nnIw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=DqxjqsCn7a2UAlqdk0+qetx7k7QzFmgOgnfmcX1xZog=; b=Q8kdXeeunWovVdB2y6BYIZ+Y1m0e/e7MZA08aktN8sNY+eOEHI0LRPoPxyzQFhnsEC NYxdLYnE4M5xBx5MqV/U9cemY3SPXDQaRxYnhVZnTOfJz4Wtk5ak94cMtHe/Stuu3kbY 4ULGPdh8NgUP6XyKm/yAAB5dkp83MfN/7JjfLjofOHvIcV/Er0rF8s6sZNgWM+p/2BB+ RthhlFHmaq+Ug0+Pi5uxEEW/ADdedxcRkcexjdHcVqwn/q1EDrgMIToWqAVRr2o2YTN+ NtYOQUn3a+SlXXWUvVVgvN1VaYtC8Nzf0XhHP8exmgMUy6FmDsu6Tb2XKOSn/hC4Fb3z YrpQ== X-Gm-Message-State: AOAM530KuKrDFoj+Xi+mvi4fiF98nGGVNYE/mEP06OQ2LflOTaA1toZt W0p+FnsibSEkA8SZJiL/edKyRA== X-Google-Smtp-Source: ABdhPJzb/A6/KuG7MxjE57A15GTmN/vvH/ouAWukbSommh1TggSRSIV8eX6fHpTuiKkGQivKfUbj8A== X-Received: by 2002:a05:6a02:182:b0:374:5a57:cbf9 with SMTP id bj2-20020a056a02018200b003745a57cbf9mr6551877pgb.616.1646967700626; Thu, 10 Mar 2022 19:01:40 -0800 (PST) Received: from hermes.local (204-195-112-199.wavecable.com. [204.195.112.199]) by smtp.gmail.com with ESMTPSA id w27-20020a637b1b000000b00380437ab89asm6857110pgc.50.2022.03.10.19.01.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Mar 2022 19:01:40 -0800 (PST) Date: Thu, 10 Mar 2022 19:01:37 -0800 From: Stephen Hemminger To: Dan Gora Cc: "Sanford, Robert" , "users@dpdk.org" Subject: Re: meson options - build vs target machine cpuflags question Message-ID: <20220310190137.7445f1be@hermes.local> In-Reply-To: References: <165CAE28-2A3E-4960-8E57-2EB9A19024DB@akamai.com> <20220310171854.272f459b@hermes.local> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org On Thu, 10 Mar 2022 23:45:39 -0300 Dan Gora wrote: > On Thu, Mar 10, 2022 at 10:19 PM Stephen Hemminger > wrote: > > > > The ideal solution would be able to use gcc function attributes and dyanmic > > linking to do this at runtime - ie multiversion library. But this opens a set > > of different problems like compiler versions and testing. > > Detecting RDSEED at run time doesn't require any of that, but working > around the possible absence of getentropy() does. However none of my > proposed solutions, including dynamic linking was deemed suitable.. or > something, so I gave up. I don't blame you build systems suck.