Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Dec 2012 19:20:12 -0800
From:      Garrett Cooper <yanegomi@gmail.com>
To:        Alfred Perlstein <bright@mu.org>
Cc:        freebsd-hackers@freebsd.org, Ed Maste <emaste@freebsd.org>, Jan Beich <jbeich@tormail.org>
Subject:   Re: [PATCH] Add WITH_DEBUG_FILES knob to enable separate debug files
Message-ID:  <CAGH67wQn6-SaN6B8dzLnr25sMf82sfiz6oSMEGU-cFLdTbXB9Q@mail.gmail.com>
In-Reply-To: <50D699E3.3090606@mu.org>
References:  <20121222164602.GB32022@sandvine.com> <1Tmb5f-000Jy5-CT@internal.tormail.org> <50D684D7.8050906@mu.org> <50D699E3.3090606@mu.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Dec 22, 2012 at 9:42 PM, Alfred Perlstein <bright@mu.org> wrote:

...

> Buildworld breaks with this for me using my patch, no idea what this all
> means yet.  Will look into it:
>
> exer.c -o nslexer.So
> ctfconvert -L VERSION crypt_xdr.o
> ctfconvert -L VERSION crypt_clnt.o
> ctfconvert -L VERSION nsparser.So
> ctfconvert -L VERSION nsparser.o
> ctfconvert -L VERSION crypt_clnt.So
> ctfconvert -L VERSION crypt_xdr.So
> ctfconvert -L VERSION yp_xdr.o
> ctfconvert -L VERSION subr_acl_nfs4.So
> ctfconvert -L VERSION nslexer.o
> ctfconvert -L VERSION yp_xdr.So
> ctfconvert -L VERSION subr_acl_nfs4.o
> building static c library
> ctfconvert -L VERSION nslexer.So
> building shared library libc.so.7
> building special pic c library
> BFD: dlfcn.o: invalid SHT_GROUP entry
> BFD: dlfcn.o: invalid SHT_GROUP entry
> BFD: dlfcn.o: invalid SHT_GROUP entry
> BFD: dlfcn.o: invalid SHT_GROUP entry
> BFD: dlfcn.o: no group info for section .text._rtld_error
> BFD: dlfcn.o: no group info for section .text.dladdr
> BFD: dlfcn.o: no group info for section .text.dlclose
> BFD: dlfcn.o: no group info for section .text.dlerror
> BFD: dlfcn.o: no group info for section .text.dllockinit
> BFD: dlfcn.o: no group info for section .text.dlopen
> BFD: dlfcn.o: no group info for section .text.dlsym
> BFD: dlfcn.o: no group info for section .text.dlvsym
> BFD: dlfcn.o: no group info for section .text.dlinfo
> BFD: dlfcn.o: no group info for section .text._rtld_thread_init
> BFD: dlfcn.o: no group info for section .text._rtld_atfork_post
> BFD: dlfcn.o: no group info for section .text._rtld_get_stack_prot
> nm: dlfcn.o: File format not recognized
> BFD: elf_utils.o: invalid SHT_GROUP entry
> BFD: elf_utils.o: no group info for section .text.__pthread_map_stacks_exec
> BFD: elf_utils.o: unknown [0] section `' in group
> [__pthread_map_stacks_exec]
> nm: elf_utils.o: File format not recognized
> ranlib libc_pic.a
> BFD: __vdso_gettc.o: invalid SHT_GROUP entry
> BFD: __vdso_gettc.o: no group info for section .text.__vdso_gettc
> BFD: __vdso_gettc.o: unknown [0] section `' in group [__vdso_gettc]
> nm: __vdso_gettc.o: File format not recognized
> BFD: __vdso_gettimeofday.o: invalid SHT_GROUP entry
> BFD: __vdso_gettimeofday.o: invalid SHT_GROUP entry
> BFD: __vdso_gettimeofday.o: no group info for section
> .text.__vdso_gettimeofday
> BFD: __vdso_gettimeofday.o: no group info for section
> .text.__vdso_clock_gettime
> BFD: __vdso_gettimeofday.o: unknown [0] section `' in group
> [__vdso_gettimeofday]
> BFD: __vdso_gettimeofday.o: unknown [0] section `' in group
> [__vdso_clock_gettime]
> nm: __vdso_gettimeofday.o: File format not recognized
> BFD: dlfcn.So: invalid SHT_GROUP entry
> BFD: dlfcn.So: invalid SHT_GROUP entry
> BFD: dlfcn.So: invalid SHT_GROUP entry
> BFD: dlfcn.So: invalid SHT_GROUP entry
> BFD: dlfcn.So: no group info for section .text._rtld_error
> BFD: dlfcn.So: no group info for section .text.dladdr
> BFD: dlfcn.So: no group info for section .text.dlclose
> BFD: dlfcn.So: no group info for section .text.dlerror
> BFD: dlfcn.So: no group info for section .text.dllockinit
> BFD: dlfcn.So: no group info for section .text.dlopen
> BFD: dlfcn.So: no group info for section .text.dlsym
> BFD: dlfcn.So: no group info for section .text.dlvsym
> BFD: dlfcn.So: no group info for section .text.dlinfo
> BFD: dlfcn.So: no group info for section .text._rtld_thread_init
> BFD: dlfcn.So: no group info for section .text._rtld_atfork_post
> BFD: dlfcn.So: no group info for section .text._rtld_get_stack_prot
> BFD: dlfcn.So: unknown [2] section `.symtab' in group [dl_iterate_phdr]
> BFD: dlfcn.So: unknown [0] section `' in group [_rtld_atfork_pre]
> BFD: dlfcn.So: unknown [0] section `' in group [_rtld_atfork_post]
> BFD: dlfcn.So: unknown [0] section `' in group [_rtld_addr_phdr]
> BFD: dlfcn.So: unknown [0] section `' in group [_rtld_get_stack_prot]
> nm: dlfcn.So: File format not recognized
> BFD: elf_utils.So: invalid SHT_GROUP entry
> BFD: elf_utils.So: no group info for section .text.__pthread_map_stacks_exec
> BFD: elf_utils.So: unknown [0] section `' in group
> [__pthread_map_stacks_exec]
> nm: elf_utils.So: File format not recognized
> BFD: __vdso_gettc.So: invalid SHT_GROUP entry
> BFD: __vdso_gettc.So: no group info for section .text.__vdso_gettc
> BFD: __vdso_gettc.So: unknown [0] section `' in group [__vdso_gettc]
> nm: __vdso_gettc.So: File format not recognized
> BFD: __vdso_gettimeofday.So: invalid SHT_GROUP entry
> BFD: __vdso_gettimeofday.So: invalid SHT_GROUP entry
> BFD: __vdso_gettimeofday.So: no group info for section
> .text.__vdso_gettimeofday
> BFD: __vdso_gettimeofday.So: no group info for section
> .text.__vdso_clock_gettime
> BFD: __vdso_gettimeofday.So: unknown [0] section `' in group
> [__vdso_gettimeofday]
> BFD: __vdso_gettimeofday.So: unknown [0] section `' in group
> [__vdso_clock_gettime]
> nm: __vdso_gettimeofday.So: File format not recognized
> ranlib libc.a
> /usr/obj/usr/home/alfred/freebsd/tmp/usr/bin/ld: __vdso_gettimeofday.So:
> invalid SHT_GROUP entry
> /usr/obj/usr/home/alfred/freebsd/tmp/usr/bin/ld: __vdso_gettimeofday.So:
> invalid SHT_GROUP entry
> /usr/obj/usr/home/alfred/freebsd/tmp/usr/bin/ld: __vdso_gettimeofday.So: no
> group info for section .text.__vdso_gettimeofday
> /usr/obj/usr/home/alfred/freebsd/tmp/usr/bin/ld: __vdso_gettimeofday.So: no
> group info for section .text.__vdso_clock_gettime
> /usr/obj/usr/home/alfred/freebsd/tmp/usr/bin/ld: __vdso_gettimeofday.So:
> unknown [0] section `' in group [__vdso_gettimeofday]
> /usr/obj/usr/home/alfred/freebsd/tmp/usr/bin/ld: __vdso_gettimeofday.So:
> unknown [0] section `' in group [__vdso_clock_gettime]
> __vdso_gettimeofday.So: file not recognized: File format not recognized
> cc: error: linker command failed with exit code 1 (use -v to see invocation)
> *** [libc.so.7.full] Error code 1
> 1 error
> *** [lib/libc__L] Error code 2
> 1 error
> *** [libraries] Error code 2
> 1 error
> *** [_libraries] Error code 2
> 1 error
> *** [buildworld] Error code 2
> 1 error

    Is RANLIB not being called properly (for lack of a better example:
https://forums.oracle.com/forums/thread.jspa?messageID=8438118 )?
Cheers,
-Garrett



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGH67wQn6-SaN6B8dzLnr25sMf82sfiz6oSMEGU-cFLdTbXB9Q>