Newsgroups: comp.sys.hp Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!cunixf.cc.columbia.edu!cs.columbia.edu!beshers From: beshers@cs.columbia.edu (Clifford Beshers) Subject: cc optimizer dies on a few perl.4.0.beta files Message-ID: Sender: news@cs.columbia.edu (The Daily News) Organization: Columbia University Computer Science Distribution: comp Date: 21 Mar 91 18:42:34 Subject: perl.4.0.beta on HPUX 7.05 -- turn of -O on eval.c and ttoke.c --text follows this line-- I thought this readership might appreciate the warning about the following problem. The files compile without the optimizer, and the result appears to work without troubles. The following files gave the optimizer trouble when compiling perl.4.0.beta on HPUX 7.05 running on the new 68040 chip. The machine in question has 32 MB of memory, so running out of memory is not a reasonable complaint. I have appended my config.sh. **************************************************************** open> what `whence cc` /bin/cc: $Revision: 66.6.1.1 $ open> open> uname -a HP-UX open 7.05 B 9000/380 open open> make ... cc -c -O eval.c Global optimizer found error in "eval": Out of Memory ... cc -c -DTAINT -O teval.c Global optimizer found error in "eval": Out of Memory ... cc -c -DTAINT -O ttoke.c Global optimizer found error in "yylex": out of space - unable to allocate memor y for internal use *** Error code 1 **************************************************************** config.sh **************************************************************** #!/bin/sh # config.sh # This file was produced by running the Configure script. kit_has_binaries='false' d_eunice='undef' define='define' eunicefix=':' loclist=' cat cp echo expr grep mkdir mv rm sed sort tr uniq ' expr='/bin/expr' sed='/bin/sed' echo='/bin/echo' cat='/bin/cat' rm='/bin/rm' mv='/bin/mv' cp='/bin/cp' tail='' tr='/usr/bin/tr' mkdir='/bin/mkdir' sort='/bin/sort' uniq='/usr/bin/uniq' grep='/usr/local/bin/grep' trylist=' Mcc bison cpp csh egrep nroff test yacc ' test='test' inews='' egrep='/usr/local/bin/egrep' more='' pg='' Mcc='Mcc' vi='' mailx='' mail='' cpp='/lib/cpp' perl='' emacs='' ls='' rmail='' sendmail='' shar='' smail='' tbl='' troff='' nroff='/usr/bin/nroff' uname='' uuname='' line='' chgrp='' chmod='' lint='' sleep='' pr='' tar='' ln='' lpr='' lp='' touch='' make='' date='' csh='/bin/csh' bash='' ksh='' lex='' flex='' bison='/usr/local/gnu/bin/bison' Log='$Log' Header='$Header' Id='$Id' alignbytes='2' bin='.' byteorder='4321' contains='grep' cppstdin='cc -E' cppminus='-' d_bcmp='define' d_bcopy='define' d_bzero='define' d_castneg='define' castflags='0' d_charsprf='undef' d_chsize='undef' d_crypt='define' cryptlib='' d_csh='define' d_dosuid='undef' d_dup2='define' d_fchmod='define' d_fchown='define' d_fcntl='define' d_flexfnam='define' d_flock='undef' d_getgrps='define' d_gethent='define' d_getpgrp='define' d_getpgrp2='define' d_getprior='undef' d_htonl='undef' d_index='undef' d_killpg='define' d_lstat='define' d_memcmp='define' d_memcpy='define' d_mkdir='define' d_msg='define' d_msgctl='define' d_msgget='define' d_msgrcv='define' d_msgsnd='define' d_ndbm='define' d_odbm='define' d_open3='define' d_readdir='define' d_rename='define' d_rmdir='define' d_select='define' d_sem='define' d_semctl='define' d_semget='define' d_semop='define' d_setegid='undef' d_seteuid='undef' d_setpgrp='define' d_setpgrp2='define' d_setprior='undef' d_setregid='undef' d_setresgid='define' d_setreuid='undef' d_setresuid='define' d_setrgid='undef' d_setruid='undef' d_shm='define' d_shmat='define' d_shmctl='define' d_shmdt='define' d_shmget='define' d_socket='define' d_sockpair='undef' d_oldsock='undef' socketlib='' d_statblks='define' d_stdstdio='define' d_strctcpy='define' d_strerror='define' d_symlink='define' d_syscall='define' d_truncate='define' d_vfork='define' d_voidsig='define' d_tosignal='' d_volatile='define' d_vprintf='define' d_charvspr='undef' d_wait4='undef' d_waitpid='define' gidtype='gid_t' i_fcntl='undef' i_grp='define' i_niin='define' i_sysin='undef' i_pwd='define' d_pwquota='undef' d_pwage='undef' d_pwchange='undef' d_pwclass='undef' d_pwexpire='undef' d_pwcomment='undef' i_sys_file='define' i_sysioctl='define' i_time='undef' i_sys_time='define' i_sys_select='undef' d_systimekernel='undef' i_utime='define' i_varargs='define' i_vfork='undef' inclPath='' intsize='4' libc='/lib/libc.a' nm_opts='' libndir='' i_my_dir='undef' i_ndir='undef' i_sys_ndir='undef' i_dirent='define' i_sys_dir='undef' d_dirnamlen='undef' ndirc='' ndiro='' mallocsrc='malloc.c' mallocobj='malloc.o' usemymalloc='y' mansrc='' manext='' models='none' split='' small='' medium='' large='' huge='' optimize='-O' ccflags='' cppflags='' ldflags='' cc='cc' libs='-lnet -lndir -lndbm -lm -lBSD' n='' c='\c' package='perl' randbits='15' scriptdir='.' sig_name='ZERO HUP INT QUIT ILL TRAP IOT EMT FPE KILL BUS SEGV SYS PIPE ALRM TERM USR1 USR2 CLD PWR VTALRM PROF IO WINDOW STOP TSTP CONT TTIN TTOU' spitshell='cat' shsharp='true' sharpbang='#!' startsh='#!/bin/sh' stdchar='unsigned char' uidtype='uid_t' void='' voidhave='1' voidwant='1' w_localtim='1' w_s_timevl='1' w_s_tm='1' yacc='/usr/bin/yacc' lib='' privlib='.' CONFIG=true -- ----------------------------------------------- Clifford Beshers 450 Computer Science Department Columbia University New York, NY 10027 beshers@cs.columbia.edu