EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: Re: Sequencer news: latest snapshot
From: Benjamin Franksen <[email protected]>
To: "J. Lewis Muir" <[email protected]>
Cc: [email protected]
Date: Sun, 26 Jun 2011 03:00:34 +0200
Am Freitag, 24. Juni 2011, um 23:43:33 schrieben Sie:
> On 6/24/11 4:05 PM, Benjamin Franksen wrote:
> > This seems to be the only test that failed.
> >
> > The tests in this group check that the (SNL+C) compilers reject certain
> > constructs; I have made these tests more strict by counting how often the
> > word 'error' appears in the output. Depending on the C compiler this
> > number varies, so I have to adapt the range of permissible occurrences
> > for every new compiler tested. Could you remove the comment marker from
> > line 43 of
> > test/compiler/test.plt, repeat 'make runtests' inside test/compiler, and
> > send me the output?
>
> Hi, Ben.
>
> The output is attached.
>
> In case it's helpful, my GCC version is 4.2.1.
>
> (On a side note, my system also has an LLVM compiler toolchain
> which Apple seems to be behind.  Maybe at some point the default
> compiler on Mac OS X for the EPICS build system will become
> this, in which case perhaps the "error" word counting will need
> to change again.)

The failing test is the tooLong test which checks that assign on 64 bit types
gets rejected. The compiler output is:

../tooLong.st:15:2: error: #error variable 'long l' cannot be assigned to a PV
(on the chosen target system) because Channel Access does not support integral
types longer than 4 bytes. You can use 'int' instead, or the fixed size type
'int32_t'.
# ../tooLong.st:18:2: error: #error variable 'unsigned long ul' cannot be
assigned to a PV (on the chosen target system) because Channel Access does not
support integral types longer than 4 bytes. You can use 'unsigned int'
instead, or the fixed size type 'uint32_t'.

This is correct; the problem is that the perl script thinks the test should
succeed, not fail, since the EPICS_HOST_ARCH does not match against the string
'64'. So, I rather have to adapt the expectation and refine the heuristic that
tries to determine 64-bit-ness of the host arch. What is the value of
EPICS_HOST_ARCH for your system?

Cheers
Ben

________________________________

Helmholtz-Zentrum Berlin für Materialien und Energie GmbH

Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher Forschungszentren e.V.

Aufsichtsrat: Vorsitzender Prof. Dr. Dr. h.c. mult. Joachim Treusch, stv. Vorsitzende Dr. Beatrix Vierkorn-Rudolph
Geschäftsführer: Prof. Dr. Anke Rita Kaysser-Pyzalla, Dr. Ulrich Breuer

Sitz Berlin, AG Charlottenburg, 89 HRB 5583

Postadresse:
Hahn-Meitner-Platz 1
D-14109 Berlin

http://www.helmholtz-berlin.de


Replies:
Re: Sequencer news: latest snapshot Andrew Johnson
Re: Sequencer news: latest snapshot J. Lewis Muir
References:
Sequencer news: latest snapshot Benjamin Franksen
Re: Sequencer news: latest snapshot Benjamin Franksen
Re: Sequencer news: latest snapshot J. Lewis Muir

Navigate by Date:
Prev: Re: Sequencer news: latest snapshot Tim Mooney
Next: Re: Sequencer news: latest snapshot Benjamin Franksen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Sequencer news: latest snapshot J. Lewis Muir
Next: Re: Sequencer news: latest snapshot Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·