kayws426 / embox

Automatically exported from code.google.com/p/embox
0 stars 1 forks source link

fatal error on qsort in microblaze #507

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.update to r7792
2.use microblaze/petalogix template
3.enable embox.test.stdlib.qsort_test module

And I'm see the next:

Embox kernel start
runlevel: init level is 0
    unit: initializing embox.driver.interrupt.mb_intc: done
    unit: initializing embox.driver.clock.mb_timer: done
    unit: initializing embox.kernel.time.jiffies: done
    test: running softirq_test ..... done
    unit: initializing embox.kernel.time.timer: done
    unit: initializing embox.kernel.time.kernel_time: done
    test: running timer_test .. done
    unit: initializing embox.kernel.thread.sched: done
    unit: initializing embox.kernel.thread.core: done
    test: running critical .. done
    unit: initializing embox.kernel.task.single: done
    unit: initializing embox.compat.posix.posix_env: done
    unit: initializing embox.fs.node: done
    unit: initializing embox.fs.driver.repo: done
    test: running division_test ........ done
    test: running context_switch_test . done
    test: running ops_test . done
    test: running recursion . done
    test: running sleep_test .... done
    test: running printf_test ....... done
    test: running bsearch_test ...... done
    test: running qsort_test .qemu: fatal: unknown bit oc=90042bb0 op=1b8 rd=0 ra=4 rb=5

IN: PC=90042bb0 
rmsr=800000a6 resr=0 rear=0 debug=0 imm=8 iflags=0 fsr=0
btaken=1 btarget=90042bb0 mode=kernel(saved=kernel) eip=0 ie=2
r00=00000000 r01=90496ca0 r02=00000000 r03=00000000 
r04=00000001 r05=00000001 r06=90042ba8 r07=00000004 
r08=00000000 r09=00000001 r10=00000000 r11=00000001 
r12=00000000 r13=00000000 r14=900170d8 r15=90042ba8 
r16=00000000 r17=00000000 r18=900170e4 r19=90496ca0 
r20=00000000 r21=00000000 r22=00000000 r23=00000000 
r24=00000000 r25=00000000 r26=00000000 r27=00000000 
r28=00000000 r29=00000000 r30=00000000 r31=00000000 

qemu: fatal: unknown bit oc=90042bb0 op=1b8 rd=0 ra=4 rb=5

IN: PC=90042bb0 
rmsr=800000a6 resr=0 rear=0 debug=0 imm=8 iflags=0 fsr=0
btaken=1 btarget=90042bb0 mode=kernel(saved=kernel) eip=0 ie=2
r00=00000000 r01=90496ca0 r02=00000000 r03=00000000 
r04=00000001 r05=00000001 r06=90042ba8 r07=00000004 
r08=00000000 r09=00000001 r10=00000000 r11=00000001 
r12=00000000 r13=00000000 r14=900170d8 r15=90042ba8 
r16=00000000 r17=00000000 r18=900170e4 r19=90496ca0 
r20=00000000 r21=00000000 r22=00000000 r23=00000000 
r24=00000000 r25=00000000 r26=00000000 r27=00000000 
r28=00000000 r29=00000000 r30=00000000 r31=00000000 

../auto_embox_mb: line 6:  9072 Aborted                 (core dumped) 
qemu-system-microblaze -kernel build/base/bin/embox -net none -nographic -M 
petalogix-s3adsp1800 $@

Please use labels and text to provide additional information.
$ microblaze-elf-gcc --version
Using built-in specs.
COLLECT_GCC=microblaze-elf-gcc
COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/microblaze-elf/4.6.3/lto-wrapper
Target: microblaze-elf
Configured with: /usr/src/gcc-4.6.3/configure --prefix=/usr/local 
--target=microblaze-elf --with-gnu-as --with-gnu-ld --with-newlib 
--disable-shared --enable-languages=c
Thread model: single
gcc version 4.6.3 (GCC) 

$ qemu-system-microblaze --version
QEMU emulator version 1.2.0 (Debian 1.2.0-2012.09-0ubuntu1), Copyright (c) 
2003-2008 Fabrice Bellard

Original issue reported on code.google.com by ki.stfu on 5 Dec 2012 at 6:06

GoogleCodeExporter commented 9 years ago
fixed by r7886

Original comment by ki.stfu on 14 Dec 2012 at 4:46