public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: Alan Modra <amodra@gmail•com>
To: Stephen Rothwell <sfr@canb•auug.org.au>
Cc: linuxppc-dev@lists•ozlabs.org, Guenter Roeck <linux@roeck-us•net>
Subject: Re: powerpc/ppc64: Allow allmodconfig to build (finally !)
Date: Wed, 14 May 2014 15:12:36 +0930	[thread overview]
Message-ID: <20140514054236.GK5162@bubble.grove.modra.org> (raw)
In-Reply-To: <20140514133434.13b66009@canb.auug.org.au>

On Wed, May 14, 2014 at 01:34:34PM +1000, Stephen Rothwell wrote:
> OK, this appears to be an assembler bug.

Agreed.  Upgrade binutils!

> $ cat test.s
> 	.text
> x:
> 	.pushsection	b, "a"
> 	beq y
> 	.popsection
> 	.=0x80000
> y:
> $ /opt/cross/gcc-4.6.3-nolibc/powerpc64-linux/bin/powerpc64-linux-as --version
> GNU assembler (GNU Binutils) 2.22
> This assembler was configured for a target of `powerpc64-linux'.
> $ /opt/cross/gcc-4.6.3-nolibc/powerpc64-linux/bin/powerpc64-linux-as -o test.o test.s 
> test.s: Assembler messages:
> test.s:4: Error: operand out of range (0x0000000000080000 is not between 0xffffffffffff8000 and 0x0000000000007ffc)
> $ /opt/cross/gcc-4.8.1-nolibc/powerpc64-linux/bin/powerpc64-linux-as --version
> GNU assembler (GNU Binutils) 2.23.52.20130512
> This assembler was configured for a target of `powerpc64-linux'.
> $ /opt/cross/gcc-4.8.1-nolibc/powerpc64-linux/bin/powerpc64-linux-as -o test.o test.s 
> (no error)
> 
> Alan, can you shed light on when it was fixed?

2012-11-05
https://sourceware.org/ml/binutils/2012-11/msg00043.html
git show 3b8b57a9495016b2b02fbc2612dd1607d4b6f9ba

The part that actually fixes this problem is "Leave insn field zero...".

-- 
Alan Modra
Australia Development Lab, IBM

  parent reply	other threads:[~2014-05-14  5:42 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-12  5:57 [PATCH] powerpc/ppc64: Allow allmodconfig to build (finally !) Benjamin Herrenschmidt
2014-05-13  0:28 ` Guenter Roeck
2014-05-13  9:16   ` Benjamin Herrenschmidt
2014-05-13 12:35     ` Guenter Roeck
2014-05-13 17:17     ` Guenter Roeck
2014-05-14  3:34       ` Stephen Rothwell
2014-05-14  5:16         ` Guenter Roeck
2014-05-14  5:52           ` Alan Modra
2014-05-14 15:34             ` Guenter Roeck
2014-05-15  9:47               ` Alan Modra
2014-05-15 10:46                 ` Guenter Roeck
2014-05-15 12:22                   ` Benjamin Herrenschmidt
2014-05-15 13:09                     ` Guenter Roeck
2014-05-14  5:42         ` Alan Modra [this message]
2014-05-13 19:41     ` Guenter Roeck
2014-06-12 12:26 ` Guenter Roeck
2014-06-12 21:57   ` Benjamin Herrenschmidt
2014-06-12 22:17     ` Guenter Roeck

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=20140514054236.GK5162@bubble.grove.modra.org \
    --to=amodra@gmail$(echo .)com \
    --cc=linux@roeck-us$(echo .)net \
    --cc=linuxppc-dev@lists$(echo .)ozlabs.org \
    --cc=sfr@canb$(echo .)auug.org.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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