From owner-freebsd-current@freebsd.org Tue Oct 3 16:19:03 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 3451FE4190B; Tue, 3 Oct 2017 16:19:03 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vps1.elischer.org", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 127537FA95; Tue, 3 Oct 2017 16:19:02 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from Julian-MBP3.local (106-68-131-198.dyn.iinet.net.au [106.68.131.198]) (authenticated bits=0) by vps1.elischer.org (8.15.2/8.15.2) with ESMTPSA id v93GIp1m039818 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Tue, 3 Oct 2017 09:18:55 -0700 (PDT) (envelope-from julian@freebsd.org) To: "ports@FreeBSD.org" , freebsd-current From: Julian Elischer Subject: anyone know how to get rid of this error? (10.4/Gcc vs binutils port) Message-ID: <1889a630-f0c6-295d-4fda-8b843841b36d@freebsd.org> Date: Wed, 4 Oct 2017 00:18:46 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US 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, 03 Oct 2017 16:19:03 -0000 Our 10.4 system is using gcc (for now). when we compile the devel/binutils port, we get a failure with a bunch of these errors: `_ZTSN12_GLOBAL__N_110Stub_tableILi64ELb1EEE' referenced in section `.rodata' of aarch64.o: defined in discarded section `.rodata._ZTSN12_GLOBAL__N_110Stub_tableILi64ELb1EEE[_ZTSN12_GLOBAL__N_110Stub_tableILi64ELb1EEE]' of aarch64.o `_ZTSN12_GLOBAL__N_110Stub_tableILi64ELb0EEE' referenced in section `.rodata' of aarch64.o: defined in discarded section `.rodata._ZTSN12_GLOBAL__N_110Stub_tableILi64ELb0EEE[_ZTSN12_GLOBAL__N_110Stub_tableILi64ELb0EEE]' of aarch64.o I managed to defeat these one before but I forget how. possibly the answer is to use clang/clang++ for this item but I tried defining CC and CXX  to clang/clang++ in the Makefile but that didn't seem to help there's probably a USE_CLANG option or something that I haven't seen.