[Go to BBS]
All articles in a thread
SubjectSAD Update. V1.0.10.4.5a 64 bit.
Article No831
Date: 2010/08/21(Sat) 02:54:05
ContributorK. Oide
Dera Users,

1. The next version is tweaked to enable to compile/run in 64 bit mode on some OS. It has been tested at least on Mac OS 10.5.8 (powerpc) and 10.6.4 (x86_64) with gcc-4 and -m64 option. Actually it has been already possible to run in 64 bit mode on some systems without the tweak, which extends the capability to more systems. This tweak should not affect the 32 bit mode. A merit of 64 bit mode is to extend the memory area usable by SAD up to 16 GB, instead of 2 GB in 32 bit mode. The size of area may be restricted further by each system. Further expansion of the memory area needs major modification of the entire code.

2. The internal handling of OpenShared / Shared / StringToStream is changed to be a little bit more robust. Now CloseShared is just equivalent to Close. Also it becomes possible to read/write existing symbols on Shared.

SubjectRe: SAD Update. V1.0.10.4.5a02 64 bit.
Article No832
Date: 2010/08/22(Sun) 06:39:16
ContributorK. Oide
1. Some bugs related to the previous change were corrected.

2. It seems that the 64 bit tweak also works for Mac OS 10.5 with Xeon processor, whose CPU is reported as i386 somehow.

3. The icon for history of FileDialog is replaced.

SubjectRe^2: SAD Update. V1.0.10.4.5a02 64 bit.
Article No833
Date: 2010/08/24(Tue) 11:05:09
ContributorKAMADA Susumu
At the final stage of "sudo make all", "Segmentation fault" occurs by running "SAD Ver.1.0.10.4.5a01".
On the other hand, "SAD Ver.1.0.10.4.5a02" is not yet available by cvs-repositry.

SubjectRe^3: SAD Update. V1.0.10.4.5a02 64 bit.
Article No834
Date: 2010/08/24(Tue) 11:13:45
ContributorKAMADA Susumu
> At the final stage of "sudo make all", "Segmentation fault" occurs by running "SAD Ver.1.0.10.4.5a01".
> On the other hand, "SAD Ver.1.0.10.4.5a02" is not yet available by cvs-repositry.

The following "sad.conf" was used.

# New Makefile -- Local Configuration Part Sample
#

## Compiler setting examples

# -- Interl C/Fortran Compiler 8.1 or later --
#COMPILER=Intel
#USE_IFC=8.1

# -- Interl C/Fortran Compiler 7.1 --
#COMPILER=Intel
#USE_IFC=7.1

# -- GNU Compiler Collection 4.2.3 or later --
COMPILER=GNU
USE_GCC=4.4.1
FC=gfortran
CC=gcc-4

# -- for Debugging source tree --
#FOPT=-g -O
#COPT=-g -O1

# -- for Debugging memory allocator --
#COPT+=-DDEBUG_MEMORY

# -- for Debugging src/calc.y --
#COPT+=-DYYLEX_DEBUG

# -- for Debugging memory usege by ElectricFence --
#COPT+=-DUSE_ELECTRICFENCE -DUSE_ELECTRICFENCE_FREECHECK
#EXE_LIBS+=-L/usr/local/lib -lefence

## SAD root directory
SAD_ROOT=/usr/local/SAD

## Contrib source archive directory
#SOURCE_ARCHIVE_DIR=/usr/ports/distfiles

## libtai setup
#HAVE_LEAPSECONDS=YES
#LIBTAI_ADDITIONAL_LEAPSECONDS=+2005-12-31 +2008-12-31

## X11 setup
#
USE_X11=YES
#X11_PREFIX=/usr/X11R6
##X11_INCDIR=$(X11_PREFIX)/include
##X11_LIBDIR=$(X11_PREFIX)/lib
##X11_LIBS=-lX11

## Tcl/Tk setup
#
USE_TCLTK=YES
##BUILD_TCLTK=YES
##USE_TCLTK_SHARED_LIBRARY=YES
##TCLTK_GUI_BACKEND=X11|AQUA
##TCLTK_FONT_SYSTEM=Xlib|Xft
##TCLTK_VERSION=8.4.19|8.5.7|8.6a3|cvs
##TCLTK_PREFIX=$(SAD_ARCH_DIR)
##TCLTK_INCDIR=$(TCLTK_PREFIX)/include
##TCLTK_LIBDIR=$(TCLTK_PREFIX)/lib
##TCLTK_LIBS=-ltk$(TCLTK_FEATURE_VERSION) -ltcl$(TCLTK_FEATURE_VERSION)

## Python setup
#
#USE_PYTHON=YES
##BUILD_PYTHON=YES
##USE_PYTHON_THREAD=YES
##PYTHON_VERSION=2.4
##PYTHON_PATCH_LEVEL=1
##PYTHON_PREFIX=$(SAD_ARCH_DIR)
##PYTHON_INCDIR=$(PYTHON_PREFIX)/include/python$(PYTHON_VERSION)
##PYTHON_LIBDIR=$(PYTHON_PREFIX)/lib
##PYTHON_LIBS=-lpython$(PYTHON_VERSION)
##PYTHON_PATH=$(PYTHON_PREFIX)/lib/python$(PYTHON_VERSION)

## EPICS setup
#
#USE_EPICS=YES
#EPICS_INCDIR=$(EPICS_PREFIX)/include
#EPICS_LIBDIR=$(EPICS_PREFIX)/lib/$(EPICS_HOST_ARCH)
#EPICS_LIBS=-lca -ldbStaticHost -lCom

## for KEK-B EPICS setup
#USE_KEKB_EPICS=YES

# --- don't touch ---
ifeq ($(USE_KEKB_EPICS),YES)
# KEKB EPICS base directory prefix
KEKB_EPICS_PREFIX=/proj/epics/R313/base
KEKB_EPICS_PREFIX_R3149=/proj/epics/R314/R3149/base

KEKB_EPICS_PREFIX_i386_Darwin=$(KEKB_EPICS_PREFIX_R3149)
KEKB_EPICS_PREFIX_PowerPC_Darwin=$(KEKB_EPICS_PREFIX_R3149)
KEKB_EPICS_PREFIX_i386_Linux=$(KEKB_EPICS_PREFIX)
KEKB_EPICS_PREFIX_Alpha_OSF1=$(KEKB_EPICS_PREFIX)
KEKB_EPICS_PREFIX_PA1.0_HP-UX=$(KEKB_EPICS_PREFIX)
KEKB_EPICS_PREFIX_PA2.0_HP-UX=$(KEKB_EPICS_PREFIX)

# KEKB specific EPICS configuration parameter mapping for mk/sad.epics.mk
EPICS_HOST_ARCH_i386_Linux=Linux
EPICS_HOST_ARCH_Alpha_OSF1=alpha
EPICS_HOST_ARCH_PA1.0_HP-UX=hp700
EPICS_HOST_ARCH_PA2.0_HP-UX=hppa8k

EPICS_LIBS_i386_Linux=-lca -lDb -lCom
EPICS_LIBS_Alpha_OSF1=-lca -lDb -lCom
EPICS_LIBS_PA1.0_HP-UX=-lca -lDb -lCom
EPICS_LIBS_PA2.0_HP-UX=-lca -lDb -lCom

# Check KEKB_EPICS_PREFIX_ database
_KEKB_EPICS_PREFIX=$(KEKB_EPICS_PREFIX_$(CPU_ARCH)_$(OS_NAME))
ifeq ($(_KEKB_EPICS_PREFIX),)
$(error This architecture is not configured for KEKB)
else
USE_EPICS=YES
EPICS_PREFIX?=$(_KEKB_EPICS_PREFIX)
endif

endif # USE_KEKB_EPICS==YES

# End of File

SubjectRe^3: SAD Update. V1.0.10.4.5a02 64 bit.
Article No835
Date: 2010/08/24(Tue) 11:15:48
ContributorKAMADA Susumu
> At the final stage of "sudo make all", "Segmentation fault" occurs by running "SAD Ver.1.0.10.4.5a01".
> On the other hand, "SAD Ver.1.0.10.4.5a02" is not yet available by cvs-repositry.

The followings are the output messages on terminal.

tcsh: No entry for terminal type "emacs"
tcsh: using dumb terminal settings.
setenv TERM dumb;setenv COLUMNS 116
[elcondorpasa:~/UNIX/oldsad-main/oldsad] kamada% [elcondorpasa:~/UNIX/oldsad-main/oldsad] kamada% cvs update
? .DS_Store
? INSTALL.tmp
? Packages/.DS_Store
? Packages/init.local.n
? src/.DS_Store
cvs update: Updating .
cvs update: warning: INSTALL was lost
U INSTALL
cvs update: Updating KBFrame
U KBFrame/KBF_Recent.gif
U KBFrame/KBF_Recent_Large.gif
cvs update: Updating Packages
P Packages/FileDialog.n
P Packages/HelpMessages.n
P Packages/MessageName.n
P Packages/init.n
cvs update: Updating bin
cvs update: Updating config
cvs update: Updating contrib
cvs update: Updating contrib/gdtoa
cvs update: Updating contrib/gdtoa/test
cvs update: Updating contrib/gdtoa/test/obad
cvs update: Updating contrib/patches
cvs update: Updating contrib/tools
cvs update: Updating doc
cvs update: Updating doc/KBFrame
cvs update: Updating doc/SADTkinter
cvs update: Updating doc/SADTkinter/figures
cvs update: Updating doc/images
cvs update: Updating extensions
cvs update: Updating extensions/RandomMT
cvs update: Updating extensions/RandomMT/Plugins
cvs update: Updating extensions/RandomMT/Plugins/Common
cvs update: Updating extensions/RandomMT/Plugins/MT19937
cvs update: Updating extensions/RandomMT/Plugins/SAD
cvs update: Updating extensions/RandomMT/Plugins/SFMT
cvs update: Updating extensions/Standard
cvs update: Updating extensions/Standard/Tkinter
cvs update: Updating extensions/Standard/Xlib
cvs update: Updating extensions/sad+
cvs update: Updating extensions/sad+/include
cvs update: Updating extensions/sad+/src
cvs update: Updating files
cvs update: Updating files/libtai
cvs update: Updating files/tcl
cvs update: Updating files/tk
cvs update: Updating mk
cvs update: Updating script
P script/help2HTML.sad
cvs update: Updating src
P src/.depend_c
RCS file: /Users/cvs/SAD/oldsad/src/.depend_f,v
retrieving revision 1.25
retrieving revision 1.27
Merging differences between 1.25 and 1.27 into .depend_f
M src/.depend_f
P src/MAIN.f
P src/getbuf.f
P src/tfefun.f
P src/tfinitn.f
P src/tfmemcheck.f
P src/tfreadbuf.f
P src/tfshared.f
P src/tfwrite.f
cvs update: Updating src/inc
P src/inc/TFFSLOCAL.inc
P src/inc/TFRBUF.inc
cvs update: Updating src/sim
P src/sim/unix_pointer_.c
[elcondorpasa:~/UNIX/oldsad-main/oldsad] kamada% rm install
[elcondorpasa:~/UNIX/oldsad-main/oldsad] kamada% sudo make all
Password:
[ -d /Users/kamada/UNIX/oldsad-main/oldsad/src/gdtoa ] || mkdir -p /Users/kamada/UNIX/oldsad-main/oldsad/src/gdtoa
(cd /Users/kamada/UNIX/oldsad-main/oldsad/src/gdtoa; /Users/kamada/UNIX/oldsad-main/oldsad/bin/lndir /Users/kamada/UNIX/oldsad-main/oldsad/contrib/gdtoa)
/Users/kamada/UNIX/oldsad-main/oldsad/contrib/gdtoa/test:
/Users/kamada/UNIX/oldsad-main/oldsad/contrib/gdtoa/test/obad:
gfortran -o tfreadbuf.o -c -g -O1 -Wall -std=gnu -fno-second-underscore -fdollar-ok -fargument-alias -mpreferred-stack-boundary=4 -I/Users/kamada/UNIX/oldsad-main/oldsad/src -I/usr/local/SAD/arch/i386-Darwin10/include -I/usr/X11R6/include -I/usr/local/SAD/arch/i386-Darwin10/include \
/Users/kamada/UNIX/oldsad-main/oldsad/src/tfreadbuf.f
/Users/kamada/UNIX/oldsad-main/oldsad/src/tfreadbuf.f:7.16:

$ getfd,itfgetbuf,irtc,mapfree,ia
1
Warning: Unused variable 'getfd' declared at (1)
/Users/kamada/UNIX/oldsad-main/oldsad/src/tfreadbuf.f:6.44:

integer*4 icmd,lfn,nc,i,italoc,ib,is,k,itfcopy1,j,ls,ie,
1
Warning: Unused variable 'k' declared at (1)
gfortran -o filbuf.o -c -g -O1 -Wall -std=gnu -fno-second-underscore -fdollar-ok -fargument-alias -mpreferred-stack-boundary=4 -I/Users/kamada/UNIX/oldsad-main/oldsad/src -I/usr/local/SAD/arch/i386-Darwin10/include -I/usr/X11R6/include -I/usr/local/SAD/arch/i386-Darwin10/include \
/Users/kamada/UNIX/oldsad-main/oldsad/src/filbuf.f
/Users/kamada/UNIX/oldsad-main/oldsad/src/filbuf.f:14.31:

integer*4 ios, ione,LL1,i,idummy,ii
1
Warning: Unused variable 'i' declared at (1)
/Users/kamada/UNIX/oldsad-main/oldsad/src/filbuf.f:14.19:

integer*4 ios, ione,LL1,i,idummy,ii
1
Warning: Unused variable 'ios' declared at (1)
/Users/kamada/UNIX/oldsad-main/oldsad/src/filbuf.f:15.51:

integer*4 flmgr,lene,igetGL,irtc,nc,itfgetbuf
1
Warning: Unused variable 'itfgetbuf' declared at (1)
/Users/kamada/UNIX/oldsad-main/oldsad/src/filbuf.f:15.41:

integer*4 flmgr,lene,igetGL,irtc,nc,itfgetbuf
1
Warning: Unused variable 'nc' declared at (1)
gfortran -o doread.o -c -g -O1 -Wall -std=gnu -fno-second-underscore -fdollar-ok -fargument-alias -mpreferred-stack-boundary=4 -I/Users/kamada/UNIX/oldsad-main/oldsad/src -I/usr/local/SAD/arch/i386-Darwin10/include -I/usr/X11R6/include -I/usr/local/SAD/arch/i386-Darwin10/include \
/Users/kamada/UNIX/oldsad-main/oldsad/src/doread.f
/Users/kamada/UNIX/oldsad-main/oldsad/src/doread.f:2.29:

subroutine doread(dummy)
1
Warning: Unused dummy argument 'dummy' at (1)
/Users/kamada/UNIX/oldsad-main/oldsad/src/doread.f:126.33:

integer*4 function nextfn(i)
1
Warning: Unused dummy argument 'i' at (1)
gfortran -o toplvl.o -c -g -O1 -Wall -std=gnu -fno-second-underscore -fdollar-ok -fargument-alias -mpreferred-stack-boundary=4 -I/Users/kamada/UNIX/oldsad-main/oldsad/src -I/usr/local/SAD/arch/i386-Darwin10/include -I/usr/X11R6/include -I/usr/local/SAD/arch/i386-Darwin10/include \
/Users/kamada/UNIX/oldsad-main/oldsad/src/toplvl.f
gfortran -o getbuf.o -c -g -O1 -Wall -std=gnu -fno-second-underscore -fdollar-ok -fargument-alias -mpreferred-stack-boundary=4 -I/Users/kamada/UNIX/oldsad-main/oldsad/src -I/usr/local/SAD/arch/i386-Darwin10/include -I/usr/X11R6/include -I/usr/local/SAD/arch/i386-Darwin10/include -fbackslash /Users/kamada/UNIX/oldsad-main/oldsad/src/getbuf.f
gfortran -o tffsa.o -c -g -O1 -Wall -std=gnu -fno-second-underscore -fdollar-ok -fargument-alias -mpreferred-stack-boundary=4 -I/Users/kamada/UNIX/oldsad-main/oldsad/src -I/usr/local/SAD/arch/i386-Darwin10/include -I/usr/X11R6/include -I/usr/local/SAD/arch/i386-Darwin10/include \
/Users/kamada/UNIX/oldsad-main/oldsad/src/tffsa.f
gfortran -o tfinitn.o -c -g -O1 -Wall -std=gnu -fno-second-underscore -fdollar-ok -fargument-alias -mpreferred-stack-boundary=4 -I/Users/kamada/UNIX/oldsad-main/oldsad/src -I/usr/local/SAD/arch/i386-Darwin10/include -I/usr/X11R6/include -I/usr/local/SAD/arch/i386-Darwin10/include \
/Users/kamada/UNIX/oldsad-main/oldsad/src/tfinitn.f
/Users/kamada/UNIX/oldsad-main/oldsad/src/tfinitn.f:210.42:

subroutine tfcontext(isp1,itx,iax,vx,irtc)
1
Warning: Unused dummy argument 'vx' at (1)
/Users/kamada/UNIX/oldsad-main/oldsad/src/tfinitn.f:330.45:

subroutine tfsetcontext(isp1,itx,iax,vx,irtc)
1
Warning: Unused dummy argument 'vx' at (1)
/Users/kamada/UNIX/oldsad-main/oldsad/src/tfinitn.f:354.49:

subroutine tfsetcontextpath(isp1,itx,iax,vx,irtc)
1
Warning: Unused dummy argument 'vx' at (1)
/Users/kamada/UNIX/oldsad-main/oldsad/src/tfinitn.f:400.36:

subroutine tfexit(isp1,itx,iax,vx,irtc)
1
Warning: Unused dummy argument 'iax' at (1)
/Users/kamada/UNIX/oldsad-main/oldsad/src/tfinitn.f:400.32:

subroutine tfexit(isp1,itx,iax,vx,irtc)
1
Warning: Unused dummy argument 'itx' at (1)
/Users/kamada/UNIX/oldsad-main/oldsad/src/tfinitn.f:400.39:

subroutine tfexit(isp1,itx,iax,vx,irtc)
1
Warning: Unused dummy argument 'vx' at (1)
/Users/kamada/UNIX/oldsad-main/oldsad/src/tfinitn.f:468.38:

subroutine tfgetcommandline(isp1,itx,iax,vx,irtc)
1
Warning: Unused dummy argument 'isp1' at (1)
/Users/kamada/UNIX/oldsad-main/oldsad/src/tfinitn.f:468.49:

subroutine tfgetcommandline(isp1,itx,iax,vx,irtc)
1
Warning: Unused dummy argument 'vx' at (1)
gfortran -o tfprint.o -c -g -O1 -Wall -std=gnu -fno-second-underscore -fdollar-ok -fargument-alias -mpreferred-stack-boundary=4 -I/Users/kamada/UNIX/oldsad-main/oldsad/src -I/usr/local/SAD/arch/i386-Darwin10/include -I/usr/X11R6/include -I/usr/local/SAD/arch/i386-Darwin10/include \
/Users/kamada/UNIX/oldsad-main/oldsad/src/tfprint.f
/Users/kamada/UNIX/oldsad-main/oldsad/src/tfprint.f:155.72:

write(prolog,'($,''Out['',a,'']:= '')')n(1:l)
1
Warning: $ should be the last specifier in format at (1)
/Users/kamada/UNIX/oldsad-main/oldsad/src/tfprint.f:123.32:

subroutine tfprintout(lfno,lpw,maxline,irtc)
1
Warning: Unused dummy argument 'lfno' at (1)
/Users/kamada/UNIX/oldsad-main/oldsad/src/tfprint.f:123.36:

subroutine tfprintout(lfno,lpw,maxline,irtc)
1
Warning: Unused dummy argument 'lpw' at (1)
/Users/kamada/UNIX/oldsad-main/oldsad/src/tfprint.f:123.44:

subroutine tfprintout(lfno,lpw,maxline,irtc)
1
Warning: Unused dummy argument 'maxline' at (1)
gfortran -o tftwiss.o -c -g -O1 -Wall -std=gnu -fno-second-underscore -fdollar-ok -fargument-alias -mpreferred-stack-boundary=4 -I/Users/kamada/UNIX/oldsad-main/oldsad/src -I/usr/local/SAD/arch/i386-Darwin10/include -I/usr/X11R6/include -I/usr/local/SAD/arch/i386-Darwin10/include \
/Users/kamada/UNIX/oldsad-main/oldsad/src/tftwiss.f
/Users/kamada/UNIX/oldsad-main/oldsad/src/tftwiss.f:521.27:

subroutine tfline1(it,ia,v,itx,iax,vx,keyword,irtc)
1
Warning: Unused dummy argument 'it' at (1)
/Users/kamada/UNIX/oldsad-main/oldsad/src/tftwiss.f:728.34:

subroutine tflinestk(it,ia,v,narg,isp0,irtc)
1
Warning: Unused dummy argument 'v' at (1)
gfortran -o txcalc.o -c -g -O1 -Wall -std=gnu -fno-second-underscore -fdollar-ok -fargument-alias -mpreferred-stack-boundary=4 -I/Users/kamada/UNIX/oldsad-main/oldsad/src -I/usr/local/SAD/arch/i386-Darwin10/include -I/usr/X11R6/include -I/usr/local/SAD/arch/i386-Darwin10/include \
/Users/kamada/UNIX/oldsad-main/oldsad/src/txcalc.f
gfortran -o tfefun.o -c -g -O1 -Wall -std=gnu -fno-second-underscore -fdollar-ok -fargument-alias -mpreferred-stack-boundary=4 -I/Users/kamada/UNIX/oldsad-main/oldsad/src -I/usr/local/SAD/arch/i386-Darwin10/include -I/usr/X11R6/include -I/usr/local/SAD/arch/i386-Darwin10/include \
/Users/kamada/UNIX/oldsad-main/oldsad/src/tfefun.f
gfortran -o tfloor.o -c -g -O1 -Wall -std=gnu -fno-second-underscore -fdollar-ok -fargument-alias -mpreferred-stack-boundary=4 -I/Users/kamada/UNIX/oldsad-main/oldsad/src -I/usr/local/SAD/arch/i386-Darwin10/include -I/usr/X11R6/include -I/usr/local/SAD/arch/i386-Darwin10/include \
/Users/kamada/UNIX/oldsad-main/oldsad/src/tfloor.f
/Users/kamada/UNIX/oldsad-main/oldsad/src/tfloor.f:670.35:

complex*16 function tfdummy(c)
1
Warning: Unused dummy argument 'c' at (1)
/Users/kamada/UNIX/oldsad-main/oldsad/src/tfloor.f:1034.39:

subroutine tfmain(isp1,itx,iax,vx,irtc)
1
Warning: Unused dummy argument 'vx' at (1)
/Users/kamada/UNIX/oldsad-main/oldsad/src/tfloor.f:1067.43:

subroutine tfrgbcolor(isp1,itx,iax,vx,irtc)
1
Warning: Unused dummy argument 'vx' at (1)
gfortran -o tfwrite.o -c -g -O1 -Wall -std=gnu -fno-second-underscore -fdollar-ok -fargument-alias -mpreferred-stack-boundary=4 -I/Users/kamada/UNIX/oldsad-main/oldsad/src -I/usr/local/SAD/arch/i386-Darwin10/include -I/usr/X11R6/include -I/usr/local/SAD/arch/i386-Darwin10/include -fbackslash /Users/kamada/UNIX/oldsad-main/oldsad/src/tfwrite.f
/Users/kamada/UNIX/oldsad-main/oldsad/src/tfwrite.f:2.40:

subroutine tfwrite(isp1,itx,iax,vx,irtc)
1
Warning: Unused dummy argument 'vx' at (1)
/Users/kamada/UNIX/oldsad-main/oldsad/src/tfwrite.f:100.46:

subroutine tfwritestring(isp1,itx,iax,vx,irtc)
1
Warning: Unused dummy argument 'vx' at (1)
/Users/kamada/UNIX/oldsad-main/oldsad/src/tfwrite.f:196.40:

subroutine tfshort(isp1,itx,iax,vx,irtc)
1
Warning: Unused dummy argument 'vx' at (1)
/Users/kamada/UNIX/oldsad-main/oldsad/src/tfwrite.f:276.45:

subroutine tfdefinition(isp1,itx,iax,vx,irtc)
1
Warning: Unused dummy argument 'vx' at (1)
/Users/kamada/UNIX/oldsad-main/oldsad/src/tfwrite.f:913.50:

subroutine tfreadstringf(isp1,lfn,itx,iax,vx,char1,del,irtc)
1
Warning: Unused dummy argument 'vx' at (1)
/Users/kamada/UNIX/oldsad-main/oldsad/src/tfwrite.f:1478.37:

subroutine tftemporaryname(isp1,itx,iax,vx,irtc)
1
Warning: Unused dummy argument 'isp1' at (1)
/Users/kamada/UNIX/oldsad-main/oldsad/src/tfwrite.f:1478.48:

subroutine tftemporaryname(isp1,itx,iax,vx,irtc)
1
Warning: Unused dummy argument 'vx' at (1)
/Users/kamada/UNIX/oldsad-main/oldsad/src/tfwrite.f:1510.39:

subroutine tfseek(isp1,itx,iax,vx,irtc)
1
Warning: Unused dummy argument 'vx' at (1)
gfortran -o tfmemcheck.o -c -g -O1 -Wall -std=gnu -fno-second-underscore -fdollar-ok -fargument-alias -mpreferred-stack-boundary=4 -I/Users/kamada/UNIX/oldsad-main/oldsad/src -I/usr/local/SAD/arch/i386-Darwin10/include -I/usr/X11R6/include -I/usr/local/SAD/arch/i386-Darwin10/include \
/Users/kamada/UNIX/oldsad-main/oldsad/src/tfmemcheck.f
/Users/kamada/UNIX/oldsad-main/oldsad/src/tfmemcheck.f:2.43:

subroutine tfmemcheck(isp1,itx,iax,vx,irtc)
1
Warning: Unused dummy argument 'vx' at (1)
/Users/kamada/UNIX/oldsad-main/oldsad/src/tfmemcheck.f:539.46:

subroutine tfgarbagecollect(isp1,itx,iax,vx,irtc)
1
Warning: Unused dummy argument 'iax' at (1)
/Users/kamada/UNIX/oldsad-main/oldsad/src/tfmemcheck.f:539.54:

subroutine tfgarbagecollect(isp1,itx,iax,vx,irtc)
1
Warning: Unused dummy argument 'irtc' at (1)
/Users/kamada/UNIX/oldsad-main/oldsad/src/tfmemcheck.f:539.38:

subroutine tfgarbagecollect(isp1,itx,iax,vx,irtc)
1
Warning: Unused dummy argument 'isp1' at (1)
/Users/kamada/UNIX/oldsad-main/oldsad/src/tfmemcheck.f:539.42:

subroutine tfgarbagecollect(isp1,itx,iax,vx,irtc)
1
Warning: Unused dummy argument 'itx' at (1)
/Users/kamada/UNIX/oldsad-main/oldsad/src/tfmemcheck.f:539.49:

subroutine tfgarbagecollect(isp1,itx,iax,vx,irtc)
1
Warning: Unused dummy argument 'vx' at (1)
gfortran -o tfshared.o -c -g -O1 -Wall -std=gnu -fno-second-underscore -fdollar-ok -fargument-alias -mpreferred-stack-boundary=4 -I/Users/kamada/UNIX/oldsad-main/oldsad/src -I/usr/local/SAD/arch/i386-Darwin10/include -I/usr/X11R6/include -I/usr/local/SAD/arch/i386-Darwin10/include \
/Users/kamada/UNIX/oldsad-main/oldsad/src/tfshared.f
/Users/kamada/UNIX/oldsad-main/oldsad/src/tfshared.f:27.24:

ia=mapalloc(rlist(0), m+1, 8, irtc)
1
Warning: Array reference at (1) is out of bounds (0 < 1549312) in dimension 1
/Users/kamada/UNIX/oldsad-main/oldsad/src/tfshared.f:196.46:

subroutine tfwriteshared(isp1,itx,iax,vx,irtc)
1
Warning: Unused dummy argument 'vx' at (1)
gfortran -o itopenbuf.o -c -g -O1 -Wall -std=gnu -fno-second-underscore -fdollar-ok -fargument-alias -mpreferred-stack-boundary=4 -I/Users/kamada/UNIX/oldsad-main/oldsad/src -I/usr/local/SAD/arch/i386-Darwin10/include -I/usr/X11R6/include -I/usr/local/SAD/arch/i386-Darwin10/include \
/Users/kamada/UNIX/oldsad-main/oldsad/src/itopenbuf.f
gfortran -o itfopenread_G77.o -c -g -O1 -Wall -std=gnu -fno-second-underscore -fdollar-ok -fargument-alias -mpreferred-stack-boundary=4 -I/Users/kamada/UNIX/oldsad-main/oldsad/src -I/usr/local/SAD/arch/i386-Darwin10/include -I/usr/X11R6/include -I/usr/local/SAD/arch/i386-Darwin10/include \
/Users/kamada/UNIX/oldsad-main/oldsad/src/itfopenread_G77.f
rm -f libsad.a
obj_libsad=`echo qcav.o JNLPRM.o msolv1.o prkick.o prkick1.o twsdrw.o tdrwdt.o msortn.o pamoeb.o tdplt.o bb.o ttdr.o undulator.o phsrot.o matrix.o autofg.o tffswake.o tfvectorize.o itfmessage.o tffindroot.o tfreadbuf.o spkick.o autos_.o gdtoa/g_dfmt.o gdtoa/gdtoa.o gdtoa/g__fmt.o gdtoa/gmisc.o gdtoa/dmisc.o gdtoa/misc.o ActGRA.o filbuf.o pwmatq.o ActLie.o msort.o pwrite.o ActTra.o flmgr.o pwrlat.o BEDGE.o frand.o mstack.o tput.o BMAG.o mstack1.o tputbs.o CM24.o gaus3.o mstack2.o DM42.o gaussn.o mstat.o qchg.o tqente.o FMUL2.o geodrw.o mstat2.o qcoord.o termes.o tqfrie.o mstatp.o mstor1.o tfadjst.o tqlfre.o INTGRL.o gettok.o mstore.o IPAK.o mwght.o IgetGL.o getvad.o tfbeam.o LgetGL.o nlfit.o qdrift.o Lrdnum.o openP.o hsrch.o MINV2.o over.o MMUL2.o tfdset.o trackb.o MMUL4.o pack.o qmdiag.o packpi.o tfdbun.o tracke.o NewGRF.o trad.o QUADRU.o padd.o R0CAL.o R1INV.o inifil.o R2INV.o palocx.o initb1.o pbset.o SEXTU.o initbl.o pbump.o tfgeti.o SYMPS.o pbump1.o qthin.o tfgetr.o trotg.o SYMTR2.o pbumps.o TCAL.o pcbak.o tscale.o TEDGE.o pclr.o TMATRS.o pclri.o rdexpr.o tsdrad.o TROT.o rdkwdl.o TWTRANS.o lread.o pcrmat.o rdterm.o UNITM2.o lrflct.o pcset.o tfltra.o UNITM4.o lstchk.o pecorg.o rslvin.o tserad.o VMUL4.o pecorr.o rvrsln.o tsetg.o ZEROM2.o pecorr1.o ZEROM4.o ZEROV4.o permes.o tfrej.o petcod.o setdfl.o tbrad.o tsmear.o actPlt.o sethtb.o petfil.o atof.o petget.o tfsize.o bint.o petput.o skipch.o tspect.o mbmp.o mbmpf.o pfcoup.o mbstr.o sols33.o mbufw.o pgaussj.o corfree.o mc2to4.o spline.o tstrad.o corinit.o mc4to2.o phdrw.o sprexl.o mcchar.o phdrwa.o sprlin.o mcchar1.o pinner.o mccor.o tfzap.o ttcav.o mcepst.o pkill.o ttcave.o talign.o mcfix.o tgfun.o mckick.o cssetp.o mclear.o pmicad.o tgrot.o dAssgn.o mclin.o mcmon.o pmovi.o defflg.o mcmon1.o polpar.o defglb.o mcnrmc.o mcrcod.o ppair.o tinitr.o doelem.o mcrcod1.o pqcell.o doexpn.o mcrmat.o prSad.o tvcorr.o doflag.o mcrmda.o prelem.o title.o doline.o mcstr.o prelm0.o tcav.o dolist.o mcstr1.o prexln.o tcave.o tltrm.o twbuf.o mdpmax.o prkwdv.o metaer.o prline.o tchge.o tluma.o twelm.o doprin.o tmap.o doread.o mfdel.o prnGlb.o tmast.o dorvrs.o mfdel1.o prnflg.o twinil.o dostop.o mfdir.o tconv.o synradcl.o twinit.o dotemp.o temp.o mfnst.o pstati.o tconvm.o drndsr.o mhogal.o pstati1.o tcoord.o drwkwd.o mhogan.o pstati2.o tcoorde.o pstati3.o mkplst.o psub.o tday.o tmuld.o wfbin.o tdcmd.o wfres.o eigs33.o monel.o wiord.o monqu.o ptimes.o wjdraw.o elname.o ptol.o errmsg.o mrecal.o ptrace.o tdinit.o mrecal1.o ptrim.o toplvl.o pundo.o tdjin.o mrmb.o push.o mrqcof.o wtune.o expln.o mrqcov.o tphplt.o fdate1.o mrqmin.o putsti.o xsin.o datetime.o msolb.o tdrife.o asinh.o filaux.o pvert.o tprmpt.o tfgetm.o tfojit.o tedrawf.o trcoda.o nalign.o mcrmatb.o ndelw.o pwrtstr.o pvbump.o nfgetm.o preadstr.o pasex.o msolvg.o preadmon.o mbufg.o pwrtmon.o petune.o elnameK.o yylex_.o calc.o petunes.o petune1.o pvbump2.o pmeas.o pmbdata.o pvbump3.o pmbdrw.o pmbump.o pvbump1.o preabuf.o pmbdata1.o initdainterface.o initda.o tfepicsconstatcb.o abbrev.o cputix.o csinit.o doACT.o eval1_.o getbuf.o getwrd.o icsmrk.o ielm.o itfgeto.o pfalloc.o pgflag.o pgmast.o pgrmat.o pgsolvcond.o qcell.o qdbend.o qdcell.o qddrif.o qdmdia.o qdquad.o qdthin.o qdtwis.o qgettr.o qins.o qmult.o qquad.o qtent.o qtwiss.o tapert.o tbal.o tbdecoup.o tbende.o tbendi.o tbfrie.o tceigen.o tcftr.o tcod.o tcorr.o tdet.o tdfun.o tdgeo.o tdlat.o teigen.o temap.o temat.o temit.o temitf.o temits.o terror.o tfaprt.o tfattr.o tfcalc.o tfchgv.o tfchro.o tfcoup.o tfdapert.o tfdisp.o tfemit.o tffamsetup.o tffile.o tffs.o tffsa.o tffscalc.o tffsfreefix.o tffsmatch.o tfgeo.o tfgetv.o tfif.o tfinit.o tfinitn.o tfkwrd.o tflag.o tflogi.o tfltr1.o tfmat.o tfoptics.o tfprint.o tfsave.o tfsetparam.o tfsetv.o tfshow.o tftmat.o tftrack.o tftrad.o tftrak.o tftrb.o tftyp1.o tftype.o tfvars.o tfwake.o tgauss_.o tgetfv.o thess.o tiniampl.o tins.o tinse.o tintrb.o tlum.o tmov.o tmulbs.o tmulte.o tmulti.o tmulta.o tdrift.o tftwiss.o trackd.o tmultr.o tnorm.o tpara.o tqr.o tqrad.o tquade.o tquads.o tquase.o track.o tracka.o trade.o tsconv.o tsgeo.o tshow.o tsol.o tsole.o tsolvg.o tsolvm.o tspac.o tspini.o tsteee.o tsteer.o tsvdm.o tthine.o ttinit.o ttstat.o tcsvdm.o tturne.o txcalc.o wjfit.o wtunem.o tturn.o tbend.o tquad.o tflifetrack.o tspch_.o ft.o psn.o spch.o csrtest.o csrtrack.o csroy.o txwake.o tfeval.o tfetok.o itfcopy.o tfefun.o italoc.o tfmap.o tfprinta.o tfestk.o tfefun1.o tfsort.o tfmodule.o tfloor.o tfsolvemember.o itfmaloc.o tfwrite.o itfaloc.o tfmemcheck.o tfdot.o tfconvstr.o tfpart.o tfreplace.o tftake.o tfeval1.o tfearray.o tfeexpr.o tfsetlist.o tfeeval.o tfmap.o tftable.o itfdepth.o tfdset.o tfsameq.o itfpmat.o tmatch.o gamma.o tfbessel.o spkick.o tsolqu.o tsolque.o tfbeamline.o tfshared.o tfNetworkIO_.o itopenbuf.o tfNetSemaphore_.o netSemaphore.o tfProcess_.o tfCrypt_.o tfFileIO_.o tfFeatureQ_.o tfDateTAI_.o tfRandom_.o tfDynamicLink_.o tftmpnam.o utils.o itfopenread_G77.o itfgetbuf_PPC.o lnblnk.o ztan.o sim/getfd_FNUM.o sim/unix_fortran_.o sim/fseek_subroutine.o sim/fseek_subroutine_.o sim/dynl-dl.o | tr ' ' '\n'| sort -u`; \
ar rv libsad.a ${obj_libsad}
ar: creating archive libsad.a
a - ActGRA.o
a - ActLie.o
a - ActTra.o
a - BEDGE.o
a - BMAG.o
a - CM24.o
a - DM42.o
a - FMUL2.o
a - INTGRL.o
a - IPAK.o
a - IgetGL.o
a - JNLPRM.o
a - LgetGL.o
a - Lrdnum.o
a - MINV2.o
a - MMUL2.o
a - MMUL4.o
a - NewGRF.o
a - QUADRU.o
a - R0CAL.o
a - R1INV.o
a - R2INV.o
a - SEXTU.o
a - SYMPS.o
a - SYMTR2.o
a - TCAL.o
a - TEDGE.o
a - TMATRS.o
a - TROT.o
a - TWTRANS.o
a - UNITM2.o
a - UNITM4.o
a - VMUL4.o
a - ZEROM2.o
a - ZEROM4.o
a - ZEROV4.o
a - abbrev.o
a - actPlt.o
a - asinh.o
a - atof.o
a - autofg.o
a - autos_.o
a - bb.o
a - bint.o
a - calc.o
a - corfree.o
a - corinit.o
a - cputix.o
a - csinit.o
a - csroy.o
a - csrtest.o
a - csrtrack.o
a - cssetp.o
a - dAssgn.o
a - datetime.o
a - defflg.o
a - defglb.o
a - doACT.o
a - doelem.o
a - doexpn.o
a - doflag.o
a - doline.o
a - dolist.o
a - doprin.o
a - doread.o
a - dorvrs.o
a - dostop.o
a - dotemp.o
a - drndsr.o
a - drwkwd.o
a - eigs33.o
a - elname.o
a - elnameK.o
a - errmsg.o
a - eval1_.o
a - expln.o
a - fdate1.o
a - filaux.o
a - filbuf.o
a - flmgr.o
a - frand.o
a - ft.o
a - gamma.o
a - gaus3.o
a - gaussn.o
a - gdtoa/dmisc.o
a - gdtoa/g__fmt.o
a - gdtoa/g_dfmt.o
a - gdtoa/gdtoa.o
a - gdtoa/gmisc.o
a - gdtoa/misc.o
a - geodrw.o
a - getbuf.o
a - gettok.o
a - getvad.o
a - getwrd.o
a - hsrch.o
a - icsmrk.o
a - ielm.o
a - inifil.o
a - initb1.o
a - initbl.o
a - initda.o
a - initdainterface.o
a - italoc.o
a - itfaloc.o
a - itfcopy.o
a - itfdepth.o
a - itfgetbuf_PPC.o
a - itfgeto.o
a - itfmaloc.o
a - itfmessage.o
a - itfopenread_G77.o
a - itfpmat.o
a - itopenbuf.o
a - lnblnk.o
a - lread.o
a - lrflct.o
a - lstchk.o
a - matrix.o
a - mbmp.o
a - mbmpf.o
a - mbstr.o
a - mbufg.o
a - mbufw.o
a - mc2to4.o
a - mc4to2.o
a - mcchar.o
a - mcchar1.o
a - mccor.o
a - mcepst.o
a - mcfix.o
a - mckick.o
a - mclear.o
a - mclin.o
a - mcmon.o
a - mcmon1.o
a - mcnrmc.o
a - mcrcod.o
a - mcrcod1.o
a - mcrmat.o
a - mcrmatb.o
a - mcrmda.o
a - mcstr.o
a - mcstr1.o
a - mdpmax.o
a - metaer.o
a - mfdel.o
a - mfdel1.o
a - mfdir.o
a - mfnst.o
a - mhogal.o
a - mhogan.o
a - mkplst.o
a - monel.o
a - monqu.o
a - mrecal.o
a - mrecal1.o
a - mrmb.o
a - mrqcof.o
a - mrqcov.o
a - mrqmin.o
a - msolb.o
a - msolv1.o
a - msolvg.o
a - msort.o
a - msortn.o
a - mstack.o
a - mstack1.o
a - mstack2.o
a - mstat.o
a - mstat2.o
a - mstatp.o
a - mstor1.o
a - mstore.o
a - mwght.o
a - nalign.o
a - ndelw.o
a - netSemaphore.o
a - nfgetm.o
a - nlfit.o
a - openP.o
a - over.o
a - pack.o
a - packpi.o
a - padd.o
a - palocx.o
a - pamoeb.o
a - pasex.o
a - pbset.o
a - pbump.o
a - pbump1.o
a - pbumps.o
a - pcbak.o
a - pclr.o
a - pclri.o
a - pcrmat.o
a - pcset.o
a - pecorg.o
a - pecorr.o
a - pecorr1.o
a - permes.o
a - petcod.o
a - petfil.o
a - petget.o
a - petput.o
a - petune.o
a - petune1.o
a - petunes.o
a - pfalloc.o
a - pfcoup.o
a - pgaussj.o
a - pgflag.o
a - pgmast.o
a - pgrmat.o
a - pgsolvcond.o
a - phdrw.o
a - phdrwa.o
a - phsrot.o
a - pinner.o
a - pkill.o
a - pmbdata.o
a - pmbdata1.o
a - pmbdrw.o
a - pmbump.o
a - pmeas.o
a - pmicad.o
a - pmovi.o
a - polpar.o
a - ppair.o
a - pqcell.o
a - prSad.o
a - preabuf.o
a - preadmon.o
a - preadstr.o
a - prelem.o
a - prelm0.o
a - prexln.o
a - prkick.o
a - prkick1.o
a - prkwdv.o
a - prline.o
a - prnGlb.o
a - prnflg.o
a - psn.o
a - pstati.o
a - pstati1.o
a - pstati2.o
a - pstati3.o
a - psub.o
a - ptimes.o
a - ptol.o
a - ptrace.o
a - ptrim.o
a - pundo.o
a - push.o
a - putsti.o
a - pvbump.o
a - pvbump1.o
a - pvbump2.o
a - pvbump3.o
a - pvert.o
a - pwmatq.o
a - pwrite.o
a - pwrlat.o
a - pwrtmon.o
a - pwrtstr.o
a - qcav.o
a - qcell.o
a - qchg.o
a - qcoord.o
a - qdbend.o
a - qdcell.o
a - qddrif.o
a - qdmdia.o
a - qdquad.o
a - qdrift.o
a - qdthin.o
a - qdtwis.o
a - qgettr.o
a - qins.o
a - qmdiag.o
a - qmult.o
a - qquad.o
a - qtent.o
a - qthin.o
a - qtwiss.o
a - rdexpr.o
a - rdkwdl.o
a - rdterm.o
a - rslvin.o
a - rvrsln.o
a - setdfl.o
a - sethtb.o
a - sim/dynl-dl.o
a - sim/fseek_subroutine.o
a - sim/fseek_subroutine_.o
a - sim/getfd_FNUM.o
a - sim/unix_fortran_.o
a - skipch.o
a - sols33.o
a - spch.o
a - spkick.o
a - spline.o
a - sprexl.o
a - sprlin.o
a - synradcl.o
a - talign.o
a - tapert.o
a - tbal.o
a - tbdecoup.o
a - tbend.o
a - tbende.o
a - tbendi.o
a - tbfrie.o
a - tbrad.o
a - tcav.o
a - tcave.o
a - tceigen.o
a - tcftr.o
a - tchge.o
a - tcod.o
a - tconv.o
a - tconvm.o
a - tcoord.o
a - tcoorde.o
a - tcorr.o
a - tcsvdm.o
a - tday.o
a - tdcmd.o
a - tdet.o
a - tdfun.o
a - tdgeo.o
a - tdinit.o
a - tdjin.o
a - tdlat.o
a - tdplt.o
a - tdrife.o
a - tdrift.o
a - tdrwdt.o
a - tedrawf.o
a - teigen.o
a - temap.o
a - temat.o
a - temit.o
a - temitf.o
a - temits.o
a - temp.o
a - termes.o
a - terror.o
a - tfCrypt_.o
a - tfDateTAI_.o
a - tfDynamicLink_.o
a - tfFeatureQ_.o
a - tfFileIO_.o
a - tfNetSemaphore_.o
a - tfNetworkIO_.o
a - tfProcess_.o
a - tfRandom_.o
a - tfadjst.o
a - tfaprt.o
a - tfattr.o
a - tfbeam.o
a - tfbeamline.o
a - tfbessel.o
a - tfcalc.o
a - tfchgv.o
a - tfchro.o
a - tfconvstr.o
a - tfcoup.o
a - tfdapert.o
a - tfdbun.o
a - tfdisp.o
a - tfdot.o
a - tfdset.o
a - tfearray.o
a - tfeeval.o
a - tfeexpr.o
a - tfefun.o
a - tfefun1.o
a - tfemit.o
a - tfepicsconstatcb.o
a - tfestk.o
a - tfetok.o
a - tfeval.o
a - tfeval1.o
a - tffamsetup.o
a - tffile.o
a - tffindroot.o
a - tffs.o
a - tffsa.o
a - tffscalc.o
a - tffsfreefix.o
a - tffsmatch.o
a - tffswake.o
a - tfgeo.o
a - tfgeti.o
a - tfgetm.o
a - tfgetr.o
a - tfgetv.o
a - tfif.o
a - tfinit.o
a - tfinitn.o
a - tfkwrd.o
a - tflag.o
a - tflifetrack.o
a - tflogi.o
a - tfloor.o
a - tfltr1.o
a - tfltra.o
a - tfmap.o
a - tfmat.o
a - tfmemcheck.o
a - tfmodule.o
a - tfojit.o
a - tfoptics.o
a - tfpart.o
a - tfprint.o
a - tfprinta.o
a - tfreadbuf.o
a - tfrej.o
a - tfreplace.o
a - tfsameq.o
a - tfsave.o
a - tfsetlist.o
a - tfsetparam.o
a - tfsetv.o
a - tfshared.o
a - tfshow.o
a - tfsize.o
a - tfsolvemember.o
a - tfsort.o
a - tftable.o
a - tftake.o
a - tftmat.o
a - tftmpnam.o
a - tftrack.o
a - tftrad.o
a - tftrak.o
a - tftrb.o
a - tftwiss.o
a - tftyp1.o
a - tftype.o
a - tfvars.o
a - tfvectorize.o
a - tfwake.o
a - tfwrite.o
a - tfzap.o
a - tgauss_.o
a - tgetfv.o
a - tgfun.o
a - tgrot.o
a - thess.o
a - tiniampl.o
a - tinitr.o
a - tins.o
a - tinse.o
a - tintrb.o
a - title.o
a - tltrm.o
a - tlum.o
a - tluma.o
a - tmap.o
a - tmast.o
a - tmatch.o
a - tmov.o
a - tmulbs.o
a - tmuld.o
a - tmulta.o
a - tmulte.o
a - tmulti.o
a - tmultr.o
a - tnorm.o
a - toplvl.o
a - tpara.o
a - tphplt.o
a - tprmpt.o
a - tput.o
a - tputbs.o
a - tqente.o
a - tqfrie.o
a - tqlfre.o
a - tqr.o
a - tqrad.o
a - tquad.o
a - tquade.o
a - tquads.o
a - tquase.o
a - track.o
a - tracka.o
a - trackb.o
a - trackd.o
a - tracke.o
a - trad.o
a - trade.o
a - trcoda.o
a - trotg.o
a - tscale.o
a - tsconv.o
a - tsdrad.o
a - tserad.o
a - tsetg.o
a - tsgeo.o
a - tshow.o
a - tsmear.o
a - tsol.o
a - tsole.o
a - tsolqu.o
a - tsolque.o
a - tsolvg.o
a - tsolvm.o
a - tspac.o
a - tspch_.o
a - tspect.o
a - tspini.o
a - tsteee.o
a - tsteer.o
a - tstrad.o
a - tsvdm.o
a - ttcav.o
a - ttcave.o
a - ttdr.o
a - tthine.o
a - ttinit.o
a - ttstat.o
a - tturn.o
a - tturne.o
a - tvcorr.o
a - twbuf.o
a - twelm.o
a - twinil.o
a - twinit.o
a - twsdrw.o
a - txcalc.o
a - txwake.o
a - undulator.o
a - utils.o
a - wfbin.o
a - wfres.o
a - wiord.o
a - wjdraw.o
a - wjfit.o
a - wtune.o
a - wtunem.o
a - xsin.o
a - yylex_.o
a - ztan.o
ranlib -s libsad.a
gcc-4 -o sim/unix_pointer_.o -c -g -O1 -Wall -std=c99 -pedantic-errors -mpreferred-stack-boundary=4 -I/Users/kamada/UNIX/oldsad-main/oldsad/src -I/usr/local/SAD/arch/i386-Darwin10/include -I/usr/X11R6/include -I/usr/local/SAD/arch/i386-Darwin10/include -I/Users/kamada/UNIX/oldsad-main/oldsad/obj/i386-Darwin10 -I/Users/kamada/UNIX/oldsad-main/oldsad/src/gdtoa \
/Users/kamada/UNIX/oldsad-main/oldsad/src/sim/unix_pointer_.c
/Users/kamada/UNIX/oldsad-main/oldsad/src/sim/unix_pointer_.c: In function 'decloc_':
/Users/kamada/UNIX/oldsad-main/oldsad/src/sim/unix_pointer_.c:38: &#183;&#217;&#185;&#240;: format '%x' expects type 'unsigned int', but argument 3 has type 'long long int'
/Users/kamada/UNIX/oldsad-main/oldsad/src/sim/unix_pointer_.c:38: &#183;&#217;&#185;&#240;: format '%x' expects type 'unsigned int', but argument 4 has type 'long long int'
/Users/kamada/UNIX/oldsad-main/oldsad/src/sim/unix_pointer_.c: In function 'setfnp_':
/Users/kamada/UNIX/oldsad-main/oldsad/src/sim/unix_pointer_.c:52: &#183;&#217;&#185;&#240;: format '%x' expects type 'unsigned int', but argument 3 has type 'long long int'
/Users/kamada/UNIX/oldsad-main/oldsad/src/sim/unix_pointer_.c:52: &#183;&#217;&#185;&#240;: format '%x' expects type 'unsigned int', but argument 4 has type 'long long int'
gcc-4 -o tfDefFuncs_.o -c -g -O1 -Wall -std=c99 -pedantic-errors -mpreferred-stack-boundary=4 -I/Users/kamada/UNIX/oldsad-main/oldsad/src -I/usr/local/SAD/arch/i386-Darwin10/include -I/usr/X11R6/include -I/usr/local/SAD/arch/i386-Darwin10/include -I/Users/kamada/UNIX/oldsad-main/oldsad/obj/i386-Darwin10 -I/Users/kamada/UNIX/oldsad-main/oldsad/src/gdtoa \
tfDefFuncs_.c
Updating Build Information
gcc-4 -o tfBuildInfo_.o -c -g -O1 -Wall -std=c99 -pedantic-errors -mpreferred-stack-boundary=4 -I/Users/kamada/UNIX/oldsad-main/oldsad/src -I/usr/local/SAD/arch/i386-Darwin10/include -I/usr/X11R6/include -I/usr/local/SAD/arch/i386-Darwin10/include -I/Users/kamada/UNIX/oldsad-main/oldsad/obj/i386-Darwin10 -I/Users/kamada/UNIX/oldsad-main/oldsad/src/gdtoa \
tfBuildInfo_.c
gfortran -o MAIN.o -c -g -O1 -Wall -std=gnu -fno-second-underscore -fdollar-ok -fargument-alias -mpreferred-stack-boundary=4 -I/Users/kamada/UNIX/oldsad-main/oldsad/src -I/usr/local/SAD/arch/i386-Darwin10/include -I/usr/X11R6/include -I/usr/local/SAD/arch/i386-Darwin10/include \
MAIN_VERSION.f
gfortran -o sad1.exe -g -O1 -Wall -std=gnu -fno-second-underscore -fdollar-ok -fargument-alias -mpreferred-stack-boundary=4 -I/Users/kamada/UNIX/oldsad-main/oldsad/src -I/usr/local/SAD/arch/i386-Darwin10/include -I/usr/X11R6/include -I/usr/local/SAD/arch/i386-Darwin10/include MAIN.o sim/unix_pointer_.o sim/unix_memory_.o sim/unix_memory8_.o sim/unix_env_.o sim/sad_api.o sim/sad_functbl.o sim/sad_signal.o sim/sad_xlib.o sim/sad_tcltk.o feature.o random_driver.o random_plugin_sad.o tfDefFuncs_.o tfBuildInfo_.o tfXlib_.o tfTkInter_.o tfTclArg.o tfcanvasclip.o dummyroutCA.o dummyrout.o libsad.a -L/usr/local/SAD/arch/i386-Darwin10/lib -L/usr/X11R6/lib -L/usr/local/SAD/arch/i386-Darwin10/lib -ltk8.5 -ltcl8.5 -L/usr/X11/lib -lXft -lX11 -L/usr/X11/lib -lfreetype -L/usr/X11/lib -lfontconfig -L/usr/X11/lib -lXrender -lX11 -lX11 -ltai -lm -v
Driving: gfortran -mmacosx-version-min=10.6.4 -o sad1.exe -g -O1 -Wall -std=gnu -fno-second-underscore -fdollar-ok -fargument-alias -mpreferred-stack-boundary=4 -I/Users/kamada/UNIX/oldsad-main/oldsad/src -I/usr/local/SAD/arch/i386-Darwin10/include -I/usr/X11R6/include -I/usr/local/SAD/arch/i386-Darwin10/include MAIN.o sim/unix_pointer_.o sim/unix_memory_.o sim/unix_memory8_.o sim/unix_env_.o sim/sad_api.o sim/sad_functbl.o sim/sad_signal.o sim/sad_xlib.o sim/sad_tcltk.o feature.o random_driver.o random_plugin_sad.o tfDefFuncs_.o tfBuildInfo_.o tfXlib_.o tfTkInter_.o tfTclArg.o tfcanvasclip.o dummyroutCA.o dummyrout.o libsad.a -L/usr/local/SAD/arch/i386-Darwin10/lib -L/usr/X11R6/lib -L/usr/local/SAD/arch/i386-Darwin10/lib -ltk8.5 -ltcl8.5 -L/usr/X11/lib -lXft -lX11 -L/usr/X11/lib -lfreetype -L/usr/X11/lib -lfontconfig -L/usr/X11/lib -lXrender -lX11 -lX11 -ltai -lm -v -lgfortranbegin -lgfortran -shared-libgcc
Using built-in specs.
Target: i686-apple-darwin10
\&#179;\&#243;\&#213;\&#163;\°\&#170;\×\&#183;\&#231;\&#243;: ../gcc-4.4.1/configure --prefix=/sw --prefix=/sw/lib/gcc4.4 --mandir=/sw/share/man --infodir=/sw/share/info --enable-languages=c,c++,fortran,objc,java --with-gmp=/sw --with-libiconv-prefix=/sw --with-ppl=/sw --with-cloog=/sw --with-system-zlib --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib --disable-libjava-multilib --with-arch=nocona --with-tune=generic --build=i686-apple-darwin10 --host=i686-apple-darwin10 --target=i686-apple-darwin10
\&#185;\&#236;\&#195;\&#201;\&#226;\&#199;\&#235;: posix
gcc version 4.4.1 (GCC)
COMPILER_PATH=/sw/lib/gcc4.4/libexec/gcc/i686-apple-darwin10/4.4.1/:/sw/lib/gcc4.4/libexec/gcc/i686-apple-darwin10/4.4.1/:/sw/lib/gcc4.4/libexec/gcc/i686-apple-darwin10/:/sw/lib/gcc4.4/lib/gcc/i686-apple-darwin10/4.4.1/:/sw/lib/gcc4.4/lib/gcc/i686-apple-darwin10/:/usr/libexec/gcc/i686-apple-darwin10/:/usr/lib/gcc/i686-apple-darwin10/
LIBRARY_PATH=/sw/lib/gcc4.4/lib/gcc/i686-apple-darwin10/4.4.1/:/sw/lib/gcc4.4/lib/gcc/i686-apple-darwin10/4.4.1/../../../:/usr/lib/
COLLECT_GCC_OPTIONS='-mmacosx-version-min=10.6.4' '-o' 'sad1.exe' '-g' '-O1' '-Wall' '-std=gnu' '-fno-second-underscore' '-fdollar-ok' '-fargument-alias' '-mpreferred-stack-boundary=4' '-I/Users/kamada/UNIX/oldsad-main/oldsad/src' '-I/usr/local/SAD/arch/i386-Darwin10/include' '-I/usr/X11R6/include' '-I/usr/local/SAD/arch/i386-Darwin10/include' '-L/usr/local/SAD/arch/i386-Darwin10/lib' '-L/usr/X11R6/lib' '-L/usr/local/SAD/arch/i386-Darwin10/lib' '-L/usr/X11/lib' '-L/usr/X11/lib' '-L/usr/X11/lib' '-L/usr/X11/lib' '-v' '-shared-libgcc' '-mtune=generic' '-march=nocona'
/sw/lib/gcc4.4/libexec/gcc/i686-apple-darwin10/4.4.1/collect2 -dynamic -arch i386 -macosx_version_min 10.6.4 -weak_reference_mismatches non-weak -o sad1.exe -lcrt1.10.5.o -L/usr/local/SAD/arch/i386-Darwin10/lib -L/usr/X11R6/lib -L/usr/local/SAD/arch/i386-Darwin10/lib -L/usr/X11/lib -L/usr/X11/lib -L/usr/X11/lib -L/usr/X11/lib -L/sw/lib/gcc4.4/lib/gcc/i686-apple-darwin10/4.4.1 -L/sw/lib/gcc4.4/lib/gcc/i686-apple-darwin10/4.4.1/../../.. MAIN.o sim/unix_pointer_.o sim/unix_memory_.o sim/unix_memory8_.o sim/unix_env_.o sim/sad_api.o sim/sad_functbl.o sim/sad_signal.o sim/sad_xlib.o sim/sad_tcltk.o feature.o random_driver.o random_plugin_sad.o tfDefFuncs_.o tfBuildInfo_.o tfXlib_.o tfTkInter_.o tfTclArg.o tfcanvasclip.o dummyroutCA.o dummyrout.o libsad.a -ltk8.5 -ltcl8.5 -lXft -lX11 -lfreetype -lfontconfig -lXrender -lX11 -lX11 -ltai -lm -lgfortranbegin -lgfortran -lgcc_s.10.5 -lgcc -lSystem
COLLECT_GCC_OPTIONS='-mmacosx-version-min=10.6.4' '-o' 'sad1.exe' '-g' '-O1' '-Wall' '-std=gnu' '-fno-second-underscore' '-fdollar-ok' '-fargument-alias' '-mpreferred-stack-boundary=4' '-I/Users/kamada/UNIX/oldsad-main/oldsad/src' '-I/usr/local/SAD/arch/i386-Darwin10/include' '-I/usr/X11R6/include' '-I/usr/local/SAD/arch/i386-Darwin10/include' '-L/usr/local/SAD/arch/i386-Darwin10/lib' '-L/usr/X11R6/lib' '-L/usr/local/SAD/arch/i386-Darwin10/lib' '-L/usr/X11/lib' '-L/usr/X11/lib' '-L/usr/X11/lib' '-L/usr/X11/lib' '-v' '-shared-libgcc' '-mtune=generic' '-march=nocona'
mkdir -p /Users/kamada/UNIX/oldsad-main/oldsad/Documents/example
(cd /Users/kamada/UNIX/oldsad-main/oldsad/Documents/example ; \
/Users/kamada/UNIX/oldsad-main/oldsad/bin/gs /Users/kamada/UNIX/oldsad-main/oldsad/script/design_example.sad > /Users/kamada/UNIX/oldsad-main/oldsad/script/design_example.sad.result ; rm -f a fort.9)
/bin/sh: line 1: 1143 Segmentation fault /Users/kamada/UNIX/oldsad-main/oldsad/bin/gs /Users/kamada/UNIX/oldsad-main/oldsad/script/design_example.sad > /Users/kamada/UNIX/oldsad-main/oldsad/script/design_example.sad.result
mkdir -p /Users/kamada/UNIX/oldsad-main/oldsad/Documents/example
/Users/kamada/UNIX/oldsad-main/oldsad/bin/gs /Users/kamada/UNIX/oldsad-main/oldsad/script/help2HTML.sad
*** Welcome to SAD Ver.1.0.10.4.5a01 built at 2010-08-23 10:48:07 +0900 ***
*** Today: 10:48:10 Monday 08/23/2010 ***
cpu time= 1.0422E-02(sec) dt= 10.422(msec) free area:: 1794
OFF LOG ECHO;READ 77 ; 23
make[2]: *** [/Users/kamada/UNIX/oldsad-main/oldsad/Documents/SADHelp.html] Segmentation fault
make[1]: *** [all] Error 2
make: *** [all] Error 2
[elcondorpasa:~/UNIX/oldsad-main/oldsad] kamada%

SubjectRe^4: SAD Update. V1.0.10.4.5a02 64 bit.
Article No836
Date: 2010/08/24(Tue) 11:58:12
ContributorK. Oide
I have no idea, but successful builds on Mac OS 10.5 and 10.6 have sad.conf with:

SYS_FOPT= -Wall -m64
_USE_GFORTRAN= YES
_USE_G95= NO
COMPILER=GNU
SYS_COPT= -Wall -std="gnu99" -m64
CC=gcc-4
COPT= -O2

and gcc-4:

gcc-4 (GCC) 4.4.2
Copyright (C) 2009 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

SubjectRe^5: SAD Update. V1.0.10.4.5a02 64 bit.
Article No837
Date: 2010/08/24(Tue) 14:15:56
ContributorAkio Morita
本件と関係ありませんが、build configの記述だけが一人歩きする場合があるので、
build frameworkを作った時の意図に関してコメントします

* "_"で始まるMAKE変数は、build frameworkの内部実装で使用される変数なので、
  ユーザー側で内容を編集することは推奨出来ません。
  というか、そのような必要が発生すること自体が、build frameworkの不具合に当たるので
  「バグ報告」か「改善要求」を出して build framework側の修正を行うのが本筋です

 ちなみに
  * _USE_GFORTANなる MAKE変数は現行 build framworkには存在しません。
  * _USE_G95は、USE_G95に設定された g95の version文字列を正規化したものを保管する
    内部変数なので、設定が必要な場合は USE_G95変数を設定してください
    (g95を使用しない場合は、USE_G95は未定義で問題ありません)

* "SYS_"で始まるMAKE変数は、build framework内でターゲット環境での buildに必要な
   compiler optionを保持していますので、通常の buildで変更することは推奨出来ません
   というか、変更しないとコンパイルが通らない場合はソース側かコンパイラ設定情報のバグなので
   「バグ報告」か…(以下省略)

* -m64/-m32等の生成オブジェクトの語調指定は、SAD本体と連動して buildする 3rd party code双方に
   必要なので、現行 build frameworkだとCC,FC,CXX等に追加する方が管理が楽なはずです。
   たとえば、
   CC="gcc -m64"
   CXX="g++ -m64"
   FC="gcc -m64"

SubjectRe^6: SAD Update. V1.0.10.4.5a02 64 bit.
Article No839
Date: 2010/08/25(Wed) 10:57:12
ContributorAkio Morita
> * -m64/-m32等の生成オブジェクトの語調指定は、SAD本体と連動して buildする 3rd party code双方に
>    必要なので、現行 build frameworkだとCC,FC,CXX等に追加する方が管理が楽なはずです。
>    たとえば、
>    CC="gcc -m64"
>    CXX="g++ -m64"
>    FC="gcc -m64"
>
typo発見
ルール展開後に `"`が残ると不味いので、makefile中(sad.conf)に記述する時は
FC=gfortran -m64
CC=gcc -m64
CXX=g++ -m64
が正しい

makeのコマンドラインから与えるときは、shellの展開があるので `"`が必要

SubjectRe^3: SAD Update. V1.0.10.4.5a02 64 bit.
Article No838
Date: 2010/08/24(Tue) 15:17:52
ContributorKAMADA Susumu
The problem reported by me this morning was solved by the followings. Thanks to Y.Onishi.

1. Add a line of " SYS_COPT= -Wall -std="gnu99" " into sad.conf.

2. Use "oldsad-snapshot-2010-08-24.tar.gz" downloaded from the SAD source archive, instead of "cvs update".