From owner-freebsd-bugs@FreeBSD.ORG Thu Mar 19 03:04:21 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8CBBD1F2 for ; Thu, 19 Mar 2015 03:04:21 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5AC9691D for ; Thu, 19 Mar 2015 03:04:21 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t2J34Lcq078016 for ; Thu, 19 Mar 2015 03:04:21 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 198696] base system's objdump -g doesn't display any information Date: Thu, 19 Mar 2015 03:04:21 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: lidl@pix.net X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Mar 2015 03:04:21 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198696 Bug ID: 198696 Summary: base system's objdump -g doesn't display any information Product: Base System Version: 11.0-CURRENT Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: bin Assignee: freebsd-bugs@FreeBSD.org Reporter: lidl@pix.net On a relatively recent -CURRENT system: uname -a: FreeBSD busybox.pix.net 11.0-CURRENT FreeBSD 11.0-CURRENT #19 r280171M: Tue Mar 17 10:55:28 EDT 2015 lidl@busybox.pix.net:/usr/obj/usr/src/sys/BUSYBOX amd64 clang -v: FreeBSD clang version 3.6.0 (tags/RELEASE_360/final 230434) 20150225 Target: x86_64-unknown-freebsd11.0 Thread model: posix /usr/bin/objdump doesn't display any useful information from a .o object file compiled with 'clang -g': lidl@busybox-234: /usr/bin/objdump -v GNU objdump 2.17.50 [FreeBSD] 2007-07-03 Copyright 2007 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License. This program has absolutely no warranty. lidl@busybox-235: /usr/bin/objdump -g ls.o ls.o: file format elf64-x86-64-freebsd /usr/bin/objdump: ls.o: no recognized debugging information The latest binutils from /usr/ports, however, does work: lidl@busybox-236: /usr/local/bin/objdump -v GNU objdump (GNU Binutils) 2.25 Copyright (C) 2014 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License version 3 or (at your option) any later version. This program has absolutely no warranty. lidl@busybox-237: /usr/local/bin/objdump -g ls.o | head ls.o: file format elf64-x86-64-freebsd Contents of the .debug_info section: Compilation Unit @ offset 0x0: Length: 0x1172 (32-bit) Version: 2 Abbrev Offset: 0x0 Pointer Size: 8 Is there any hope for getting a working 'objdump -g' in the base system? Isn't there a 'objdump' in the elf-toolchain? Trying to use 'llvm-objdump -g ls.o' just spits out a usage message. -- You are receiving this mail because: You are the assignee for the bug.