From owner-freebsd-current@freebsd.org Tue Aug 1 14:18:54 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A7568DAEB1A for ; Tue, 1 Aug 2017 14:18:54 +0000 (UTC) (envelope-from mizhka@gmail.com) Received: from mail-ua0-f171.google.com (mail-ua0-f171.google.com [209.85.217.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6B0787D0D6; Tue, 1 Aug 2017 14:18:54 +0000 (UTC) (envelope-from mizhka@gmail.com) Received: by mail-ua0-f171.google.com with SMTP id w45so7551067uac.5; Tue, 01 Aug 2017 07:18:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=YwqQCctZzJO0RdWU2xb3Z865/BdCFVlwj6eWvQkTBgU=; b=S/yJW6khWa6x5Fk2a4A35BspxcEVDo6lX0QpWTm45pujy656xCgQbabLlZxhhh5xV5 t3ioSJyrb1Wsa3cji+nx2LAQDz7lle7LuW/R/WZYxxR/cvfLRDNBS/l28BE2tEXYV+8q Go8IhDH9I6NBNh2Zh1gErtQeSQs6zSDs2XOi3KCz89cMK88lBLSH1v0A6ELHGrZU79Ru VPqnaO8OPfOnqQYHlabTrvED9BfbPBUPph1aZalt+aoVdyAF3iN8s6ZfKL9H3hGvm2yj Ci3nnC+Qr3oyNvJugzugs8sHECJ0+Lb9WtmWQVXi9j0e5+VHuslLzHesTM6jbLUm8hDv SnZg== X-Gm-Message-State: AIVw110ZFMkhEA+mZB09r7wc1WBBekC5mZl3SBuUrtwlkpTgwG7UN5SH IqBZtVMdJOQH+IhqluI= X-Received: by 10.176.85.70 with SMTP id u6mr14175546uaa.114.1501587420697; Tue, 01 Aug 2017 04:37:00 -0700 (PDT) Received: from mail-ua0-f173.google.com (mail-ua0-f173.google.com. [209.85.217.173]) by smtp.gmail.com with ESMTPSA id s45sm3582718uac.43.2017.08.01.04.37.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 01 Aug 2017 04:37:00 -0700 (PDT) Received: by mail-ua0-f173.google.com with SMTP id 80so5714006uas.0; Tue, 01 Aug 2017 04:37:00 -0700 (PDT) X-Received: by 10.159.51.73 with SMTP id a9mr13952076uac.44.1501587420114; Tue, 01 Aug 2017 04:37:00 -0700 (PDT) MIME-Version: 1.0 Received: by 10.31.237.67 with HTTP; Tue, 1 Aug 2017 04:36:59 -0700 (PDT) From: Michael Zhilin Date: Tue, 1 Aug 2017 14:36:59 +0300 X-Gmail-Original-Message-ID: Message-ID: Subject: [libelftc] internal library or not? To: Ed Maste , freebsd-current@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Aug 2017 14:18:54 -0000 Hi Ed, freebsd-current, I want to add C++ demangling into sysutils/pstack. In man pages I've found eltfc_demangle, exact what I need. This function belongs to libelftc. "make installworld" installs man pages and include files, but there is no installed library. As results compilation error is occuried. In Makefile I've noticied line "INTERNALLIB=" which avoids installation of ".a" file. Commenting it allows to compile program, but I wonder what is correct way to use elftc_demangle. Is elftoolchain internal and can't be used by ports as all (i.e. man pages and include file to be removed from world installation)? Thank you in advance, Michael.