From: Ben Hutchings <ben.hutchings@codethink.co.uk>
To: Daniel Sangorrin <daniel.sangorrin@toshiba.co.jp>,
cip-dev@lists.cip-project.org, isar-users@googlegroups.com
Subject: Re: [cip-dev] [isar-cip-core] iwg20m: temporary patch for review v2
Date: Fri, 07 Jun 2019 15:55:58 +0100 [thread overview]
Message-ID: <1559919358.21054.5.camel@codethink.co.uk> (raw)
In-Reply-To: <20190605021645.4464-2-daniel.sangorrin@toshiba.co.jp>
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
next prev parent reply other threads:[~2019-06-07 14:56 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-05 2:16 porting iwg20m to isar-cip-core Daniel Sangorrin
2019-06-05 2:16 ` [isar-cip-core] iwg20m: temporary patch for review v2 Daniel Sangorrin
2019-06-07 14:55 ` Ben Hutchings [this message]
2019-06-05 5:34 ` porting iwg20m to isar-cip-core daniel.sangorrin
2019-06-05 5:51 ` Jan Kiszka
2019-06-05 6:00 ` Jan Kiszka
2019-06-05 8:27 ` daniel.sangorrin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1559919358.21054.5.camel@codethink.co.uk \
--to=ben.hutchings@codethink.co.uk \
--cc=cip-dev@lists.cip-project.org \
--cc=daniel.sangorrin@toshiba.co.jp \
--cc=isar-users@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox