Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Apr 2001 09:10:04 -0700 (PDT)
From:      Will Andrews <will@physics.purdue.edu>
To:        freebsd-bugs@FreeBSD.org
Subject:   FW: Re: bin/26666: New port: pam_ssh (moved out from base)
Message-ID:  <200104181610.f3IGA4R92573@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/26666; it has been noted by GNATS.

From: Will Andrews <will@physics.purdue.edu>
To: obrien@FreeBSD.org
Cc: ajk@iu.edu, FreeBSD GNATS DB <FreeBSD-gnats-submit@FreeBSD.org>
Subject: FW: Re: bin/26666: New port: pam_ssh (moved out from base)
Date: Wed, 18 Apr 2001 10:58:56 -0500

 David,
 
 Am I right that revs 1.87 and 1.61.2.12 of src/sys/sys/param.h denote
 the removal of -lgcc_pic?  I need an ${OSVERSION} check on this to regex
 out the -lgcc_pic for newer systems.
 
 See: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/sys/param.h
 
 Andy,
 
 It may be easier to simply use a regex in the port Makefile to adjust
 settings, at least until you can make a similar adjustment in the
 pam_ssh Makefile.  I think you'd want something similar to this:
 
 OSVERSION!=	/sbin/sysctl -n kern.osreldate
 .if (${OSVERSION} <= 420001)
 LDADD+=	-lgcc_pic
 .endif
 
 You could wrap this with an .if (${OSNAME} == "FreeBSD")  if you are so
 inclined to make it portable among BSD (with a similar definition of
 course :-).
 
 ----- Forwarded message from "Andrew J. Korty" <ajk@iu.edu> -----
 
 Date: Wed, 18 Apr 2001 10:39:37 -0500 (EST)
 From: "Andrew J. Korty" <ajk@iu.edu>
 To: <will@FreeBSD.org>
 Cc: <freebsd-bugs@FreeBSD.org>
 Subject: Re: bin/26666: New port: pam_ssh (moved out from base)
 
 On Tue, 17 Apr 2001 will@FreeBSD.org wrote:
 
 > State-Changed-Why:
 > Doesn't build on 4.3-RC:
 >
 > cc -pipe -fpic -DPIC -O -pipe  -Wall -c rijndael.c -o rijndael.So
 > cc -pipe -fpic -DPIC -O -pipe  -Wall -c xmalloc.c -o xmalloc.So
 > building shared library pam_ssh.so
 > /usr/libexec/elf/ld: cannot find -lgcc_pic
 > *** Error code 1
 >
 > Stop in /net/puck/will/ports/security/pam_ssh/work/pam_ssh-1.5.
 > *** Error code 1
 >
 > Removing -lgcc_pic fixes it.  What shall we do here?
 
 I'm not sure why I was using -lgcc_pic before, but it doesn't appear
 to be necessary under 4.2-RELEASE.  I've removed it from the Makefile
 and moved the tag for 1.5, but I can't log in to SourceForge to
 change replace the file.  I'll try later.
 
 If you want, just make a patch to remove it.
 
 -- 
 Andrew J. Korty, Principal Security Engineer, GCIA
 Office of the Vice President for Information Technology
 Indiana University
 
 ----- End forwarded message -----
 
 -- 
 wca

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200104181610.f3IGA4R92573>