Skip Menu |
 

Download (untitled) / with headers
text/plain 1.5KiB
From jlb@twu.net Wed Nov 19 16:39:57 2003
Received: from pacific-carrier-annex.mit.edu (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.7.21.83]) by krbdev.mit.edu (8.9.3p2) with ESMTP
id QAA01556; Wed, 19 Nov 2003 16:39:57 -0500 (EST)
Received: from twu.net (bilbo.twu.net [64.246.24.15])
by pacific-carrier-annex.mit.edu (8.12.4/8.9.2) with ESMTP id hAJLdt7O007427
for <krb5-bugs@mit.edu>; Wed, 19 Nov 2003 16:39:56 -0500 (EST)
Received: from twu.net (localhost.localdomain [127.0.0.1])
by twu.net (8.12.9/8.12.9) with ESMTP id hAJLaRHI018890
for <krb5-bugs@mit.edu>; Wed, 19 Nov 2003 16:36:27 -0500
Received: from localhost (jlb@localhost)
by twu.net (8.12.9/8.12.8/Submit) with ESMTP id hAJLaRGb018887
for <krb5-bugs@mit.edu>; Wed, 19 Nov 2003 16:36:27 -0500
Date: Wed, 19 Nov 2003 16:36:27 -0500 (EST)
From: JLB <jlb@twu.net>
To: krb5-bugs@mit.edu
Subject: Kerberos 5 will not compile on Solaris 7/GCC or 8/GCC
Message-ID: <Pine.LNX.4.53.0311191500440.18834@twu.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

Show quoted text
>Submitter-Id: jlb
>Originator: Jessica Leah Blank
>Organization: jlb
>Confidential: no
>Synopsis: Kerberos 5 will not compile on Solaris 7, GCC2.95.3
>Severity: critical
>Priority: high
>Category: krb5-build
>Class: support
>Release: 1.3.1
>Environment: <Sun Enterprise 220R, Solaris 7 with GCC2.95.3, stock libraries>
>Machine: UltraSPARC
>Description: It simply won't build, and I can't figure out why.

Show quoted text
>How-To-Repeat: ./configure ; make

http://jlb.twu.net/buildproblems/krb5/solaris7-gcc2.95.3.txt

Show quoted text
>Fix: Don't know! HEEEEEEEEEELP! (Please) :)

--
Jessica L. Blank, Systems Administrator, twu.net
To: rt@krbdev.mit.edu
Cc:
Subject: Re: [krbdev.mit.edu #2016] Kerberos 5 will not compile on Solaris 7, GCC2.95.3
From: Sam Hartman <hartmans@mit.edu>
Date: Wed, 19 Nov 2003 19:00:45 -0500
RT-Send-Cc:
I'm sort of surprised you are seeing this problem. We seem to build
fine on Solaris using Gcc. It may be Solaris 9 but I would be mildly
surprised at a change that mattered.
Ok, there does appear to be a problem with fake-addrinfo.h -- if it's
included prior to any inclusion of stdio.h, it compiles code calling out
to sprintf() without a prototype. This probably is only seen on
platforms where we actually need to use our own getaddrinfo()
implementation.
From: raeburn@mit.edu
Subject: CVS Commit
* fake-addrinfo.h: Include stdio.h.


To generate a diff of this commit:



cvs diff -r1.398 -r1.399 krb5/src/include/ChangeLog
cvs diff -r1.44 -r1.45 krb5/src/include/fake-addrinfo.h
To: krb5-bugs@mit.edu
From: Sam Hartman <hartmans@mit.edu>
Date: Wed, 01 Sep 2004 23:51:20 -0400
Subject: fake-addrinfo.h calls sprintf without including stdio.h


This break the build of 1.3.x on Solaris 7. ASST is believed to
consider this problem critical.


In addition:

1) We seem to have compiler and CPU tests in get-addrinfo.h. That's
wrong; use a feature test macro even if the only way of setting the
feature test macro you know is based on cpu and compiler. The
separation serves as documentation and abstraction and is useful
for porting.

2) || 1 is bad form in committed code. If it really is what you
always want, then remove the other fork of the preprocessor macro.


3) IT seems that we got a thread related pull up to the 1.3.x branch based on this.
From: tlyu@mit.edu
Subject: CVS Commit
pullup from trunk


To generate a diff of this commit:



cvs diff -r1.348.2.31 -r1.348.2.32 krb5/src/include/ChangeLog
cvs diff -r1.34.2.4 -r1.34.2.5 krb5/src/include/fake-addrinfo.h