[uClibc-cvs] [buildroot 0000317]: buildroot for sh4 stops with "undefined reference to `__sigprocmask'"
bugs at busybox.net
bugs at busybox.net
Sun Jul 3 04:14:02 UTC 2005
A NOTE has been added to this issue.
======================================================================
<http://busybox.net/bugs/view.php?id=317>
======================================================================
Reported By: hkubota
Assigned To: uClibc
======================================================================
Project: buildroot
Issue ID: 317
Category: Architecture Specific
Reproducibility: always
Severity: major
Priority: normal
Status: assigned
======================================================================
Date Submitted: 07-02-2005 20:11 PDT
Last Modified: 07-02-2005 21:14 PDT
======================================================================
Summary: buildroot for sh4 stops with "undefined reference to
`__sigprocmask'"
Description:
When trying to use buildroot for sh4, I cannot get past creating uClibc as
I get this error:
/export/sh4/buildroot/build_sh4/staging_dir/bin/sh4-linux-uclibc-ld -EL
-shared --warn-common --warn-once -z combreloc -z defs -s
-soname=libc.so.0 -o libuClibc-0.9.27.so \
--whole-archive shared_libc.a \
../libc/misc/internals/interp.o --no-whole-archive \
-init __uClibc_init ../lib/ld-uClibc.so.0
/export/sh4/buildroot/build_sh4/staging_dir/lib/gcc/sh4-linux-uclibc/3.4.4/libgcc.a
shared_libc.a(longjmp.o): In function `siglongjmp':
longjmp.c:(.text+0x40): undefined reference to `__sigprocmask'
make[2]: *** [shared] Error 1
======================================================================
----------------------------------------------------------------------
hkubota - 07-02-05 20:15
----------------------------------------------------------------------
Forgot to say: buildroot 10709
----------------------------------------------------------------------
hkubota - 07-02-05 21:14
----------------------------------------------------------------------
If I comment out the reference to __sigprocmask in longjmp.c, then I get
another stop with __fpscr_values being undefined:
/export/sh4/buildroot/build_sh4/staging_dir/bin/sh4-linux-uclibc-ld -EL
-shared --warn-common --warn-once -z combreloc -z defs -s
-soname=libm.so.0 \
-o libm-0.9.27.so --whole-archive libm.a \
--no-whole-archive ../libc/misc/internals/interp.o \
-L../lib -lc
/export/sh4/buildroot/build_sh4/staging_dir/lib/gcc/sh4-linux-uclibc/3.4.4/libgcc.a
libm.a(fpmacros.o): In function `__fpclassifyf':
fpmacros.c:(.text+0x60): undefined reference to `__fpscr_values'
make[2]: *** [shared] Error 1
It is defined in crt0.S though:
#if defined __CONFIG_SH4__
.global __fpscr_values
__fpscr_values:
.long 0
.long 0x80000
#endif
And __CONFIG_SH4__ is defined in include/bits/uClibc_config.h:
#define __CONFIG_SH4__ 1
Issue History
Date Modified Username Field Change
======================================================================
07-02-05 20:11 hkubota New Issue
07-02-05 20:15 hkubota Note Added: 0000260
07-02-05 21:14 hkubota Note Added: 0000261
======================================================================
More information about the uClibc-cvs
mailing list