From owner-freebsd-hackers@FreeBSD.ORG Mon Dec 24 03:20:20 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 10418837; Mon, 24 Dec 2012 03:20:20 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-ob0-f180.google.com (mail-ob0-f180.google.com [209.85.214.180]) by mx1.freebsd.org (Postfix) with ESMTP id B14178FC0A; Mon, 24 Dec 2012 03:20:19 +0000 (UTC) Received: by mail-ob0-f180.google.com with SMTP id wd20so6407869obb.11 for ; Sun, 23 Dec 2012 19:20:13 -0800 (PST) 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=f4sPPK9uRi4faQi6PLqtxXXn9IBHSFs8f9mFrnpQ4KM=; b=c1eAWeLRvJlVO0CpkotjhzZx+DD4C+4gAKn04jxR11f8mZ589yjmg/++tucwns/s+q 5k0LbRKAE+z+AnmL8BF8PS64JzP0EfTuF72g3MGA0QdztFRCutAWt2D5Y0VxFid+8F2Z 9FacCNv2U4f9dXny0qF5XpPI8EiTbHOByVbgTvyvlLo/g13QYFaclUh2rtAIkko/5vk/ 0zfizNMTSrEiLGM/JISHpTteBaf9xo/kYgTg6wGY7N4V163uQQ3sHc8TYq1xB/dLaQgx X0CEMgLGbN35SM+pwzckcILYJxprX1Z1K6HP++0vX2yYTKOrnZvpqdjxwO3mzjm5oHnw CdTg== MIME-Version: 1.0 Received: by 10.182.172.74 with SMTP id ba10mr16853361obc.83.1356319213062; Sun, 23 Dec 2012 19:20:13 -0800 (PST) Received: by 10.76.143.33 with HTTP; Sun, 23 Dec 2012 19:20:12 -0800 (PST) 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> Date: Sun, 23 Dec 2012 19:20:12 -0800 Message-ID: Subject: Re: [PATCH] Add WITH_DEBUG_FILES knob to enable separate debug files From: Garrett Cooper To: Alfred Perlstein Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-hackers@freebsd.org, Ed Maste , Jan Beich X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Dec 2012 03:20:20 -0000 On Sat, Dec 22, 2012 at 9:42 PM, Alfred Perlstein 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