Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Apr 2013 09:48:53 GMT
From:      Ralf Wenk <iz-rpi03@hs-karlsruhe.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   arm/177687: gdb gets installed but does not know the EABI version if world is compiled with clang.
Message-ID:  <201304070948.r379mrGq045013@red.freebsd.org>
Resent-Message-ID: <201304070950.r379o0Fu029806@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



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