From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6599908608985530368 X-Received: by 2002:a1c:4b0a:: with SMTP id y10-v6mr1091283wma.1.1538032556579; Thu, 27 Sep 2018 00:15:56 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a1c:730c:: with SMTP id d12-v6ls1689060wmb.0.canary-gmail; Thu, 27 Sep 2018 00:15:56 -0700 (PDT) X-Google-Smtp-Source: ACcGV60vsC/RGAhyZ4Nk1YY/JgiCcEoPJLR3xQS2HEIWV285jAq3P73Gai+wZfQ3ql5eqF5tRI5E X-Received: by 2002:a1c:c14e:: with SMTP id r75-v6mr696269wmf.4.1538032556081; Thu, 27 Sep 2018 00:15:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538032556; cv=none; d=google.com; s=arc-20160816; b=JvF4zSD72BJYvs1MFaPo79yLpZQsCCHoufyuQpgxuTRKr9UGGARygZJcEmp+toyeXb Y8pteVVV/QXVrc+n9rU9jP9aPp1zTsWc1a4ouzFDqszFWwCkX0GUSKTFkCA6/GypxFc/ Z5tciGaKizoJhew5ggWENhqami5yP/39TGrlp243sxZ42Sawdt7+GMCqfpzD/3mMxONh Zl8s777/cErmGaI31lYcx1T47kMQHz+PkMGlSaLXlqdV/5FheLUzUp3BKQKaRCnUxi8G i5v8FArLf1mhuAtzGDdOYCTRmOaR8fQCKKUe/Ypuu1Qgrzt+lcIFHttTwdeMYY7cAuQ5 hfjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:references:to:subject; bh=NBpqDbzBODfJa+JxO4uFJodQTDWGc4p4PFGTgP8IMZ4=; b=pNsVhpTZWBeFFoaRovRwvld0MbBSbWuI46bMnHBvnvrUVtvryN/ygh66nsaI5c6alU VoX+DGaF5qtuU5E3mryfe6W7wZ8kbD7QgMcQOw/U+yYjNbyx0jsZIjvfDrm8AZjuIDue B54gciIauI/hf6dKUzLrspUE1xy5nJQB2RptmKDbOm3WcvGuWZkhmNiYRw4zA6QhWXFm nA7Z2qRpkNUXpLmC7V/xIOG58RbOVEEU/0RdCCz/his4KeZmkMDK9wnq02yA94VV98F3 BfNujcwp89Qld8BMaIFo/4pk6DHLXrnv7PJfIvRKZPzJt3jmF0BE5u/ghoayk3RBvVHD o+sA== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.28 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com Return-Path: Received: from goliath.siemens.de (goliath.siemens.de. [192.35.17.28]) by gmr-mx.google.com with ESMTPS id z21-v6si59195wmi.2.2018.09.27.00.15.55 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 27 Sep 2018 00:15:56 -0700 (PDT) Received-SPF: pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.28 as permitted sender) client-ip=192.35.17.28; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 192.35.17.28 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com Received: from mail2.sbs.de (mail2.sbs.de [192.129.41.66]) by goliath.siemens.de (8.15.2/8.15.2) with ESMTPS id w8R7Ft5X005943 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 27 Sep 2018 09:15:55 +0200 Received: from [167.87.42.189] ([167.87.42.189]) by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id w8R7FrKv028805; Thu, 27 Sep 2018 09:15:54 +0200 Subject: Re: [PATCHv2 1/2] cross: use env variables instead of switches To: "Maxim Yu. Osipov" , Henning Schild , isar-users References: <20180911101605.21977-2-henning.schild@siemens.com> <20180921125542.3026-1-henning.schild@siemens.com> <20180921150840.02e8bd55@md1pvb1c.ad001.siemens.net> <63ddc92e-c7c5-06d5-fe6d-cb7ea689b8d0@ilbers.de> From: Jan Kiszka Message-ID: <5f78a4bc-6ea4-c3cf-a82e-1d02c0a57f50@siemens.com> Date: Thu, 27 Sep 2018 09:15:53 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 MIME-Version: 1.0 In-Reply-To: <63ddc92e-c7c5-06d5-fe6d-cb7ea689b8d0@ilbers.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-TUID: 0DA3am1BTCzN On 27.09.18 09:12, Maxim Yu. Osipov wrote: > On 9/21/18 4:08 PM, Henning Schild wrote: >> Am Fri, 21 Sep 2018 14:55:42 +0200 >> schrieb Henning Schild : >> >>> Debian has environment variables to set the architectures to be used >>> by dpkg-buildpackage and mk-build-deps. Use those instead of adding >>> parameters to the tools. >>> This patch now also uses the debian names for cross building and we do >>> not have confusing statements like "--host-arch $target_arch" anymore. >> >> The change to v1 is that we call mk-build-deps still with --host-arch. >> And we provide the "default"-argument, according to the man-page. The >> tool does not do what its man-page says, or at least the man-page is >> very confusing. > > I've reran scripts/ci_build.sh on stretch host - (both variants - native and > cross) -  build still fails on example-hello, example module etc. > > I would suggest to run CI script before submitting patch to the mailing list. Henning, you can also push to our internal CI project for that purpose. It runs gitlab-ci.yml. Jan -- Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate Competence Center Embedded Linux