This patch does not solve #8508 original problem. It solves #8552. #8508 is when compiling the *host* e2fsprogs, the host doesn't have posix_memalign(), e.g. Mac OSX 10.5.

On Fri, 31 Dec 2010 06:48:38 +0800, HongPeng Tian <[email protected]> wrote:
The patch resolves target compiling

svn diff ./toolchain/uClibc/config-0.9.31/common
./toolchain/uClibc/config-0.9.30.1/common >848-enable-posix_memalign.patch

cat 848-enable-posix_memalign.patch
Index: toolchain/uClibc/config-0.9.31/common
===================================================================
--- toolchain/uClibc/config-0.9.31/common       (revision 24860)
+++ toolchain/uClibc/config-0.9.31/common       (working copy)
@@ -82,7 +82,7 @@
 UCLIBC_DYNAMIC_ATEXIT=y
 UCLIBC_EXTRA_CFLAGS=""
 UCLIBC_GRP_BUFFER_SIZE=256
-# UCLIBC_HAS_ADVANCED_REALTIME is not set
+UCLIBC_HAS_ADVANCED_REALTIME=y
 # UCLIBC_HAS_ARC4RANDOM is not set
 UCLIBC_HAS_BSD_ERR=y
 UCLIBC_HAS_BSD_RES_CLOSE=y
Index: toolchain/uClibc/config-0.9.30.1/common
===================================================================
--- toolchain/uClibc/config-0.9.30.1/common     (revision 24860)
+++ toolchain/uClibc/config-0.9.30.1/common     (working copy)
@@ -78,7 +78,7 @@
 UCLIBC_DYNAMIC_ATEXIT=y
 UCLIBC_EXTRA_CFLAGS=""
 UCLIBC_GRP_BUFFER_SIZE=256
-# UCLIBC_HAS_ADVANCED_REALTIME is not set
+UCLIBC_HAS_ADVANCED_REALTIME=y
 # UCLIBC_HAS_ARC4RANDOM is not set
 UCLIBC_HAS_BSD_ERR=y
 UCLIBC_HAS_BSD_RES_CLOSE=y


于 2010年12月31日 05:01, OpenWrt 写道:
#8508: trunk build fails in e2fsprogs after r24683

-------------------------------+--------------------------------------------
  Reporter:  chsh...@…          |       Owner:  developers
      Type:  defect             |      Status:  new
  Priority:  normal             |   Milestone:  Kamikaze
Component:  toolchain          |     Version:  Trunk
  Keywords:  e2fsprogs, e2fsck  |

-------------------------------+--------------------------------------------

Comment(by Thomas Mangin):

  ticket #8552 created.


_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to