From owner-freebsd-current@FreeBSD.ORG Sat Sep 28 20:31:15 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 1C0FF4F2; Sat, 28 Sep 2013 20:31:15 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id EE82F2126; Sat, 28 Sep 2013 20:31:14 +0000 (UTC) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.7/8.14.7) with ESMTP id r8SKVAK6094328; Sat, 28 Sep 2013 13:31:10 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.7/8.14.7/Submit) id r8SKVAOk094327; Sat, 28 Sep 2013 13:31:10 -0700 (PDT) (envelope-from sgk) Date: Sat, 28 Sep 2013 13:31:10 -0700 From: Steve Kargl To: Alexander Panyushkin Subject: Re: graphics/poppler-glib not build Message-ID: <20130928203110.GA94316@troutmask.apl.washington.edu> 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> <52473000.7060309@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <52473000.7060309@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) 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 20:31:15 -0000 On Sat, Sep 28, 2013 at 10:37:36PM +0300, Alexander Panyushkin wrote: > *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 Should use +=. > CPPFLAGS+= -D_FORTIFY_SOURCE=2 > CXXFLAGS+=-rpath /usr/local/lib/gcc46 > USE_GCC=4.6 If you're doing the above, > CC=cc > CXX=c++ > CPP=cpp why are you doing this? ls /usr/local/bin/*46 /usr/local/bin/c++46* /usr/local/bin/cpp46* /usr/local/bin/g++46* /usr/local/bin/gcc46* /usr/local/bin/gcov46* > /usr/bin/ld: cannot find -lstdc++ > c++: error: linker command failed with exit code 1 (use -v to see > invocation) so ld is not being passed the compiler options? -- Steve