From owner-freebsd-ports@FreeBSD.ORG Thu Dec 15 10:59:11 2011 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0FFD91065677 for ; Thu, 15 Dec 2011 10:59:11 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 5123F8FC12 for ; Thu, 15 Dec 2011 10:59:09 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id MAA24796; Thu, 15 Dec 2011 12:59:07 +0200 (EET) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1Rb91k-0002BB-7c; Thu, 15 Dec 2011 12:59:04 +0200 Message-ID: <4EE9D2F6.2090906@FreeBSD.org> Date: Thu, 15 Dec 2011 12:59:02 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:8.0) Gecko/20111206 Thunderbird/8.0 MIME-Version: 1.0 To: FreeBSD Ports , Gerald Pfeifer X-Enigmail-Version: undefined Content-Type: text/plain; charset=X-VIET-VPS Content-Transfer-Encoding: 7bit Cc: Subject: lang/gcc on freebsd 10 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Dec 2011 10:59:11 -0000 lang/gcc build would fail for me on FreeBSD 10 (head) with binutils-2.22 installed during its configure step with the errors like the following in config.log: configure:2978: checking for C compiler default output file name configure:3000: /usr/obj/usr/ports/lang/gcc/work/build/./prev-gcc/xgcc -B/usr/obj/usr/ports/lang/gcc/work/build/./prev-gcc/ -B/usr/local/x86_64-portbld-freebsd10.0/bin/ -B/usr/local/x86_64-portbld-freebsd10.0/bin/ -B/usr/local/x86_64-portbld-freebsd10.0/lib/ -isystem /usr/local/x86_64-portbld-freebsd10.0/include -isystem /usr/local/x86_64-portbld-freebsd10.0/sys-include -g -O2 -gtoggle -static-libstdc++ -static-libgcc conftest.c >&5 xgcc: fatal error: -fuse-linker-plugin, but liblto_plugin.so not found It seems that the error occurs because the preceding steps create liblto_plugin.so.0.0 file, but no liblto_plugin.so link to it. Not sure why is that though. Maybe something about platform misdetection. -- Andriy Gapon