Re: build error: [kobject_mapdb.o] error

Irvanda Kurniadi <[email protected]>
Newsgroups gmane.comp.micro-kernel.l4.devel
Message-ID <CAPgw+iPTDozwhgv8DmZHU=PmZYfde2hbK54Wvp5wcp_YXj6sbg@mail.gmail.com>
On Wed, Apr 23, 2014 at 7:01 AM, Adam Lackorzynski <
[email protected]> wrote:

> On Tue Apr 22, 2014 at 15:28:16 +0900, Irvanda Kurniadi wrote:
> > I have a problem in building l4/fiasco for arm. I'm using ubuntu 11.10
> > 64-bit and want to build l4/fiasco for arm9. For cross compiler, I'm
> using
> > Sourcery_G++_Lite. For the snapshot, I'm using current snapshot
> > l4re-snapshot-2014022818. Then, when I tried to build the l4/fiasco, I
> got
> > the error message shown in [1.error message]. Have you ever built
> l4/fiasco
> > for arm9 over ubuntu 11.10 64-bit? I think this is just a compiler
> problem.
> > If you know about this problem, please let me know to solve this problem.
>
> I also think this is just a compiler problem. Is your g++ older than
> 4.5? Then you'll need a more recent version (any version should do).
>

You are right. I checked it again and I found that my Sourcery_G++_lite was
still in 4.4 version. I replaced it with linaro toolchain 4.8.

Now, I'm having a trouble in running qemu. I'm using qemu 0.14.1. After I
invoke make qemu E=hello-shared, the process aborted with "hardware error"
error message, as shown below. What should I do to overcome this problem?

Thanks,
Irvanda

QEmu-cmd: qemu-system-arm -kernel
/home/l4re-arm/obj/l4/arm-ca/images/bootstrap.elf -M vexpress-a9 -cpu
cortex-a9 -m 256 -smp 2 -serial stdio

L4 Bootstrapper
  Build: #10 Wed Apr 23 12:16:32 KST 2014, 4.8.2 20131014 (prerelease)
  Scanning up to 256 MB RAM
  Memory size is 256MB (60000000 - 6fffffff)
  RAM: 0000000060000000 - 000000006fffffff: 262144kB
  Total RAM: 256MB
  mod06: 61121000-6113a5b0: hello
  mod05: 61120000-61120066: hello.cfg
  mod04: 610cd000-6111fc0c: ned
  mod03: 610b3000-610cc494: l4re
  mod02: 61081000-610b2660: moe
  mod01: 61077000-61080378: sigma0
  mod00: 61014000-610761b0: fiasco
  Moving up to 7 modules behind 61100000
  moving module 00 { 61014000-610761af } -> { 61227000-612891af } [401840]
  moving module 01 { 61077000-61080377 } -> { 6128a000-61293377 } [37752]
  moving module 02 { 61081000-610b265f } -> { 61294000-612c565f } [202336]
  moving module 03 { 610b3000-610cc493 } -> { 6113b000-61154493 } [103572]
  moving module 04 { 610cd000-6111fc0b } -> { 61155000-611a7c0b } [338956]
  moving module 05 { 61120000-61120065 } -> { 61100000-61100065 } [102]
  moving module 06 { 61121000-6113a5af } -> { 61101000-6111a5af } [103856]
  moving module 03 { 6113b000-61154493 } -> { 6111b000-61134493 } [103572]
  moving module 04 { 61155000-611a7c0b } -> { 61135000-61187c0b } [338956]
  Scanning fiasco -serial_esc
  Scanning sigma0
  Scanning moe rom/hello.cfg
  Relocated mbi to [0x6100d000-0x6100d10d]
  Loading fiasco
  Loading sigma0
  Loading moe
  find kernel info page...
  found kernel info page at 0x60002000
Regions of list 'regions'
    [ 60001000,  60001a7f] {      a80} Kern   fiasco
    [ 60002000,  6006efff] {    6d000} Kern   fiasco
    [ 60090000,  600964db] {     64dc} Sigma0 sigma0
    [ 60098000,  6009e17b] {     617c} Sigma0 sigma0
    [ 60140000,  6016d1fb] {    2d1fc} Root   moe
    [ 60170000,  6018b4a7] {    1b4a8} Root   moe
    [ 61000000,  610133f7] {    133f8} Boot   bootstrap
    [ 61009000,  610090d1] {       d2} Boot   mbi
    [ 6100d000,  6100d20a] {      20b} Root   Multiboot info
    [ 6101304c,  610130a3] {       58} Boot   mbi
    [ 61100000,  61187c0b] {    87c0c} Root   Module
  API Version: (87) experimental
  Sigma0 config    ip:60090100 sp:61012de4
  Roottask config  ip:6014020c sp:00000000
  Starting kernel fiasco at 60001264
Realview System ID: Rev=1 HBI=190 Build=f Arch=5 FPGA=00
Hello from Startup::stage2
Per_cpu_data_alloc: (orig: 0xf005f028-0xf005f9b0)
qemu: hardware error: gic_dist_writeb: Bad offset 84

CPU #0:
R00=ee101080 R01=00000100 R02=ee101000 R03=00000020
R04=f0066368 R05=00000060 R06=ee101180 R07=55555555
R08=fffff010 R09=f006834c R10=00c5387f R11=0000f000
R12=00000000 R13=f005ec9c R14=00000060 R15=f0038f54
PSR=600001d3 -ZC- A svc32
CPU #1:
R00=000000f0 R01=00000000 R02=00000000 R03=00000000
R04=1e000100 R05=1190f500 R06=00000000 R07=10000000
R08=00000000 R09=00000c09 R10=00000000 R11=00000000
R12=00000000 R13=00000000 R14=00000000 R15=610001b8
PSR=600001d3 -ZC- A svc32
bash: line 3: 11457 Aborted

_______________________________________________
l4-hackers mailing list
[email protected]
http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.