From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6698864926044192768 X-Received: by 2002:a2e:824c:: with SMTP id j12mr20454635ljh.53.1559919364331; Fri, 07 Jun 2019 07:56:04 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a19:2d4e:: with SMTP id t14ls854093lft.7.gmail; Fri, 07 Jun 2019 07:56:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqzH6zsQB/jsVh7o/AJbKVRQghcAqmPPMOBdZSbYvgOyOm+Q3CeJOQPZJnSeyImr2W0OxIHf X-Received: by 2002:ac2:4908:: with SMTP id n8mr25869215lfi.10.1559919363905; Fri, 07 Jun 2019 07:56:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559919363; cv=none; d=google.com; s=arc-20160816; b=wCFBqPgLL+8zB2NnuZLQp5N6TFmqzS5/O3eG7hXDQ1D92+Yt7l2fzoIAuIsw61SmsD f/LhjXY+QrP469KJl1OlJmSWMx4efWDLIr6WAOJJWjYkkd3hVuiVB6kpZKqhPygYJBD7 g6GkDc6MuFscUfeVwynpfpviQ1/wHV+69wB6CSbqVcs6Fryn/rGv66GKWGLDsZBC3IQA Bu8ffnPhHWDOUp+Q8lqx+Ao5JFSF/Q/o3ISWCDJOyGZQ8ObRd4CroCcu2y9O/IhgNOt2 W8m9Bcwb8lR5H1MSgmSDUxiAyjFESdMS5E19O28xY6N6zNM7Wcg9PU7FoudUeijskSrx s7Tw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:organization:references :in-reply-to:date:to:from:subject:message-id; bh=IQ2iNCEiuypKTGaRWX6+RYoKZujnu/V03tbQV+WK5pU=; b=FFzXWQI+5a2scoePZdrMKdjMxvBYWcitARr/7zG6WhfM7llgZaVSYgBJzGC1Af2Xdk vr00UZkA8lZVv2Pq7BSiwtuYmzP2hggdh/NkuejL2LQeWpB3aonrPowq3nL6ZPzJNA3l 4GxmS4/ysUSfeD4LGX4RzNBc9eto06Ar2kakbUXqZY+vgfNXEgTnPP4SWz4JkF1cR49Z G9sW6uGTbFN0OA3bprTjfi5OWd0DR9pprV3ciKddfHUDlEBZ4g71Ly6mrlD4bYFAR6MU GOsP3FrW7XO5PUkZmOeaO0QviG92BVEXWzxawgJU0xyaKlk0GBSicPW3Zz4004krtUHH 2sIQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of ben.hutchings@codethink.co.uk designates 176.9.8.82 as permitted sender) smtp.mailfrom=ben.hutchings@codethink.co.uk; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=codethink.co.uk Return-Path: Received: from imap1.codethink.co.uk (imap1.codethink.co.uk. [176.9.8.82]) by gmr-mx.google.com with ESMTPS id v29si162403lfq.2.2019.06.07.07.56.03 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 07 Jun 2019 07:56:03 -0700 (PDT) Received-SPF: pass (google.com: domain of ben.hutchings@codethink.co.uk designates 176.9.8.82 as permitted sender) client-ip=176.9.8.82; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of ben.hutchings@codethink.co.uk designates 176.9.8.82 as permitted sender) smtp.mailfrom=ben.hutchings@codethink.co.uk; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=codethink.co.uk Received: from [167.98.27.226] (helo=xylophone) by imap1.codethink.co.uk with esmtpsa (Exim 4.84_2 #1 (Debian)) id 1hZGHf-0007gp-3D; Fri, 07 Jun 2019 15:55:59 +0100 Message-ID: <1559919358.21054.5.camel@codethink.co.uk> Subject: Re: [cip-dev] [isar-cip-core] iwg20m: temporary patch for review v2 From: Ben Hutchings To: Daniel Sangorrin , cip-dev@lists.cip-project.org, isar-users@googlegroups.com Date: Fri, 07 Jun 2019 15:55:58 +0100 In-Reply-To: <20190605021645.4464-2-daniel.sangorrin@toshiba.co.jp> References: <20190605021645.4464-1-daniel.sangorrin@toshiba.co.jp> <20190605021645.4464-2-daniel.sangorrin@toshiba.co.jp> Organization: Codethink Ltd. Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.22.6-1+deb9u1 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUID: /B8C0V0gvNr+ On Wed, 2019-06-05 at 11:16 +0900, Daniel Sangorrin wrote: > I added a revipe for building iwg20m's u-boot. > This u-boot is very old (2013) and had some compile problems. > > - u-boot fatal error: linux/compiler-gcc6.h: No such file or directory > - arm-linux-gnueabihf-ld.bfd: unrecognized option '-Wl,-z,relro' > > I solved the first one but not the second one. [...] "-Wl,-z,relro" is a gcc option which should result in passing "-z relro" to the linker. Perhaps a Makefile is invoking $(LD) with $(LDFLAGS), where it should be invoking $(CC) instead? In any case, this is a hardening option for dynamically linked binaries and I don't think it makes any difference to the kernel or u-boot. Ben. -- Ben Hutchings, Software Developer   Codethink Ltd https://www.codethink.co.uk/ Dale House, 35 Dale Street Manchester, M1 2HF, United Kingdom