Displaying 19 results from an estimated 19 matches for "errlist".
2019 Jan 25
0
[klibc:master] Fix errlist.c generation in out-of-tree build
...rnel.org/?p=libs/klibc/klibc.git;a=commit;h=81b7c464c5db568edf894bacfc9bee2cec837367
Author: Ben Hutchings <ben at decadent.org.uk>
AuthorDate: Fri, 25 Jan 2019 00:40:19 +0000
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Fri, 25 Jan 2019 02:37:55 +0000
[klibc] Fix errlist.c generation in out-of-tree build
Kbuild expands every -I in the compiler options so that in an
out-of-tree build both the source directory and corresponding
object directory are on the include path.
We currently pass $(KLIBCCPPFLAGS) to makeerrlist.pl, which is not
expanded, so in an out-of-tree...
2013 Jun 07
0
[LLVMdev] clang/llvm with glibc
...e to send some WIP patches and instructions.
>
> This is amazing!
>
> What are you guys doing about -fno-toplevel-reorder?
I haven't done anything about this flag, to be honest. From looking
at glibc's git HEAD it seems to currently be only used by two files
-- siglist.c and errlist.c -- and maybe I'm missing something but I
can't see any reason why either of these files now need it (in the
past these files seem to have contained some assembly but now
only contain straight C declarations). It also seems to have been used
in the past by initfini.c but that file is now...
2012 Jun 16
1
[PATCH][git-pull] Update strerror() to give english messages
...Merge remote-tracking branch 'genec/linux-com32-error-message-for-hpa'
are available in the git repository at:
git://github.com/geneC/syslinux.git strerror-for-hpa
Gene Cumm (4):
errno.h: Strip it of unused macros
strerror: Use klibc version
com32 strerror: add errlist.o to Make
com32 strerror(): Remove macro WITH_ERRLIST use
.gitignore | 1 +
com32/include/errno.h | 111 ----------------------------------------------
com32/lib/Makefile | 7 ++-
com32/lib/makeerrlist.pl | 98 ++++++++++++++++++++++++++++++++++++++++
com32/l...
2013 Jun 07
2
[LLVMdev] clang/llvm with glibc
> It is (almost) possible to compile glibc using DragonEgg -- there
> are only a handful of patches required (for LLVM and DragonEgg),
> most of which are now up for review.
>
> It builds, and most of glibc's test suite currently passes, except
> for some tests that deal with floating point arithmetic, and some
> tests which use very obscure GNU as features which I
2014 Sep 29
2
[LLVMdev] Compiling glibc with clang/LLVM
...ime to send some WIP patches and instructions.
>
> This is amazing!
>
> What are you guys doing about -fno-toplevel-reorder?
I haven't done anything about this flag, to be honest. From looking
at glibc's git HEAD it seems to currently be only used by two files
-- siglist.c and errlist.c -- and maybe I'm missing something but I
can't see any reason why either of these files now need it (in the
past these files seem to have contained some assembly but now
only contain straight C declarations). It also seems to have been used
in the past by initfini.c but that file is now...
2007 Aug 15
0
[git patch] fstype support + minor stuff
...etenv.o \
+ userdb/getgrgid.o userdb/getgrnam.o \
+ userdb/getpwnam.o userdb/getpwuid.o \
+ userdb/root_group.o userdb/root_user.o \
+ usleep.o utime.o vasprintf.o vfork.o \
+ vfprintf.o vprintf.o vsnprintf.o \
+ vsprintf.o vsscanf.o wait3.o wait.o \
+ waitpid.o
klib-$(CONFIG_KLIBC_ERRLIST) += errlist.o
commit d8db398b3f0b893522bf12605e3095789eede748
Author: maximilian attems <max at stro.at>
Date: Wed Aug 15 10:58:13 2007 +0200
.gitignore: add subdir specific entries
ignore
* toplevel: generated *.g and .*.cmd files
* .S autognerated files in klibc/{...
2019 Feb 01
0
[ANNOUNCE] klibc 2.0.6
...t attribute
[klibc] Use -Ttext-segment to link shared library on all arches
[klibc] Kbuild: Enable full debug information
[klibc] alpha: Fix dual1 system call wrapper
[klibc] fcntl: Fix struct flock for 32-bit architectures
[klibc] parisc: Fix vfork()
[klibc] Fix errlist.c generation in out-of-tree build
[klibc] alpha: Fix division routine generation in out-of-tree build
[klibc] Makefile: Honour KBUILD_SRC variable
Christophe Leroy (1):
[klibc] fix build failure when CONFIG_KLIBC_ZLIB is not set
James Clarke (1):
[klibc] ia64: Fix shared b...
2020 Jul 25
0
[klibc:master] stdio: Add extern definition of clearerr()
...printf.o vsprintf.o sprintf.o \
stdio/fread.o stdio/fwrite.o stdio/fflush.o \
stdio/ungetc.o stdio/fgetc.o \
stdio/fseek.o stdio/ftell.o stdio/rewind.o \
- stdio/fileno.o stdio/feof.o stdio/ferror.o
+ stdio/fileno.o stdio/feof.o stdio/ferror.o stdio/clearerr.o
klib-$(CONFIG_KLIBC_ERRLIST) += errlist.o
diff --git a/usr/klibc/stdio/clearerr.c b/usr/klibc/stdio/clearerr.c
new file mode 100644
index 00000000..fb565144
--- /dev/null
+++ b/usr/klibc/stdio/clearerr.c
@@ -0,0 +1,8 @@
+#define __NO_STDIO_INLINES
+#include "stdioint.h"
+
+void clearerr(FILE *__f)
+{
+ __f->_IO...
2012 Nov 14
0
Syslinux-5.00-pre10
...ed to
implement before the final 5.00 release (merging the linux.c32 module
and ldlinux kernel loading code for one). But I don't want to drag these
prereleases out forever, so if you are able to test please do so.
---
Gene Cumm (3):
strerror: Use klibc version
com32 strerror: add errlist.o to Make
com32 strerror(): Remove macro WITH_ERRLIST use
Matt Fleming (18):
pxe: Don't call open_config() from the pxe core
ldlinux: Print a warning if no config file is found
ldlinux: Fix logic if no DEFAULT or UI directive is found
ldlinux: get_key() requires r...
2006 Jul 09
6
[PATCH/RFC] klibc/kbuild: use separate kbuild files for each klibc subdirectory
...o sprintf.o \
asprintf.o vasprintf.o \
vsscanf.o sscanf.o ctypes.o \
strntoumax.o strntoimax.o \
@@ -52,19 +52,15 @@ libc-y := vsnprintf.o snprintf.o vsprint
ctype/ispunct.o ctype/isspace.o ctype/isupper.o \
ctype/isxdigit.o ctype/tolower.o ctype/toupper.o
-libc-$(CONFIG_KLIBC_ERRLIST) += errlist.o
+klib-$(CONFIG_KLIBC_ERRLIST) += errlist.o
ifeq ($(CONFIG_KLIBC_ERRLIST),y)
KLIBCCFLAGS_strerror.o += -DWITH_ERRLIST
endif
-libc-$(CONFIG_KLIBC_ZLIB) += \
- zlib/adler32.o zlib/compress.o zlib/crc32.o zlib/gzio.o \
- zlib/uncompr.o zlib/deflate.o zlib/trees.o zlib/zutil.o \...
2012 Nov 27
0
Syslinux-6.00-pre2
...new script to automatically lookup the gnu-efi files,
which means people shouldn't have to hack mk/efi.mk anymore.
Oh, it also includes a merge of syslinux-5.00-pre10.
Please help test!
Shortlog appended below.
---
Gene Cumm (3):
strerror: Use klibc version
com32 strerror: add errlist.o to Make
com32 strerror(): Remove macro WITH_ERRLIST use
Matt Fleming (32):
pxe: Don't call open_config() from the pxe core
ldlinux: Print a warning if no config file is found
ldlinux: Fix logic if no DEFAULT or UI directive is found
ldlinux: get_key() requires r...
2013 May 13
0
[klibc:sysconf] Framework and trivial implementation of sysconf(3)
...o vsprintf.o sprintf.o \
stdio/fread.o stdio/fwrite.o stdio/fflush.o \
stdio/ungetc.o stdio/fgetc.o \
stdio/fseek.o stdio/ftell.o stdio/rewind.o \
- stdio/fileno.o stdio/feof.o stdio/ferror.o
+ stdio/fileno.o stdio/feof.o stdio/ferror.o \
+ sysconf/sysconf.o
klib-$(CONFIG_KLIBC_ERRLIST) += errlist.o
diff --git a/usr/klibc/sysconf/sysconf.c b/usr/klibc/sysconf/sysconf.c
new file mode 100644
index 0000000..0e21beb
--- /dev/null
+++ b/usr/klibc/sysconf/sysconf.c
@@ -0,0 +1,8 @@
+#include <sys/sysconf.h>
+
+#undef sysconf
+
+long sysconf(int val)
+{
+ return __sysconf_inline(...
2008 Sep 05
0
initial mntent.h, mount features, ipconfig fixes
...rintf.o vsprintf.o sprintf.o \
ctype/isxdigit.o ctype/tolower.o ctype/toupper.o \
userdb/getgrgid.o userdb/getgrnam.o userdb/getpwnam.o \
userdb/getpwuid.o userdb/root_group.o userdb/root_user.o \
- setmntent.o endmntent.o
+ setmntent.o endmntent.o getmntent.o
klib-$(CONFIG_KLIBC_ERRLIST) += errlist.o
diff --git a/usr/klibc/getmntent.c b/usr/klibc/getmntent.c
new file mode 100644
index 0000000..c84f1ce
--- /dev/null
+++ b/usr/klibc/getmntent.c
@@ -0,0 +1,60 @@
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <mntent.h>
+
+#define BUF...
2013 May 09
2
Klibc 2.0.2 build vs -j 30-ish
...he 'syscalls'
+# subdirectory. There is unfortunately no way I can find to be more
+# specific than relying on the recursive make for the entire subdirectory
+# to have already completed before we attempt to compile sigsuspend.o.
+$(obj)/sigsuspend.o: $(obj)/syscalls
+
klib-$(CONFIG_KLIBC_ERRLIST) += errlist.o
ifeq ($(CONFIG_KLIBC_ERRLIST),y)
2008 Sep 07
1
[git pull v2] initial mntent.h, mount features, ipconfig fixes
...rintf.o vsprintf.o sprintf.o \
ctype/isxdigit.o ctype/tolower.o ctype/toupper.o \
userdb/getgrgid.o userdb/getgrnam.o userdb/getpwnam.o \
userdb/getpwuid.o userdb/root_group.o userdb/root_user.o \
- setmntent.o endmntent.o
+ setmntent.o endmntent.o getmntent.o
klib-$(CONFIG_KLIBC_ERRLIST) += errlist.o
diff --git a/usr/klibc/getmntent.c b/usr/klibc/getmntent.c
new file mode 100644
index 0000000..8af27f3
--- /dev/null
+++ b/usr/klibc/getmntent.c
@@ -0,0 +1,61 @@
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <mntent.h>
+
+#define BUF...
2006 Jun 26
1
[klibc 00/43] klibc as a historyless patchset
...too-many-architectures-need-it-.patch
07-eliminate-unnecessary-whitespace-delta-vs-linus-tree.patch
08-klibc-default-initramfs-content-stored-in-usrinitramfs-default.patch
09-kbuild-support-single-targets-for-klibc-and-klibc-programs.patch
10-remove-prototype-for-name-to-dev-t.patch
11-enable-klibc-errlist.patch
12-enable-config-klibc-zlib-now-required-to-build-kinit.patch
13-uml-the-klibc-architecture-is-the-underlying-architecture.patch
14-remove-in-kernel-nfsroot-code.patch
15-default-klibcarch--arch.patch
16-sparc64-transmit-arch-specific-options-to-kinit-via-arch-cmd.patch
17-sparc32-transfer-ar...
2004 Aug 13
1
[PATCH] make spotless update
...spotless leaves 2 generated files.
diff -purN klibc-0.159.orig/klibc/Makefile klibc-0.159/klibc/Makefile
--- klibc-0.159.orig/klibc/Makefile 2004-08-03 23:07:05.000000000 +0200
+++ klibc-0.159/klibc/Makefile 2004-08-13 22:23:35.696699671 +0200
@@ -156,6 +156,7 @@ clean: archclean
rm -f sha1hash errlist.c
spotless: clean
+ rm -f include/klibc/havesyscall.h syscalls.nrs
find . \( -name \*~ -o -name '.*.d' \) -not -type d -print0 | \
xargs -0rt rm -f
--
USB is for mice, FireWire is for men!
sUse lINUX ag, n?RNBERG
2013 Aug 21
0
Build problems: klibc with Linux 3.10.7
...oot/ofs/trunk/packages/klibc-2.0.2/usr/include -Iusr/include -I/root/gen/trunk/knl/linux/usr//include -I/root/gen/trunk/knl/linux/usr//arch/powerpc/include -D__KLIBC__=2 -D__KLIBC_MINOR__=0 -D_BITSIZE=32 -fno-stack-protector -fwrapv -m32 -Os -W -Wall -Wno-sign-compare -Wno-unused-parameter -DWITH_ERRLIST -c -o usr/klibc/strerror.o usr/klibc/strerror.c
ppc-linux-gcc -Wp,-MD,usr/klibc/.strsignal.o.d -nostdinc -iwithprefix include -I/root/ofs/trunk/packages/klibc-2.0.2/usr/include/arch/ppc -Iusr/include/arch/ppc -I/root/ofs/trunk/packages/klibc-2.0.2/usr/include/bits32 -Iusr/include/bits32 -I/root/...
2013 Aug 21
5
Build problems: klibc with Linux 3.10.7
On Tue, Aug 20, 2013 at 07:44:39AM +0200, leroy christophe wrote:
> >
> Find attached two patches I have in order to build klibc 2.0.2
> against kernel 3.8.13
> We had to introduce those patches when going from kernel 3.6 to kernel 3.7
> Hope it helps.
>
those patches are wrong and again very brittle.
just use the way it is described in `make help':
A) cd ~/src/linux