search for: klibccc

Displaying 20 results from an estimated 43 matches for "klibccc".

2006 Jun 26
5
__builtin_clz in klibc
Hi, I just got a bug report that klibc doesn't compile on s390: KLIBCCC usr/klibc/libgcc/__clzsi2.o KLIBCCC usr/klibc/libgcc/__clzdi2.o usr/klibc/libgcc/__clzdi2.c: In function `__clzdi2': usr/klibc/libgcc/__clzdi2.c:24: warning: implicit declaration of function `__builtin_clz' This looks like a common problem, because __builtin_clz is available since gcc 3....
2010 Oct 17
6
klibc 1.5.20 falls into an finite loop during build against linux 2.6.35.4
GEN usr/klibc/syscalls/SYSCALLS.i GEN usr/klibc/syscalls/syscalls.nrs GEN usr/klibc/syscalls/typesize.c KLIBCCC usr/klibc/syscalls/typesize.o OBJCOPY usr/klibc/syscalls/typesize.bin GEN usr/klibc/syscalls/syscalls.mk GEN usr/klibc/syscalls/SYSCALLS.i GEN usr/klibc/syscalls/syscalls.nrs GEN usr/klibc/syscalls/typesize.c KLIBCCC usr/klibc/syscalls/typesize.o OBJCOPY usr/klibc/sysc...
2006 Feb 15
0
Unable to build linux-2.6-klibc with O=
...dcode the relative path of mktokens in the rule; another solution could be changing mktokens to output on the stdout and redirect it to the correct file. I've tested the patch with and without O= and it works as expected. The compilation then stops at dash anyway, with the following error: KLIBCCC usr/dash/redir.o KLIBCCC usr/dash/show.o KLIBCCC usr/dash/trap.o KLIBCCC usr/dash/output.o KLIBCCC usr/dash/bltin/printf.o KLIBCCC usr/dash/system.o KLIBCCC usr/dash/bltin/test.o KLIBCCC usr/dash/bltin/times.o KLIBCCC usr/dash/var.o KLIBCLD usr/dash/sh usr/dash/builtins.o:(.rodata...
2006 Feb 09
0
Dash fails to link with KLIBCKERNELOBJ set
Hi, From the Makefile I figured that to build klibc where the kernel was built with O=/someotherdir, you need to do: make KLIBCKERNELOBJ=/someotherdir KBUILD_SRC=1 Everything seems fine though, but it fails to link dash with: ----- KLIBCCC dash/bltin/printf.o KLIBCCC dash/system.o KLIBCCC dash/bltin/test.o KLIBCCC dash/bltin/times.o KLIBCCC dash/var.o GEN dash/init.c KLIBCCC dash/init.o KLIBCLD dash/sh KLIBCLD dash/sh.shared dash/builtins.o:(.rodata+0x68): undefined reference to `bgcmd' dash/builtins.o:(.rodat...
2013 May 09
2
Klibc 2.0.2 build vs -j 30-ish
I've run into a problem with building klibc with high parallelism It's not quite predictable, but at a -j of approx 25-30 or more (on a 24 hyperthreaded machine), I often get something like the following error messages: ... KLIBCCC usr/klibc/sigsuspend.o KLIBCCC usr/klibc/sigprocmask.o KLIBCCC usr/klibc/pselect.o KLIBCCC usr/klibc/ppoll.o /git/KLIBC/usr/klibc/sigsuspend.c:8:31: fatal error: klibc/havesyscall.h: No such file or directory compilation terminated. KLIBCCC usr/klibc/sbrk.o KLIBCCC usr/klibc/malloc.o make[2]:...
2006 Jun 26
0
[klibc 19/43] klibc basic build infrastructure
...)/arch/$(KLIBCARCHDIR)/MCONFIG + +# include/asm-* architecture +KLIBCASMARCH ?= $(KLIBCARCH) + +# klibc version +KLIBCMAJOR := $(shell cut -d. -f1 $(srctree)/usr/klibc/version) +KLIBCMINOR := $(shell cut -d. -f2 $(srctree)/usr/klibc/version) + +# binutils +KLIBCLD := $(LD) +KLIBCCC := $(CC) +KLIBCAR := $(AR) +KLIBCRANLIB := $(RANLIB) +KLIBCSTRIP := $(STRIP) +KLIBCNM := $(NM) +KLIBCOBJCOPY := $(OBJCOPY) +KLIBCOBJDUMP := $(OBJDUMP) + +# klibc include paths +KLIBCCPPFLAGS := -I$(KLIBCINC)/arch/$(KLIBCARCHDIR) \ + -I$(...
2006 Jan 31
1
[patch] Kbuild.klibc don't hardcode gcc version
...f-by: maximilian attems <maks@sternwelten.at> diff --git a/scripts/Kbuild.klibc b/scripts/Kbuild.klibc index 66e16e7..70e4071 100644 --- a/scripts/Kbuild.klibc +++ b/scripts/Kbuild.klibc @@ -72,7 +72,7 @@ KLIBCROSS := $(CROSS_COMPILE) # binutils KLIBCLD := $(KLIBCROSS)ld -KLIBCCC := $(KLIBCROSS)gcc +KLIBCCC := $(KLIBCROSS)$(CC) KLIBCAR := $(KLIBCROSS)ar KLIBCRANLIB := $(KLIBCROSS)ranlib KLIBCSTRIP := $(KLIBCROSS)strip
2010 Feb 02
0
build failures with 2.6.33-rc
...but that seems to be a fix for a different problem than I'm currently seeing. Any pointers would be grealy appreciated, Kevin [1] http://www.zytor.com/pipermail/klibc/2009-September/002457.html [2] http://www.zytor.com/pipermail/klibc/2010-January/002472.html [3] build log on ARM: [...] KLIBCCC usr/klibc/nrand48.o KLIBCCC usr/klibc/srand48.o KLIBCCC usr/klibc/seed48.o KLIBCCC usr/klibc/inet/inet_ntoa.o In file included from usr/klibc/../include/netinet/in.h:11, from usr/klibc/../include/arpa/inet.h:11, from usr/klibc/inet/inet_ntoa.c:6: usr/klibc/.....
2005 Dec 13
2
Parallel build of dash still fails
...h/mkinit HOSTCC dash/mknodes HOSTCC dash/mksignames HOSTCC dash/mksyntax dash/mksignames.c:59: warning: function declaration isn?t a prototype dash/mksignames.c:365: warning: function declaration isn?t a prototype dash/mksignames.c:386: warning: function declaration isn?t a prototype KLIBCCC dash/alias.o cd dash; \ bison -y -d /home/hpa/klibc/klibc.clean/dash/arith.y; \ mv y.tab.c arith.c; \ mv y.tab.h arith.h cd dash; \ bison -y -d /home/hpa/klibc/klibc.clean/dash/arith.y; \ mv y.tab.c arith.c; \ mv y.tab.h arith.h KLIBCCC dash/...
2020 Mar 29
0
[kvm-unit-tests PATCH v3 1/4] Kbuild: add support for clang builds
...HDIR) \ + -I$(KLIBCINC)/arch/$(KLIBCARCHDIR) \ -I$(KLIBCINC)/bits$(KLIBCBITSIZE) \ - -I$(KLIBCOBJ)/../include \ + -I$(KLIBCOBJ)/../include \ -I$(KLIBCINC) +ifeq ($(cc-name),clang) +KLIBCCPPFLAGS += -I$(shell $(KLIBCCC) $(KLIBCCFLAGS) --print-file-name=include) +endif + # kernel include paths KLIBCKERNELSRC ?= $(srctree) KLIBCCPPFLAGS += -I$(KLIBCKERNELSRC)/include \ @@ -128,8 +133,8 @@ KLIBCCFLAGS += $(KLIBCCPPFLAGS) $(KLIBCREQFLAGS) $(KLIBCARCHREQFLAGS) \ KLIBCAFLAGS += -D__ASSEMBLY__ -Wa,--...
2020 Jul 25
0
[klibc:master] Kbuild: add support for clang builds
...HDIR) \ + -I$(KLIBCINC)/arch/$(KLIBCARCHDIR) \ -I$(KLIBCINC)/bits$(KLIBCBITSIZE) \ - -I$(KLIBCOBJ)/../include \ + -I$(KLIBCOBJ)/../include \ -I$(KLIBCINC) +ifeq ($(cc-name),clang) +KLIBCCPPFLAGS += -I$(shell $(KLIBCCC) $(KLIBCCFLAGS) --print-file-name=include) +endif + # kernel include paths KLIBCKERNELSRC ?= $(srctree) KLIBCCPPFLAGS += -I$(KLIBCKERNELSRC)/include \ @@ -131,8 +136,8 @@ KLIBCCFLAGS += $(KLIBCCPPFLAGS) $(KLIBCREQFLAGS) $(KLIBCARCHREQFLAGS) \ KLIBCAFLAGS += -D__ASSEMBLY__ $(KLIB...
2020 Mar 27
3
[PATCH v2 3/5] Kbuild: use "libc.a" with clang
.../scripts/Kbuild.klibc index 411d7ea9bea6..ba3f389626b3 100644 --- a/scripts/Kbuild.klibc +++ b/scripts/Kbuild.klibc @@ -141,6 +141,8 @@ KLIBCSTRIPFLAGS += --strip-all -R .comment -R .note # Don't attempt to set it if we are using clang. ifneq ($(cc-name),clang) KLIBCLIBGCC_DEF := $(shell $(KLIBCCC) $(KLIBCCFLAGS) --print-libgcc) +else +KLIBCLIBGCC_DEF := $(KLIBCOBJ)/libc.a endif KLIBCLIBGCC ?= $(KLIBCLIBGCC_DEF) KLIBCCRT0 := $(KLIBCOBJ)/arch/$(KLIBCARCHDIR)/crt0.o diff --git a/usr/klibc/arch/x86_64/MCONFIG b/usr/klibc/arch/x86_64/MCONFIG index ac1ac074c00a..a6ba7c85c68b 100644 --...
2019 Jan 22
4
usr/dash/eval.c:277:19: warning: logical not is only applied to the left hand side of comparison
? KLIBCCC usr/dash/eval.o usr/dash/eval.c: In function 'evaltree': usr/dash/eval.c:277:19: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] ?? if (!exitstatus == isor) ?????????????????? ^ Not sure what the fix should be: ?? if (!(exitstatus =...
2020 Feb 29
0
[klibc:master] Kbuild: Tell gas we don't want executable stacks
...IBCREQFLAGS) $(KLIBCARCHREQFLAGS) \ $(KLIBCOPTFLAGS) $(KLIBCWARNFLAGS) -KLIBCAFLAGS += -D__ASSEMBLY__ $(KLIBCCFLAGS) +KLIBCAFLAGS += -D__ASSEMBLY__ -Wa,--noexecstack $(KLIBCCFLAGS) KLIBCSTRIPFLAGS += --strip-all -R .comment -R .note KLIBCLIBGCC_DEF := $(shell $(KLIBCCC) $(KLIBCCFLAGS) --print-libgcc) diff --git a/usr/klibc/Kbuild b/usr/klibc/Kbuild index b462fbec..19ccfbec 100644 --- a/usr/klibc/Kbuild +++ b/usr/klibc/Kbuild @@ -180,6 +180,7 @@ quiet_cmd_interp = BUILD $@ cmd_interp = $(KLIBCCC) $(klibccflags) -D__ASSEMBLY__ \...
2020 Jul 25
0
[klibc:master] Revert " Kbuild: Tell gas we don't want executable stacks"
...IBCREQFLAGS) $(KLIBCARCHREQFLAGS) \ $(KLIBCOPTFLAGS) $(KLIBCWARNFLAGS) -KLIBCAFLAGS += -D__ASSEMBLY__ -Wa,--noexecstack $(KLIBCCFLAGS) +KLIBCAFLAGS += -D__ASSEMBLY__ $(KLIBCCFLAGS) KLIBCSTRIPFLAGS += --strip-all -R .comment -R .note KLIBCLIBGCC_DEF := $(shell $(KLIBCCC) $(KLIBCCFLAGS) --print-libgcc) diff --git a/usr/klibc/Kbuild b/usr/klibc/Kbuild index 24bad07d..bec9cdb4 100644 --- a/usr/klibc/Kbuild +++ b/usr/klibc/Kbuild @@ -185,7 +185,6 @@ quiet_cmd_interp = BUILD $@ cmd_interp = $(KLIBCCC) $(klibccflags) -D__ASSEMBLY__ \...
2007 Feb 04
2
klibc 1.4 won't build with linux 2.6.19.1
I get this error: ============================================================================= KLIBCCC usr/kinit/resume.o usr/kinit/resume.c:15:66: linux/config.h: No such file or directory make[2]: *** [usr/kinit/resume.o] Error 1 make[1]: *** [all] Error 2 make: *** [klibc] Error 2 ============================================================================= There is no linux/config.h in the kern...
2007 Jul 05
1
[BUG] Choice between compile errors
If the linux kernel was built using O=builddir, there is no correct choice for the linux symlink in klibc-1.5. See below for the possible outcomes: ----------------------- KLIBCCC usr/klibc/vsnprintf.o In file included from usr/include/sys/types.h:15, from usr/include/unistd.h:11, from usr/include/stdio.h:11, from usr/klibc/vsnprintf.c:13: linux/include/linux/posix_types.h:47:29: asm/posix_types.h: No such file or directory...
2012 Jan 11
1
[PATCH] nfsmount: defeat dummypmap compiler warning
Without this patch gcc 4.6 warns: KLIBCCC usr/kinit/nfsmount/dummypmap.o usr/kinit/nfsmount/dummypmap.c: In function 'dummy_portmap': usr/kinit/nfsmount/dummypmap.c:191:13: warning: array subscript is below array bounds [-Warray-bounds] Signed-off-by: Greg Thelen <gthelen at google.com> --- usr/kinit/nfsmount/dummypmap.c |...
2008 Dec 29
1
klibc broken on ppc with linux-2.6.27 and workaround
...0 on linux-2.6.25. Distrib does not matter as it is inside a chroot a la LSF With the upgrade to linux-2.6.27 it broke on 1.5.10 (I try too the last 1.5.14) with make[1]: Entering directory `/usr/src/klibc-1.5.14' GEN klcc/klibc.config GEN klcc/klcc HOSTCC scripts/basic/fixdep KLIBCCC usr/klibc/__static_init.o KLIBCCC usr/klibc/vsnprintf.o In file included from usr/klibc/../include/sys/types.h:15, from usr/klibc/../include/unistd.h:11, from usr/klibc/../include/stdio.h:11, from usr/klibc/vsnprintf.c:13: linux/include/linux/pos...
2020 Mar 29
7
[kvm-unit-tests PATCH v3 0/4] Update patch set
- Renamed IMAGE_BASE to LD_IMAGE_BASE_OPT. - Moved "-fcommon" to KLIBCREQFLAGS in scripts/Kbuild.klibc. - Remove "dash" warning fixes which have been upstreamed. - Conditionalize the inclusion of compiler flags by using the proper compiler name or "cc-option". - Added "-Werror" to "cc-option" to catch flags that cause warnings. - Retain