From owner-freebsd-mips@freebsd.org Fri Jun 3 10:11:02 2016 Return-Path: Delivered-To: freebsd-mips@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 66F68B66D63 for ; Fri, 3 Jun 2016 10:11:02 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from nh503-vm14.bullet.mail.kks.yahoo.co.jp (nh503-vm14.bullet.mail.kks.yahoo.co.jp [183.79.56.200]) by mx1.freebsd.org (Postfix) with SMTP id 0A5931C18 for ; Fri, 3 Jun 2016 10:11:01 +0000 (UTC) (envelope-from yamori813@yahoo.co.jp) Received: from [183.79.100.140] by nh503.bullet.mail.kks.yahoo.co.jp with NNFMP; 03 Jun 2016 10:09:05 -0000 Received: from [183.79.100.133] by t503.bullet.mail.kks.yahoo.co.jp with NNFMP; 03 Jun 2016 10:09:05 -0000 Received: from [127.0.0.1] by omp502.mail.kks.yahoo.co.jp with NNFMP; 03 Jun 2016 10:09:05 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 396226.19357.bm@omp502.mail.kks.yahoo.co.jp Received: (qmail 23136 invoked by uid 60001); 3 Jun 2016 10:09:05 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.jp; s=yj20110701; t=1464948544; bh=OGZ5HD+9Y6ukJ3ca90dXOB9xQSj0AhBxVJyQkMOhuO8=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=nbPRQke2KePPx1Uotsf6pBAHtn4Hq67RPM2mydGpWFUa2hRAEpxXcSTrmLUWZpKrGVmxRG+/5uG948kCje649jzcc8J7QAiEqwOT1x7LW/IUSuESNs1Qw3Lz8vE9M3GupDDOn57jR+hNuwdi0aYKpXdtaxS2HVEO8Vfg8DEq4nA= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=yj20110701; d=yahoo.co.jp; h=Message-ID:X-YMail-OSG:Received:X-Mailer:X-YMail-JAS:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=NV8Qsss0O6u6iTuHoyH/l4HYxHsyv3ySHgqGQS/0giom6gsPsMmRIiwde0HOAamPXrf04A24fWoeV86AcVqqL4G7ONQfrr4Ot0x6+9jTpOgscHS7/V6YaPWYujSw3EMBcHu0Xxk+T2JqweoRwowTReCMsCKLIJTr5AIhUCWFLd0=; Message-ID: <964617.17188.qm@web101705.mail.ssk.yahoo.co.jp> X-YMail-OSG: CWn.zEcVM1lOwY0m4UcMUmH90SrGT.rkpgy7SRuKkfR14MuFNAyLX.MkCH_TcDLBVnkU6g7worC_bDJABvyBwHheWMnxjln6aK8xFZ3YVSDQI8MRofTKnN8W4lyQ0eX5DDbwZRX50e1cC.5TIuzSGgKSO7fF1yVVMYiOv3WCkxMNaKpQEAfBN0ZaiEMJR9DvcIJWa.nO8tW_ytkmKCvrO1KFWaqA6FbY_LPQ7sj0WIekkyZ8ka2UvULOy45._OAcbhgbR9Bm8XmKXjh9U.3N_CCFvQW5epWPYSXLOvTAUaGdpWUhO6bNALjOVy_rmaGRHo.KG9bC57jxbyyN143tEhRo4nIerH6t7pAyLipbGMYIkvLFSdTeoxUt1FFX5owHxLU1iu51cQy_omAjjPyKONIKdqpQqDJM5ZhQw7.3RX_n7vts2ZSX0j.dlmTW4bIylkCPCsCa0wRRBSml7RYluYiTtNQPHRL5Zoh_.JFNWlP6qHWnRPCfvgDs_VKRuQvV5RLunlOgIcgGUvpvbhaGjHCEywwi9YN_QkXEcQpxWNb0zwzDGqKrL9Nv Received: from [110.134.196.215] by web101705.mail.ssk.yahoo.co.jp via HTTP; Fri, 03 Jun 2016 19:09:04 JST X-Mailer: YahooMailWebService/0.8.111_69 X-YMail-JAS: twZOhvoVM1nnybxtEaHKa5ivEUAQgaRvk4o2iUabtyFsE_d3uaI4xlZuHAx5BCELU5lubCupDn51m4PhtTlPLJieqPTX1M1dzduxBX28pHwjVMzKTmBp0zDTEuLgRznOdW3. Date: Fri, 3 Jun 2016 19:09:04 +0900 (JST) From: Mori Hiroki Reply-To: Mori Hiroki Subject: elftoolchain build error To: "freebsd-mips@freebsd.org" MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jun 2016 10:11:02 -0000 Hi=A0=0A=0AI have build error on today's head source. Some one work this?= =0A=0Acc=A0 -O2 -pipe=A0 -I/usr/home/hiroki/data/git/freebsd/contrib/elftoo= lchain/libel=0Aftc -I/usr/home/hiroki/data/git/freebsd/contrib/elftoolchain= /common -MD=A0 -MF.=0Adepend.elftc_reloc_type_str.o -MTelftc_reloc_type_str= .o -std=3Dgnu99=A0 =A0 -I/usr/=0Ahome/hiroki/ZRouter/obj//usr/home/hiroki/Z= Router2/zrouter/tmp//mips.mipsel/us=0Ar/home/hiroki/data/git/freebsd/tmp/le= gacy/usr/include -c /usr/home/hiroki/dat=0Aa/git/freebsd/contrib/elftoolcha= in/libelftc/elftc_reloc_type_str.c -o elftc_r=0Aeloc_type_str.o=0A/usr/home= /hiroki/data/git/freebsd/contrib/elftoolchain/libelftc/elftc_reloc_t=0Aype_= str.c: In function 'elftc_reloc_type_str':=0A/usr/home/hiroki/data/git/free= bsd/contrib/elftoolchain/libelftc/elftc_reloc_t=0Aype_str.c:95: error: 'EM_= AARCH64' undeclared (first use in this function)=0A/usr/home/hiroki/data/gi= t/freebsd/contrib/elftoolchain/libelftc/elftc_reloc_t=0Aype_str.c:95: error= : (Each undeclared identifier is reported only once=0A/usr/home/hiroki/data= /git/freebsd/contrib/elftoolchain/libelftc/elftc_reloc_t=0Aype_str.c:95: er= ror: for each function it appears in.)=0A From owner-freebsd-mips@freebsd.org Fri Jun 3 20:47:19 2016 Return-Path: Delivered-To: freebsd-mips@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 CFFD4B6873C for ; Fri, 3 Jun 2016 20:47:19 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-io0-x230.google.com (mail-io0-x230.google.com [IPv6:2607:f8b0:4001:c06::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9BBCE184C for ; Fri, 3 Jun 2016 20:47:19 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: by mail-io0-x230.google.com with SMTP id p194so89299635iod.1 for ; Fri, 03 Jun 2016 13:47:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=VqGiGcyDSq9cvE8NfA/VnZI9TqjxIldJdsBkNHcpdY8=; b=E/oX5jvOcnBPP8spH+P/oeJ1MUtrdEIGuR7f6FcjHjYcm8GYNffSr307LgXJB2HhoD cVRkjv/Qk0RPegaGCQm9l8aYSSaQr2qiSSrEYttLxWagYhQMw5TjLmuaNb3O3zdkzcED n0xkouDiIg8zb1amPiKFhToVtbmbEh66BPAe/45pbUJz5ynIWbmSE7l12gyspcwlVFtW Md9TjfRXJNY4cwkJeDRXJMD55UUslUkpdo9/e4A0Y6maAxOT0tKzIQT9Tn+43S/jywRX fbHkQu/8qSxh/1XRCVEImYGxcHM3d3HalnWykro6PaEmvvrXZeZpZNRhsv0ZwywimF0w ODIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=VqGiGcyDSq9cvE8NfA/VnZI9TqjxIldJdsBkNHcpdY8=; b=cZHWKjc2ZX+JZ+BaazWs3c0o5mPy5kiJ7yQqc0QGUoAkZ5m3BnJ694ttPaSMYuEnwC +Z5GSWrUXbs6RScN5tb9IIXpvwOmVVLgCLbjIxRsza+Nbm2GQoTksrF7BJeK2T8fRKTk kPu8yqGxTSa8IFeV5AcMQz7YFp7hRV2FHqST95PFvmlNUGEPv5tXCrv9ebFZIM/wWv/j 3qXRa0no4un6XLD/B4oSyMPVwYXTovWxGPQuFUNihltv0+YDZANBCVOOIPOwqKKeWOq+ 9vc0FRVy8KvV4W4dILuZJ4JWYmhve1QFKxZBfLN2jUpJdvGo0G64EE6cn8ZgzOyfzhkq 8CTw== X-Gm-Message-State: ALyK8tL0bh/r4wvP5uQMW7fe/iTOoC/lrjoFlLSr56LThDHR7CzOxMbdlgdWSP58WYex+MCoUkQO4S1cblYnkQ== X-Received: by 10.36.73.3 with SMTP id z3mr2367708ita.68.1464986839070; Fri, 03 Jun 2016 13:47:19 -0700 (PDT) MIME-Version: 1.0 Sender: carpeddiem@gmail.com Received: by 10.107.27.197 with HTTP; Fri, 3 Jun 2016 13:46:59 -0700 (PDT) In-Reply-To: <964617.17188.qm@web101705.mail.ssk.yahoo.co.jp> References: <964617.17188.qm@web101705.mail.ssk.yahoo.co.jp> From: Ed Maste Date: Fri, 3 Jun 2016 16:46:59 -0400 X-Google-Sender-Auth: ruyBJza-xdko9Ij2qbSByF8om3E Message-ID: Subject: Re: elftoolchain build error To: Mori Hiroki Cc: "freebsd-mips@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jun 2016 20:47:19 -0000 On 3 June 2016 at 06:09, Mori Hiroki wrote: > > /usr/home/hiroki/data/git/freebsd/contrib/elftoolchain/libelftc/elftc_reloc_t > ype_str.c: In function 'elftc_reloc_type_str': > /usr/home/hiroki/data/git/freebsd/contrib/elftoolchain/libelftc/elftc_reloc_t > ype_str.c:95: error: 'EM_AARCH64' undeclared (first use in this function) What is your build host (version)? EM_AARCH64 has been in the system headers on both current and stable/10 for over a year and a half, so is available in FreeBSD 10.1 and later. This problem could occur if the build host is older than that. If that's the case I recommend updating your build host. If newer, can you please run "ident /usr/include/sys/elf_common.h" and report the version?