From owner-freebsd-questions@FreeBSD.ORG Wed Oct 28 09:54:02 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9E4921065694 for ; Wed, 28 Oct 2009 09:54:02 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from mail-ew0-f218.google.com (mail-ew0-f218.google.com [209.85.219.218]) by mx1.freebsd.org (Postfix) with ESMTP id 38AFC8FC1B for ; Wed, 28 Oct 2009 09:54:01 +0000 (UTC) Received: by ewy18 with SMTP id 18so540707ewy.43 for ; Wed, 28 Oct 2009 02:54:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:cc:content-type; bh=D9PfpVhHLL8142IPyhH+2wjDoCOiXJFb1CqZTNQiMXw=; b=FjthlAcuWYDc8PIWXl3b+h151iXOaEhRASXyi6g6EhpHmGHUrJSAeQRtEm8wsSGqYi WZhH0Wpr3Uz5JPumLB3QiHmZrEDTEE/miLlFWaI0db4thuC1zcCtxW67XbfxqsHw6bot gkiELZ8Y88/D3Qb9fvJviE0cZp+C8pko6OxT8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=w9/WIuWJ/JnkPku4htHETSqt7+j+lLHAr/bN37VUEB77L+oSd7IZxWac/QpUUiHyfK vqmL5P4OiJ2uVxPTIzDiFTzkVlcffaL+gw7fFn4TYvBCuCej0S7TZln7l8K3P2GBsphX EdVkNLwr3xAqG/mHbX3z4W3TFCTskBZZgZa/Y= MIME-Version: 1.0 Received: by 10.216.93.4 with SMTP id k4mr3120687wef.155.1256723641129; Wed, 28 Oct 2009 02:54:01 -0700 (PDT) Date: Wed, 28 Oct 2009 09:54:01 +0000 Message-ID: From: "b. f." To: freebsd@t41t.com Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@FreeBSD.org Subject: Re: gcc -pg and ld error, "cannot find -lgcc_p" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Oct 2009 09:54:02 -0000 >> > Use sysinstall to add the proflibs distribution. >> >> Or one could rebuild/install world (and kernel if necessary) >> after investigating the "NO_PROFILE" option in /etc/make.conf. > >There's only a PERL_VERSION in make.conf. Since sysinstall doesn't work >(this is -p4, not a base media install), how does one go about installing >proflibs? I didn't see anything related to proflibs in the csup files. If no corresponding binary distribution is available, and /usr/lib/libgcc_p.a and the other profiled libraries are not installed on your system, then you'll have to build them from source. Install the proper versions of the base system sources, if you don't already have them. Make sure that WITHOUT_PROFILE, NO_PROFILE, and NOPROFILE are not defined in your build environment, or in any included makefiles like /etc/make.conf or /etc/src.conf, and that MK_PROFILE is not defined to be "no" in those places, either. Then rebuild and reinstall world and kernel, as described in /usr/src/UPDATING. Or, if you know what you're doing, you can build and install only the needed libraries by hand. Most of the profiled libraries are automatically built along with their non-profiled counterparts by commands in /usr/share/mk/bsd.lib.mk. b.