Displaying 9 results from an estimated 9 matches for "dwith_errlist".
2004 Oct 16
1
0.184 -- gcc: warning: `-x c' after last input file has no effect
...scalls.nrs,-MD,./.syscalls.nrs.d -mregparm=3 -DREGPARM=3
-march=i386 -Os -g -falign-functions=0 -falign-jumps=0 -falign-loops=0
-nostdinc -iwithprefix include -D__KLIBC__ -DBITSIZE=32
-I../include/arch/i386 -I../include/bits32 -I../include
-I../linux/include -I../linux/include2 -I../linux/include
-DWITH_ERRLIST -W -Wall -Wpointer-arith -Wwrite-strings
-Wstrict-prototypes -Winline -Wp,-dM -x c -E -o syscalls.nrs
gcc: warning: `-x c' after last input file has no effect
gcc: no input files
make[1]: *** [syscalls.nrs] Error 1
make[1]: Leaving directory `/home/dri/klibc-0.184/klibc'
make: *** [all] Err...
2004 Oct 18
3
arch/ia64/pipe.c:5:23: syscommon.h: No such file or directory
Peter,
current klibc does not compile in ia64:
gcc -Wp,-MT,arch/ia64/pipe.o,-MD,arch/ia64/.pipe.o.d -Os -fomit-frame-pointer -nostdinc -iwithprefix include -D__KLIBC__ -DBITSIZE=64 -I../include/arch/ia64 -I../include/bits64 -I../include -I../linux/include -I../linux/include2 -I../linux/include -DWITH_ERRLIST -W -Wall -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Winline -c -o arch/ia64/pipe.o arch/ia64/pipe.c
arch/ia64/pipe.c:5:23: syscommon.h: No such file or directory
arch/ia64/pipe.c: In function `pipe':
arch/ia64/pipe.c:25: error: `__NR_pipe' undeclared (first use in this function)
a...
2005 Feb 25
1
klibc wrapper
...registers are used to pass integer arguments]
-march=i386 [arch] -Os [optimization] -g [debug info]
-falign-functions=0 -falign-jumps=0 -falign-loops=0 [I think they are to optimize for size]
-nostdinc -iwithprefix [include dir prefix] include -D__KLIBC__ -DBITSIZE=32
-I -I ... -DWITH_ERRLIST
-W -Wall -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Winline -c -o tests/hello.o
crt0.o tests/hello.o libc.a /usr/lib/gcc/i686-pc-linux-gnu/3.4.1/libgcc.a
ld -o tests/hello crt0.o tests/hello.o libc.a /usr/lib/gcc/i686-pc-linux-gnu/3.4.1/libgcc.a
I guess I need t...
2005 Jan 19
1
build klibc with gcc 2.96 fails
...gcc -Wp,-MT,__static_init.o,-MD,./.__static_init.o.d -march=i386 -Os -g -malign-functions=0 -malign-jumps=0 -malign-loops=0 -nostdinc -iwithprefix include -D__KLIBC__ -DBITSIZE=32 -I.. /include/arch/i386 -I../include/bits32 -I../include -I../linux/include -I../linux/include2 -I ../linux/include -DWITH_ERRLIST -W -Wall -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Winline -c -o __static_init.o __static_init.c
Usage: cpp [switches] input output
Switches:
-include <file> Include the contents of <file> before other files
-imacros <file> Accept definition of m...
2019 Oct 07
0
[klibc:master] Fix missing header dependency for sigsuspend.o
...ben at decadent.org.uk>
---
usr/klibc/Kbuild | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/usr/klibc/Kbuild b/usr/klibc/Kbuild
index 526442dc..b462fbec 100644
--- a/usr/klibc/Kbuild
+++ b/usr/klibc/Kbuild
@@ -83,6 +83,10 @@ ifeq ($(CONFIG_KLIBC_ERRLIST),y)
KLIBCCFLAGS_strerror.o += -DWITH_ERRLIST
endif
+# sigsuspend.c includes <klibc/havesyscall.h> generated by syscalls/
+# build, so require that to build first
+$(obj)/sigsuspend.o: $(obj)/syscalls/klib.list
+
#####
# Shared definitions
LIBC := libc.a
2020 Mar 28
0
[klibc:master] Suppress format truncation warnings for sprintf() and vsprintf()
...en at decadent.org.uk>
---
usr/klibc/Kbuild | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/usr/klibc/Kbuild b/usr/klibc/Kbuild
index 19ccfbec..24bad07d 100644
--- a/usr/klibc/Kbuild
+++ b/usr/klibc/Kbuild
@@ -83,6 +83,11 @@ ifeq ($(CONFIG_KLIBC_ERRLIST),y)
KLIBCCFLAGS_strerror.o += -DWITH_ERRLIST
endif
+# These pass a huge maximum length to the corresponding length-limiting
+# functions
+KLIBCCFLAGS_sprintf.o += -Wno-format-truncation
+KLIBCCFLAGS_vsprintf.o += -Wno-format-truncation
+
# sigsuspend.c includes <klibc/havesyscall.h> generated by syscalls/
# build, so require that t...
2006 Jul 09
6
[PATCH/RFC] klibc/kbuild: use separate kbuild files for each klibc subdirectory
...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 \
- zlib/inflate.o zlib/infback.o zlib/inftrees.o zlib/inffast.o
-
-# zlib specific flag
-KLIBCCFLAGS += -DDYNAMIC_CRC_TABLE
+klib-$(CONF...
2013 Aug 21
0
Build problems: klibc with Linux 3.10.7
...e -I/root/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