[Bug 813018] Re: gcc 4.5 breaks overo in latest x-loader (1.5.1)

2012-03-29 Thread Michael Hope
Marking as wont fix as this bug is old and has a work around. Please reopen if the fault appears with later versions of GCC. ** Changed in: gcc-linaro Status: New = Won't Fix -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

Re: [Bug 813018] Re: gcc 4.5 breaks overo in latest x-loader (1.5.1)

2011-08-11 Thread Andy Doan
On 08/10/2011 09:41 PM, Michael Hope wrote: What's the best way to reproduce this and debug it? I use the x-loader from gitorious: $ git clone git://gitorious.org/x-loader/x-loader.git I then build it with: $ make O=out ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- overo_config $ make O=out

[Bug 813018] Re: gcc 4.5 breaks overo in latest x-loader (1.5.1)

2011-08-11 Thread Michael Hope
I suspect it's a linker problem that only occurs when the generated code lines up just right. A small change in compiler gives a small change in code which hides the linker problem. I'll see about reproducing that particular compiler. I think I've got a BeagleBoard here somewhere which should

[Bug 813018] Re: gcc 4.5 breaks overo in latest x-loader (1.5.1)

2011-08-10 Thread Michael Hope
Hey, could we get some help on the toolchain side in fixing this? It smells like a linker problem as the code isn't changing but the offsets are. What's the best way to reproduce this and debug it? -- You received this bug notification because you are a member of Ubuntu Bugs, which is

Re: [Bug 813018] Re: gcc 4.5 breaks overo in latest x-loader (1.5.1)

2011-07-26 Thread Andy Doan
On 07/25/2011 11:49 PM, Ricardo Salveti wrote: Andy, for Linaro Ubuntu 11.07 (natty based) I pushed a new x-loader package forcing it to build with 4.4, can you check if it works for you? It works. Thanks. -- You received this bug notification because you are a member of Ubuntu Bugs, which is

[Bug 813018] Re: gcc 4.5 breaks overo in latest x-loader (1.5.1)

2011-07-26 Thread Ricardo Salveti
** Changed in: linaro-ubuntu Status: Fix Committed = 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/813018 Title: gcc 4.5 breaks overo in latest x-loader (1.5.1) To manage

[Bug 813018] Re: gcc 4.5 breaks overo in latest x-loader (1.5.1)

2011-07-25 Thread Launchpad Bug Tracker
** Branch linked: lp:~x-loader/x-loader/natty -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/813018 Title: gcc 4.5 breaks overo in latest x-loader (1.5.1) To manage notifications about this bug go

[Bug 813018] Re: gcc 4.5 breaks overo in latest x-loader (1.5.1)

2011-07-25 Thread Ricardo Salveti
Andy, for Linaro Ubuntu 11.07 (natty based) I pushed a new x-loader package forcing it to build with 4.4, can you check if it works for you? Deb: https://launchpad.net/~linaro-maintainers/+archive/overlay/+files/x -loader- omap3-overo_1.5.1%2Bgit20110715%2Bfca7cd2-1ubuntu2~natty2_armel.deb At

[Bug 813018] Re: gcc 4.5 breaks overo in latest x-loader (1.5.1)

2011-07-21 Thread Andy Doan
I did a little more experimenting and have simplified the reproduction. The following change makes the problem go away: ## diff --git a/cpu/omap3/sys_info.c b/cpu/omap3/sys_info.c index 0d592e9..4a172a8 100644 --- a/cpu/omap3/sys_info.c +++

[Bug 813018] Re: gcc 4.5 breaks overo in latest x-loader (1.5.1)

2011-07-21 Thread Andy Doan
** Attachment added: get_sys_clkin_sel with andy_var++ enabled https://bugs.launchpad.net/gcc-linaro/+bug/813018/+attachment/2223925/+files/good.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu.

[Bug 813018] Re: gcc 4.5 breaks overo in latest x-loader (1.5.1)

2011-07-21 Thread Andy Doan
I don't do assembly, but I hope this helps narrow down the issue: I did some build hacks: 1) straight 4.5 compiled version 2) 4.5 for everything except a special rule to build sys_info.c with 4.6 As we attempt #1 fails. Attempt #2 works. So now I have two sys_info.o files. That I can

[Bug 813018] Re: gcc 4.5 breaks overo in latest x-loader (1.5.1)

2011-07-20 Thread Ricardo Salveti
Michael, -marm was enable as we had issues with thumb in the past. The commit that changed it: commit bcd83f847520a6e92fc3e8d2934f7e1c75380406 Author: LoïMinier loic.min...@linaro.org Date: Mon Mar 14 13:01:36 2011 +0530 Add -marm -fno-stack-protector to CFLAGS on ARM The

[Bug 813018] Re: gcc 4.5 breaks overo in latest x-loader (1.5.1)

2011-07-20 Thread Ricardo Salveti
Andy, for Ubuntu LEB I could just force gcc4.4 to be used for Natty and gcc4.6 for Oneiric, but would be good if you could do some more testing to see if we can identify what is breaking your x-loader. Can you also disassembly your binaries to check if there's any relevant changes? ** Also

[Bug 813018] Re: gcc 4.5 breaks overo in latest x-loader (1.5.1)

2011-07-19 Thread Michael Hope
I had a quick look at the disassembly of board/overo/overo.c both at fca7cd29b6821df3e7d8c4369522f2a3d01a5d7b and with Andy's work-around of duplicating get_sys_clkin_sel(), calling it get_sys_clkin_sela(), and putting it directly ahead of prcm_init(). I saw no unexplained difference between the