search for: objtree

Displaying 20 results from an estimated 83 matches for "objtree".

2010 May 24
2
[LLVMdev] linker errors when trying to link llvm-gcc
any ideas what library has these symbols lang_eh_catch_all get_pointer_alignment validate_arglist i get these linker errors when trying to link llvm-gcc: make[1]: Entering directory `/home/anatolyy/qctp406/pakman/depot/users/anatolyy/proto/crosscompiler/llvm-gcc-4.2-2.7.source-objtree' make[2]: Entering directory `/home/anatolyy/qctp406/pakman/depot/users/anatolyy/proto/crosscompiler/llvm-gcc-4.2-2.7.source-objtree/build-x86_64-unknown-linux-gnu/libiberty' make[2]: Entering directory `/home/anatolyy/qctp406/pakman/depot/users/anatolyy/proto/crosscompiler/llvm-gcc-4.2-2.7...
2006 Apr 17
0
[PATCH] klibc: generate havesyscall in $(objtree) with make O=..
Avoiding full path to KLIBCINC will result in havesyscall.h being generated in the $(objtree). We do not want generated files in the source tree with make O=.. -I parmeters to gcc now prefixed with $(srctree) allowing to pick up the generated .h file in $(objtree) Signed-off-by: Sam Ravnborg <sam@ravnborg.org> --- diff --git a/scripts/Kbuild.klibc b/scripts/Kbuild.klibc index e7b3f...
2011 Mar 10
1
[PATCH] Remove .config directory dependency
Previously klibc $(objtree)/.config depended on the kernel output directory. This would cause 'defconfig has changed, please remove or edit .config' build errors if $(KLIBCKERNELOBJ) directory was modified. This directory dependency is a false dependency that does not indicate that the target, $(objtree)/.config, ne...
2010 May 20
2
[LLVMdev] trying to build llvm-gcc for arm, error: 'V1DI_pointer_node' undeclared (first use in this function)
...Each undeclared identifier is reported only once ../../llvm-gcc-4.2-2.7.source/gcc/config/arm/arm.c:17355: error: for each function it appears in.) make[3]: *** [arm.o] Error 1 make[3]: Leaving directory `/home/anatolyy/qctp406/pakman/depot/users/anatolyy/proto/crosscompiler/llvm-gcc-4.2-2.7.source-objtree/gcc' make[2]: *** [all-gcc] Error 2 make[2]: Leaving directory `/home/anatolyy/qctp406/pakman/depot/users/anatolyy/proto/crosscompiler/llvm-gcc-4.2-2.7.source-objtree' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/anatolyy/qctp406/pakman/depot/users/anatolyy/proto/crosscompil...
2019 Feb 01
0
[klibc:master] Makefile: Check for $(KLIBCKERNELSRC)/include directory
...talled UAPI headers, so check slightly further. Signed-off-by: Ben Hutchings <ben at decadent.org.uk> --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index a60161cc..0df463a5 100644 --- a/Makefile +++ b/Makefile @@ -98,7 +98,7 @@ $(objtree)/.config: $(srctree)/defconfig @echo "defconfig has changed, please remove or edit .config" @false -$(KLIBCKERNELSRC): +$(KLIBCKERNELSRC)/include: @echo "Cannot find kernel UAPI headers." @echo "Either make a 'linux' symlink point to the usr subdirectory &...
2010 May 20
0
[LLVMdev] trying to build llvm-gcc for arm, error: 'V1DI_pointer_node' undeclared (first use in this function)
...r is reported only once > ../../llvm-gcc-4.2-2.7.source/gcc/config/arm/arm.c:17355: error: for > each function it appears in.) > make[3]: *** [arm.o] Error 1 > make[3]: Leaving directory > `/home/anatolyy/qctp406/pakman/depot/users/anatolyy/proto/crosscompiler/llvm-gcc-4.2-2.7.source-objtree/gcc' > make[2]: *** [all-gcc] Error 2 > make[2]: Leaving directory > `/home/anatolyy/qctp406/pakman/depot/users/anatolyy/proto/crosscompiler/llvm-gcc-4.2-2.7.source-objtree' > make[1]: *** [all] Error 2 > make[1]: Leaving directory > `/home/anatolyy/qctp406/pakman/depot/us...
2019 Jan 18
0
[klibc:master] Makefile: Add dependencies on $(KLIBCKERNELSRC)
...ons(+), 2 deletions(-) diff --git a/Makefile b/Makefile index cd15149..4386135 100644 --- a/Makefile +++ b/Makefile @@ -112,10 +112,10 @@ klibc.spec: klibc.spec.in $(KLIBCSRC)/version sed -e 's/@@VERSION@@/$(VERSION)/g' < $< > $@ # Build klcc - it is the first target -klcc: $(objtree)/.config +klcc: $(objtree)/.config $(KLIBCKERNELSRC) $(Q)$(MAKE) $(klibc)=klcc -klibc: $(objtree)/.config +klibc: $(objtree)/.config $(KLIBCKERNELSRC) $(Q)$(MAKE) $(klibc)=. test: klibc
2020 May 12
2
[PATCH v3 23/75] x86/boot/compressed/64: Setup GHCB Based VC Exception handler
...boot/compressed/Makefile > +++ b/arch/x86/boot/compressed/Makefile > @@ -41,6 +41,9 @@ KBUILD_CFLAGS += -Wno-pointer-sign > KBUILD_CFLAGS += $(call cc-option,-fmacro-prefix-map=$(srctree)/=) > KBUILD_CFLAGS += -fno-asynchronous-unwind-tables > > +# sev-es.c inludes generated $(objtree)/arch/x86/lib/inat-tables.c "includes" > +CFLAGS_sev-es.o += -I$(objtree)/arch/x86/lib/ Does it? I see #include "../../lib/inat.c" #include "../../lib/insn.c" only and with the above CFLAGS-line removed, it builds still. Leftover from earlier? > +...
2020 May 12
2
[PATCH v3 23/75] x86/boot/compressed/64: Setup GHCB Based VC Exception handler
...boot/compressed/Makefile > +++ b/arch/x86/boot/compressed/Makefile > @@ -41,6 +41,9 @@ KBUILD_CFLAGS += -Wno-pointer-sign > KBUILD_CFLAGS += $(call cc-option,-fmacro-prefix-map=$(srctree)/=) > KBUILD_CFLAGS += -fno-asynchronous-unwind-tables > > +# sev-es.c inludes generated $(objtree)/arch/x86/lib/inat-tables.c "includes" > +CFLAGS_sev-es.o += -I$(objtree)/arch/x86/lib/ Does it? I see #include "../../lib/inat.c" #include "../../lib/insn.c" only and with the above CFLAGS-line removed, it builds still. Leftover from earlier? > +...
2019 Jan 07
4
[PATCH klibc 0/4] Fix the KLIBCKERNEL{SRC,OBJ} mess
We currently use KLIBCKERNELSRC and KLIBCKERNELOBJ variables which used to be required to point to a kernel source and object directories. However the kernel headers were reorganised starting in Linux 3.7 such that that doesn't work properly. This series removes KLIBCKERNELOBJ and changes the use and documentation of KLIBCKERNELSRC to be consistent. Ben. Ben Hutchings (4): [klibc]
2013 May 09
2
Klibc 2.0.2 build vs -j 30-ish
...r unfinished jobs.... KLIBCCC usr/klibc/brk.o ... KLIBCAS usr/klibc/syscalls/getsockopt.o LIST usr/klibc/syscalls/klib.list make[1]: *** [all] Error 2 make: *** [klibc] Error 2 The problem stems from within usr/klibc: sigsuspend.c includes <klibc/havesyscall.h> which is effectively $(objtree)/$(KLIBCINC)/klibc/havesyscall.h, which comes about as a side effect of building $(objtree)/$(obj)/syscalls/syscalls.mk, this happens relatively early while recursively building the 'syscalls' subdirectory (of usr/klibc). However, we have no dependency on this. With "make -j 1"...
2020 May 12
0
[PATCH v3 23/75] x86/boot/compressed/64: Setup GHCB Based VC Exception handler
On Tue, May 12, 2020 at 08:11:57PM +0200, Borislav Petkov wrote: > > +# sev-es.c inludes generated $(objtree)/arch/x86/lib/inat-tables.c > > "includes" > > > +CFLAGS_sev-es.o += -I$(objtree)/arch/x86/lib/ > > Does it? > > I see > > #include "../../lib/inat.c" > #include "../../lib/insn.c" > > only and with the above CFLAG...
2016 Apr 13
0
[PATCH 1/1] x32 support
...c := -f $(srctree)/scripts/Kbuild.klibc obj # Very first target -.PHONY: all klcc klibc +.PHONY: all klcc klibc srctree all: klcc klibc +srctree: + test -f scripts/mk_srctree/$(ARCH) && \ + chmod +x scripts/mk_srctree/$(ARCH) && \ + scripts/mk_srctree/$(ARCH) create || true + $(objtree)/.config: $(srctree)/defconfig @echo "defconfig has changed, please remove or edit .config" @false @@ -112,10 +117,10 @@ klibc.spec: klibc.spec.in $(KLIBCSRC)/version sed -e 's/@@VERSION@@/$(VERSION)/g' < $< > $@ # Build klcc - it is the first target -klcc: $(objt...
2005 Jul 28
0
[PATCH] Use KLIBSRC + KLIBINC consistent in kbuild files
...-11,8 +11,6 @@ endif # Composite object containing all .o file always := syscalls.o -klibc-dir := $(srctree)/usr/klibc - ##### # Generate syscalls stubs @@ -24,7 +22,7 @@ targets += SYSCALLS.i syscalls.nrs targets += $(syscall-objs) # Side effect of running syscalls.pl -clean-files += $(objtree)/usr/include/klibc/havesyscall.h +clean-files += $(KLIBINC)/klibc/havesyscall.h # All the syscall stubs clean-files += *.o *.S *.c @@ -37,29 +35,29 @@ $(obj)/syscalls.o: $(call objectify,$(sy quiet_cmd_syscall.i = GEN $@ cmd_syscall.i = $(USERCC) $(usercflags) -D__ASSEMBLY__ \...
2010 Mar 02
17
[PATCH 00/16] External building, update for 2.6.33 and multiple root devices.
The following patchset implements 3 seperate series of changes. External Building ================= Patches 1 through 8 enable to use of klibc's build system while leaving the src tree pristine (and potentially read only). Specifically: - srctree=<Sources for klibc> - objtree=<Ouput directory for klibc> - KLIBCKERNELSRC=<Kernel sources> - KLIBCKERNELOBJ=<Kernel output directory> As an example, with these patches, one can call 'make' as follows (assuming /usr/local/src/linux-2.6 are kernel sources and object files and /usr/local/src/klibc a...
2010 Mar 19
0
[rfc patch] Makefile add help target
...<max at stro.at> diff --git a/Makefile b/Makefile index 563618c..a39dc4f 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,8 @@ SRCROOT = . +# *DOCUMENTATION* +# To see a list of typical targets execute "make help" + # kbuild compatibility export srctree := $(shell pwd) export objtree := $(shell pwd) @@ -114,6 +117,25 @@ klibc: $(objtree)/.config test: klibc $(Q)$(MAKE) $(klibc)=usr/klibc/tests +help: + @echo 'Cleaning targets:' + @echo ' clean - Remove most generated files' + @echo ' mrproper - Remove all generated files + config' + @echo '...
2012 Feb 06
1
[PATCH] Fix kernel headers install
...E) -C $(KLIBCKERNELOBJ) ARCH=$(KLIBCARCH) INSTALL_HDR_PATH=$(INSTALLROOT)$(INSTALLDIR)/$(KCROSS) headers_install $(Q)cp -rf usr/include/. $(INSTALLROOT)$(INSTALLDIR)/$(KCROSS)include/. $(Q)$(install-data) $(srctree)/klcc/klcc.1 $(INSTALLROOT)$(mandir)/man1/$(KCROSS)klcc.1 $(Q)$(install-bin) $(objtree)/klcc/$(KCROSS)klcc $(INSTALLROOT)$(bindir) -- 1.7.5.1.339.gb602ed
2013 Aug 21
3
Build problems: klibc with Linux 3.10.7
...r/file.o diff --git a/scripts/Kbuild.klibc b/scripts/Kbuild.klibc index f500d53..dcfa7d7 100644 --- a/scripts/Kbuild.klibc +++ b/scripts/Kbuild.klibc @@ -113,7 +113,7 @@ KLIBCCPPFLAGS := -nostdinc -iwithprefix include \ # kernel include paths KLIBCKERNELSRC ?= $(srctree) KLIBCKERNELOBJ ?= $(objtree) -KLIBCCPPFLAGS += -I$(KLIBCKERNELSRC)/include \ +KLIBCCPPFLAGS += -I$(KLIBCKERNELSRC)/usr/include \ $(if $(KBUILD_SRC),-I$(KLIBCKERNELOBJ)/include2 \ -I$(KLIBCKERNELOBJ)/include -I$(srctree)/include) \ $(KLIBCARCHINCFLAGS) diff --...
2006 Apr 17
0
[PATCH] kbuild: support single targets for klibc and klibc programs
.....a3c4cb1 100644 --- a/Makefile +++ b/Makefile @@ -181,6 +181,11 @@ UTS_MACHINE := $(ARCH) # Architecture used to compile user-space code KLIBCARCH ?= $(subst powerpc,ppc,$(ARCH)) +# klibc definitions +export KLIBCINC := usr/include +export KLIBCSRC := $(srctree)/usr/klibc +export KLIBCOBJ := $(objtree)/usr/klibc + # SHELL used by kbuild CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \ else if [ -x /bin/bash ]; then echo /bin/bash; \ @@ -1283,39 +1288,42 @@ # Single targets are compatible with: # - build whith mixed source and output # - build with separate output...
2013 Aug 21
3
Build problems: klibc with Linux 3.10.7
Le 21/08/2013 17:36, leroy christophe a ?crit : > > Le 21/08/2013 17:15, maximilian attems a ?crit : >> On Wed, Aug 21, 2013 at 01:39:50PM +0200, leroy christophe wrote: >>> Le 21/08/2013 12:20, maximilian attems a ?crit : >>>> On Tue, Aug 20, 2013 at 07:44:39AM +0200, leroy christophe wrote: >>>>> Find attached two patches I have in order to build