uclinux-2008R1.5-RC3(bf561)到VDSP5的移植(78):又见internal error

快乐虾

http://blog.csdn.net/lights_joy/

lights@hb165.com

本文适用于

ADSP-BF561

优视BF561EVB开发板

uclinux-2008r1.5-rc3(smp patch)

Visual DSP++ 5.0(update 5)

欢迎转载,但请保留作者信息

移植接近尾声,不想在用release编译的时候又碰见了internal eror

..\..\..\..\kernel\hrtimer.c

At end of source: : internal error: Uncaught exception Assertion failed raised

at ../../../bril/optimiser/dominators.c:911 (in pass

hoist_constant_loop_exits during compilation of _lock_hrtimer_base).

Please submit a bug report with this message, the command line used,

type of machine and the output of the compiler when you add -ED -v

to the command line. Please also send us the pre-processed file that

is generated by the -ED option (the file generated is named

<original_filename>.i)

1 catastrophic error detected in the compilation of "..\..\..\..\kernel\hrtimer.c".

Compilation aborted.

cc3089: fatal error: Compilation failed

Tool failed with exit/exception code: 1.

查提示中出现的lock_hrtimer_base函数:

static

struct hrtimer_clock_base *lock_hrtimer_base(const struct hrtimer *timer,

unsigned long *flags)

{

struct hrtimer_clock_base *base;

for (;;) {

base = timer->base;

if (likely(base != NULL)) {

spin_lock_irqsave(&base->cpu_base->lock, *flags);

if (likely(base == timer->base))

return base;

/* The timer has migrated to another CPU: */

spin_unlock_irqrestore(&base->cpu_base->lock, *flags);

}

cpu_relax();

}

}

在这里发现了两个likely,估计问题应该出在这里,直接将这两个likely注释掉。搞定!

1 参考资料

uclinux-2008R1.5-RC3(bf561)VDSP5的移植(74)initramfs(2009-02-27)

uclinux-2008R1.5-RC3(bf561)VDSP5的移植(75)Milestone:内核成功启动(2009-02-27)

uclinux-2008R1.5-RC3(bf561)VDSP5的移植(76)DM9000网卡驱动(2009-3-1)

uclinux-2008R1.5-RC3(bf561)VDSP5移植(77)No usable address families found.(2009-3-3)

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值