All tests passed.

Took a clean room to do it.  If there are problems they are outside of
 1.6.5 somewhere.

An entirely new instance with nothing interesting installed or running :

$ psrinfo -pv
The physical processor has 8 virtual processors (0-7)
  SPARC64-VII+ (portid 1024 impl 0x7 ver 0xa1 clock 2860 MHz)
$ uname -r
$ uname -m
$ uname -v

$ uptime
  3:29pm  up 58 min(s),  1 user,  load average: 0.02, 0.13, 0.23

In my home dir on this shiney new clean system :

$ mkdir foo
$ cd foo
$ wget
$ openssl dgst -sha256 apr-1.6.5.tar.gz
SHA256(apr-1.6.5.tar.gz)= 70dcf9102066a2ff2ffc47e93c289c8e54c95d8dda23b503f9e61bb0cbd2d105
$ gzip -dc apr-1.6.5.tar.gz | tar -xf -
$ cd apr-1.6.5

Very few env vars to deal with :

$ CC=/opt/developerstudio12.6/bin/c99 ; export CC
$ CFLAGS='-Xc -g -xmemalign=8s -xstrconst -xildoff -m64 -xnolibmil -xcode=pic32 -xregs=no%appl -xlibmieee -xarch=sparc -mc -xs -xbuiltin=%none -xunroll=1 -Qy'
$ export CFLAGS

$ export CPPFLAGS

$ PATH=/usr/xpg6/bin:/usr/xpg4/bin:/usr/ccs/bin:/usr/bin:/opt/developerstudio12.6/bin:/sbin:/bin:/usr/sbin
$ export PATH

$ ls -lad /usr/local
/usr/local: No such file or directory

As I said .. there is nothing interesting here.  No libexpat either.
Other systems have all of the GNU bits one would normally want but
this clean room has nothing.

Configure and make and make test all run fine with only a small type
mismatch warning :

$ ./configure --prefix=/usr/local --enable-threads \
> --enable-shared --enable-static \
> --enable-other-child --with-devrandom=/dev/urandom \
> --enable-posix-shm
checking build system type... sparc-sun-solaris2.10
checking host system type... sparc-sun-solaris2.10
checking target system type... sparc-sun-solaris2.10
Configuring APR library
Platform: sparc-sun-solaris2.10
checking for working mkdir -p... yes
APR Version: 1.6.5
checking for chosen layout... apr
checking for gcc... /opt/developerstudio12.6/bin/c99
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... no
checking whether /opt/developerstudio12.6/bin/c99 accepts -g... yes
checking for /opt/developerstudio12.6/bin/c99 option to accept ISO C89... none needed
checking for a sed that does not truncate output... /usr/xpg4/bin/sed
Applying APR hints file rules for sparc-sun-solaris2.10
  adding "-DSOLARIS2=10" to CPPFLAGS
  setting apr_lock_method to "USE_PROC_PTHREAD_SERIALIZE"
  setting ac_cv_func_readdir64_r to "no"
(Default will be unix)
checking whether make sets $(MAKE)... yes
checking how to run the C preprocessor... /opt/developerstudio12.6/bin/c99 -E
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
. etc etc
Checking for Networking support...
checking for type in_addr... yes
checking if fd == socket on this platform... yes
checking style of gethostbyname_r routine... none
checking 3rd argument to the gethostbyname_r routines... char
checking style of getservbyname_r routine... solaris
checking if TCP_NODELAY setting is inherited from listening sockets... yes
checking if O_NONBLOCK setting is inherited from listening sockets... yes
checking whether TCP_NODELAY and TCP_CORK can both be enabled... no
checking for TCP_CORK in netinet/tcp.h... no
checking for TCP_NOPUSH in netinet/tcp.h... no
checking for SO_ACCEPTFILTER in sys/socket.h... no
checking whether SCTP is supported... yes
checking for struct ip_mreq... yes
checking for set_h_errno... no

Checking for IPv6 Networking support...
checking for library containing getaddrinfo... none required
checking for library containing gai_strerror... none required
checking for library containing getnameinfo... none required
checking for gai_strerror... yes
checking for working getaddrinfo... yes
checking for negative error codes for getaddrinfo... no
checking for working getnameinfo... yes
checking for sockaddr_in6... yes
checking for sockaddr_storage... yes
checking for sockaddr_un... yes
checking for working AI_ADDRCONFIG... yes
checking if APR supports IPv6... yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking for nl_langinfo... yes
  setting have_unicode_fs to "0"
  setting apr_has_xthread_files to "0"
  setting apr_procattr_user_set_requires_password to "0"
  setting apr_thread_func to ""
  setting apr_has_user to "1"

Restore user-defined environment settings...
restoring CFLAGS to "-Xc -g -xmemalign=8s -xstrconst -xildoff -m64 -xnolibmil -xcode=pic32 -xregs=no%appl -xlibmieee -xarch=sparc -mc -xs -xbuiltin=%none -xunroll=1 -Qy"
  setting EXTRA_CFLAGS to ""
  restoring LDFLAGS to ""
  setting EXTRA_LDFLAGS to ""
  restoring LIBS to ""
  setting EXTRA_LIBS to "-luuid -lsendfile -lrt -lsocket -lnsl  -lpthread"
  restoring INCLUDES to ""
  setting EXTRA_INCLUDES to ""
configure: creating ./config.status
config.status: creating Makefile
config.status: WARNING: '' seems to ignore the --datarootdir setting
config.status: creating include/apr.h
config.status: creating build/
config.status: creating build/pkg/pkginfo
config.status: creating apr-1-config
config.status: creating apr.pc
config.status: creating test/Makefile
config.status: creating test/internal/Makefile
config.status: creating include/arch/unix/apr_private.h
config.status: executing libtool commands
libtoolT: No such file or directory
config.status: executing default commands

Well the compile goes absolutely clean with only one minor nit :

/bin/bash /export/home/dclarke/foo/apr-1.6.5/libtool --silent --mode=compile /opt/developerstudio12.6/bin/c99 -Xc -g -xmemalign=8s -xstrconst -xildoff -m64 -xnolibmil -xcode=pic32 -xregs=no%appl -xlibmieee -xarch=sparc -mc -xs -xbuiltin=%none -xunroll=1 -Qy -DHAVE_CONFIG_H -DSOLARIS2=10 -D_REENTRANT -I/usr/local/include -D_EXTENSIONS_ -D__EXTENSIONS__ -D_TS_ERRNO -D_POSIX_PTHREAD_SEMANTICS -D_LARGEFILE64_SOURCE -I./include -I/export/home/dclarke/foo/apr-1.6.5/include/arch/unix -I./include/arch/unix -I/export/home/dclarke/foo/apr-1.6.5/include/arch/unix -I/export/home/dclarke/foo/apr-1.6.5/include -I/export/home/dclarke/foo/apr-1.6.5/include/private -I/export/home/dclarke/foo/apr-1.6.5/include/private -o locks/unix/proc_mutex.lo -c locks/unix/proc_mutex.c && touch locks/unix/proc_mutex.lo "locks/unix/proc_mutex.c", line 428: warning: argument #1 is incompatible with prototype:
        prototype: pointer to char : "/usr/include/sys/mman.h", line 169
argument : pointer to struct _pthread_mutex {struct {..} __pthread_mutex_flags, union {..} __pthread_mutex_lock, unsigned long __pthread_mutex_data}
"locks/unix/proc_mutex.c", line 446: warning: assignment type mismatch:
pointer to struct _pthread_mutex {struct {..} __pthread_mutex_flags, union {..} __pthread_mutex_lock, unsigned long __pthread_mutex_data} "=" pointer to char

So there we have warnings about a type mismatch.

Tests run flawlessly and thus whatever problems I have on other systems
must be entirely because of interactions with things in /usr/local and
that just means I have to go digging .. elsewhere.

Sorry for all the heart ache over this.


Reply via email to