Rockbox Development > New Ports

Cowon D2

<< < (177/194) > >>

Bkd11:
Hey shotofadds,

Would you mind posting a patch/diff of your r28000 non-eabi build? That way I can update the 'Buttons in Hold Mode' builds with "stable" builds. I tried just reverting r27123 a while ago but that obviously didn't work.  ;D

Thanks in advance.

mbk1969:
Look, guys... If it sounds like a blame then I failed to deliver my point of view. I only dare suggest (to shotofadds) that it could be easier to disable optimization for driver type of sources (in make files or in sources themselves by pragmas) and forget about such things as `optimized` timeout loops. Such step could eliminate dependency of functionality (operability) from compilers intrinsic  implementations/differences.
I did not touch the compiler choice at all.

funman:
@Bkd11 : just use tools/configure --no-eabi , no patch needed.

@mbk1969 : disabling optimizations for the whole rockbox build (i.e. using -O0) is:

* Impossible (won't build at all), at least without some modifications, because gcc can't figure some very basic stuff (can't use "i" constraint in disable_irq() for example)
* A very bad idea because rockbox will be both much bigger and much slower
Using -O0 *manually* on individual files is a good idea though it could help figuring out the problem.

Just run make V=1 to see the full gcc command line, and paste it with -O option changed to -O0, it might work with more or less modifications needed without making rockbox too much slow/fat.

EDIT: i don't think gcc support changing optimizations or other parameters through pragmas but if you know how i'd like to know

Bkd11:

--- Quote from: funman on September 08, 2010, 11:03:57 PM ---@Bkd11 : just use tools/configure --no-eabi , no patch needed.
--- End quote ---
Thanks  :)

Edit: Unfortunately I get a bunch of errors that I don't get when I do a normal ../tools/configure

--- Code: ---/home/brian/rockbox/apps/dsp_arm.S: Assembler messages:
/home/brian/rockbox/apps/dsp_arm.S:53: Error: bad instruction `ldmpc cond=lt,regs=r4'
/home/brian/rockbox/apps/dsp_arm.S:63: Error: bad instruction `ldmpc regs=r4'
/home/brian/rockbox/apps/dsp_arm.S:118: Error: bad instruction `ldmpc cond=lt,regs=r4-r10'
/home/brian/rockbox/apps/dsp_arm.S:137: Error: bad instruction `ldmpc regs=r4-r10'
/home/brian/rockbox/apps/dsp_arm.S:170: Error: bad instruction `ldmpc cond=lt,regs=r4'
/home/brian/rockbox/apps/dsp_arm.S:181: Error: bad instruction `ldmpc regs=r4'
/home/brian/rockbox/apps/dsp_arm.S:231: Error: bad instruction `ldmpc cond=lt,regs=r4-r6'
/home/brian/rockbox/apps/dsp_arm.S:245: Error: bad instruction `ldmpc regs=r4-r6'
/home/brian/rockbox/apps/dsp_arm.S:308: Error: bad instruction `ldmpc cond=lt,regs=r4-r9'
/home/brian/rockbox/apps/dsp_arm.S:330: Error: bad instruction `ldmpc regs=r4-r9'
/home/brian/rockbox/apps/dsp_arm.S:393: Error: bad instruction `ldmpc regs=r4-r11'
/home/brian/rockbox/apps/dsp_arm.S:450: Error: bad instruction `ldmpc regs=r4-r11'
/home/brian/rockbox/apps/dsp_arm.S:513: Error: bad instruction `ldmpc regs=r4-r11'
/home/brian/rockbox/apps/dsp_arm.S:560: Error: bad instruction `ldmpc regs=r4-r8'

--- End code ---

funman:
Probably too old binutils which don't support the gas macros?

Which version of arm-elf-as do you have? rockboxdev.sh should install 2.16.1

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version