Date: Fri, 3 Jun 2016 19:09:04 +0900 (JST) From: Mori Hiroki <yamori813@yahoo.co.jp> To: "freebsd-mips@freebsd.org" <freebsd-mips@freebsd.org> Subject: elftoolchain build error Message-ID: <964617.17188.qm@web101705.mail.ssk.yahoo.co.jp>
next in thread | raw e-mail | index | archive | help
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: <owner-freebsd-mips@freebsd.org> 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 <freebsd-mips@mailman.ysv.freebsd.org>; 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 <freebsd-mips@freebsd.org>; 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 <freebsd-mips@freebsd.org>; 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 <emaste@freebsd.org> Date: Fri, 3 Jun 2016 16:46:59 -0400 X-Google-Sender-Auth: ruyBJza-xdko9Ij2qbSByF8om3E Message-ID: <CAPyFy2BwHGeGi=8L_SYHk9STXFrJUKsTmfZOdWMbQw-dGKz6mg@mail.gmail.com> Subject: Re: elftoolchain build error To: Mori Hiroki <yamori813@yahoo.co.jp> Cc: "freebsd-mips@freebsd.org" <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 <freebsd-mips.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-mips>, <mailto:freebsd-mips-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-mips/> List-Post: <mailto:freebsd-mips@freebsd.org> List-Help: <mailto:freebsd-mips-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-mips>, <mailto:freebsd-mips-request@freebsd.org?subject=subscribe> X-List-Received-Date: Fri, 03 Jun 2016 20:47:19 -0000 On 3 June 2016 at 06:09, Mori Hiroki <yamori813@yahoo.co.jp> 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?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?964617.17188.qm>