This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "uClibc-ng - small C library for embedded systems".
The branch, master has been updated
via 4131f1dae51993d4f3dbde91305cddc898094519 (commit)
from e762a60c733a668c11f9c8f8d997e7e34b8b9516 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 4131f1dae51993d4f3dbde91305cddc898094519
Author: Waldemar Brodkorb <wbx(a)uclibc-ng.org>
Date: Tue Dec 30 22:25:59 2014 +0100
be sure to use EXTRA_CFLAGS for tests, too
-----------------------------------------------------------------------
Summary of changes:
test/Rules.mak | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/test/Rules.mak b/test/Rules.mak
index 805a349..c5d1d63 100644
--- a/test/Rules.mak
+++ b/test/Rules.mak
@@ -115,6 +115,12 @@ ifeq ($(LDSO_GNU_HASH_SUPPORT),y)
LDFLAGS += $(CFLAG_-Wl--hash-style=gnu)
endif
+ifneq ($(strip $(UCLIBC_EXTRA_CFLAGS)),"")
+CFLAGS += $(call qstrip,$(UCLIBC_EXTRA_CFLAGS))
+endif
+ifneq ($(strip $(UCLIBC_EXTRA_LDFLAGS)),"")
+LDFLAGS += $(call qstrip,$(UCLIBC_EXTRA_LDFLAGS))
+endif
ifneq ($(findstring -s,$(MAKEFLAGS)),)
DISP := sil
hooks/post-receive
--
uClibc-ng - small C library for embedded systems
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "uClibc-ng - small C library for embedded systems".
The branch, master has been updated
via e762a60c733a668c11f9c8f8d997e7e34b8b9516 (commit)
from 7fa20cef3fc120c9c9fb96c46bd06feb69cef3ca (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit e762a60c733a668c11f9c8f8d997e7e34b8b9516
Author: Waldemar Brodkorb <wbx(a)uclibc-ng.org>
Date: Tue Dec 30 21:28:10 2014 +0100
remove another two warnings.
-----------------------------------------------------------------------
Summary of changes:
libc/stdio/__fpending.c | 7 -------
libc/sysdeps/linux/common/bits/uClibc_fpmax.h | 4 ----
2 files changed, 11 deletions(-)
diff --git a/libc/stdio/__fpending.c b/libc/stdio/__fpending.c
index a7fe054..e7e33e8 100644
--- a/libc/stdio/__fpending.c
+++ b/libc/stdio/__fpending.c
@@ -18,13 +18,6 @@
* convert wide chars to their multibyte encodings and buffer _those_.
*/
-#ifdef __UCLIBC_HAS_WCHAR__
-#warning Note: Unlike the glibc version, this __fpending returns bytes in buffer for wide streams too!
-
-link_warning(__fpending, "This version of __fpending returns bytes remaining in buffer for both narrow and wide streams. glibc's version returns wide chars in buffer for the wide stream case.")
-
-#endif
-
size_t __fpending(register FILE * __restrict stream)
{
__STDIO_STREAM_VALIDATE(stream);
diff --git a/libc/sysdeps/linux/common/bits/uClibc_fpmax.h b/libc/sysdeps/linux/common/bits/uClibc_fpmax.h
index bbea1ae..b7dcee1 100644
--- a/libc/sysdeps/linux/common/bits/uClibc_fpmax.h
+++ b/libc/sysdeps/linux/common/bits/uClibc_fpmax.h
@@ -68,10 +68,6 @@ typedef float __fpmax_t;
#ifndef DECIMAL_DIG
-#ifdef L___strtofpmax
-/* Emit warning only once. */
-#warning DECIMAL_DIG is not defined! If you are using gcc, it may not be defining __STDC_VERSION__ as it should.
-#endif
#if !defined(FLT_RADIX) || (FLT_RADIX != 2)
#error unable to compensate for missing DECIMAL_DIG!
#endif
hooks/post-receive
--
uClibc-ng - small C library for embedded systems
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "uClibc-ng - small C library for embedded systems".
The branch, master has been updated
via 7fa20cef3fc120c9c9fb96c46bd06feb69cef3ca (commit)
via 5e0ada6a23c683851b8e20ee7ade0cee7a9b4900 (commit)
from 3d39f1ae2b2bb9f2aa30eee4b34486b03e24c175 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 7fa20cef3fc120c9c9fb96c46bd06feb69cef3ca
Merge: 5e0ada6 3d39f1a
Author: Waldemar Brodkorb <wbx(a)uclibc-ng.org>
Date: Tue Dec 30 18:34:38 2014 +0100
Merge branch 'master' of git+ssh://openadk.org/git/uclibc-ng
commit 5e0ada6a23c683851b8e20ee7ade0cee7a9b4900
Author: Waldemar Brodkorb <wbx(a)uclibc-ng.org>
Date: Tue Dec 30 18:34:30 2014 +0100
reenable c6x for toolchain testing without NPTL
-----------------------------------------------------------------------
Summary of changes:
extra/Configs/Config.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in
index 5d0f4f0..2a8c006 100644
--- a/extra/Configs/Config.in
+++ b/extra/Configs/Config.in
@@ -62,8 +62,8 @@ config TARGET_bfin
# someone could sync this tree:
# http://linux-c6x.org/git/?p=uClibc.git;a=summary
-#config TARGET_c6x
-# bool "c6x"
+config TARGET_c6x
+ bool "c6x"
config TARGET_cris
bool "cris"
hooks/post-receive
--
uClibc-ng - small C library for embedded systems
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "uClibc-ng - small C library for embedded systems".
The branch, master has been updated
via 3d39f1ae2b2bb9f2aa30eee4b34486b03e24c175 (commit)
via c5722d63ede04b656c7ac8607d075db576a226d8 (commit)
via 6fc08ddc732c8c0a56391d30d4e86aa46bda5495 (commit)
via c08e51d9a9a598e31bf4dcc51afa52388ee99050 (commit)
via e6ab5f05c89550d15e07e9eab2e2623494f60dca (commit)
from b7967026760157bbbfc4fb9db6862cd2085bb0d9 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 3d39f1ae2b2bb9f2aa30eee4b34486b03e24c175
Author: Waldemar Brodkorb <wbx(a)openadk.org>
Date: Sun Dec 28 23:08:54 2014 -0600
remove comment
commit c5722d63ede04b656c7ac8607d075db576a226d8
Author: Waldemar Brodkorb <wbx(a)openadk.org>
Date: Sun Dec 28 23:05:39 2014 -0600
reduce some unneeded warnings.
commit 6fc08ddc732c8c0a56391d30d4e86aa46bda5495
Author: Waldemar Brodkorb <wbx(a)openadk.org>
Date: Sun Dec 28 22:55:38 2014 -0600
remove hidden warning option, not useful for others.
commit c08e51d9a9a598e31bf4dcc51afa52388ee99050
Author: Waldemar Brodkorb <wbx(a)openadk.org>
Date: Sun Dec 28 22:51:58 2014 -0600
fix warning when doing make clean
commit e6ab5f05c89550d15e07e9eab2e2623494f60dca
Author: Waldemar Brodkorb <wbx(a)openadk.org>
Date: Sun Dec 28 22:51:11 2014 -0600
update INSTALL
-----------------------------------------------------------------------
Summary of changes:
INSTALL | 46 ++++++++++++++++++++++------------------------
Rules.mak | 3 ---
extra/Configs/Config.in | 7 -------
libc/stdio/_stdio.c | 1 -
libc/stdio/fflush.c | 2 --
libc/stdio/popen.c | 2 --
test/unistd/Makefile.in | 4 +++-
7 files changed, 25 insertions(+), 40 deletions(-)
diff --git a/INSTALL b/INSTALL
index 78fe3fc..058c021 100644
--- a/INSTALL
+++ b/INSTALL
@@ -1,21 +1,20 @@
SOFTWARE REQUIREMENTS
- Compiling uClibc requires Linux kernel header files. uClibc will
+ Compiling uClibc-ng requires Linux kernel header files. uClibc-ng will
be compiled to match the interfaces available in the provided
- version of the Linux kernel headers. Linux kernel version 2.0,
- version 2.2, version 2.4 and version 2.6 are known to work. Other
- kernel versions may work but haven't been tested. Its also helpful
- to have a working version of GNU binutils, and GNU gcc -- using
- excessively old versions of these packages can cause very strange
- errors that are difficult to find and fix.
+ version of the Linux kernel headers. Linux kernel version 3.x is
+ supported.
+ Its also helpful to have a working version of GNU binutils, and
+ GNU gcc -- using excessively old versions of these packages can
+ cause very strange errors that are difficult to find and fix.
-CONFIGURING uClibc:
+CONFIGURING uClibc-ng:
- - Users must have a valid configuration file to compile uClibc. Do not
+ - Users must have a valid configuration file to compile uClibc-ng. Do not
skip this step. New configuration options are added in each
release, and odd configuration options are sometimes removed.
- To configure uClibc, you can run:
+ To configure uClibc-ng, you can run:
make menuconfig
or
@@ -39,10 +38,10 @@ CONFIGURING uClibc:
"make allnoconfig" Set all values to "no" for all options.
-COMPILING uClibc:
+COMPILING uClibc-ng:
- - uClibc does not have proper dependancy checking (yet) so if you
- change your uClibc configuration, you must current rebuild the
+ - uClibc-ng does not have proper dependancy checking so if you
+ change your uClibc-ng configuration, you must current rebuild the
entire library, by first running
make clean
@@ -51,30 +50,29 @@ COMPILING uClibc:
make
- to compile uClibc. or if you are cross compiling, you would
+ to compile uClibc-ng. or if you are cross compiling, you would
instead run something like:
make CROSS_COMPILE=arm-linux-
-INSTALLING the uClibc development environment:
+INSTALLING the uClibc-ng development environment:
- As root, if necessary, run something like:
make PREFIX=<some path> install
- This will install the uClibc runtime and development system (i.e.
+ This will install the uClibc-ng runtime and development system (i.e.
all the header files, libraries, etc) into the directories defined
within your .config file.
-USING uClibc:
+USING uClibc-ng:
- - To compile programs with uClibc you will need a complete toolchain
- (i.e. binutils, gcc, and uClibc) that was built expressly for use
- with uClibc.
+ - To compile programs with uClibc-ng you will need a complete toolchain
+ (i.e. binutils, gcc and uClibc-ng) that was built expressly for use
+ with uClibc-ng.
- - Native and cross compiling toolchains, as well as makefiles for creating
- uClibc toolchains, are available from the uClibc website. You may want
- to check out "buildroot", which is available from the uClibc download area,
- which provides examples of how to build your own uClibc based system.
+ - You have two choices at the moment:
+ - Use OpenADK from http://www.openadk.org
+ - Use your own build scripts or environment
diff --git a/Rules.mak b/Rules.mak
index 218eb1f..2a73d7f 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -67,9 +67,6 @@ AWK = awk
STRIP_FLAGS ?= -x -R .note -R .comment
-## unused? if yes, remove after 0.9.31
-## UNIFDEF := $(top_builddir)extra/scripts/unifdef
-
# Select the compiler needed to build binaries for your development system
HOSTCC = gcc
BUILD_CFLAGS = -Os
diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in
index fab0ddc..5d0f4f0 100644
--- a/extra/Configs/Config.in
+++ b/extra/Configs/Config.in
@@ -2483,11 +2483,4 @@ config DOMULTI
If unsure, keep the default of N.
-config UCLIBC_MJN3_ONLY
- bool "Manuel's hidden warnings"
- help
- Answer Y here to see all Manuel's personal notes, warnings, and todos.
-
- Most people will answer N.
-
endmenu
diff --git a/libc/stdio/_stdio.c b/libc/stdio/_stdio.c
index 388a211..ee247a5 100644
--- a/libc/stdio/_stdio.c
+++ b/libc/stdio/_stdio.c
@@ -195,7 +195,6 @@ void _stdio_term(void)
* chain might be corrupt due to a partial store.
*/
STDIO_INIT_MUTEX(_stdio_openlist_add_lock);
-#warning check
#ifdef __STDIO_BUFFERS
STDIO_INIT_MUTEX(_stdio_openlist_del_lock);
#endif
diff --git a/libc/stdio/fflush.c b/libc/stdio/fflush.c
index d9104a4..cf0356a 100644
--- a/libc/stdio/fflush.c
+++ b/libc/stdio/fflush.c
@@ -97,8 +97,6 @@ int fflush_unlocked(register FILE *stream)
while(stream) {
/* We only care about currently writing streams and do not want to
* block trying to obtain mutexes on non-writing streams. */
-#warning fix for nonatomic
-#warning unnecessary check if no threads
if (__STDIO_STREAM_IS_WRITING(stream)) { /* ONLY IF ATOMIC!!! */
__MY_STDIO_THREADLOCK(stream);
/* Need to check again once we have the lock. */
diff --git a/libc/stdio/popen.c b/libc/stdio/popen.c
index 40a6dda..e1b1d40 100644
--- a/libc/stdio/popen.c
+++ b/libc/stdio/popen.c
@@ -124,8 +124,6 @@ FILE *popen(const char *command, const char *modes)
return NULL;
}
-#warning is pclose correct wrt the new mutex semantics?
-
int pclose(FILE *stream)
{
struct popen_list_item *p;
diff --git a/test/unistd/Makefile.in b/test/unistd/Makefile.in
index 44ff360..6f8a274 100644
--- a/test/unistd/Makefile.in
+++ b/test/unistd/Makefile.in
@@ -1,9 +1,10 @@
# uClibc unistd tests
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+TESTS_DISABLED :=
# If LFS is not set, get rid of all *64 tests up front
ifeq ($(UCLIBC_HAS_LFS),)
-TESTS_DISABLED := tst-preadwrite64 tst-posix_fallocate64 tst-fallocate64
+TESTS_DISABLED += tst-preadwrite64 tst-fallocate64
endif
# If we don't have LINUX_SPECIFIC, then get rid of tst-fallocate
@@ -29,6 +30,7 @@ else
# reordering is not supported, behaves as if POSIXLY_CORRECT would be set
OPTS_tstgetopt := -a -b -cfoobar --required foobar --optional=bazbug --none --colou --color --colour random
endif
+
# for embedded systems 4 GB disk space is not available
TESTS_DISABLED += tst-posix_fallocate64
hooks/post-receive
--
uClibc-ng - small C library for embedded systems
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "uClibc-ng - small C library for embedded systems".
The branch, master has been updated
via 5f7dc9b62575cfab781abda80602515ce42b43e8 (commit)
from 33b126af0e3036d554ef993acfe3f204066e2376 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 5f7dc9b62575cfab781abda80602515ce42b43e8
Author: Waldemar Brodkorb <wbx(a)uclibc-ng.org>
Date: Sun Dec 28 21:33:35 2014 +0100
for mips64 with N32 ABI we need to use newfstatat
Fixes compile errors with latest util-linux.
-----------------------------------------------------------------------
Summary of changes:
libc/sysdeps/linux/common/fstatat64.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/libc/sysdeps/linux/common/fstatat64.c b/libc/sysdeps/linux/common/fstatat64.c
index 015f57d..711521a 100644
--- a/libc/sysdeps/linux/common/fstatat64.c
+++ b/libc/sysdeps/linux/common/fstatat64.c
@@ -10,10 +10,18 @@
#include <bits/wordsize.h>
#include <sys/syscall.h>
+#if defined __mips__
+# include <sgidefs.h>
+#endif
+
/* 64bit ports tend to favor newfstatat() */
#if __WORDSIZE == 64 && defined __NR_newfstatat
# define __NR_fstatat64 __NR_newfstatat
#endif
+/* mips N32 ABI use newfstatat(), too */
+#if defined __mips__ && _MIPS_SIM == _ABIN32
+# define __NR_fstatat64 __NR_newfstatat
+#endif
#ifdef __NR_fstatat64
# include <sys/stat.h>
hooks/post-receive
--
uClibc-ng - small C library for embedded systems
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "uClibc-ng - small C library for embedded systems".
The branch, master has been updated
via 33b126af0e3036d554ef993acfe3f204066e2376 (commit)
from cfc523ea8d207ebfd3cf683120d34527b6d08cb6 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 33b126af0e3036d554ef993acfe3f204066e2376
Author: Waldemar Brodkorb <wbx(a)uclibc-ng.org>
Date: Sun Dec 28 17:09:15 2014 +0100
relocation fixes
From OpenWrt:
https://dev.openwrt.org/browser/trunk/toolchain/uClibc/patches-0.9.33.2/613…
-----------------------------------------------------------------------
Summary of changes:
ldso/ldso/mips/elfinterp.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ldso/ldso/mips/elfinterp.c b/ldso/ldso/mips/elfinterp.c
index dfe37c5..6310c77 100644
--- a/ldso/ldso/mips/elfinterp.c
+++ b/ldso/ldso/mips/elfinterp.c
@@ -239,12 +239,12 @@ int _dl_parse_relocation_information(struct dyn_elf *xpnt,
case R_MIPS_TLS_DTPMOD64:
case R_MIPS_TLS_DTPMOD32:
if (tls_tpnt)
- *(ElfW(Word) *)reloc_addr = tls_tpnt->l_tls_modid;
+ *(ElfW(Addr) *)reloc_addr = tls_tpnt->l_tls_modid;
break;
case R_MIPS_TLS_DTPREL64:
case R_MIPS_TLS_DTPREL32:
- *(ElfW(Word) *)reloc_addr +=
+ *(ElfW(Addr) *)reloc_addr +=
TLS_DTPREL_VALUE (symbol_addr);
break;
hooks/post-receive
--
uClibc-ng - small C library for embedded systems
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "uClibc-ng - small C library for embedded systems".
The branch, master has been updated
via cfc523ea8d207ebfd3cf683120d34527b6d08cb6 (commit)
from e6faae7a3082a7a09626ce579da16d7b12fab2bf (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit cfc523ea8d207ebfd3cf683120d34527b6d08cb6
Author: Waldemar Brodkorb <wbx(a)uclibc-ng.org>
Date: Sun Dec 28 17:02:28 2014 +0100
sparc64 support was removed recently
Remove leftover code.
-----------------------------------------------------------------------
Summary of changes:
ldso/include/dl-syscall.h | 4 ----
1 file changed, 4 deletions(-)
diff --git a/ldso/include/dl-syscall.h b/ldso/include/dl-syscall.h
index 675b93a..6a89dff 100644
--- a/ldso/include/dl-syscall.h
+++ b/ldso/include/dl-syscall.h
@@ -25,11 +25,7 @@ extern int _dl_errno;
/* Pull in whatever this particular arch's kernel thinks the kernel version of
* struct stat should look like. It turns out that each arch has a different
* opinion on the subject, and different kernel revs use different names... */
-#if defined(__sparc_v9__) && (__WORDSIZE == 64)
-#define kernel_stat64 stat
-#else
#define kernel_stat stat
-#endif
#include <bits/kernel_stat.h>
#include <bits/kernel_types.h>
hooks/post-receive
--
uClibc-ng - small C library for embedded systems
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "uClibc-ng - small C library for embedded systems".
The branch, master has been updated
via e6faae7a3082a7a09626ce579da16d7b12fab2bf (commit)
from da932d59161a2d833596be5443c81ff244d2db58 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit e6faae7a3082a7a09626ce579da16d7b12fab2bf
Author: Waldemar Brodkorb <wbx(a)uclibc-ng.org>
Date: Fri Dec 26 18:43:07 2014 +0100
don't optimize for special mips cpu
When building optimized code for Lemote Yeelong system, a conflict
occurs. Better use optimized flags in your buildsystem, not in uClibc-ng.
-----------------------------------------------------------------------
Summary of changes:
Rules.mak | 8 --------
1 file changed, 8 deletions(-)
diff --git a/Rules.mak b/Rules.mak
index 72e55f5..218eb1f 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -404,14 +404,6 @@ endif
ifeq ($(TARGET_ARCH),mips)
OPTIMIZATION+=-mno-split-addresses
- CPU_CFLAGS-$(CONFIG_MIPS_ISA_1)+=-mips1
- CPU_CFLAGS-$(CONFIG_MIPS_ISA_2)+=-mips2 -mtune=mips2
- CPU_CFLAGS-$(CONFIG_MIPS_ISA_3)+=-mips3 -mtune=mips3
- CPU_CFLAGS-$(CONFIG_MIPS_ISA_4)+=-mips4 -mtune=mips4
- CPU_CFLAGS-$(CONFIG_MIPS_ISA_MIPS32)+=-mips32 -mtune=mips32
- CPU_CFLAGS-$(CONFIG_MIPS_ISA_MIPS32R2)+=-march=mips32r2 -mtune=mips32r2
- CPU_CFLAGS-$(CONFIG_MIPS_ISA_MIPS64)+=-mips64 -mtune=mips32
- CPU_CFLAGS-$(CONFIG_MIPS_ISA_MIPS64R2)+=-mips64r2 -mtune=mips64r2
ifeq ($(strip $(ARCH_BIG_ENDIAN)),y)
CPU_LDFLAGS-$(CONFIG_MIPS_N64_ABI)+=-Wl,-melf64btsmip
CPU_LDFLAGS-$(CONFIG_MIPS_O32_ABI)+=-Wl,-melf32btsmip
hooks/post-receive
--
uClibc-ng - small C library for embedded systems