From owner-cvs-all Thu Oct 26 18:19: 6 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id A2AC037B479; Thu, 26 Oct 2000 18:19:03 -0700 (PDT) Received: (from green@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id SAA33838; Thu, 26 Oct 2000 18:19:03 -0700 (PDT) (envelope-from green@FreeBSD.org) Message-Id: <200010270119.SAA33838@freefall.freebsd.org> From: Brian Feldman Date: Thu, 26 Oct 2000 18:19:03 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libutil stub.c Makefile login_crypt.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG green 2000/10/26 18:19:03 PDT Modified files: lib/libutil Makefile login_crypt.c Added files: lib/libutil stub.c Log: Fix problems people were having with large -O levels with GCC and getting libutil/libcrypt to work properly. I've determined that GCC thinks it can inline all functions, including weak-symboled ones, if it feels like it. Create a new stub.c and move any stubs there to prevent inlining. Thanks to jdp and William S. Duncanson for helping me finally find the problem. Revision Changes Path 1.37 +2 -2 src/lib/libutil/Makefile 1.3 +7 -8 src/lib/libutil/login_crypt.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message