[PATCH] Fix e500 __fe_nomask_env use of __set_errno w/o CFLAGS-libm

Jason Woodward jason.woodward at timesys.com
Sun Jun 12 03:28:23 UTC 2011


Since the new _LIBC guard in 96c9a8f7d00cdf6bb7968a2390b9d87da8a45e2d we need
to use CFLAGS-libm (-DNOT_IN_libc -DIS_IN_libm) or we end up with linker
errors like:

  lib/libm.a(fe_nomask.os): In function `__fe_nomask_env':
  fe_nomask.c:(.text+0x26): undefined reference to `__libc_errno'
  collect2: ld returned 1 exit status

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-e500-__fe_nomask_env-use-of-__set_errno-w-o-CFLA.patch
Type: text/x-diff
Size: 1211 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/uclibc/attachments/20110611/2ff9c0b9/attachment-0001.bin>


More information about the uClibc mailing list