Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Oct 2012 10:39:18 -0700
From:      Garrett Cooper <yanegomi@gmail.com>
To:        Andriy Gapon <avg@freebsd.org>
Cc:        FreeBSD current <freebsd-current@freebsd.org>
Subject:   Re: ranlib: warning: elf_strptr failed: Invalid argument
Message-ID:  <CAGH67wT3qBz8uW3dcvcVLADzRvdsJ%2BUtMFL9=3R8%2BroTFRrAfw@mail.gmail.com>
In-Reply-To: <50827C62.2000605@FreeBSD.org>
References:  <50827C62.2000605@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Oct 20, 2012 at 3:26 AM, Andriy Gapon <avg@freebsd.org> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGH67wT3qBz8uW3dcvcVLADzRvdsJ%2BUtMFL9=3R8%2BroTFRrAfw>