Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Robert Yang <liezhi.yang@windriver.com>
To: Khem Raj <raj.khem@gmail.com>,
	<openembedded-core@lists.openembedded.org>,
	 Bruce Ashfield <bruce.ashfield@windriver.com>
Subject: Re: [PATCH] binutils: Upgrade to 2.31 release branch
Date: Wed, 8 Aug 2018 17:54:39 +0800	[thread overview]
Message-ID: <247fe669-dbbb-cd41-9b10-cd1a6a06f255@windriver.com> (raw)
In-Reply-To: <cca1b343-50cd-b445-b838-897063d6b8b8@windriver.com>



On 08/07/2018 04:28 PM, Robert Yang wrote:
> commit 67f846b59b32f3d704c601669409c2584383fea9
> Author: John Darrington <john@darrington.wattle.id.au>
> Date:   Thu Apr 12 15:07:02 2018 +0100
> 
>      Stop the assembler from overwriting its output file.
> 
> [snip]
> +             if (sib.st_ino == sob.st_ino)

I've figured out the root cause, the input and output files maybe on different
devices, so different files may have the same ino, we need check whether
sib.st_dev == sob.st_dev, too.

I will send a patch to fix it after more testing.

// Robert

> +               {
> +                 /* Don't let as_fatal remove the output file!  */
> +                 out_file_name = NULL;
> +                 as_fatal (_("The input and output files must be distinct"));
> [snip]
> 
> 
> I can't reproduce this problem locally, but it can be reproduced in our daily
> build. Yocto doesn't have this problem atm since it use linux-yocto (not -dev).
> 
> Do you have any suggestions, please ?
> 
> // Robert
> 
> On 07/18/2018 04:10 AM, Khem Raj wrote:
>> Signed-off-by: Khem Raj <raj.khem@gmail.com>
>> ---
>>   meta/conf/distro/include/tcmode-default.inc   |    2 +-
>>   .../{binutils-2.30.inc => binutils-2.31.inc}  |    2 +-
>>   ....30.bb => binutils-cross-canadian_2.31.bb} |    0
>>   ...s-cross_2.30.bb => binutils-cross_2.31.bb} |    0
>>   ...ssdk_2.30.bb => binutils-crosssdk_2.31.bb} |    0
>>   ...s-crosssdk-Generate-relocatable-SDKs.patch |   12 +-
>>   ...o-not-generate-linker-script-directo.patch |   22 +-
>>   ...iden-the-regexp-for-SH-architectures.patch |   12 +-
>>   ...004-Point-scripts-location-to-libdir.patch |   10 +-
>>   ...-RPATH-entry-if-LD_RUN_PATH-is-not-e.patch |   10 +-
>>   .../binutils/0006-Use-libtool-2.4.patch       | 2296 +++++++++--------
>>   ...-the-armv5e-architecture-to-binutils.patch |    8 +-
>>   ...stro-compiler-point-to-the-wrong-ins.patch |    4 +-
>>   ...-system-directories-when-cross-linki.patch |   50 +-
>>   ...h-in-libtool-when-sysroot-is-enabled.patch |    4 +-
>>   ...e-default-emulation-for-mips64-linux.patch |   12 +-
>>   .../0012-Add-support-for-Netlogic-XLP.patch   |   80 +-
>>   ...ect-assembling-for-ppc-wait-mnemonic.patch |   10 +-
>>   .../0014-Detect-64-bit-MIPS-targets.patch     |    4 +-
>>   .../0015-sync-with-OE-libtool-changes.patch   |    4 +-
>>   .../{binutils_2.30.bb => binutils_2.31.bb}    |    0
>>   21 files changed, 1327 insertions(+), 1215 deletions(-)
>>   rename meta/recipes-devtools/binutils/{binutils-2.30.inc => 
>> binutils-2.31.inc} (97%)
>>   rename meta/recipes-devtools/binutils/{binutils-cross-canadian_2.30.bb => 
>> binutils-cross-canadian_2.31.bb} (100%)
>>   rename meta/recipes-devtools/binutils/{binutils-cross_2.30.bb => 
>> binutils-cross_2.31.bb} (100%)
>>   rename meta/recipes-devtools/binutils/{binutils-crosssdk_2.30.bb => 
>> binutils-crosssdk_2.31.bb} (100%)
>>   rename meta/recipes-devtools/binutils/{binutils_2.30.bb => binutils_2.31.bb} 
>> (100%)
>>


      reply	other threads:[~2018-08-08  9:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-17 20:10 [PATCH] binutils: Upgrade to 2.31 release branch Khem Raj
2018-07-18 12:21 ` Burton, Ross
2018-07-18 14:27   ` Khem Raj
2018-08-07  8:28 ` Robert Yang
2018-08-08  9:54   ` Robert Yang [this message]

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=247fe669-dbbb-cd41-9b10-cd1a6a06f255@windriver.com \
    --to=liezhi.yang@windriver.com \
    --cc=bruce.ashfield@windriver.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=raj.khem@gmail.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