[uClibc]0.9.19: Memory fault with setjmp on arm7tdmi
Markus Pietrek
maillist at fsforth.de
Tue Mar 11 12:50:50 UTC 2003
Hi folks,
just compiled uClibc-0.9.19 for an NetARM+50 (arm7tdmi)/uclinux-2.4.20 and
I'am impressed. All went smooth and the gcc wrapper makes life much easier
now :-)
The applications I tested so far work fine. But using setjmp() results in an
"Memory fault", even the uclibc-0.9.19 setjmp_test
=== On the host ===
Compiling vs uClibc:
../../extra/gcc-uClibc/arm-uclibc-gcc --uclibc-use-build-dir -Wall
-Wstrict-prototypes -O0 -g -c setjmp_test.c -o setjmp_test.o
../../extra/gcc-uClibc/arm-uclibc-gcc -elf2flt --uclibc-use-build-dir -g
-Wl,-warn-common setjmp_test.o -o setjmp_test
true -Since_we_are_debugging -x -R .note -R .comment setjmp_test
=== On the target ===
# /nfs/setjmp_test
Memory fault
===
Is there some compiler option missing? I attached my .config file for uClibc.
Best regards,
--
Markus Pietrek
FS Forth-Systeme GmbH
Phone: +49 (7667) 908 145, FAX +49 (7667) 908 221
-------------- next part --------------
#
# Automatically generated make config: don't edit
#
#
# Target Architecture Features and Options
#
HAVE_ELF=y
# CONFIG_GENERIC_ARM is not set
CONFIG_ARM7TDMI=y
# CONFIG_STRONGARM is not set
# CONFIG_XSCALE is not set
ARCH_HAS_NO_MMU=y
UCLIBC_HAS_FLOATS=y
# HAS_FPU is not set
UCLIBC_HAS_SOFT_FLOAT=y
DO_C99_MATH=y
WARNINGS="-Wall"
KERNEL_SOURCE="/usr/local/LxNETES-2.1/linux"
UCLIBC_UCLINUX_BROKEN_MUNMAP=y
EXCLUDE_BRK=y
C_SYMBOL_PREFIX=""
HAVE_DOT_CONFIG=y
#
# General Library Settings
#
# DOPIC is not set
UCLIBC_CTOR_DTOR=y
UCLIBC_HAS_THREADS=y
# UCLIBC_HAS_LFS is not set
MALLOC=y
# MALLOC_930716 is not set
UCLIBC_DYNAMIC_ATEXIT=y
HAS_SHADOW=y
UCLIBC_HAS_REGEX=y
UNIX98PTY_ONLY=y
ASSUME_DEVPTS=y
#
# Networking Support
#
# UCLIBC_HAS_IPV6 is not set
UCLIBC_HAS_RPC=y
UCLIBC_HAS_FULL_RPC=y
#
# String and Stdio Support
#
# UCLIBC_HAS_WCHAR is not set
# USE_OLD_VFPRINTF is not set
#
# Library Installation Options
#
DEVEL_PREFIX="/usr/local/arm-elf/uClibc-0.9.19"
SYSTEM_DEVEL_PREFIX="$(DEVEL_PREFIX)"
DEVEL_TOOL_PREFIX="$(DEVEL_PREFIX)/usr"
#
# uClibc hacking options
#
# DODEBUG is not set
# DOASSERTS is not set
# UCLIBC_MALLOC_DEBUGGING is not set
More information about the uClibc
mailing list