I failed to build ncursees-6.0 with Intel Compiler 16 due to tic segment faults in the "install" phase.
Environment
OS: CentOS 7
Compiler: Intel Compiler version 16.0.3
Steps to reproduce this issue
$ cd /tmp
$ wget https://ftp.gnu.org/pub/gnu/ncurses/ncurses-6.0.tar.gz
$ tar xzvpf ncurses-6.0.tar.gz
$ cd ncurses-6.0
$ module load icc/16.0
$ $CC --version
icc (ICC) 16.0.3 20160415
Copyright (C) 1985-2016 Intel Corporation. All rights reserved.
$ ./configure --prefix=/tmp/usr '--with-shared' '--with-cxx-shared' '--enable-widec' '--enable-overwrite' '--disable-lib-suffixes' '--without-ada' '--enable-pc-files'
$ make clean; make
(Build OK)
$ make install
Error Messages
** Building terminfo database, please wait...
Running sh ./shlib tic to install /tmp/usr/share/terminfo ...
You may see messages regarding extended capabilities, e.g., AX.
These are extended terminal capabilities which are compiled
using
tic -x
If you have ncurses 4.2 applications, you should read the INSTALL
document, and install the terminfo without the -x option.
./shlib: line 141: 245331 Segmentation fault (core dumped) tic -x -s -o /tmp/usr/share/terminfo terminfo.tmp
? tic could not build /tmp/usr/share/terminfo
make[1]: *** [install.data] Error 1
make[1]: Leaving directory `/tmp/ncurses-6.0/misc'
make: *** [install] Error 2
This is my very first time to submit a bug report to ncurses mail list. Comments are welcome.
Best,
Jianwen