During development of the sequencer it may happen that the SNL compiler
(snc) crashes with a segmentation fault. With 3.14 this looks like
franksen@tiber: ...test/validate/O.linux-x86 > rm wait.*
franksen@tiber: ...test/validate/O.linux-x86 > make
make -f ../Makefile TOP=../../.. T_A=linux-x86 all
make[1]: Entering directory
`/home/franksen/src/seq/branch-2-3/home/test/validate/O.linux-x86'
perl /home/franksen/src/epics-base/3.14/bin/linux-x86/mkmf.pl -m
wait.st.d . ../os/Linux ../os/posix ../os/default .. wait.i ../wait.st
make[1]: Leaving directory
`/home/franksen/src/seq/branch-2-3/home/test/validate/O.linux-x86'
make[1]: Entering directory
`/home/franksen/src/seq/branch-2-3/home/test/validate/O.linux-x86'
preprocessing ../wait.st
/usr/bin/gcc -x c -E -D_GNU_SOURCE -D_DEFAULT_SOURCE -D_X86_
-DUNIX -Dlinux -I. -I../O.Common -I. -I..
-I../../../include/os/Linux -I../../../include
-I/home/franksen/src/epics-base/3.14/include/os/Linux
-I/home/franksen/src/epics-base/3.14/include ../wait.st > wait.i
compiling wait.i to C
/home/franksen/src/seq/branch-2-3/home/bin/linux-x86/snc +m wait.i -o
wait.c.tmp
make[1]: *** [wait.c] Segmentation fault (core dumped)
make[1]: Leaving directory
`/home/franksen/src/seq/branch-2-3/home/test/validate/O.linux-x86'
make: *** [all] Error 2
franksen@tiber: ...test/validate/O.linux-x86 > ll wait.*
-rw-rw-r-- 1 franksen franksen 0 Mär 7 15:14 wait.c.tmp
-rw-rw-r-- 1 franksen franksen 1707 Mär 7 15:14 wait.i
-rw-rw-r-- 1 franksen franksen 84 Mär 7 15:14 wait.st.d
Note the line
make[1]: *** [wait.c] Segmentation fault (core dumped)
in the make output. Now with 3.15:
> rm wait.*
franksen@tiber: ...test/validate/O.linux-x86 > make
make -f ../Makefile TOP=../../.. T_A=linux-x86 all
make[1]: Entering directory
`/home/franksen/src/seq/branch-2-3/home/test/validate/O.linux-x86'
compiling waitfun.i to C
/home/franksen/src/seq/branch-2-3/home/bin/linux-x86/snc +m waitfun.i
-o waitfun.c.tmp
preprocessing ../wait.st
/usr/bin/gcc -x c -E -D_GNU_SOURCE -D_DEFAULT_SOURCE -D_X86_
-DUNIX -Dlinux -I. -I../O.Common -I. -I. -I..
-I../../../include/compiler/gcc -I../../../include/os/Linux
-I../../../include
-I/home/franksen/src/epics-base/3.15/include/compiler/gcc
-I/home/franksen/src/epics-base/3.15/include/os/Linux
-I/home/franksen/src/epics-base/3.15/include ../wait.st > wait.i
compiling wait.i to C
/home/franksen/src/seq/branch-2-3/home/bin/linux-x86/snc +m wait.i -o
wait.c.tmp
perl -CSD /home/franksen/src/epics-base/3.15/bin/linux-x86/mkmf.pl -m
wait.st.d . ../compiler/gcc ../compiler/default . ../os/Linux
../os/posix ../os/default .. wait.i ../wait.st
make[1]: Leaving directory
`/home/franksen/src/seq/branch-2-3/home/test/validate/O.linux-x86'
make[1]: Entering directory
`/home/franksen/src/seq/branch-2-3/home/test/validate/O.linux-x86'
compiling waitfun.i to C
/home/franksen/src/seq/branch-2-3/home/bin/linux-x86/snc +m waitfun.i
-o waitfun.c.tmp
compiling wait.i to C
/home/franksen/src/seq/branch-2-3/home/bin/linux-x86/snc +m wait.i -o
wait.c.tmp
make[1]: Leaving directory
`/home/franksen/src/seq/branch-2-3/home/test/validate/O.linux-x86'
make: *** [all] Error 2
franksen@tiber: ...test/validate/O.linux-x86 > ll wait.*
-rw-rw-r-- 1 franksen franksen 0 Mär 7 15:24 wait.c.tmp
-rw-rw-r-- 1 franksen franksen 1707 Mär 7 15:24 wait.i
-rw-rw-r-- 1 franksen franksen 47 Mär 7 15:24 wait.st.d
Note: nothing about seg faults or dumped cores in the make output here.
I have not the slightest idea what could cause this.
I have checked (a) the environment (b) the MAKEFLAGS and (c) the command
line that invokes snc. They are exactly the same (apart from the
variable EPICS_BASE in the environment).
Cheers
Ben
--
"Make it so they have to reboot after every typo." ― Scott Adams
________________________________
Helmholtz-Zentrum Berlin für Materialien und Energie GmbH
Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher Forschungszentren e.V.
Aufsichtsrat: Vorsitzender Dr. Karl Eugen Huthmacher, stv. Vorsitzende Dr. Jutta Koch-Unterseher
Geschäftsführung: Prof. Dr. Anke Rita Kaysser-Pyzalla, Thomas Frederking
Sitz Berlin, AG Charlottenburg, 89 HRB 5583
Postadresse:
Hahn-Meitner-Platz 1
D-14109 Berlin
http://www.helmholtz-berlin.de
- Replies:
- Re: EPICS make problem Torsten Bögershausen
- Re: EPICS make problem Andrew Johnson
- Navigate by Date:
- Prev:
Re: Question related to PV record Vandana Yadav
- Next:
Re: EPICS make problem Benjamin Franksen
- Index:
1994
1995
1996
1997
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: Stream device question Luchini, Kristi L.
- Next:
Re: EPICS make problem Benjamin Franksen
- Index:
1994
1995
1996
1997
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
|