Solaris cc segfaults when compiling rsync on intel platform

Posted by PP on Server Fault See other posts from Server Fault or by PP
Published on 2010-06-10T10:43:51Z Indexed on 2010/06/10 10:53 UTC
Read the original article Hit count: 358

Filed under:
|
|

I am trying to compile rsync-3.0.7 on Solaris 5.10 on an Intel chipset.

When running ./configure I see the following (obviously erroneous lines):

checking size of int... 0
checking size of long... 0
checking size of long long... 0
checking size of short... 0
checking size of int16_t... 0
checking size of uint16_t... 0

In config.log I see the following lines:

configure.sh:5448: /tool/sunstudio12.1/bin/cc -xc99=all -o conftest -g -DHAVE_CONFIG_H   conftest.c  >&5
"conftest.c", line 123: warning: statement not reached
cc: Fatal error in cc : Segmentation Fault
configure.sh:5448: $? = 1
configure.sh: program exited with status 1

Segmentation fault? What could be causing a simple test script to segfault during compilation?

© Server Fault or respective owner

Related posts about solaris

Related posts about segfault