From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18171 invoked by alias); 26 Jul 2016 23:04:16 -0000 Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Received: (qmail 18162 invoked by uid 89); 26 Jul 2016 23:04:16 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.6 required=5.0 tests=AWL,BAYES_05,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=H*r:channel, H*r:secured, H*r:over, H*r:EHLO X-HELO: p01c11o148.mxlogic.net Received: from p01c11o148.mxlogic.net (HELO p01c11o148.mxlogic.net) (208.65.144.71) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Tue, 26 Jul 2016 23:04:15 +0000 Received: from unknown [76.164.174.81] (EHLO ex-hc1.corp.adtran.com) by p01c11o148.mxlogic.net(mxl_mta-8.5.0-13) with ESMTP id f6ce7975.2b5b2003f940.2964805.00-584.7569747.p01c11o148.mxlogic.net (envelope-from ); Tue, 26 Jul 2016 17:04:15 -0600 (MDT) X-MXL-Hash: 5797ec6f3aaa3def-fc58fb076df5bf5f975c46d4cce4876274b85b0c Received: from unknown [76.164.174.81] (EHLO ex-hc1.corp.adtran.com) by p01c11o148.mxlogic.net(mxl_mta-8.5.0-13) over TLS secured channel with ESMTP id 96ce7975.0.2964790.00-283.7569672.p01c11o148.mxlogic.net (envelope-from ); Tue, 26 Jul 2016 17:04:12 -0600 (MDT) X-MXL-Hash: 5797ec6c67cf4a8f-3587169b0d22d770bf6b975c0f809aeb3a3f6ce9 Received: from ex-mb1.corp.adtran.com ([fe80::51a3:972d:5f16:9952]) by ex-hc1.corp.adtran.com ([fe80::a43f:7ea6:7688:37b%13]) with mapi id 14.03.0301.000; Tue, 26 Jul 2016 18:04:09 -0500 From: ANDY KENNEDY To: 'Stefan Hallas Mulvad' CC: "crossgcc@sourceware.org" Subject: RE: GDB build failure from tip Date: Tue, 26 Jul 2016 23:04:00 -0000 Message-ID: References: <016D099B-EDBA-4F00-89B4-0BC50E95A99E@hallas.nu> In-Reply-To: <016D099B-EDBA-4F00-89B4-0BC50E95A99E@hallas.nu> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-AnalysisOut: [v=2.1 cv=bs1KcRui c=1 sm=1 tr=0 a=0XgpNN2/4a34ymu16SVwsQ==] X-AnalysisOut: [:117 a=0XgpNN2/4a34ymu16SVwsQ==:17 a=6wZVaaWV7AoA:10 a=kj9] X-AnalysisOut: [zAlcOel0A:10 a=xqWC_Br6kY4A:10 a=cAmyUtKerLwA:10 a=wNdsLT-] X-AnalysisOut: [rGEn-3o070pMA:9 a=CjuIK1q_8ugA:10] X-Spam: [F=0.5100000000; CM=0.500; MH=0.510(2016072624); S=0.200(2015072901)] X-MAIL-FROM: X-IsSubscribed: yes X-SW-Source: 2016-07/txt/msg00005.txt.bz2 > It be great if you could post your build.log, or at least some more infor= mation from it. >=20 > A while back I faced a, what seams to be, similar issue. I proposed a pat= ch which was rejected, > however we use it at work and I know it has worked for several other peop= le so give it a try. Looks like others that I have seen on various groups. I don't think this will help in my situation. The problem is that when I "file" the gdb for the cross, it is x86_64. The native doesn't build. I thought the information I provided was enough... Sorry about that! For what it is worth, in the 300-gdb.sh, the test above was _NATIVE_..., then the CC was set to TARGET, and vice versa: Line 95: CC_for_gdb=3D"${CT_HOST}-gcc ${CT_CFLAGS_FOR_HOST} ${CT_LDFLAGS_FOR= _HOST}" LD_for_gdb=3D"${CT_HOST}-ld ${CT_LDFLAGS_FOR_HOST}" if [ "${CT_GDB_CROSS_STATIC}" =3D "y" ]; then CC_for_gdb+=3D" -static" LD_for_gdb+=3D" -static" fi Line 195: [ "${CT_TOOLCHAIN_ENABLE_NLS}" !=3D "y" ] && \ native_extra_config+=3D("--disable-nls") if [ "${CT_GDB_NATIVE_STATIC}" =3D "y" ]; then CC_for_gdb=3D"${CT_TARGET}-gcc -static" LD_for_gdb=3D"${CT_TARGET}-ld -static" else CC_for_gdb=3D"${CT_TARGET}-gcc" LD_for_gdb=3D"${CT_TARGET}-ld" fi Thanks for the info, though! Andy >=20 > Hope it works, >=20 > Best regards, > Stefan -- For unsubscribe information see http://sourceware.org/lists.html#faq