On Wed, May 4, 2011 at 5:56 PM, Yuping Luo ypluosh@gmail.com wrote:
Hi, I am trying add usb gadget mass storage to uboot , and got run-time abortion on usbmsd.c with the default u-boot Os option. I use linaro 2011.03 4.5.3 version, and my trials as following: 1) During debugging , I found the abort exception in usbmsd_init_strings(). if declaring it with noinline function, like static void usbmsd_init_strings (void) __attribute__((noinline)); it works, however, next steps still failed. 2) compling uboot with O0, everyhing is ok. 3) try other toolchain. It works with codesourcery's 2011.03-41 and ubuntu 4.5 version, while failed with 2011.04 4.5 linaro version. 4) I have dumped the obj files, seeming some funcs optimized ,analysing the details is out of my knowledge, :( . please check the src and objdump files in one compressed file)
Hi Yuping. Thank you for the bug report. I'm afraid that we're preparing for the Linaro Summit next week so it may take some time to get back to you.
Until then, it would be great if you could look into the problem further such as reducing it down to a particular function or address where the fault happens.
-- Michael