From owner-freebsd-arm@FreeBSD.ORG Sun Apr 7 09:50:00 2013 Return-Path: Delivered-To: freebsd-arm@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id C595E4F4 for ; Sun, 7 Apr 2013 09:50:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id A79766C for ; Sun, 7 Apr 2013 09:50:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r379o0pa029807 for ; Sun, 7 Apr 2013 09:50:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r379o0Fu029806; Sun, 7 Apr 2013 09:50:00 GMT (envelope-from gnats) Resent-Date: Sun, 7 Apr 2013 09:50:00 GMT Resent-Message-Id: <201304070950.r379o0Fu029806@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-arm@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Ralf Wenk Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 25AE04EB for ; Sun, 7 Apr 2013 09:48:54 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id EDB062F for ; Sun, 7 Apr 2013 09:48:53 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r379mrJO045014 for ; Sun, 7 Apr 2013 09:48:53 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id r379mrGq045013; Sun, 7 Apr 2013 09:48:53 GMT (envelope-from nobody) Message-Id: <201304070948.r379mrGq045013@red.freebsd.org> Date: Sun, 7 Apr 2013 09:48:53 GMT From: Ralf Wenk To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: arm/177687: gdb gets installed but does not know the EABI version if world is compiled with clang. X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Apr 2013 09:50:00 -0000 >Number: 177687 >Category: arm >Synopsis: gdb gets installed but does not know the EABI version if world is compiled with clang. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-arm >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Apr 07 09:50:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Ralf Wenk >Release: FreeBSD 10.0-CURRENT arm >Organization: Hochschule Karlsruhe, University of Applied Sciences >Environment: FreeBSD raspberry-pi 10.0-CURRENT FreeBSD 10.0-CURRENT #8 r249220: Sun Apr 7 10:16:15 CEST 2013 root@home:/usr/obj/arm.armv6/home/rpi/src/sys/RPI-Bsc arm >Description: Invoking gdb leads to an internal error: # gdb telnet GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "armv6-marcel-freebsd"... /home/rpi/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/arm-tdep.c:2589: internal-error: arm_elf_osabi_sniffer: Unknown ARM EABI version 0x5000000 A problem internal to GDB has been detected, further debugging may prove unreliable. Quit this debugging session? (y or n) y /home/rpi/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/arm-tdep.c:2589: internal-error: arm_elf_osabi_sniffer: Unknown ARM EABI version 0x5000000 A problem internal to GDB has been detected, further debugging may prove unreliable. Create a core file of GDB? (y or n) n # Kernel and world are build on a i386 9.1-STABLE revision 248965 with: make -C $SRCROOT -DWITH_ARM_EABI kernel-toolchain make -C $SRCROOT MALLOC_PRODUCTION=yes -DWITH_ARM_EABI buildworld make -C $SRCROOT KERNCONF=$KERNCONF WITH_FDT=yes -DWITH_ARM_EABI buildkernel KERNCONF is RPI-B with serial console enabled (RPI-Bsc). clang is FreeBSD clang version 3.2 (tags/RELEASE_32/final 170710) 20121221 >How-To-Repeat: Build a system like mentioned in the description and invoke dgb. >Fix: >Release-Note: >Audit-Trail: >Unformatted: