Project

General

Profile

Bugs #28

GDB for target does not build

Added by Abdoulaye Walsimou Gaye over 9 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
High
Category:
Toolchain
Target version:
Start date:
2011-01-23
Due date:
% Done:

0%

Estimated time:

Description

Builing gdb or gdbserver for target does not success, with the following error:

In file included from /home/walsimou/embtoolkit.git/build/tools_build-armel-linux-cortex-a8/gdb-7.2/gdb/linux-thread-db.c:26:0:
/home/walsimou/embtoolkit.git/build/tools_build-armel-linux-cortex-a8/gdb-7.2/gdb/gdb_thread_db.h:206:2: error: #error No uintptr_t available; your C library is too old.
/home/walsimou/embtoolkit.git/build/tools_build-armel-linux-cortex-a8/gdb-7.2/gdb/gdb_thread_db.h:208:0: warning: "uintptr_t" redefined
gnulib/stdint.h:250:0: note: this is the location of the previous definition
/home/walsimou/embtoolkit.git/build/tools_build-armel-linux-cortex-a8/gdb-7.2/gdb/linux-thread-db.c: In function 'try_thread_db_load_1':
/home/walsimou/embtoolkit.git/build/tools_build-armel-linux-cortex-a8/gdb-7.2/gdb/linux-thread-db.c:717:12: error: 'LIBTHREAD_DB_SO' undeclared (first use in this function)
/home/walsimou/embtoolkit.git/build/tools_build-armel-linux-cortex-a8/gdb-7.2/gdb/linux-thread-db.c:717:12: note: each undeclared identifier is reported only once for each function it appears in
/home/walsimou/embtoolkit.git/build/tools_build-armel-linux-cortex-a8/gdb-7.2/gdb/linux-thread-db.c: In function 'thread_db_load_search':
/home/walsimou/embtoolkit.git/build/tools_build-armel-linux-cortex-a8/gdb-7.2/gdb/linux-thread-db.c:803:33: error: 'LIBTHREAD_DB_SO' undeclared (first use in this function)
/home/walsimou/embtoolkit.git/build/tools_build-armel-linux-cortex-a8/gdb-7.2/gdb/linux-thread-db.c: In function 'thread_db_load':
/home/walsimou/embtoolkit.git/build/tools_build-armel-linux-cortex-a8/gdb-7.2/gdb/linux-thread-db.c:890:28: error: 'LIBTHREAD_DB_SO' undeclared (first use in this function)
/home/walsimou/embtoolkit.git/build/tools_build-armel-linux-cortex-a8/gdb-7.2/gdb/linux-thread-db.c: In function '_initialize_thread_db':
/home/walsimou/embtoolkit.git/build/tools_build-armel-linux-cortex-a8/gdb-7.2/gdb/linux-thread-db.c:1676:39: error: 'LIBTHREAD_DB_SEARCH_PATH' undeclared (first use in this function)

History

#1 Updated by Abdoulaye Walsimou Gaye over 9 years ago

  • Status changed from New to Assigned
  • Assignee set to Abdoulaye Walsimou Gaye

assign to me

#2 Updated by Abdoulaye Walsimou Gaye over 9 years ago

This seems to only occur when building uClibc toolchain.

#3 Updated by Abdoulaye Walsimou Gaye about 9 years ago

Fixed in 71fff4edf79e819f703d95c55cb44c5fe4fb13df for soon embtoolkit-0.1.0-rc14

#4 Updated by Abdoulaye Walsimou Gaye about 9 years ago

  • Status changed from Assigned to Closed

Also available in: Atom PDF