RT RT/krbdev.mit.edu: Ticket #927 osf1 -oldstyle_liblookup fails with gcc Signed in as guest.
[Logout]

[Home] [Search] [Configuration]

[Display] [History] [Basics] [Dates] [People] [Links] [Jumbo]

 
 

 The Basics  
Id
927
Status
resolved
Worked
0 min
Priority
75/
Queue
krb5
 

 Keyword Selections  
Component
  • krb5-build
Tags
Version_reported
  • 1.2.2
Version_Fixed
  • 1.4
Target_Version
 

 Relationships  
Depends on:
Depended on by:
Parents:
Children:

Refers to:
Referred to by:
 
 Dates  
Created: Mon Mar 12 14:50:00 2001
Starts: Not set
Started: Sat Feb 8 02:41:35 2003
Last Contact: Wed Sep 22 17:57:34 2004
Due: Not set
Updated: Mon Nov 15 22:21:53 2004 by tlyu
 

 People  
Owner
 tlyu
Requestors
 guenther@wsu.edu
Cc
 
AdminCc
 
 

 More about guenther@wsu.edu  
Comments about this user:
No comment entered about this user
This user's 25 highest priority tickets:
 

History   Display mode: [Brief headers] [Full headers]
      Mon Aug 19 14:24:51 2002  RT_System - Default: Import/ changed from to    
     
From root@tigger.it.wsu.edu  Mon Mar 12 14:49:01 2001
Received: from fort-point-station.mit.edu (FORT-POINT-STATION.MIT.EDU [18.72.0.53])
	by rt-11.mit.edu (8.9.3/8.9.3) with ESMTP id OAA19686
	for <bugs@RT-11.mit.edu>; Mon, 12 Mar 2001 14:49:01 -0500 (EST)
Received: from tigger.it.wsu.edu (IDENT:root@tigger.it.wsu.edu [134.121.11.6])
	by fort-point-station.mit.edu (8.9.2/8.9.2) with ESMTP id OAA24152
	for <krb5-bugs@mit.edu>; Mon, 12 Mar 2001 14:49:01 -0500 (EST)
Received: (from root@localhost)
	by tigger.it.wsu.edu (8.9.3/8.9.3) id LAA08333;
	Mon, 12 Mar 2001 11:48:13 -0800
Message-Id: <200103121948.LAA08333@tigger.it.wsu.edu>
Date: Mon, 12 Mar 2001 11:48:13 -0800
From: guenther@wsu.edu
Reply-To: guenther@wsu.edu
To: krb5-bugs@mit.edu
Subject: krb5-build on tru64 v5.1
X-Send-Pr-Version: 3.99

>Number:         927
>Category:       krb5-build
>Synopsis:       error while building k5 1.2.2
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    tlyu
>State:          open
>Class:          support
>Submitter-Id:   unknown
>Arrival-Date:   Mon Mar 12 14:50:00 EST 2001
>Last-Modified:  Fri Mar 16 14:48:00 EST 2001
>Originator:     guenther@wsu.edu
>Organization:
Washington State University
>Release:        krb5-1.2.2
>Environment:
Tru 64 Alpha on v5.1
System: athena.it.wsu.edu
Architecture: alpha

>Description:
When compiling with gcc I get:

gcc -DKRB5_DNS_LOOKUP_KDC=1 -DKRB5_DNS_LOOKUP=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4
-DSIZEOF_LONG=8 -DHAVE_UNISTD_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STAT=1 -DHAVE_ACCESS=1
-DKRB5_KRB4_COMPAT -I../../include -I./../../include -I../../include/krb5
-I./../../include/krb5 -I. -I./../et  -c argv_parse.c
argv_parse.c: In function `argv_parse':
argv_parse.c:49: warning: type mismatch in implicit declaration for built-in function
`strlen'
gcc -L../../lib -Wl,-oldstyle_liblookup -o test_profile test_profile.o \
        argv_parse.o prof_tree.o prof_file.o prof_parse.o prof_get.o prof_set.o
prof_err.o prof_init.o -lcom_err
collect2: ldstyle_liblookup: cannot open as COFF file
gmake[2]: *** [test_profile] Error 1
gmake[2]: Leaving directory `/usr/local/src/krb5/krb5-1.2.2/src/util/profile'
gmake[1]: *** [all-recurse] Error 1
gmake[1]: Leaving directory `/usr/local/src/krb5/krb5-1.2.2/src/util'
gmake: *** [all-recurse] Error 1

It looks like it mangled the "-oldstyle_liblookup" on the compile. Wondering if it
was a problem with "make" I reran with "gmake" but it didn't make any difference.

>How-To-Repeat:

>Fix:

>Audit-Trail:

From: Dean Guenther <guenther@wsu.edu>
To: krb5-bugs@mit.edu, tlyu@mit.edu
Cc:  Subject: Re[2]: krb5-build/927: krb5-build on tru64 v5.1
Date: Tue, 13 Mar 2001 08:30:28 -0800 (PST)

 I removed the "-oldstyle_liblookup" from the link and it
 appears to have gotten around the error. Did I cripple
 anything by removing the "-oldstyle_liblookup"? -- Dean

 On Mon, 12 Mar 2001 14:50:01 -0500 (EST)  <krb5-bugs@mit.edu> wrote:

 > Thank you very much for your problem report.
 > It has the internal identification `krb5-build/927'.
 > The individual assigned to look at your
 > report is: tlyu.
 >
 > >Category:       krb5-build
 > >Responsible:    tlyu
 > >Synopsis:       error while building k5 1.2.2
 > >Arrival-Date:   Mon Mar 12 14:50:00 EST 2001


 --
 Dean Guenther                   Internet: guenther@wsu.edu
 Washington State University     AT&T:     509 335-0433
 Pullman, WA. 99164-1222         fax:      509 335-0540
 www & UNIX System Admin



From: Dean Guenther <guenther@wsu.edu>
To: krb5-bugs@mit.edu, tlyu@mit.edu
Cc:  Subject: Re[3]: krb5-build/927: krb5-build on tru64 v5.1
Date: Fri, 16 Mar 2001 11:46:21 -0800 (PST)

 Please note that if I use cc instead of gcc I do not have a
 problem compiling kerberos on Tru64 5.1. -- Dean


 On Tue, 13 Mar 2001 08:30:28 -0800 (PST) Dean Guenther <Dean Guenther
<guenther@wsu.edu>> wrote:

 > I removed the "-oldstyle_liblookup" from the link and it
 > appears to have gotten around the error. Did I cripple
 > anything by removing the "-oldstyle_liblookup"? -- Dean
 >
 > On Mon, 12 Mar 2001 14:50:01 -0500 (EST)  <krb5-bugs@mit.edu> wrote:
 >
 > > Thank you very much for your problem report.
 > > It has the internal identification `krb5-build/927'.
 > > The individual assigned to look at your
 > > report is: tlyu.
 > >
 > > >Category:       krb5-build
 > > >Responsible:    tlyu
 > > >Synopsis:       error while building k5 1.2.2
 > > >Arrival-Date:   Mon Mar 12 14:50:00 EST 2001
 >
 >
 > --
 > Dean Guenther                   Internet: guenther@wsu.edu
 > Washington State University     AT&T:     509 335-0433
 > Pullman, WA. 99164-1222         fax:      509 335-0540
 > www & UNIX System Admin
 >
 >


 --
 Dean Guenther                   Internet: guenther@wsu.edu
 Washington State University     AT&T:     509 335-0433
 Pullman, WA. 99164-1222         fax:      509 335-0540
 www & UNIX System Admin


>Unformatted:


Download (untitled) 4.8k
      Mon Aug 19 14:24:51 2002  RT_System - Component krb5-build added    
      Mon Aug 19 14:24:51 2002  RT_System - Version_reported 1.2.2 added    
      Sat Feb  8 02:41:35 2003  tlyu - Subject changed from error while building k5 1.2.2 to error while building k5 1.2.2    
      Sat Feb  8 02:41:35 2003  tlyu - Status changed from new to open    
      Sat Feb  8 02:41:35 2003  tlyu - Comments added    
     
A real fix would probably involve looking to see if GNU ld is used with
gcc, which is a much more involved test than what we currently do.


Download (untitled) 138b
      Sat Feb  8 02:42:45 2003  tlyu - Subject changed from error while building k5 1.2.2 to osf1 -oldstyle_liblookup fails with gcc    
      Wed Sep 22 17:57:30 2004  tlyu - Status changed from open to resolved    
      Wed Sep 22 17:57:31 2004  tlyu - Correspondence added    
     
From: tlyu@mit.edu
Subject: CVS Commit

Only use -Wl,-oldstyle_liblookup if using native linker.  Check for
native linker if using gcc.


To generate a diff of this commit:



	cvs diff -r5.473 -r5.474 krb5/src/ChangeLog
	cvs diff -r1.304 -r1.305 krb5/src/aclocal.m4
	cvs diff -r5.225 -r5.226 krb5/src/config/ChangeLog
	cvs diff -r5.32 -r5.33 krb5/src/config/shlib.conf


Download (untitled) 330b
      Mon Nov 15 22:21:52 2004  tlyu - Version_Fixed 1.4 added