From owner-freebsd-ports@FreeBSD.ORG Fri Mar 15 07:43:37 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id C67CF688 for ; Fri, 15 Mar 2013 07:43:37 +0000 (UTC) (envelope-from zaphod@berentweb.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id 9C33A835 for ; Fri, 15 Mar 2013 07:43:37 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1UGPIe-0000Wq-Pk for freebsd-ports@freebsd.org; Fri, 15 Mar 2013 00:43:36 -0700 Date: Fri, 15 Mar 2013 00:43:36 -0700 (PDT) From: Beeblebrox To: freebsd-ports@freebsd.org Message-ID: <1363333416792-5795794.post@n5.nabble.com> Subject: devel/gettext build fails MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Mar 2013 07:43:37 -0000 As discussed in this thread; http://freebsd.1045724.n5.nabble.com/CURRENT-lang-gcc-fails-to-build-on-CURRENT-with-error-configure-error-no-usable-dependency-style-foud-td5793999.html#a5794760 I recently had to switch gnu-grep and to re-build world. Since then I have been having some other strange compile problems (http://freebsd.1045724.n5.nabble.com/template/NamlServlet.jtp?macro=reply&node=5795763), so I thought I would re-build some of the base ports which the erroneous situation depends on. One of these ports is devel/gettext. I have an installed version built previously but trying to compile now breaks with: libtool: link: c++ -shared -nostdlib /usr/lib/crti.o /usr/lib/crtbeginS.o .libs/lib-asprintf.o .libs/autosprintf.o -L/usr/local/lib -L/usr/lib -lstdc++ -lm -lc -lgcc -lgcc_s /usr/lib/crtendS.o /usr/lib/crtn.o -O2 -march=k8 -Wl,-soname -Wl,libasprintf.so.0 -o .libs/libasprintf.so.0 /usr/bin/ld: .libs/autosprintf.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC .libs/autosprintf.o: could not read symbols: Bad value c++: error: linker command failed with exit code 1 (use -v to see invocation) libtool: link: cc -shared -fPIC -DPIC .libs/lib-asprintf.o .libs/autosprintf.o -L/usr/local/lib -O2 -march=k8 -Wl,-soname -Wl,libasprintf.so.0 -o .libs/libasprintf.so.0 /usr/bin/ld: .libs/autosprintf.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC .libs/autosprintf.o: could not read symbols: Bad value cc: error: linker command failed with exit code 1 (use -v to see invocation) *** [libasprintf.la] Error code 1 Stop in /usr/obj/asp/ports/devel/gettext/work/gettext-0.18.1.1/gettext-runtime/libasprintf. *** [all] Error code 1 Stop in /usr/obj/asp/ports/devel/gettext/work/gettext-0.18.1.1/gettext-runtime/libasprintf. *** [all-recursive] Error code 1 Stop in /usr/obj/asp/ports/devel/gettext/work/gettext-0.18.1.1/gettext-runtime. *** [all] Error code 1 Stop in /usr/obj/asp/ports/devel/gettext/work/gettext-0.18.1.1/gettext-runtime. *** [all-recursive] Error code 1 Stop in /usr/obj/asp/ports/devel/gettext/work/gettext-0.18.1.1. *** [do-build] Error code 1 ccache disabled, make_jobs disabled, same result with both clang and gcc46 Host: 10-Current-amd64-r248212 -- View this message in context: http://freebsd.1045724.n5.nabble.com/devel-gettext-build-fails-tp5795794.html Sent from the freebsd-ports mailing list archive at Nabble.com.