View Issue Details

IDProjectCategoryView StatusLast Update
0000080tcshGeneralpublic2019-08-02 17:22
Reportermnowak Assigned Tochristos  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version6.21.00 
Summary0000080: gethost: ".../tcsh-6.21.00/host.defs", 36: Discarded
DescriptionBuild of tcsh 6.21.00 on OpenIndiana 2019.04 (an illumos distribution) fails with:

./gethost /export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00/host.defs >> tc.defs.c.tmp
gethost: "/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00/host.defs", 36: Discarded
gethost: "/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00/host.defs", 47: Discarded
...
gethost: "/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00/host.defs", 349: Discarded
gethost: "/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00/host.defs", 350: Discarded
gethost: Too many errors
make[1]: *** [Makefile:455: tc.defs.c] Error 1

Full build output is in the attached file.

tcsh-6.20.00 builds fine.

Let me know, should you need more information.
TagsNo tags attached.

Activities

mnowak

2019-05-13 18:15

reporter  

tcsh.txt (22,330 bytes)   
/bin/rm -f -r tcsh-6.21.00 required-pkgs.mk /export/home/newman/ws/oi-userland/components/shell/tcsh/build/mkgeneric-perl /export/home/newman/ws/oi-userland/components/shell/tcsh/build/mkgeneric-python /export/home/newman/ws/oi-userland/components/shell/tcsh/build/mkgeneric-ruby
/bin/rm -f -r /export/home/newman/ws/oi-userland/components/shell/tcsh/build /export/home/newman/ws/oi-userland/components/shell/tcsh/build/prototype/i386
/bin/rm -f -r /export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00
/usr/bin/env RUBY_VERSION=2.3 /export/home/newman/ws/oi-userland/tools/userland-unpack  /export/home/newman/ws/oi-userland/archives/tcsh-6.21.00.tar.gz
/usr/bin/touch /export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00/.unpacked
/usr/gnu/bin/patch -d /export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00 --strip=1 --backup --version-control=numbered < patches/003.locale.patch
patching file sh.c
Hunk #1 succeeded at 173 (offset -3 lines).
patching file sh.func.c
Hunk #1 succeeded at 2672 (offset 15 lines).
/usr/bin/touch /export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00/.patched-003.locale.patch
/usr/gnu/bin/patch -d /export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00 --strip=1 --backup --version-control=numbered < patches/008.config.patch
patching file config_f.h
Hunk #1 succeeded at 138 (offset -1 lines).
/usr/bin/touch /export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00/.patched-008.config.patch
/usr/gnu/bin/patch -d /export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00 --strip=1 --backup --version-control=numbered < patches/011.globtilde.patch
patching file sh.glob.c
Hunk #1 succeeded at 74 (offset -4 lines).
/usr/bin/touch /export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00/.patched-011.globtilde.patch
/usr/bin/touch /export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00/.patched
( cd /export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00 ; autoreconf -fi; )
/usr/bin/touch /export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00/.prep
(/bin/rm -f -rf /export/home/newman/ws/oi-userland/components/shell/tcsh/build/amd64 ; /bin/mkdir -p /export/home/newman/ws/oi-userland/components/shell/tcsh/build/amd64)
(/export/home/newman/ws/oi-userland/tools/cloney /export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00 /export/home/newman/ws/oi-userland/components/shell/tcsh/build/amd64)
symlink cloning /export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00 to /export/home/newman/ws/oi-userland/components/shell/tcsh/build/amd64
(cd /export/home/newman/ws/oi-userland/components/shell/tcsh/build/amd64 ; /usr/bin/env CONFIG_SHELL="/bin/bash" CC="/usr/gcc/6/bin/gcc" CXX="/usr/gcc/6/bin/g++" F77="/usr/gcc/6/bin/gfortran" FC="/usr/gcc/6/bin/gfortran" CFLAGS="-m64 -O3 " CXXFLAGS=" -m64 -O3 " FFLAGS=" -m64 -O3 " FCFLAGS="-m64 -O3 " LDFLAGS="-m64" PKG_CONFIG_PATH="/usr/lib/amd64/pkgconfig"  "ac_cv_func_realloc_0_nonnull=yes" /bin/bash \
	/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00/configure CC="/usr/gcc/6/bin/gcc" CXX="/usr/gcc/6/bin/g++" F77="/usr/gcc/6/bin/gfortran" FC="/usr/gcc/6/bin/gfortran" CFLAGS="-m64 -O3 " CXXFLAGS=" -m64 -O3 " FFLAGS=" -m64 -O3 " FCFLAGS="-m64 -O3 " LDFLAGS="-m64" PKG_CONFIG_PATH="/usr/lib/amd64/pkgconfig" --prefix=/usr --mandir=/usr/share/man --bindir=/usr/bin --libdir=/usr/lib/amd64 --sbindir=/usr/sbin  --localedir=/usr/share/locale)
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking build system type... i386-pc-solaris2.11
checking host system type... i386-pc-solaris2.11
checking cached host tuple... ok
Tcsh will use configuration file `sol29'.
checking for gcc... /usr/gcc/6/bin/gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/gcc/6/bin/gcc accepts -g... yes
checking for /usr/gcc/6/bin/gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... /usr/gcc/6/bin/gcc -E
checking for grep that handles long lines and -e... /usr/bin/ggrep
checking for egrep... /usr/bin/ggrep -E
checking whether /usr/gcc/6/bin/gcc needs -traditional... no
checking for gencat... /usr/bin/gencat
checking for library containing crypt... none required
checking for library containing getspnam... none required
checking for library containing tgetent... -ltermlib
checking for library containing gethostbyname... -lnsl
checking for library containing connect... -lsocket
checking for library containing catgets... none required
checking for ld used by /usr/gcc/6/bin/gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for shared library run path origin... done
checking for 64-bit host... no
checking for iconv... yes
checking for working iconv... yes
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, const char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking auth.h usability... no
checking auth.h presence... no
checking for auth.h... no
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking features.h usability... no
checking features.h presence... no
checking for features.h... no
checking for inttypes.h... (cached) yes
checking paths.h usability... yes
checking paths.h presence... yes
checking for paths.h... yes
checking shadow.h usability... yes
checking shadow.h presence... yes
checking for shadow.h... yes
checking for stdint.h... (cached) yes
checking utmp.h usability... yes
checking utmp.h presence... yes
checking for utmp.h... yes
checking utmpx.h usability... yes
checking utmpx.h presence... yes
checking for utmpx.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking size of wchar_t... 4
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking whether stat file-mode macros are broken... no
checking for ANSI C header files... (cached) yes
checking for long long... yes
checking for uid_t in sys/types.h... yes
checking type of array argument to getgroups... gid_t
checking for mode_t... yes
checking for size_t... yes
checking for uid_t in sys/types.h... (cached) yes
checking for uint32_t... yes
checking for ssize_t... yes
checking for socklen_t... yes
checking for struct dirent.d_ino... yes
checking for struct utmp.ut_host... yes
checking for struct utmp.ut_user... yes
checking for struct utmp.ut_tv... yes
checking for struct utmp.ut_xtime... yes
checking for struct utmpx.ut_host... yes
checking for struct utmpx.ut_user... yes
checking for struct utmpx.ut_tv... yes
checking for struct utmpx.ut_xtime... yes
checking for struct sockaddr_storage.ss_family... yes
checking for an ANSI C-conforming const... yes
checking for working volatile... yes
checking whether crypt is declared... yes
checking whether environ is declared... no
checking whether gethostname is declared... yes
checking whether getpgrp is declared... yes
checking for setlocale... yes
checking for catgets... yes
checking for dup2... yes
checking for getauthid... no
checking for getcwd... yes
checking for gethostname... yes
checking for getpwent... yes
checking for getutent... yes
checking for getutxent... yes
checking for mallinfo... no
checking for mblen... yes
checking for memmove... yes
checking for memset... yes
checking for mkstemp... yes
checking for nice... yes
checking for nl_langinfo... yes
checking for sbrk... yes
checking for setpgid... yes
checking for setpriority... yes
checking for strerror... yes
checking for strstr... yes
checking for sysconf... yes
checking for wcwidth... yes
checking whether getpgrp requires zero arguments... yes
checking whether mbrtowc and mbstate_t are properly declared... yes
checking whether setpgrp takes no argument... yes
checking for working strcoll... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating nls/Makefile
config.status: creating config.h
config.status: executing ./atconfig commands
/usr/bin/touch /export/home/newman/ws/oi-userland/components/shell/tcsh/build/amd64/.configured
(cd /export/home/newman/ws/oi-userland/components/shell/tcsh/build/amd64 ; /usr/bin/env LD_OPTIONS="-M /usr/lib/ld/map.noexstk -M /usr/lib/ld/map.noexdata -M /usr/lib/ld/map.pagealign -Bdirect -z ignore" LD_EXEC_OPTIONS="-z aslr=enable"  "ac_cv_func_realloc_0_nonnull=yes" \
	/usr/gnu/bin/make  -j4  \
	)
make[1]: Entering directory '/export/home/newman/ws/oi-userland/components/shell/tcsh/build/amd64'
grep 'ERR_' /export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00/sh.err.c | grep '^#define' >> sh.err.h.tmp
grep '[FV]_' /export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00/ed.defns.c | grep '^#define' >> ed.defns.h.tmp
sh.err.h recreated.
ed.defns.h recreated.
make[2]: Entering directory '/export/home/newman/ws/oi-userland/components/shell/tcsh/build/amd64/nls'
/usr/gcc/6/bin/gcc -E -I. -I/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00 -D_PATH_TCSHELL='"/usr/bin/tcsh"'    -D_h_tc_const\
    /export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00/tc.const.c | \
    sed -n -e 's/^\(Char STR[a-zA-Z0-9_]*\) *\[ *\].*/extern \1[];/p' | \
    LC_COLLATE=C sort >> tc.const.h.tmp
C
et
finnish
tc.const.h recreated.
/usr/gcc/6/bin/gcc -c -m64 -O3  -I. -I/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00 -D_PATH_TCSHELL='"/usr/bin/tcsh"'    sh.c
german
/usr/gcc/6/bin/gcc -c -m64 -O3  -I. -I/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00 -D_PATH_TCSHELL='"/usr/bin/tcsh"'    sh.dir.c
/usr/gcc/6/bin/gcc -c -m64 -O3  -I. -I/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00 -D_PATH_TCSHELL='"/usr/bin/tcsh"'    sh.dol.c
french
greek
italian
ja
/usr/gcc/6/bin/gcc -c -m64 -O3  -I. -I/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00 -D_PATH_TCSHELL='"/usr/bin/tcsh"'    sh.err.c
/usr/gcc/6/bin/gcc -c -m64 -O3  -I. -I/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00 -D_PATH_TCSHELL='"/usr/bin/tcsh"'    sh.exec.c
pl
/usr/gcc/6/bin/gcc -c -m64 -O3  -I. -I/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00 -D_PATH_TCSHELL='"/usr/bin/tcsh"'    sh.char.c
russian
/usr/gcc/6/bin/gcc -c -m64 -O3  -I. -I/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00 -D_PATH_TCSHELL='"/usr/bin/tcsh"'    sh.exp.c
spanish
ukrainian
make[2]: Leaving directory '/export/home/newman/ws/oi-userland/components/shell/tcsh/build/amd64/nls'
/usr/gcc/6/bin/gcc -c -m64 -O3  -I. -I/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00 -D_PATH_TCSHELL='"/usr/bin/tcsh"'    sh.file.c
/usr/gcc/6/bin/gcc -c -m64 -O3  -I. -I/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00 -D_PATH_TCSHELL='"/usr/bin/tcsh"'    sh.func.c
/usr/gcc/6/bin/gcc -c -m64 -O3  -I. -I/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00 -D_PATH_TCSHELL='"/usr/bin/tcsh"'    sh.glob.c
/usr/gcc/6/bin/gcc -c -m64 -O3  -I. -I/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00 -D_PATH_TCSHELL='"/usr/bin/tcsh"'    sh.hist.c
/usr/gcc/6/bin/gcc -c -m64 -O3  -I. -I/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00 -D_PATH_TCSHELL='"/usr/bin/tcsh"'    sh.init.c
/usr/gcc/6/bin/gcc -c -m64 -O3  -I. -I/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00 -D_PATH_TCSHELL='"/usr/bin/tcsh"'    sh.lex.c
/usr/gcc/6/bin/gcc -c -m64 -O3  -I. -I/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00 -D_PATH_TCSHELL='"/usr/bin/tcsh"'    sh.misc.c
/usr/gcc/6/bin/gcc -c -m64 -O3  -I. -I/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00 -D_PATH_TCSHELL='"/usr/bin/tcsh"'    sh.parse.c
/usr/gcc/6/bin/gcc -c -m64 -O3  -I. -I/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00 -D_PATH_TCSHELL='"/usr/bin/tcsh"'    sh.print.c
/usr/gcc/6/bin/gcc -c -m64 -O3  -I. -I/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00 -D_PATH_TCSHELL='"/usr/bin/tcsh"'    sh.proc.c
/usr/gcc/6/bin/gcc -c -m64 -O3  -I. -I/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00 -D_PATH_TCSHELL='"/usr/bin/tcsh"'    sh.sem.c
/usr/gcc/6/bin/gcc -c -m64 -O3  -I. -I/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00 -D_PATH_TCSHELL='"/usr/bin/tcsh"'    sh.set.c
/usr/gcc/6/bin/gcc -c -m64 -O3  -I. -I/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00 -D_PATH_TCSHELL='"/usr/bin/tcsh"'    sh.time.c
/usr/gcc/6/bin/gcc -c -m64 -O3  -I. -I/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00 -D_PATH_TCSHELL='"/usr/bin/tcsh"'    glob.c
/usr/gcc/6/bin/gcc -c -m64 -O3  -I. -I/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00 -D_PATH_TCSHELL='"/usr/bin/tcsh"'    dotlock.c
/usr/gcc/6/bin/gcc -c -m64 -O3  -I. -I/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00 -D_PATH_TCSHELL='"/usr/bin/tcsh"'    mi.termios.c
/usr/gcc/6/bin/gcc -c -m64 -O3  -I. -I/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00 -D_PATH_TCSHELL='"/usr/bin/tcsh"'    ma.setp.c
/usr/gcc/6/bin/gcc -c -m64 -O3  -I. -I/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00 -D_PATH_TCSHELL='"/usr/bin/tcsh"'    vms.termcap.c
/usr/gcc/6/bin/gcc -c -m64 -O3  -I. -I/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00 -D_PATH_TCSHELL='"/usr/bin/tcsh"'    tw.help.c
/usr/gcc/6/bin/gcc -c -m64 -O3  -I. -I/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00 -D_PATH_TCSHELL='"/usr/bin/tcsh"'    tw.init.c
/usr/gcc/6/bin/gcc -c -m64 -O3  -I. -I/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00 -D_PATH_TCSHELL='"/usr/bin/tcsh"'    tw.parse.c
/usr/gcc/6/bin/gcc -c -m64 -O3  -I. -I/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00 -D_PATH_TCSHELL='"/usr/bin/tcsh"'    tw.spell.c
/usr/gcc/6/bin/gcc -c -m64 -O3  -I. -I/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00 -D_PATH_TCSHELL='"/usr/bin/tcsh"'    tw.comp.c
/usr/gcc/6/bin/gcc -c -m64 -O3  -I. -I/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00 -D_PATH_TCSHELL='"/usr/bin/tcsh"'    tw.color.c
/usr/gcc/6/bin/gcc -c -m64 -O3  -I. -I/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00 -D_PATH_TCSHELL='"/usr/bin/tcsh"'    ed.chared.c
/usr/gcc/6/bin/gcc -c -m64 -O3  -I. -I/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00 -D_PATH_TCSHELL='"/usr/bin/tcsh"'    ed.refresh.c
/usr/gcc/6/bin/gcc -c -m64 -O3  -I. -I/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00 -D_PATH_TCSHELL='"/usr/bin/tcsh"'    ed.screen.c
/usr/gcc/6/bin/gcc -c -m64 -O3  -I. -I/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00 -D_PATH_TCSHELL='"/usr/bin/tcsh"'    ed.init.c
/usr/gcc/6/bin/gcc -c -m64 -O3  -I. -I/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00 -D_PATH_TCSHELL='"/usr/bin/tcsh"'    ed.inputl.c
/usr/gcc/6/bin/gcc -c -m64 -O3  -I. -I/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00 -D_PATH_TCSHELL='"/usr/bin/tcsh"'    ed.defns.c
/usr/gcc/6/bin/gcc -c -m64 -O3  -I. -I/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00 -D_PATH_TCSHELL='"/usr/bin/tcsh"'    ed.xmap.c
/usr/gcc/6/bin/gcc -c -m64 -O3  -I. -I/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00 -D_PATH_TCSHELL='"/usr/bin/tcsh"'    ed.term.c
/usr/gcc/6/bin/gcc -c -m64 -O3  -I. -I/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00 -D_PATH_TCSHELL='"/usr/bin/tcsh"'    tc.alloc.c
/usr/gcc/6/bin/gcc -c -m64 -O3  -I. -I/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00 -D_PATH_TCSHELL='"/usr/bin/tcsh"'    tc.bind.c
/usr/gcc/6/bin/gcc -c -m64 -O3  -I. -I/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00 -D_PATH_TCSHELL='"/usr/bin/tcsh"'    tc.const.c
rm -f gethost
/usr/gcc/6/bin/gcc -o gethost -I. -I/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00 -m64 -O3  -m64 /export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00/gethost.c
/usr/gcc/6/bin/gcc -c -m64 -O3  -I. -I/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00 -D_PATH_TCSHELL='"/usr/bin/tcsh"'    tc.disc.c
/usr/gcc/6/bin/gcc -c -m64 -O3  -I. -I/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00 -D_PATH_TCSHELL='"/usr/bin/tcsh"'    tc.func.c
/usr/gcc/6/bin/gcc -c -m64 -O3  -I. -I/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00 -D_PATH_TCSHELL='"/usr/bin/tcsh"'    tc.nls.c
/usr/gcc/6/bin/gcc -c -m64 -O3  -I. -I/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00 -D_PATH_TCSHELL='"/usr/bin/tcsh"'    tc.os.c
/usr/gcc/6/bin/gcc -c -m64 -O3  -I. -I/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00 -D_PATH_TCSHELL='"/usr/bin/tcsh"'    tc.printf.c
/usr/gcc/6/bin/gcc -c -m64 -O3  -I. -I/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00 -D_PATH_TCSHELL='"/usr/bin/tcsh"'    tc.prompt.c
/usr/gcc/6/bin/gcc -c -m64 -O3  -I. -I/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00 -D_PATH_TCSHELL='"/usr/bin/tcsh"'    tc.sched.c
/usr/gcc/6/bin/gcc -c -m64 -O3  -I. -I/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00 -D_PATH_TCSHELL='"/usr/bin/tcsh"'    tc.sig.c
/usr/gcc/6/bin/gcc -c -m64 -O3  -I. -I/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00 -D_PATH_TCSHELL='"/usr/bin/tcsh"'    tc.str.c
/usr/gcc/6/bin/gcc -c -m64 -O3  -I. -I/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00 -D_PATH_TCSHELL='"/usr/bin/tcsh"'    tc.vers.c
/usr/gcc/6/bin/gcc -c -m64 -O3  -I. -I/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00 -D_PATH_TCSHELL='"/usr/bin/tcsh"'    tc.who.c
./gethost /export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00/host.defs >> tc.defs.c.tmp
gethost: "/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00/host.defs", 36: Discarded
gethost: "/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00/host.defs", 47: Discarded
gethost: "/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00/host.defs", 60: Discarded
gethost: "/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00/host.defs", 61: Discarded
gethost: "/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00/host.defs", 105: Discarded
gethost: "/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00/host.defs", 106: Discarded
gethost: "/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00/host.defs", 169: Discarded
gethost: "/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00/host.defs", 223: Discarded
gethost: "/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00/host.defs", 234: Discarded
gethost: "/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00/host.defs", 235: Discarded
gethost: "/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00/host.defs", 239: Discarded
gethost: "/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00/host.defs", 240: Discarded
gethost: "/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00/host.defs", 248: Discarded
gethost: "/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00/host.defs", 249: Discarded
gethost: "/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00/host.defs", 257: Discarded
gethost: "/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00/host.defs", 258: Discarded
gethost: "/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00/host.defs", 266: Discarded
gethost: "/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00/host.defs", 267: Discarded
gethost: "/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00/host.defs", 276: Discarded
gethost: "/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00/host.defs", 277: Discarded
gethost: "/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00/host.defs", 286: Discarded
gethost: "/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00/host.defs", 287: Discarded
gethost: "/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00/host.defs", 299: Discarded
gethost: "/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00/host.defs", 300: Discarded
gethost: "/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00/host.defs", 315: Discarded
gethost: "/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00/host.defs", 316: Discarded
gethost: "/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00/host.defs", 324: Discarded
gethost: "/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00/host.defs", 325: Discarded
gethost: "/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00/host.defs", 349: Discarded
gethost: "/export/home/newman/ws/oi-userland/components/shell/tcsh/tcsh-6.21.00/host.defs", 350: Discarded
gethost: Too many errors
make[1]: *** [Makefile:455: tc.defs.c] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/export/home/newman/ws/oi-userland/components/shell/tcsh/build/amd64'
gmake: *** [/export/home/newman/ws/oi-userland/make-rules/configure.mk:183: /export/home/newman/ws/oi-userland/components/shell/tcsh/build/amd64/.built] Error 2
tcsh.txt (22,330 bytes)   

mnowak

2019-06-15 14:09

reporter   ~0003253

Reported also at https://github.com/tcsh-org/tcsh/issues/14.

christos

2019-08-01 14:03

manager   ~0003271

I built it with both cc and gcc and no issues:

christos@openindiana:~/src/tcsh$ cc -V
cc: Sun C 5.10 SunOS_i386 2009/06/03
usage: cc [ options] files. Use 'cc -flags' for details
christos@openindiana:~/src/tcsh$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/gcc/8/lib/gcc/i386-pc-solaris2.11/8.3.0/lto-wrapper
Target: i386-pc-solaris2.11
Configured with: /jenkins/jobs/oi-userland/workspace/components/developer/gcc-8/gcc-8.3.0/configure CC=/usr/gcc/6/bin/gcc CXX=/usr/gcc/6/bin/g++ F77=/usr/gcc/6/bin/gfortran FC=/usr/gcc/6/bin/gfortran CFLAGS= CXXFLAGS= FFLAGS=' -m32 -O3 ' FCFLAGS='-m32 -O3 ' LDFLAGS=-m32 PKG_CONFIG_PATH=/usr/lib/pkgconfig --prefix=/usr/gcc/8 --mandir=/usr/gcc/8/share/man --bindir=/usr/gcc/8/bin --libdir=/usr/gcc/8/lib --sbindir=/usr/gcc/8/sbin --sbindir=/usr/gcc/8/bin --libdir=/usr/gcc/8/lib --libexecdir=/usr/gcc/8/lib --host i386-pc-solaris2.11 --build i386-pc-solaris2.11 --target i386-pc-solaris2.11 --with-pkgversion='OpenIndiana 8.3.0-OI-0' --with-bugurl=https://bugs.openindiana.org --enable-plugins --enable-objc-gc --enable-initfini-array --enable-languages=c,c++,fortran,lto,objc --without-gnu-ld --with-ld=/usr/bin/ld --with-build-time-tools=/usr/gnu/i386-pc-solaris2.11/bin --disable-libitm enable_frame_pointer=yes --with-gnu-as --with-as=/usr/bin/gas 'BOOT_CFLAGS=-g -O2' LDFLAGS=-R/usr/gcc/8/lib
Thread model: posix
gcc version 8.3.0 (OpenIndiana 8.3.0-OI-0)
christos@openindiana:~/src/tcsh$

christos

2019-08-01 14:07

manager   ~0003272

Cannot reproduce.

mnowak

2019-08-01 14:47

reporter   ~0003274

Right, thanks for looking into this. GCC 8.3.0 works for me as well. Is GCC 8 now required? By default we use GCC 6.5.0. GCC 7.4.0 fails for me the same way GCC 6 does.

christos

2019-08-01 15:36

manager   ~0003275

No, I've built it before with gcc-5, gcc-6, gcc-7... I think something might be wrong with the opensolaris gcc packages of gcc-6/7...

christos

2019-08-01 16:06

manager   ~0003277

I will resolve it since it seems like a compiler/environment-specific bug. Don't you agree?

mnowak

2019-08-02 17:10

reporter   ~0003280

It's actually the -O3 optimization we use by default, with -O2 we are good.

I think you can close this. Thanks!

christos

2019-08-02 17:22

manager   ~0003281

gcc optimizer bug.

Issue History

Date Modified Username Field Change
2019-05-13 18:15 mnowak New Issue
2019-05-13 18:15 mnowak File Added: tcsh.txt
2019-06-15 14:09 mnowak Note Added: 0003253
2019-08-01 14:03 christos Note Added: 0003271
2019-08-01 14:03 christos Assigned To => christos
2019-08-01 14:03 christos Status new => assigned
2019-08-01 14:07 christos Status assigned => feedback
2019-08-01 14:07 christos Note Added: 0003272
2019-08-01 14:47 mnowak Note Added: 0003274
2019-08-01 14:47 mnowak Status feedback => assigned
2019-08-01 15:36 christos Note Added: 0003275
2019-08-01 16:06 christos Note Added: 0003277
2019-08-01 16:07 christos Status assigned => feedback
2019-08-02 17:10 mnowak Note Added: 0003280
2019-08-02 17:10 mnowak Status feedback => assigned
2019-08-02 17:22 christos Status assigned => resolved
2019-08-02 17:22 christos Resolution open => fixed
2019-08-02 17:22 christos Note Added: 0003281