From your back tracing, there is a fatal error:

"Can't load object file /Products/Office/stringsearch/parallel_stringsearch"

Did you correctly cross-compile it?

On 10/13/2012 05:23 PM, Musharaf Hussain wrote:


Hi All


I stuck here, Please help me on below problem. What is happen here? Actually I want to run "parallel_stringsearch.c" benchmarks on ARM cpu. What is needed here? Can anyone help me here?



Back tracing:


hhhh@ubuntu:~/Work$ ./M5/gem5/build/ARM/gem5.opt --stats-file=stats1 M5/gem5/configs/example/se.py -c /Products/Office/stringsearch/parallel_stringsearch -o 1 --cpu-type=arm_detailed --caches --l2cache --l2_size=4MB --clock=2.5GHz


gem5 Simulator System.http://gem5.org

gem5 is copyrighted software; use the --copyright option for details.

gem5 compiled Aug8 2012 07:52:25

gem5 started Oct 13 2012 23:58:50

gem5 executing on ubuntu

command line: ./M5/gem5/build/ARM/gem5.opt --stats-file=stats1 M5/gem5/configs/example/se.py -c /Products/Office/stringsearch/parallel_stringsearch -o 1 --cpu-type=arm_detailed --caches --l2cache --l2_size=4MB --clock=2.5GHz

Global frequency set at 1000000000000 ticks per second

fatal: Can't load object file /Products/Office/stringsearch/parallel_stringsearch

@ cycle 0

[create:build/ARM/sim/process.cc, line 614]

Memory Usage: 582212 KBytes

hise@ubuntu:~/Work$



Best regards
m......
--- On *Sat, 10/13/12, Musharaf Hussain /<[email protected]>/* wrote:


    From: Musharaf Hussain <[email protected]>
    Subject: Re: [gem5-users] Did not run benchmark on gem5
    To: [email protected]
    Date: Saturday, October 13, 2012, 2:11 PM

    Hi All


    I stuck here, Please help me on below problem. What is happen
here? Actually I want to run "parallel_stringsearch.c" benchmarks on ARM cpu. What is needed here? Can anyone help me here?



    Back tracing:


    hhhh@ubuntu:~/Work$ ./M5/gem5/build/ARM/gem5.opt
    --stats-file=stats1 M5/gem5/configs/example/se.py -c
    /Products/Office/stringsearch/parallel_stringsearch -o 1
    --cpu-type=arm_detailed --caches --l2cache --l2_size=4MB
    --clock=2.5GHz


    gem5 Simulator System.http://gem5.org

    gem5 is copyrighted software; use the --copyright option for details.

    gem5 compiled Aug8 2012 07:52:25

    gem5 started Oct 13 2012 23:58:50

    gem5 executing on ubuntu

    command line: ./M5/gem5/build/ARM/gem5.opt --stats-file=stats1
    M5/gem5/configs/example/se.py -c
    /Products/Office/stringsearch/parallel_stringsearch -o 1
    --cpu-type=arm_detailed --caches --l2cache --l2_size=4MB
    --clock=2.5GHz

    Global frequency set at 1000000000000 ticks per second

    fatal: Can't load object file
    /Products/Office/stringsearch/parallel_stringsearch

    @ cycle 0

    [create:build/ARM/sim/process.cc, line 614]

    Memory Usage: 582212 KBytes

    hise@ubuntu:~/Work$



    Best regards
    m......

    --- On *Fri, 10/5/12, Musharaf Hussain /<[email protected]>/*
    wrote:


        From: Musharaf Hussain <[email protected]>
        Subject: Re: [gem5-users] Did not run benchmark on gem5
        To: "Nilay Vaish" <[email protected]>
        Date: Friday, October 5, 2012, 1:40 PM

        Dear

        Really I compile it but an  error. Please advise me . Need any
        correction on the benchmarks?

        --- On *Fri, 10/5/12, Nilay Vaish /<[email protected]>/* wrote:


            From: Nilay Vaish <[email protected]>
            Subject: Re: [gem5-users] Did not run benchmark on gem5
            To: "Musharaf Hussain" <[email protected]>
            Cc: [email protected]
            Date: Friday, October 5, 2012, 1:06 PM

            On Fri, 5 Oct 2012, Musharaf Hussain wrote:

            >
            >
            >
            > Hello Nilay,
            >
            > Thank you very much for your response.
            > Please see this? Here is another program but same
            message. Those program from benchmarks2 that means
            multiprogram. What is happening  here?
            >
            > back trace is below:
            >
            > cubic.c                      lmssim.txt
            > duff                         loop3
            > hise@ubuntu:~/Work$ arm-linux-gnueabi-gcc cubic.c -o
            cubic -static
            >
            
/usr/lib/gcc/arm-linux-gnueabi/4.6/../../../../arm-linux-gnueabi/lib/../lib/crt1.o:
            In function `_start':
            > (.text+0x30): undefined reference to `main'
            > /tmp/ccFsS665.o: In function `SolveCubic':
            > cubic.c:(.text+0x126): undefined reference to
            > `sqrt'
            > cubic.c:(.text+0x13a): undefined reference to `acos'
            > cubic.c:(.text+0x146): undefined reference to `sqrt'
            > cubic.c:(.text+0x166): undefined reference to `cos'
            > cubic.c:(.text+0x192): undefined reference to `sqrt'
            > cubic.c:(.text+0x1ba): undefined reference to `cos'
            > cubic.c:(.text+0x1e4): undefined reference to `sqrt'
            > cubic.c:(.text+0x20c): undefined reference to `cos'
            > cubic.c:(.text+0x23a): undefined reference to `sqrt'
            > cubic.c:(.text+0x258): undefined reference to `pow'
            > collect2: ld returned 1 exit status


            Let me ask you a question. Have you ever compiled a C/C++
            program before?

            --
            Nilay


_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to