From owner-freebsd-current@FreeBSD.ORG Sat Oct 20 17:39:21 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2180A369; Sat, 20 Oct 2012 17:39:21 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id C6EFF8FC14; Sat, 20 Oct 2012 17:39:20 +0000 (UTC) Received: by mail-ob0-f182.google.com with SMTP id wc20so1801227obb.13 for ; Sat, 20 Oct 2012 10:39:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=vS+uekN0V1QwcN0mJnnnJv/OCvSr/LEUF9lqsfqq1ms=; b=WeEAZdppV8JvLtS8Lxmgjxcf9cXJzaOXjmRfyzxypHIqqId6CayeaR+DijnBGqntCv QWghymP+Kl6iubN7W2ZCP+EquzEAfe/g+P0H/O4qr3vpCuEpyymAL2VXjptkP3YyKZOp L5wGV0fBJT/0GtzClYjqHhE31TEtd/WYe59tihd3OHSn3VU1ngZuQEglpQKclyA8FeOY bAEqaxd+xMKV4bMOEoWPYQkE2GywRo6bwXwdsN7Ic4UzUCEnPaHHRuNxxBRyogMXNt0W +idYLW36cHmZS3EgkRM8F9dyEVxfIhTRxKND0R98Q0P+vgJoqCnomxpDhBBJ9hWnC37q CxOQ== MIME-Version: 1.0 Received: by 10.182.150.34 with SMTP id uf2mr3313390obb.66.1350754758727; Sat, 20 Oct 2012 10:39:18 -0700 (PDT) Received: by 10.76.143.33 with HTTP; Sat, 20 Oct 2012 10:39:18 -0700 (PDT) In-Reply-To: <50827C62.2000605@FreeBSD.org> References: <50827C62.2000605@FreeBSD.org> Date: Sat, 20 Oct 2012 10:39:18 -0700 Message-ID: Subject: Re: ranlib: warning: elf_strptr failed: Invalid argument From: Garrett Cooper To: Andriy Gapon Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Sat, 20 Oct 2012 17:39:21 -0000 On Sat, Oct 20, 2012 at 3:26 AM, Andriy Gapon wrote: > > I am getting the following while executing make toolchain TARGET=pc98: > building static roken library > ranlib libroken.a > ranlib: warning: elf_strptr failed: Invalid argument > ranlib: warning: elf_strptr failed: Invalid argument > ranlib: warning: elf_strptr failed: Invalid argument > ranlib: warning: elf_strptr failed: Invalid argument > ranlib: warning: elf_strptr failed: Invalid argument > ranlib: warning: elf_strptr failed: Invalid argument > ranlib: warning: elf_strptr failed: Invalid argument > ranlib: warning: elf_strptr failed: Invalid argument > ranlib: warning: elf_strptr failed: Invalid argument > ranlib: warning: elf_strptr failed: Invalid argument > ranlib: warning: elf_strptr failed: Invalid argument > ranlib: warning: elf_strptr failed: Invalid argument > ranlib: warning: elf_strptr failed: Invalid argument > ranlib: warning: elf_strptr failed: Invalid argument > ranlib: warning: elf_strptr failed: Invalid argument > ranlib: warning: elf_nextscn failed: Invalid argument > ranlib: warning: can't find .strtab section > ... > cc -O2 -pipe > -I/usr/devel/svn/base/head/kerberos5/tools/asn1_compile/../../../crypto/heimdal/lib/roken > -I/usr/devel/svn/base/head/kerberos5/tools/asn1_compile/../../../crypto/heimdal/lib/asn1 > -I. -DHAVE_CONFIG_H > -I/usr/devel/svn/base/head/kerberos5/tools/asn1_compile/../../include -std=gnu99 > -I/usr/obj/pc98.i386/usr/devel/svn/base/head/tmp/legacy/usr/include -static > -L/usr/obj/pc98.i386/usr/devel/svn/base/head/tmp/legacy/usr/lib -o asn1_compile > asn1parse.o gen.o gen_copy.o gen_decode.o gen_encode.o gen_free.o gen_glue.o > gen_length.o gen_seq.o gen_template.o hash.o lex.o main.o symbol.o > /usr/obj/pc98.i386/usr/devel/svn/base/head/tmp/usr/devel/svn/base/head/kerberos5/tools/asn1_compile/../../lib/libroken/libroken.a > /usr/obj/pc98.i386/usr/devel/svn/base/head/tmp/usr/devel/svn/base/head/kerberos5/tools/asn1_compile/../../lib/libvers/libvers.a > -legacy > main.o: In function `usage': > main.c:(.text+0x17): undefined reference to `arg_printusage' > main.o: In function `main': > main.c:(.text+0x77): undefined reference to `getarg' > main.c:(.text+0x1f6): undefined reference to `getarg' > > Ruuning nm on libroken.a gives: > nm: getarg.o: File format not recognized > > > Any ideas? Try reverting r241752 and see if that makes things go through. HTH, -Garrett