[Armadeus-commitlog] SF.net SVN: armadeus: [796] trunk
Brought to you by:
sszy
|
From: <jo...@us...> - 2008-04-26 15:03:57
|
Revision: 796
http://armadeus.svn.sourceforge.net/armadeus/?rev=796&view=rev
Author: jorasse
Date: 2008-04-26 08:03:04 -0700 (Sat, 26 Apr 2008)
Log Message:
-----------
[uClibc] uClibc-0.9.29 pretends that spinclocks are available ?\194?\160("#define _POSIX_SPIN_LOCKS" in posix_opt.h)
whereas for ARM, this functionality is currently in development. As a consequence, ?\194?\160third party applications
looking for this define to internally enable spinlocking ?\194?\160may fail to compile. (As "clocktest" provided by Xenomai).
This patch inhibits the faulty define. Thanks Creber
Modified Paths:
--------------
trunk/ChangeLog
Added Paths:
-----------
trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-fix-spin_locks.patch
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2008-04-16 20:37:31 UTC (rev 795)
+++ trunk/ChangeLog 2008-04-26 15:03:04 UTC (rev 796)
@@ -1,6 +1,10 @@
ChangeLog file for Armadeus Project
+Changes to be released
+- [uClibc] undefine _POSIX_SPIN_LOCKS: still not yet implemented in uClibc 0.9.29
+ thanks to Creber
+
Changes in release 2.3 (11 February 2008)
- [BUILDROOT] Change FTP server for buildroot and fakeroot files
Added: trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-fix-spin_locks.patch
===================================================================
--- trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-fix-spin_locks.patch (rev 0)
+++ trunk/buildroot/toolchain/uClibc/uClibc-0.9.29-fix-spin_locks.patch 2008-04-26 15:03:04 UTC (rev 796)
@@ -0,0 +1,16 @@
+diff -purN uClibc-0.9.29.ori/libc/sysdeps/linux/common/bits/posix_opt.h uClibc-0.9.29/libc/sysdeps/linux/common/bits/posix_opt.h
+--- uClibc-0.9.29.ori/libc/sysdeps/linux/common/bits/posix_opt.h 2008-04-26 15:25:03.000000000 +0200
++++ uClibc-0.9.29/libc/sysdeps/linux/common/bits/posix_opt.h 2008-04-26 15:39:38.000000000 +0200
+@@ -124,8 +124,11 @@
+ /* We support the Timeouts option. */
+ #define _POSIX_TIMEOUTS 200112L
+
++/* Armadeus Patch: Spinlock is still not yet implemented in UcLibc for Arm */
++/* targets. However, Xenomai-2.4.3 use this flags to enable or not */
++/* spinlocking. If this define is set, Xenomai will fail to compile */
+ /* We support spinlocks. */
+-#define _POSIX_SPIN_LOCKS 200112L
++/* #define _POSIX_SPIN_LOCKS 200112L */
+
+ /* The `spawn' function family is supported. */
+ #define _POSIX_SPAWN 200112L
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|