OSDN Git Service
Mike Frysinger [Sun, 13 Feb 2005 06:51:15 +0000 (06:51 -0000)]
touchup the $(AR) mojo to address some bugs by Peter Kjellerstedt
Mike Frysinger [Sat, 12 Feb 2005 20:59:08 +0000 (20:59 -0000)]
no more cvs
Joakim Tjernlund [Thu, 10 Feb 2005 23:38:14 +0000 (23:38 -0000)]
Add THREAD_SELF definition to PPC. This should make threads on PPC
a bit faster.
Eric Andersen [Wed, 9 Feb 2005 18:24:45 +0000 (18:24 -0000)]
fix typo
Peter Kjellerstedt [Wed, 9 Feb 2005 09:00:28 +0000 (09:00 -0000)]
Define va_copy for pre-C99 compilers (code taken from vfprintf.c).
Peter Kjellerstedt [Wed, 9 Feb 2005 08:42:13 +0000 (08:42 -0000)]
Implement _start completely in assembler. Otherwise the compiler will
push the frame pointer when DO_DEBUG is enabled (and thus incorrect
argc, argv and envp will be passed to the program).
Peter Kjellerstedt [Wed, 9 Feb 2005 08:40:55 +0000 (08:40 -0000)]
Include features.h (without it, testing for __UCLIBC_HAS_THREADS__
makes no sense).
Eric Andersen [Wed, 9 Feb 2005 06:50:57 +0000 (06:50 -0000)]
simplify anon url
Ned Ludd [Tue, 8 Feb 2005 21:21:32 +0000 (21:21 -0000)]
- 3/NN patches for ssp. Doc updates from Peter S. Mazinger and Robert Connolly
Eric Andersen [Tue, 8 Feb 2005 20:59:51 +0000 (20:59 -0000)]
ordering update
Ned Ludd [Tue, 8 Feb 2005 20:55:33 +0000 (20:55 -0000)]
- 2/NN patches for ssp. Updates from Peter S. Mazinger and Robert Connolly
Eric Andersen [Tue, 8 Feb 2005 20:29:15 +0000 (20:29 -0000)]
Update the year
Eric Andersen [Tue, 8 Feb 2005 20:27:08 +0000 (20:27 -0000)]
Mention subversion and provide access info. Remove mention of cvs.
-Erik
Ned Ludd [Tue, 8 Feb 2005 19:28:46 +0000 (19:28 -0000)]
- 1/NN patches for ssp
Eric Andersen [Tue, 8 Feb 2005 00:34:41 +0000 (00:34 -0000)]
Update release target for subversion
Mike Frysinger [Tue, 8 Feb 2005 00:25:15 +0000 (00:25 -0000)]
add notes about header generation
Ned Ludd [Wed, 2 Feb 2005 14:18:01 +0000 (14:18 -0000)]
- updated getent script to match behaviors of newer glibc getent. update from Peter S. Mazinger
Joakim Tjernlund [Tue, 1 Feb 2005 16:43:29 +0000 (16:43 -0000)]
Fix death event reporting properly.
Now GDB is happy and death events are reported as
[Thread 5126 (LWP 192) exited]
without GDB bailing out.
Eric Andersen [Mon, 31 Jan 2005 17:53:01 +0000 (17:53 -0000)]
Restore it so we get gdb
[Thread 1026 (Missing) exited]
messages again, while leaving the __linuxthreads_death_event()
call disabled, as it still breaks gdb.
Eric Andersen [Mon, 31 Jan 2005 17:40:08 +0000 (17:40 -0000)]
Always use the target CC when generating include/bits/sysnum.h, since some
arches like mips have an include/asm/unistd.h that depends on #defines provided
only by gcc. Therefore, since we may need to generate include/bits/sysnum.h
before the target CC is actually existant when bootstrapping a toolchain, we
must ensure that include/bits/sysnum.h is rebuilt every time we run make.
Sigh. What a pain.
-Erik
Joakim Tjernlund [Mon, 31 Jan 2005 15:48:37 +0000 (15:48 -0000)]
Sync with latest GLIBC.
Joakim Tjernlund [Mon, 31 Jan 2005 15:35:46 +0000 (15:35 -0000)]
Oops, remove extra sigaddset() call. Don't know how that one got there.
Eric Andersen [Sat, 29 Jan 2005 14:20:10 +0000 (14:20 -0000)]
Hi Erik and Manuel
Long time no see :)
It appears uClibc pthreads native debugging is broken w.r.t thread exit handling in
uClibc(at least on PPC). When debugging ex7, gdb(6.2.1) bails out as
soon as a thread exits. I found a comment in gdb that TD_DEATH handling was broken for
glibc 2.3.1, so I figured that maybe it was broken in uClibc also.
I added a #if 0 #endif in pthread_exit( see patch below) and then
gdb behaved again.
While looking into this I found a few differences( included in the patch)
between glibc and uClibc. Don't know if these makes a difference, but I leave that to
you to decide.
Jocke
Eric Andersen [Sat, 29 Jan 2005 12:08:54 +0000 (12:08 -0000)]
Use HOSTCC for seting up the syscall list
Mike Frysinger [Sat, 29 Jan 2005 03:34:13 +0000 (03:34 -0000)]
merge parallel build support
Mike Frysinger [Tue, 25 Jan 2005 03:17:00 +0000 (03:17 -0000)]
merge parallel build support
Mike Frysinger [Mon, 24 Jan 2005 23:20:56 +0000 (23:20 -0000)]
make sure libdl static and shared targets are built properly
Peter Kjellerstedt [Mon, 24 Jan 2005 22:33:44 +0000 (22:33 -0000)]
Use $(LN) rather than ln.
Eric Andersen [Sun, 23 Jan 2005 11:27:02 +0000 (11:27 -0000)]
When there is no umount syscall, but umount2 is available, then
try to emulate umount() using umount2()
Mike Frysinger [Wed, 19 Jan 2005 23:44:14 +0000 (23:44 -0000)]
ignore our headers hack
Mike Frysinger [Wed, 19 Jan 2005 23:41:09 +0000 (23:41 -0000)]
clean up dependencies so libraries are only rebuilt when needed and so that parallel build works correctly
Mike Frysinger [Wed, 19 Jan 2005 23:40:41 +0000 (23:40 -0000)]
add a tiny hack so that the headers target isnt rebuilt all the time, only when it should be
Mike Frysinger [Wed, 19 Jan 2005 23:39:48 +0000 (23:39 -0000)]
beautify
Mike Frysinger [Wed, 19 Jan 2005 23:38:33 +0000 (23:38 -0000)]
touchup the dependencies so that the sysdeps object files will override the toplevel linuxthreads generic object files
Peter Kjellerstedt [Wed, 19 Jan 2005 10:31:51 +0000 (10:31 -0000)]
Avoid compiler warnings.
Peter Kjellerstedt [Wed, 19 Jan 2005 08:49:59 +0000 (08:49 -0000)]
Use Makefile if statements rather than their shell counterparts.
Peter Kjellerstedt [Wed, 19 Jan 2005 07:48:00 +0000 (07:48 -0000)]
Make it compile for architectures which have __UCLIBC_HAS_LFS__ defined,
but neither __NR_fadvise64 nor __NR_fadvise64_64.
Mike Frysinger [Wed, 19 Jan 2005 03:58:57 +0000 (03:58 -0000)]
ok, worry over race condition doesnt exist because we only have 1 subdir running $(AR), and the toplevel $(AR) isnt invoked until subdirs have finished
Mike Frysinger [Wed, 19 Jan 2005 01:47:58 +0000 (01:47 -0000)]
fix target dependencies to support parallel building
Mike Frysinger [Wed, 19 Jan 2005 01:36:59 +0000 (01:36 -0000)]
tweak dependencies so the archive is only rebuilt when the object files are updated
Mike Frysinger [Wed, 19 Jan 2005 00:50:20 +0000 (00:50 -0000)]
use $(RANLIB)
Mike Frysinger [Wed, 19 Jan 2005 00:45:40 +0000 (00:45 -0000)]
redo targets so the archives are only re-built when needed. also change the logic to use Makefile if statements rather than shell.
Mike Frysinger [Tue, 18 Jan 2005 23:30:31 +0000 (23:30 -0000)]
rework dependencies so the archive is re-created only when the object files have been updated
Mike Frysinger [Tue, 18 Jan 2005 23:18:14 +0000 (23:18 -0000)]
rework dependencies to support parallel build and avoid re-creating header files all the time
Mike Frysinger [Tue, 18 Jan 2005 23:14:41 +0000 (23:14 -0000)]
rework the dependencies so libpthread_db.a is only rebuilt when the object files get updated
Mike Frysinger [Tue, 18 Jan 2005 23:01:13 +0000 (23:01 -0000)]
white space clean up
Mike Frysinger [Tue, 18 Jan 2005 23:00:02 +0000 (23:00 -0000)]
tweak target dependencies to support parallel builds
Mike Frysinger [Tue, 18 Jan 2005 22:55:44 +0000 (22:55 -0000)]
- define RANLIB since a subdir or two uses it
- add support for DESTDIR to work the same as PREFIX
Mike Frysinger [Tue, 18 Jan 2005 04:26:49 +0000 (04:26 -0000)]
make sure we include pthread.h to define pthread_attr_t
Mike Frysinger [Tue, 18 Jan 2005 02:30:03 +0000 (02:30 -0000)]
whitespace touchups
Mike Frysinger [Mon, 17 Jan 2005 23:18:56 +0000 (23:18 -0000)]
add posix_fadvise / posix_fadvise64 support
Eric Andersen [Mon, 17 Jan 2005 21:08:09 +0000 (21:08 -0000)]
Mention uclibc.org as the defalt download site
Peter Kjellerstedt [Sun, 16 Jan 2005 09:49:14 +0000 (09:49 -0000)]
Made it possible to make utils when $(CROSS) or $(CC) contain spaces.
Peter Kjellerstedt [Sun, 16 Jan 2005 09:46:57 +0000 (09:46 -0000)]
Corrected a typo.
Eric Andersen [Sun, 16 Jan 2005 05:38:32 +0000 (05:38 -0000)]
Per bugs.uclibc.org/view.php?id=15, patch from kergoth:
Sometimes it is desirable to build ldconfig non-static.
Eric Andersen [Sun, 16 Jan 2005 05:20:10 +0000 (05:20 -0000)]
whitespace cleanup
Eric Andersen [Sun, 16 Jan 2005 05:19:55 +0000 (05:19 -0000)]
Per http://bugs.uclibc.org/view.php?id=12:
Some newer archs only have umount2
Ned Ludd [Sun, 16 Jan 2005 05:08:10 +0000 (05:08 -0000)]
- ifdef bdflush update from bug #
0000011
Ned Ludd [Sun, 16 Jan 2005 05:05:33 +0000 (05:05 -0000)]
- ifdef uselib update from bug #
0000013
Eric Andersen [Sun, 16 Jan 2005 04:39:24 +0000 (04:39 -0000)]
prevent people asking what a loose-meat sandwich is (its another
name for a sloppy-joe' in case anyone was wondering)
Eric Andersen [Fri, 14 Jan 2005 17:07:51 +0000 (17:07 -0000)]
Fix spelling
Eric Andersen [Thu, 13 Jan 2005 17:22:46 +0000 (17:22 -0000)]
fix grammar
Eric Andersen [Thu, 13 Jan 2005 17:20:59 +0000 (17:20 -0000)]
Mention the new bug tracking system
Ned Ludd [Wed, 12 Jan 2005 15:11:24 +0000 (15:11 -0000)]
- add patch from Peter S. Mazinger to allow selecting the fast access canary for propolice/ssp
Peter Kjellerstedt [Wed, 12 Jan 2005 13:26:18 +0000 (13:26 -0000)]
Use the inlined __dl_parse_dynamic_info() in DL_BOOT() for CRIS too.
Eric Andersen [Wed, 12 Jan 2005 07:52:50 +0000 (07:52 -0000)]
Update docs for release
Eric Andersen [Wed, 12 Jan 2005 01:22:59 +0000 (01:22 -0000)]
cleanup, and prevent failures due to including architecture specific
header files into ldconfig when building for the host.
Mike Frysinger [Tue, 11 Jan 2005 17:02:22 +0000 (17:02 -0000)]
newer linux headers define __cast__ in compiler.h so lets fake it too
Mike Frysinger [Tue, 11 Jan 2005 17:01:53 +0000 (17:01 -0000)]
dont bother including sysctl.h unless we need it
Eric Andersen [Tue, 11 Jan 2005 11:31:55 +0000 (11:31 -0000)]
Jean writes:
Hello,
under some circumstances the following small example prints lots of
garbage onto the console and into the syslog:
#include <syslog.h>
int main ()
{
openlog("foo", LOG_CONS|LOG_NDELAY|LOG_PID|LOG_PERROR, LOG_DAEMON);
syslog (LOG_WARNING, "mlock: %m");
return 1;
}
The reason is, that sprintf returns with -1 and vsyslog dumps the
complete buffer onto stderr and the syslogd socket. The following
patch would fix the problem:
Eric Andersen [Tue, 11 Jan 2005 11:25:32 +0000 (11:25 -0000)]
Patch from Bernardo Innocenti:
Remove use of cast-as-l-value extension, removed in GCC 3.5.
Eric Andersen [Tue, 11 Jan 2005 11:08:30 +0000 (11:08 -0000)]
Jan Lana writes:
uClibc resolver doesn't lookup all search domains.
For example, if you have computer 'jenda.prague.my.cz' and resolv.conf:
search my.cz
nameserver xx.xx.xx.xx
try this:
ping jenda.prague.my.cz #works
ping jenda.prague #unknown host
libc/inet/resolv.c doesn't want to try search domains if the domain name
contains '.'. I don't find any reason for the behaviour in literature
and it is inconsistent with the glibc.
Patch is attached.
regards,
- jenda
Eric Andersen [Tue, 11 Jan 2005 10:58:19 +0000 (10:58 -0000)]
Do not use portable (POSIX) 'cp -PRf' but instead use 'cp -dRf' since
busybox does not yet support 'cp -P'
Eric Andersen [Tue, 11 Jan 2005 10:15:06 +0000 (10:15 -0000)]
Why is this here?
Eric Andersen [Tue, 11 Jan 2005 09:58:05 +0000 (09:58 -0000)]
update prior to release
Eric Andersen [Tue, 11 Jan 2005 09:55:02 +0000 (09:55 -0000)]
minor doc update
Eric Andersen [Tue, 11 Jan 2005 09:41:40 +0000 (09:41 -0000)]
Patch from Paul Mundt (lethal) adding an initial librt implementation.
I then reworked the syscall handling and made minor cleanups. With luck
I've not completely broken his patch...
Eric Andersen [Tue, 11 Jan 2005 06:39:19 +0000 (06:39 -0000)]
Remove the no-longer-needed #include <sys/user.h>
Eric Andersen [Mon, 10 Jan 2005 20:46:43 +0000 (20:46 -0000)]
Fixup function prototypes to match definitions in include/dlfcn.h
Eric Andersen [Sun, 9 Jan 2005 08:19:19 +0000 (08:19 -0000)]
Bump version number
Mike Frysinger [Thu, 6 Jan 2005 04:02:00 +0000 (04:02 -0000)]
Document more things inet_aton() 'should' support but actually doesn't.
Most of the time, no one ever notices, so there's not point eh ? Also
standardize tab usage.
Mike Frysinger [Thu, 6 Jan 2005 03:06:49 +0000 (03:06 -0000)]
Justin Cormack <justin@street-vision.com> writes:
Here is a small patch to add epoll support to uclibc.
The only thing I am not sure about is what needs to be done (if anything)
to make it work on 2.4/2.2 kernels (are the syscall numbers defined but
give errors when called or not?).
Tested on 2.6, though some other issues prevent more extensive testing at
the minute.
Mike Frysinger:
cleaned up patch and added checks to make sure that the syscall actually
exists, returning ENOSYS in cases where it doesn't.
Mike Frysinger [Wed, 5 Jan 2005 23:11:28 +0000 (23:11 -0000)]
fix eriks e-mail address
Mike Frysinger [Sat, 1 Jan 2005 20:28:21 +0000 (20:28 -0000)]
Amir Shalem writes:
here are few patches for better compatability in ./Makefile:
cp.diff - use portable (POSIX) way to specfic --no-dereference (-d)
Mike Frysinger [Sat, 1 Jan 2005 20:25:05 +0000 (20:25 -0000)]
Amir Shalem writes:
here are few patches for better compatability in ./Makefile:
make.diff - make should never called directly, change it to $(MAKE)
Eric Andersen [Mon, 27 Dec 2004 19:43:31 +0000 (19:43 -0000)]
clarify
Eric Andersen [Mon, 27 Dec 2004 19:40:58 +0000 (19:40 -0000)]
fix typo
Eric Andersen [Mon, 27 Dec 2004 19:28:55 +0000 (19:28 -0000)]
Update FAQ, remove references to 'toolchain' and instead emphasize
'buildroot', which can do everything 'toolchain' could do and then
some. And is actively maintained.
-Erik
Mike Frysinger [Sun, 26 Dec 2004 09:00:59 +0000 (09:00 -0000)]
Peter S. Mazinger: make sure the ld RELRO and NOW options are independent options
Mike Frysinger [Sun, 26 Dec 2004 08:57:06 +0000 (08:57 -0000)]
Peter S. Mazinger: use ASFLAGS when compiling asm files
Eric Andersen [Thu, 23 Dec 2004 01:29:45 +0000 (01:29 -0000)]
Fix thinko
Eric Andersen [Wed, 22 Dec 2004 23:03:42 +0000 (23:03 -0000)]
Remove the obsolete XATTR option
Eric Andersen [Wed, 22 Dec 2004 22:35:31 +0000 (22:35 -0000)]
Fix typo
Eric Andersen [Wed, 22 Dec 2004 21:57:24 +0000 (21:57 -0000)]
Make certain that the prototype for fgets_unlocked is defined
Eric Andersen [Wed, 22 Dec 2004 21:55:56 +0000 (21:55 -0000)]
Cleanup for when LDSO_CACHE_SUPPORT is disabled
Eric Andersen [Wed, 22 Dec 2004 21:40:45 +0000 (21:40 -0000)]
Patch from Peter S. Mazinger:
Add pie support for mips
Eric Andersen [Wed, 22 Dec 2004 21:34:27 +0000 (21:34 -0000)]
Patch from Peter S. Mazinger:
Add UCLIBC_BUILD_NOEXECSTACK support.
Eric Andersen [Wed, 22 Dec 2004 21:24:32 +0000 (21:24 -0000)]
Patch from Peter S. Mazinger:
Seperate out security features into a separate menu
Eric Andersen [Wed, 22 Dec 2004 21:14:23 +0000 (21:14 -0000)]
Patch from Peter S. Mazinger:
rename UCLIBC_PROPOLICE to UCLIBC_HAS_SSP
Eric Andersen [Wed, 22 Dec 2004 21:04:52 +0000 (21:04 -0000)]
Cleaned up patch from Peter S. Mazinger adding support for
-fstack-protector and -fno-stack-protector-all security
options