From owner-freebsd-current@FreeBSD.ORG Sat Sep 28 19:37:42 2013 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 47ED7795; Sat, 28 Sep 2013 19:37:42 +0000 (UTC) (envelope-from vsityz@gmail.com) Received: from mail-lb0-x22b.google.com (mail-lb0-x22b.google.com [IPv6:2a00:1450:4010:c04::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 992382E82; Sat, 28 Sep 2013 19:37:41 +0000 (UTC) Received: by mail-lb0-f171.google.com with SMTP id u14so3344369lbd.30 for ; Sat, 28 Sep 2013 12:37:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:disposition-notification-to:date:from:user-agent :mime-version:to:cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=zStfiy70xFrx1Tf+IVl9XmxMjNysRXZlV124l3s+8Fk=; b=eSSF1xsCy6JCEdGOpsbXHuoLV0SOnRZBTPHH/P1mUs4FyhV3BctLmKk9gd/jqHNhpW OY9LqSi65rsdy8JSMlUVnIMzYh8AwUl0uVfH+DWEErR5a8OpvFSvMbW6rcyGTs10vn9z PTi1juQ26aqXFBv4LIhcLu4CwGw+2G9C9OaMEEyt0MbXkMcFp6EZgpc6np91PeGGKnq7 BLqsfde7o4+z0+pQ8P2VuCoVc5yFMWuwYv1eF+jHrlBGF+DO3ptEpqu+UuBWhIHkfcNi GzU6QcnpXnwjpooQPxxrG1fc6a5HQTkb9c4MMXbLbJN+vc59jSLFEmBKc1DSSpD7NiAo egFg== X-Received: by 10.152.29.103 with SMTP id j7mr11452723lah.7.1380397059650; Sat, 28 Sep 2013 12:37:39 -0700 (PDT) Received: from scorpion.kiev.ua ([130.185.28.132]) by mx.google.com with ESMTPSA id e4sm10111673lba.15.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 28 Sep 2013 12:37:38 -0700 (PDT) Message-ID: <52473000.7060309@gmail.com> Date: Sat, 28 Sep 2013 22:37:36 +0300 From: Alexander Panyushkin User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.0 MIME-Version: 1.0 To: Steve Kargl Subject: Re: graphics/poppler-glib not build References: <5246E64C.3080204@gmail.com> <13ADF1E8-B97E-44E7-8605-B0A4013EDE69@FreeBSD.org> <5247111B.1070702@gmail.com> <0869A0C6-3FCB-4413-9FC6-BC5D3A85BDD5@freebsd.org> <5247255A.6@gmail.com> <20130928190255.GA93842@troutmask.apl.washington.edu> In-Reply-To: <20130928190255.GA93842@troutmask.apl.washington.edu> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Cc: David Chisnall , current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Sat, 28 Sep 2013 19:37:42 -0000 *make.conf* # ### Build whith GCC 4.6 # ======================== .if ${.CURDIR:N*/ports/graphics/poppler-glib*} == "" CFLAGS= -O2 -march=athlon64-sse3 -mtune=athlon64-sse3 -pipe -Wformat -Wformat-security CPPFLAGS+= -D_FORTIFY_SOURCE=2 CXXFLAGS+=-rpath /usr/local/lib/gcc46 USE_GCC=4.6 CC=cc CXX=c++ CPP=cpp .endif *portmaster graphics/poppler-glib* [...] ===> Building for poppler-glib-0.22.2 gmake[1]: Вход в каталог `/usr/ports/graphics/poppler-glib/work/poppler-0.22.2/poppler' CXX CairoFontEngine.lo CXX CairoOutputDev.lo CXX CairoRescaleBox.lo CXXLD libpoppler-cairo.la c++: warning: argument unused during compilation: '-pthread' c++: warning: argument unused during compilation: '-pthread' c++: warning: argument unused during compilation: '-pthread' /usr/bin/ld: cannot find -lstdc++ c++: error: linker command failed with exit code 1 (use -v to see invocation) gmake[1]: *** [libpoppler-cairo.la] Ошибка 1 On 28.09.2013 22:02, Steve Kargl wrote: > On Sat, Sep 28, 2013 at 09:52:10PM +0300, Alexander Panyushkin wrote: >> 28.09.2013 20:28, David Chisnall ??????????: >>> Yes, because libstdc++ is no longer part of the base system, >> Yes, but in system installed GCC 4.6.3, and libstdc++ is present >> >> pkg_info -L gcc-4.6.3 | grep libstdc >> /usr/local/share/gcc-4.6.3/python/libstdcxx/__init__.py >> /usr/local/share/gcc-4.6.3/python/libstdcxx/v6/__init__.py >> /usr/local/share/gcc-4.6.3/python/libstdcxx/v6/printers.py >> /usr/local/lib/gcc46/libstdc++.a >> /usr/local/lib/gcc46/libstdc++.so.6-gdb.py >> /usr/local/lib/gcc46/libstdc++.so >> /usr/local/lib/gcc46/libstdc++.so.6 >> > Try adding > > CXXFLAGS+=-rpath /usr/local/lib/gcc46 > > to the Makefile. >