Return-Path: X-Original-To: rt-comment@krbdev.mit.edu Received: from mclmx2.mail.saic.com (mclmx2.mail.saic.com [149.8.64.32]) by krbdev.mit.edu (Postfix) with ESMTP id 3555ACCF0E for ; Tue, 9 Dec 2008 22:41:24 +0000 (UTC) Received: from 0015-ITS-SMS02 ([149.8.64.21] [149.8.64.21]) by mclmx2.mail.saic.com with ESMTP id BT-MMP-2224186 for rt-comment@krbdev.mit.edu; Tue, 9 Dec 2008 17:41:18 -0500 X-Auditid: 9508402f-ac557ba000001f2e-6f-493ef40e006d Received: from mx2.east.saic.com (unknown [149.8.64.21]) by 0015-ITS-SMS02 (Symantec Mail Security) with ESMTP id 19FF8594124 for ; Tue, 9 Dec 2008 17:41:18 -0500 (EST) X-Saic-External-Ip: [59.167.195.66] Received: from eth3395.vic.adsl.internode.on.net (HELO pan.teratext.saic.com.au) ([59.167.195.66]) by mx2.east.saic.com with ESMTP; 09 Dec 2008 17:41:17 -0500 Received: by pan.teratext.saic.com.au (Postfix, from userid 231) id C6916A4F21; Wed, 10 Dec 2008 09:41:14 +1100 (EST) Date: Wed, 10 Dec 2008 09:41:14 +1100 From: Michael Fuller To: Tom Yu via RT Subject: Re: [krbdev.mit.edu #6297] "make check" fails due to rb5_cc_new_unique() on 64-bit Solaris SPARC under Sun Studio Message-ID: <20081209224114.GA17726@pan.teratext.saic.com.au> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Brightmail-Tracker: AAAAAA== RT-Send-Cc: X-RT-Original-Encoding: us-ascii Content-Length: 2342 >> bash% tail -100 < ,make-check | head -22 >> making check in lib/krb5/ccache... >> cc -I../../../include -I./../../../include -I./ccapi -DKRB5_DEPRECATED=1 -DKRB5_PRIVATE=1 -xarch=v9 -D_REENTRANT -c t_cc.c >> "t_cc.c", line 140: warning: implicit function declaration: strdup >> "t_cc.c", line 140: warning: improper pointer/integer combination: op "=" > > Does adding an inclusion of to the beginning of that file help? Yes, it does; the above warnings disappear and the test no longer crashes: [...] making check in lib/krb5/ccache... cc -I../../../include -I./../../../include -I./ccapi -DKRB5_DEPRECATED=1 -DKRB5_PRIVATE=1 -xarch=v9 -D_REENTRANT -c t_cc.c "t_cc.c", line 304: warning: argument #2 is incompatible with prototype: prototype: pointer to struct _krb5_cc_ops {} : "../../../include/krb5/krb5.h", line 2068 argument : pointer to const struct _krb5_cc_ops {} "t_cc.c", line 309: warning: argument #2 is incompatible with prototype: prototype: pointer to struct _krb5_cc_ops {} : "../../../include/krb5/krb5.h", line 2068 argument : pointer to const struct _krb5_cc_ops {} "t_cc.c", line 315: warning: argument #2 is incompatible with prototype: prototype: pointer to struct _krb5_cc_ops {} : "../../../include/krb5/krb5.h", line 2068 argument : pointer to const struct _krb5_cc_ops {} "t_cc.c", line 321: warning: argument #2 is incompatible with prototype: prototype: pointer to struct _krb5_cc_ops {} : "../../../include/krb5/krb5.h", line 2068 argument : pointer to const struct _krb5_cc_ops {} cc -L../../../lib -R/tmp/krb5-1.6.3-CC/lib -xarch=v9 -o t_cc t_cc.o -lkrb5 -lk5crypto -lcom_err -lkrb5support -lresolv -lsocket -lnsl KRB5_CONFIG=./t_krb5.conf ; export KRB5_CONFIG ;\ LD_LIBRARY_PATH=`echo -L../../../lib | sed -e "s/-L//g" -e "s/ /:/g"`; export LD_LIBRARY_PATH; ./t_cc Testing miscellaneous error conditions Starting test on /tmp/cctest.28984 Test on /tmp/cctest.28984 passed Skiping KEYRING: test - unregistered type Starting test on MEMORY:/tmp/cctest.28984 Test on MEMORY:/tmp/cctest.28984 passed Starting test on FILE:/tmp/cctest.28984 Test on FILE:/tmp/cctest.28984 passed [...] Thanks; Regards, Michael