[Bug 947111] Re: -march bug when building kernel

2012-06-13 Thread Bug Watch Updater
** Changed in: binutils
   Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/947111

Title:
  -march bug when building kernel

To manage notifications about this bug go to:
https://bugs.launchpad.net/binutils/+bug/947111/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 947111] Re: -march bug when building kernel

2012-06-07 Thread Bug Watch Updater
** Changed in: binutils
   Status: Fix Released => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/947111

Title:
  -march bug when building kernel

To manage notifications about this bug go to:
https://bugs.launchpad.net/binutils/+bug/947111/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 947111] Re: -march bug when building kernel

2012-04-26 Thread Marcin Juszkiewicz
** Changed in: armel-cross-toolchain-base (Ubuntu)
   Status: Confirmed => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/947111

Title:
  -march bug when building kernel

To manage notifications about this bug go to:
https://bugs.launchpad.net/binutils/+bug/947111/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 947111] Re: -march bug when building kernel

2012-04-26 Thread Adrien Ferré
Hi Marcin,

I have lost the tree I tried to build sry.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/947111

Title:
  -march bug when building kernel

To manage notifications about this bug go to:
https://bugs.launchpad.net/binutils/+bug/947111/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 947111] Re: -march bug when building kernel

2012-04-24 Thread Marcin Juszkiewicz
Adrien: I took the same one and got kernel built. If you have your
failing tree somewhere then please provide me which exactly version it
is and kernel configuration you built.

If you can then please test it under Ubuntu 12.04 - it has more up-to-
date cross compiler which should just work.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/947111

Title:
  -march bug when building kernel

To manage notifications about this bug go to:
https://bugs.launchpad.net/binutils/+bug/947111/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 947111] Re: -march bug when building kernel

2012-04-24 Thread Adrien Ferré
Hi Martin,

I think I used the 4.6.2


arm-linux-gnueabi-gcc --version
arm-linux-gnueabi-gcc (Ubuntu/Linaro 4.6.2-14ubuntu2~ppa1) 4.6.2

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/947111

Title:
  -march bug when building kernel

To manage notifications about this bug go to:
https://bugs.launchpad.net/binutils/+bug/947111/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 947111] Re: -march bug when building kernel

2012-04-24 Thread Marcin Juszkiewicz
I just built linux-linaro 3.1-2011.11 under Lucid/amd64
(omap2plus_defconfig + make zImage).

Adrien: can you tell which versions of toolchain you used?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/947111

Title:
  -march bug when building kernel

To manage notifications about this bug go to:
https://bugs.launchpad.net/binutils/+bug/947111/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 947111] Re: -march bug when building kernel

2012-03-12 Thread Bug Watch Updater
Launchpad has imported 3 comments from the remote bug at
http://sourceware.org/bugzilla/show_bug.cgi?id=12698.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.


On 2011-04-24T22:20:50+00:00 Arnaud Patard wrote:

As noticed by debian bug 623964, when building an arm kernel with a
snasphot made on 04/19, compiling head.S is failing with :

Error: selected processor does not support requested special purpose
register -- `mrs r2,cpsr'

It's valid for current head.

To reproduce, create a head.S containing:

mrs r2, cpsr
msr cpsr_c, r2

And then build with ./gas/as-new -march=all -c head.S -o head.o

I believe it's due to this commit :
http://sourceware.org/git/?p=binutils.git;a=commitdiff;h=335cd49156302284cea0438fd068f0a7cc11355a

I've written this workaround:

--- binutils.orig/gas/config/tc-arm.c
+++ binutils/gas/config/tc-arm.c
@@ -5356,6 +5356,11 @@ parse_psr (char **str, bfd_boolean lhs)
   bfd_boolean is_apsr = FALSE;
   bfd_boolean m_profile = ARM_CPU_HAS_FEATURE (selected_cpu, arm_ext_m);
 
+  /* march=all, will match the m_profile case too, so things like 'mrs r2,cpsr'
+   * will now fail. Workaround by saying it's not a m profile */
+  if (selected_cpu.core == arm_arch_any.core)
+ m_profile = FALSE;
+
   /* CPSR's and SPSR's can now be lowercase.  This is just a convenience
  feature for ease of use and backwards compatibility.  */
   p = *str;

It doesn't seem to create any regression but I'm not sure how good is
this patch. At least, I hope it'll help fixing the bug.

Reply at: https://bugs.launchpad.net/binutils/+bug/947111/comments/0


On 2011-06-03T14:42:51+00:00 Cvs-commit wrote:

CVSROOT:/cvs/src
Module name:src
Changes by: ni...@sourceware.org2011-06-03 14:42:48

Modified files:
gas: ChangeLog 
gas/config : tc-arm.c 

Log message:
PR gas/12698
* config/tc-arm.c (parse_psr): Set m_profile to false when
assembling for any architecture.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/ChangeLog.diff?cvsroot=src&r1=1.4499&r2=1.4500
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/config/tc-arm.c.diff?cvsroot=src&r1=1.490&r2=1.491

Reply at: https://bugs.launchpad.net/binutils/+bug/947111/comments/1


On 2011-06-03T14:45:07+00:00 Nickc wrote:

Hi Arnaud,

  Thanks for reporting this problem and providing a patch.  Your
solution works, so I have checked it in, with a slightly tweaked
comment.

Cheers
  Nick

Reply at: https://bugs.launchpad.net/binutils/+bug/947111/comments/2


** Changed in: binutils
   Status: Unknown => Fix Released

** Changed in: binutils
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/947111

Title:
  -march bug when building kernel

To manage notifications about this bug go to:
https://bugs.launchpad.net/binutils/+bug/947111/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 947111] Re: -march bug when building kernel

2012-03-05 Thread Marcin Juszkiewicz
** Also affects: binutils via
   http://sourceware.org/bugzilla/show_bug.cgi?id=12698
   Importance: Unknown
   Status: Unknown

** Changed in: armel-cross-toolchain-base (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/947111

Title:
  -march bug when building kernel

To manage notifications about this bug go to:
https://bugs.launchpad.net/binutils/+bug/947111/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 947111] Re: -march bug when building kernel

2012-03-05 Thread Peter Maydell
** Package changed: ubuntu => armel-cross-toolchain-base (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/947111

Title:
  -march bug when building kernel

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/armel-cross-toolchain-base/+bug/947111/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 947111] Re: -march bug when building kernel

2012-03-05 Thread Peter Maydell
NB that that asflags thing is just a work around, not an actual fix.
This bug was addressed in the toolchain:
 http://sourceware.org/bugzilla/show_bug.cgi?id=12698
and seems to be fixed in at least some of the linaro toolchain packages -- 
maybe it just failed to get into the lucid one somehow?


** Bug watch added: Sourceware.org Bugzilla #12698
   http://sourceware.org/bugzilla/show_bug.cgi?id=12698

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/947111

Title:
  -march bug when building kernel

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/947111/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs