EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Base R3.14.11-pre1 available for testing
From: "Abbott, MG (Michael)" <[email protected]>
To: "Rees, NP (Nick)" <[email protected]>, <[email protected]>
Date: Thu, 30 Jul 2009 12:02:50 +0100
From: Rees, NP (Nick) 
> I've been meaning to forward this to you for some time. Can 
> you check that R3.14.11 builds for arm and the tests run.
> 
> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of Andrew Johnson
> Sent: 21 July 2009 16:28
> To: Core-Talk
> Subject: Base R3.14.11-pre1 available for testing
> 
> The first pre-release version of Base 3.14.11 is now 
> available for download and testing, see 
> http://www.aps.anl.gov/epics/base/R3-14/11.php for details.
> 
> I have not uploaded the Application Developers Guide yet, I'll try to
get that 
> done this week.  If you can, please check out this version and report
any 
> bugs you find here on core-talk.  If all goes well the 3.14.11-RC1
release 
> can be created on August 3rd (which will be announced on tech-talk)
and the 
> final release on August 10th.

Well, I had to make a couple of patches to the configuration to get the
Libera EPICS driver (my ARM test application) to build.


This patch is rather important.  The line removed by this patch has a
very strange effect: it adds makefile rules of the form

	$(action).$(arch): $(action).$(EPICS_HOST_ARCH)

specifically, it adds the rule

	install.linux-arm: install.linux-x86

to my build.  The effect of this rule is that in order to build my
linux-arm IOC, I have to first build a linux-x86 version of the IOC, and
more generally, all cross-compiled IOCs depend on having a native IOC
build succeed first.  This isn't going to work.

Somehow this seems ... mistaken.  I don't see what this line is trying
to achieve ... but then complex Makefiles are barely comprehensible at
the best of times.

diff -ur base-3.14.11-pre1.original/configure/RULES_ARCHS
base-3.14.11-pre1/configure/RULES_ARCHS
--- base-3.14.11-pre1.original/configure/RULES_ARCHS	2009-06-24
20:33:57.000000000 +0100
+++ base-3.14.11-pre1/configure/RULES_ARCHS	2009-07-30
11:37:12.000000000 +0100
@@ -46,7 +46,6 @@
 
 define DEP_template
 $(2): $$(EPICS_HOST_ARCH)
-$(1)$$(DIVIDER)$(2): $(1)$$(DIVIDER)$$(EPICS_HOST_ARCH)
 endef
 
 $(foreach action, $(ACTIONS), $(foreach arch,\



Patching CONFIG.Common.linux-arm.  This patch is arguable, but I'm not
sure that such target specific architecture flags belong in EPICS base.
The line removed by this patch crept into 3.14.10, and breaks the Libera
build.

diff -ur base-3.14.11-pre1.original/configure/os/CONFIG.Common.linux-arm
base-3.14.11-pre1/configure/os/CONFIG.Common.linux-arm
--- base-3.14.11-pre1.original/configure/os/CONFIG.Common.linux-arm
2008-04-09 21:41:33.000000000 +0100
+++ base-3.14.11-pre1/configure/os/CONFIG.Common.linux-arm
2009-07-30 11:37:38.000000000 +0100
@@ -13,7 +13,6 @@
 
 # Set a special definition for network order of Netwinder ARM floating
point
 ARCH_DEP_CPPFLAGS += -D_ARM_NWFP_
-ARCH_DEP_CPPFLAGS += -mcpu=arm9 -marm
 
 ifeq ($(BUILD_CLASS),CROSS)
     VALID_BUILDS = Ioc


Please CC me on all list correspondence, as I'm not subscribed to the
list.
-- 
Scanned by iCritical.


Replies:
Re: Base R3.14.11-pre1 available for testing Andrew Johnson

Navigate by Date:
Prev: RE: epicsSnPrintf is very slow when converting string arrays in GDD's aitConvert.cc Jeff Hill
Next: Re: Base R3.14.11-pre1 available for testing Andrew Johnson
Index: 2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Base R3.14.11-pre1 available for testing J. Lewis Muir
Next: Re: Base R3.14.11-pre1 available for testing Andrew Johnson
Index: 2002  2003  2004  2005  2006  2007  2008  <20092010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Feb 2012 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·