Hi Tom,

I came to understand that you use different kind of
magic-breakpoints with Flexus. Some examples on, how
you handle "haps" and What actions you take when
MAGIC-Breakpoints is hit would be helpful. 

Also how exactly do you let all transient state drain
away before checkpointing, and how do you actually do
a warm up, that is how do you create trace file for
warm up ?


Thanks


        
                
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com
From shanlu at cs.uiuc.edu  Fri Oct 14 18:36:45 2005
From: shanlu at cs.uiuc.edu (shan)
List-Post: [email protected]
Date: Fri Oct 14 18:37:06 2005
Subject: [Simflex] 'make CMPFlex' fail
Message-ID: <[email protected]>

Hi,

I am trying to install flexus. I have followed the 'getting start guide':
installed the gcc-3.4.4; download the boost c++1.32.0; my make is 3.79.1; my
simics is 2.0.28, which works ok. I have modified the makefile.defs; I ran
the make install. Then when I run the 'make CMPFlex' I have following link
error:

 

/usr/lib/libc_nonshared.a(elf-init.oS)(.text+0x1c): In function
`__libc_csu_init':

: undefined reference to `__init_array_end'

/usr/lib/libc_nonshared.a(elf-init.oS)(.text+0x22): In function
`__libc_csu_init':

: undefined reference to `__init_array_start'

/usr/lib/libc_nonshared.a(elf-init.oS)(.text+0x37): In function
`__libc_csu_init':

: undefined reference to `__init_array_start'

/usr/lib/libc_nonshared.a(elf-init.oS)(.text+0x5b): In function
`__libc_csu_fini':

: undefined reference to `__fini_array_end'

/usr/lib/libc_nonshared.a(elf-init.oS)(.text+0x61): In function
`__libc_csu_fini':

: undefined reference to `__fini_array_start'

/usr/lib/libc_nonshared.a(elf-init.oS)(.text+0x7f): In function
`__libc_csu_fini':

: undefined reference to `__fini_array_start'

/usr/bin/ld: libflexus_CMPFlex_v9_iface_gcc.so: hidden symbol
`__fini_array_end' isn't defined

collect2: ld returned 1 exit status

make[6]: *** [libflexus_CMPFlex_v9_iface_gcc.so] Error 1

make[5]: *** [simics-v9] Error 2

make[4]: *** [CMPFlex] Error 2

make[3]: *** [CMPFlex] Error 2

make[2]: *** [CMPFlex] Error 2

make[1]: *** [CMPFlex] Error 2

make: *** [CMPFlex] Error 2

 

right after following command

/home/bin/gcc/bin/g++-3.4.4 -shared -export-dynamic -Wl,--whole-archive
*.v9_iface_gcc_o /home/flexus/flexus/components/Common/Common.v9.iface.gcc.a
/home/flexus/flexus/components/BPWarm/BPWarm.v9.iface.gcc.a
/home/flexus/flexus/components/InorderSimicsFeeder/InorderSimicsFeeder.v9.if
ace.gcc.a /home/flexus/flexus/components/CmpCache/CmpCache.v9.iface.gcc.a
/home/flexus/flexus/components/MemoryLoopback/MemoryLoopback.v9.iface.gcc.a
/home/flexus/flexus/components/MemoryMap/MemoryMap.v9.iface.gcc.a
/home/flexus/flexus/components/MagicBreak/MagicBreak.v9.iface.gcc.a
/home/flexus/flexus/components/IFetch/IFetch.v9.iface.gcc.a
/home/flexus/flexus/components/Execute/Execute.v9.iface.gcc.a
/home/flexus/flexus/components/Cache/Cache.v9.iface.gcc.a
-L/home/flexus/flexus/core -Wl,--whole-archive -lcore_v9_iface_gcc
-lsimics_v9_iface_gcc -lboost_date_time -lboost_regex -lboost_serialization
-lz -o libflexus_CMPFlex_v9_iface_gcc.so

 

Has anybody seen this before? Did I miss some configuration? Is it because
my binutil or some other setting is wrong?

Thanks sooooo much

Shan Lu 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://sos.ece.cmu.edu/pipermail/simflex/attachments/20051014/2e75e1ce/attachment.html
From twenisch at ece.cmu.edu  Sat Oct 15 19:37:14 2005
From: twenisch at ece.cmu.edu (Thomas Wenisch)
List-Post: [email protected]
Date: Sat Oct 15 19:36:48 2005
Subject: [Simflex] 'make CMPFlex' fail
In-Reply-To: <[email protected]>
References: <[email protected]>
Message-ID: <pine.lnx.4.53l-ece.cmu.edu.0510151933280.19...@dalmore.ece.cmu.edu>

Hi Shan,

Take a look at this message in the SimFlex archives:

https://sos.ece.cmu.edu/pipermail/simflex/2005-August/000030.html

The makefile changes described there should solve the link problem (see
the rest of that thread).  The root cause of the issue is a bug in how ld
handles the whole-archive flag.

Let me know if you need further help.

Regards,
-Tom Wenisch
Computer Architecture Lab
Carnegie Mellon University

On Fri, 14 Oct 2005, shan wrote:

> Hi,
>
> I am trying to install flexus. I have followed the 'getting start guide':
> installed the gcc-3.4.4; download the boost c++1.32.0; my make is 3.79.1; my
> simics is 2.0.28, which works ok. I have modified the makefile.defs; I ran
> the make install. Then when I run the 'make CMPFlex' I have following link
> error:
>
>
>
> /usr/lib/libc_nonshared.a(elf-init.oS)(.text+0x1c): In function
> `__libc_csu_init':
>
> : undefined reference to `__init_array_end'
>
> /usr/lib/libc_nonshared.a(elf-init.oS)(.text+0x22): In function
> `__libc_csu_init':
>
> : undefined reference to `__init_array_start'
>
> /usr/lib/libc_nonshared.a(elf-init.oS)(.text+0x37): In function
> `__libc_csu_init':
>
> : undefined reference to `__init_array_start'
>
> /usr/lib/libc_nonshared.a(elf-init.oS)(.text+0x5b): In function
> `__libc_csu_fini':
>
> : undefined reference to `__fini_array_end'
>
> /usr/lib/libc_nonshared.a(elf-init.oS)(.text+0x61): In function
> `__libc_csu_fini':
>
> : undefined reference to `__fini_array_start'
>
> /usr/lib/libc_nonshared.a(elf-init.oS)(.text+0x7f): In function
> `__libc_csu_fini':
>
> : undefined reference to `__fini_array_start'
>
> /usr/bin/ld: libflexus_CMPFlex_v9_iface_gcc.so: hidden symbol
> `__fini_array_end' isn't defined
>
> collect2: ld returned 1 exit status
>
> make[6]: *** [libflexus_CMPFlex_v9_iface_gcc.so] Error 1
>
> make[5]: *** [simics-v9] Error 2
>
> make[4]: *** [CMPFlex] Error 2
>
> make[3]: *** [CMPFlex] Error 2
>
> make[2]: *** [CMPFlex] Error 2
>
> make[1]: *** [CMPFlex] Error 2
>
> make: *** [CMPFlex] Error 2
>
>
>
> right after following command
>
> /home/bin/gcc/bin/g++-3.4.4 -shared -export-dynamic -Wl,--whole-archive
> *.v9_iface_gcc_o /home/flexus/flexus/components/Common/Common.v9.iface.gcc.a
> /home/flexus/flexus/components/BPWarm/BPWarm.v9.iface.gcc.a
> /home/flexus/flexus/components/InorderSimicsFeeder/InorderSimicsFeeder.v9.if
> ace.gcc.a /home/flexus/flexus/components/CmpCache/CmpCache.v9.iface.gcc.a
> /home/flexus/flexus/components/MemoryLoopback/MemoryLoopback.v9.iface.gcc.a
> /home/flexus/flexus/components/MemoryMap/MemoryMap.v9.iface.gcc.a
> /home/flexus/flexus/components/MagicBreak/MagicBreak.v9.iface.gcc.a
> /home/flexus/flexus/components/IFetch/IFetch.v9.iface.gcc.a
> /home/flexus/flexus/components/Execute/Execute.v9.iface.gcc.a
> /home/flexus/flexus/components/Cache/Cache.v9.iface.gcc.a
> -L/home/flexus/flexus/core -Wl,--whole-archive -lcore_v9_iface_gcc
> -lsimics_v9_iface_gcc -lboost_date_time -lboost_regex -lboost_serialization
> -lz -o libflexus_CMPFlex_v9_iface_gcc.so
>
>
>
> Has anybody seen this before? Did I miss some configuration? Is it because
> my binutil or some other setting is wrong?
>
> Thanks sooooo much
>
> Shan Lu
>
>
From shanlu at cs.uiuc.edu  Sun Oct 16 15:51:56 2005
From: shanlu at cs.uiuc.edu (shan)
List-Post: [email protected]
Date: Wed Oct 19 09:06:02 2005
Subject: [Simflex] 'make CMPFlex' fail
In-Reply-To: 
<pine.lnx.4.53l-ece.cmu.edu.0510151933280.19...@dalmore.ece.cmu.edu>
Message-ID: <[email protected]>

Hi Tom,
  Yes, that new makefile fixes the problem.
  Next time, I will track SimFlex archives first :). Thanks very much.
Thanks
shan

-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Thomas Wenisch
Sent: Saturday, October 15, 2005 5:37 PM
To: SimFlex software support
Subject: Re: [Simflex] 'make CMPFlex' fail

Hi Shan,

Take a look at this message in the SimFlex archives:

https://sos.ece.cmu.edu/pipermail/simflex/2005-August/000030.html

The makefile changes described there should solve the link problem (see
the rest of that thread).  The root cause of the issue is a bug in how ld
handles the whole-archive flag.

Let me know if you need further help.

Regards,
-Tom Wenisch
Computer Architecture Lab
Carnegie Mellon University

On Fri, 14 Oct 2005, shan wrote:

> Hi,
>
> I am trying to install flexus. I have followed the 'getting start guide':
> installed the gcc-3.4.4; download the boost c++1.32.0; my make is 3.79.1;
my
> simics is 2.0.28, which works ok. I have modified the makefile.defs; I ran
> the make install. Then when I run the 'make CMPFlex' I have following link
> error:
>
>
>
> /usr/lib/libc_nonshared.a(elf-init.oS)(.text+0x1c): In function
> `__libc_csu_init':
>
> : undefined reference to `__init_array_end'
>
> /usr/lib/libc_nonshared.a(elf-init.oS)(.text+0x22): In function
> `__libc_csu_init':
>
> : undefined reference to `__init_array_start'
>
> /usr/lib/libc_nonshared.a(elf-init.oS)(.text+0x37): In function
> `__libc_csu_init':
>
> : undefined reference to `__init_array_start'
>
> /usr/lib/libc_nonshared.a(elf-init.oS)(.text+0x5b): In function
> `__libc_csu_fini':
>
> : undefined reference to `__fini_array_end'
>
> /usr/lib/libc_nonshared.a(elf-init.oS)(.text+0x61): In function
> `__libc_csu_fini':
>
> : undefined reference to `__fini_array_start'
>
> /usr/lib/libc_nonshared.a(elf-init.oS)(.text+0x7f): In function
> `__libc_csu_fini':
>
> : undefined reference to `__fini_array_start'
>
> /usr/bin/ld: libflexus_CMPFlex_v9_iface_gcc.so: hidden symbol
> `__fini_array_end' isn't defined
>
> collect2: ld returned 1 exit status
>
> make[6]: *** [libflexus_CMPFlex_v9_iface_gcc.so] Error 1
>
> make[5]: *** [simics-v9] Error 2
>
> make[4]: *** [CMPFlex] Error 2
>
> make[3]: *** [CMPFlex] Error 2
>
> make[2]: *** [CMPFlex] Error 2
>
> make[1]: *** [CMPFlex] Error 2
>
> make: *** [CMPFlex] Error 2
>
>
>
> right after following command
>
> /home/bin/gcc/bin/g++-3.4.4 -shared -export-dynamic -Wl,--whole-archive
> *.v9_iface_gcc_o
/home/flexus/flexus/components/Common/Common.v9.iface.gcc.a
> /home/flexus/flexus/components/BPWarm/BPWarm.v9.iface.gcc.a
>
/home/flexus/flexus/components/InorderSimicsFeeder/InorderSimicsFeeder.v9.if
> ace.gcc.a /home/flexus/flexus/components/CmpCache/CmpCache.v9.iface.gcc.a
>
/home/flexus/flexus/components/MemoryLoopback/MemoryLoopback.v9.iface.gcc.a
> /home/flexus/flexus/components/MemoryMap/MemoryMap.v9.iface.gcc.a
> /home/flexus/flexus/components/MagicBreak/MagicBreak.v9.iface.gcc.a
> /home/flexus/flexus/components/IFetch/IFetch.v9.iface.gcc.a
> /home/flexus/flexus/components/Execute/Execute.v9.iface.gcc.a
> /home/flexus/flexus/components/Cache/Cache.v9.iface.gcc.a
> -L/home/flexus/flexus/core -Wl,--whole-archive -lcore_v9_iface_gcc
> -lsimics_v9_iface_gcc -lboost_date_time -lboost_regex
-lboost_serialization
> -lz -o libflexus_CMPFlex_v9_iface_gcc.so
>
>
>
> Has anybody seen this before? Did I miss some configuration? Is it because
> my binutil or some other setting is wrong?
>
> Thanks sooooo much
>
> Shan Lu
>
>
_______________________________________________
SimFlex mailing list
[email protected]
https://sos.ece.cmu.edu/mailman/listinfo/simflex
SimFlex web page: http://www.ece.cmu.edu/~simflex

Reply via email to