From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6579174846558633984 X-Received: by 2002:a19:988c:: with SMTP id a134-v6mr90154lfe.3.1531838437661; Tue, 17 Jul 2018 07:40:37 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a19:f505:: with SMTP id j5-v6ls139861lfb.9.gmail; Tue, 17 Jul 2018 07:40:37 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfPhR3m9sbSiqUYdD/VWm8GmyWTCQQNnuI4gNANirR5ZuQI3HyLk25i5AmVR9Tpxz7ygP1P X-Received: by 2002:a19:6313:: with SMTP id x19-v6mr93550lfb.25.1531838437205; Tue, 17 Jul 2018 07:40:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531838437; cv=none; d=google.com; s=arc-20160816; b=luLJyI+LxgqvuhRWlVbcOdGwFDRRTB3FzPOKu+QKiTSyaMNKzNMMebsR1c0ubfPbGc xvC5UCvh5wZCBFeQXC5TDYXWH/AJ/Uwjuz1d/Qlr8JYMtM4g8o+TqOsCokGZHjJFkyop BZczF5m+bSMUjaP17fRyLfJRtNVzMyX39nFu8qG5Wf3Gvo1fjh0MXxOPjzIdQzXENAQY s1BFtz1BO26vEE9CMPfMHqdkBEmhFDJf42+7pK87x97Dj2JtyNfC5e338iBubPW13Ben 0psmljugHKyUEZ1P7tAYwnK1la5JXPN5vVIGU1sQHM3xtDH1IIFl4l8voJbZ4S056/ub eS3g== 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:references:to:from:subject :arc-authentication-results; bh=I1+P5wN+RNtsXDlRt84R/Atxw8vIwo0cFpG+IU2Cd4o=; b=GYcr4dFW8VmM6z3NN42oP+bELZUkkoPfz1Oq27rpt68U3GLl/D8r5woRozNoP9MClp rMFKF19ife5xz5adhOcsLUrhhC1CYwV3WY2Upm+ETepKxLOdF2YaRlnTCGMnj+Eic9z2 Q4mJVHP9/F84TFE0H+j56hDsIsVCd6/YEdJFFWvrYn3wPCuAVIsre5ipSd4Sfa903MUr Oh1yD5agqhwsMtouJLjYB2lWz9AdU6UL2+OYL3aIAb/FoZNGm/+bdljANM/soF6gojaS 2EFZl5nwXiW/oiZrSG3Exq9Jnx4wYBVhvs5m32aO/YlaYNQVrdLZ4CcFZM8XqLoAuooO SF/w== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 194.138.37.40 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com Return-Path: Received: from gecko.sbs.de (gecko.sbs.de. [194.138.37.40]) by gmr-mx.google.com with ESMTPS id z74-v6si38119lff.3.2018.07.17.07.40.37 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Jul 2018 07:40:37 -0700 (PDT) Received-SPF: pass (google.com: domain of jan.kiszka@siemens.com designates 194.138.37.40 as permitted sender) client-ip=194.138.37.40; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of jan.kiszka@siemens.com designates 194.138.37.40 as permitted sender) smtp.mailfrom=jan.kiszka@siemens.com Received: from mail2.sbs.de (mail2.sbs.de [192.129.41.66]) by gecko.sbs.de (8.15.2/8.15.2) with ESMTPS id w6HEeaTM031704 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 17 Jul 2018 16:40:36 +0200 Received: from [139.25.68.37] (md1q0hnc.ad001.siemens.net [139.25.68.37] (may be forged)) by mail2.sbs.de (8.15.2/8.15.2) with ESMTP id w6HEeao5029164; Tue, 17 Jul 2018 16:40:36 +0200 Subject: Re: [PATCH v3 0/7] Isar cross-compilation support From: Jan Kiszka To: Alexander Smirnov , isar-users@googlegroups.com References: <20180717131811.14239-1-asmirnov@ilbers.de> <5c45490f-9dce-b43a-14b3-8347931c40ef@siemens.com> Message-ID: <68c4a960-ef36-1ec7-ee2a-d990e427a0ea@siemens.com> Date: Tue, 17 Jul 2018 16:40:35 +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: <5c45490f-9dce-b43a-14b3-8347931c40ef@siemens.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: AOUiG98n0s+b On 2018-07-17 15:38, [ext] Jan Kiszka wrote: > On 2018-07-17 15:18, Alexander Smirnov wrote: >> Hi everybody, >> >> sorry for the delay, this is the third version of cross-compilation >> support for Isar. >> > > Thanks for the update! > >> Supported targets for cross-compilation: >> - stretch armhf >> - stretch amd64 >> >> Artifacts could be cross-compiled: >> - dpkg.bbclass users >> - dpkg-raw.bbclass users >> - kernel >> >> Known issues: >> - if target and host architectures are the same, there is no need >> to use host buildchroot. >> - kernel module doesn't support cross-compilation. Default linux-headers >> package depends from target gcc binaries. So attempt to install, for >> example linux-headers-armmp, tries to install gcc:armhf, what rises >> conflict with the host tools. > > Could you imagine overriding such specialties with extra rules, even if > package specific? Not having kernel module in the cross compilation > chain main cause troubles (or does it work fine to cross-build the > kernel and then natively build the modules?). > >> >> To enable cross-compilation, the variable ISAR_CROSS_COMPILE should be set >> to "1" in local.conf file. > > I will retry that series soon, on my standard testcase jailhouse-images. > It's growing and urgently needs an accelerator :). > What's the baseline of these patches, master? Why not using next? Jan -- Siemens AG, Corporate Technology, CT RDA IOT SES-DE Corporate Competence Center Embedded Linux