EPICS Home

Experimental Physics and Industrial Control System


 
1994  1995  <19961997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  <19961997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: mv162 only
From: [email protected] (Rozelle Wright)
To: [email protected]
Date: Mon, 10 Jun 96 10:38:45 MDT
> From [email protected] Mon Jun 10 08:56:27 1996
> Return-Path: <[email protected]>
> Date: Mon, 10 Jun 1996 09:53:01 -0500
> To: [email protected]
> Subject: Re: mv162 only
> Content-Length: 1104
> X-Lines: 38
> 
> >Q: Why does this happen?
> > 
> >In file CONFIG_SITE, I set
> > 
> >CROSS_COMPILER_TARGET_ARCHS=mv162
> > 
> >since the only crate processor I have is a mv162.
> >Then I rebuilt EPICS R3.12.2 base.
> > 
> >Here's the output from when the crate boots.
> >-----------------------------% clip here %-----------------------------
> >ld < targetmv162/iocCore
> >undefined symbol: ___eqdf2
> >undefined symbol: ___gtdf2
> >
> >...
> 
> This is because you have 'soft-float' defined somewhere and are not loading
> the floating point emulation libraries that come with vxWorks.  I don't
> know *how* you are supposed to load them... I don't use that stuff, but
> I suspect that if you build vxWorks for soft-float, they are built in.
> 
> I also suspect that you have a board with floating point on it... are loading
> the vxWorks w/o soft-float (as you should for that board) and are just building
> EPICS wrong (for a soft-float environment.)
> 
> >Q: Do I need to compile for BOTH the mv162 AND the mv167?
> >That is,
> >CONFIG_SITE: CROSS_COMPILER_TARGET_ARCHS=mv162 mv167
> 
> Not that I am aware of.
> 
> >Q: Is this a bug?
> 
> Nope.  It is a feature ;-)
> 
> 
> --John Winans
> 
Yet one more comment on using EPICS for 162's which have floating point:

If you look at the difference between
CONFIG_ARCH.mv162 and CONFIG_ARCH.mv167 in the config directory the
only difference is
>portia:config% diff CONFIG_ARCH.mv162 CONFIG_ARCH.mv167 
17c17
< ARCH_DEP_CFLAGS = -DCPU=MC68040 -msoft-float -DCPU_FAMILY=MC680X0
---
> ARCH_DEP_CFLAGS = -DCPU=MC68040 -m68040 -DCPU_FAMILY=MC680X0

So, if you designate your 
CROSS_COMPILER_TARGET_ARCHS=mv162
you will by default get -msoft-float.

This happened to me when I was helping someone set up a system
with 162's which had floating point.  I just
had them use epics for the 167 instead of the 162.

This may not be a bug, but I think it is misleading.  perhaps the
config should make a distinction between 162LC and 162.
Rozelle

---------------------------------------------------------
|                                                       |
|Rozelle Wright              Phone (505) 667-4804       |
|Los Alamos Natl Labs AOT-8  FAX (505) 665-5107         |
|PO Box 1663 MS-H820         Group Office (505) 667-6087|
|Los Alamos, NM 87545        email : [email protected]   |
|                                                       |
---------------------------------------------------------
  




Navigate by Date:
Prev: Re: EPICS on Baja. Tim Mooney
Next: Re: mv162 only Tim Mooney
Index: 1994  1995  <19961997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: mv162 only John R. Winans
Next: Re: mv162 only Tim Mooney
Index: 1994  1995  <19961997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024