search for: klibcross

Displaying 18 results from an estimated 18 matches for "klibcross".

2006 Jan 31
1
[patch] Kbuild.klibc don't hardcode gcc version
...eeds gcc-3.3 for a working run-init. belows makes use of the exported CC var. Signed-off-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
2020 Mar 27
1
[PATCH v2 2/5] Kbuild: support clang's lld
...klibc/arch/riscv64/MCONFIG | 2 +- usr/klibc/arch/sparc64/MCONFIG | 2 +- usr/klibc/arch/x86_64/MCONFIG | 2 +- 8 files changed, 10 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index c99b962fd2a3..52d7cd2cf791 100644 --- a/Makefile +++ b/Makefile @@ -27,6 +27,9 @@ export NM := $(KLIBCROSS)nm export OBJCOPY := $(KLIBCROSS)objcopy export OBJDUMP := $(KLIBCROSS)objdump +LLD := $(shell $(LD) --version 2>&1 | grep LLD) +export IMAGE_BASE=$(if $(LLD),--image-base,-Ttext-segment) + NOSTDINC_FLAGS := -nostdlib -nostdinc -isystem $(shell $(CC) -print-file-name=include) ARCH...
2020 Jul 25
0
[klibc:master] Kbuild: support clang's lld
...+- usr/klibc/arch/riscv64/MCONFIG | 2 +- usr/klibc/arch/sparc64/MCONFIG | 2 +- usr/klibc/arch/x86_64/MCONFIG | 2 +- 8 files changed, 12 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index c99b962f..c8325154 100644 --- a/Makefile +++ b/Makefile @@ -27,6 +27,9 @@ export NM := $(KLIBCROSS)nm export OBJCOPY := $(KLIBCROSS)objcopy export OBJDUMP := $(KLIBCROSS)objdump +LLD := $(shell $(LD) --version 2>&1 | grep LLD) +export LD_IMAGE_BASE_OPT=$(if $(LLD),--image-base,-Ttext-segment) + NOSTDINC_FLAGS := -nostdlib -nostdinc -isystem $(shell $(CC) -print-file-name=include)...
2020 Jul 26
0
[kvm-unit-tests PATCH v3 0/4] Update patch set
...39;s teach klibc some ld.lld quirks. Signed-off-by: Stanislav Fomichev <sdf at google.com> Signed-off-by: Bill Wendling <morbo at google.com> diff --git a/Makefile b/Makefile index a60161ccca5b..46d35fe77c3b 100644 --- a/Makefile +++ b/Makefile @@ -27,6 +27,9 @@ export NM := $(KLIBCROSS)nm export OBJCOPY := $(KLIBCROSS)objcopy export OBJDUMP := $(KLIBCROSS)objdump +LLD := $(shell $(LD) --version 2>&1 | grep LLD) +export IMAGE_BASE=$(if $(LLD),--image-base,-Ttext-segment) + NOSTDINC_FLAGS := -nostdlib -nostdinc -isystem $(shell $(CC) -print-file-name=include) ARCH...
2006 Apr 05
1
[patch] Kbuild don't hardcode gcc and binutils version
...ANLIB := ranlib > +export STRIP := strip > +export NM := nm This will clash with the namespace used by the kernel. A better fix would be to prefix all variables with KLIBC and then... > --- a/scripts/Kbuild.klibc > +++ b/scripts/Kbuild.klibc > +KLIBCLD := $(KLIBCROSS)$(LD) KLIBCLD := $(KLIBCROSS)$(KLIBCLD) use the variable with KLIBC prefixed in the statement above. Sam
2020 Jul 25
2
[kvm-unit-tests PATCH v3 0/4] Update patch set
On Sat, 2020-07-25 at 15:16 -0700, Bill Wendling wrote: > On Sat, Jul 25, 2020 at 2:56 PM Ben Hutchings <ben at decadent.org.uk> wrote: > > On Sat, 2020-07-25 at 14:36 -0700, Bill Wendling wrote: > > [...] > > > I upstreamed a few patches to klibc to fix a few linker errors. Some > > > of these might help: > > > > I applied v3 of your patch
2020 Mar 27
12
[PATCH 0/5] Clang compatibility patches
This is a series of patches for clang compatibility: - Using flags needed flags and removing unsupported flags. - Adding support for clang's LLD linker. - Removing a variety of warnings. Bill Wendling (3): [klibc] Kbuild: use "libc.a" with clang [klibc] Kbuild: Add "-fcommon" for clang builds [klibc] Clean up clang warnings Michael Davidson (1): [klibc] Kbuild:
2020 Jan 27
4
[PATCH] support llvm's lld
...bc/arch/sparc/MCONFIG | 2 +- usr/klibc/arch/sparc64/MCONFIG | 2 +- usr/klibc/arch/x86_64/MCONFIG | 2 +- 17 files changed, 24 insertions(+), 17 deletions(-) diff --git a/Makefile b/Makefile index c99b962fd2a3..924c9fbe8de4 100644 --- a/Makefile +++ b/Makefile @@ -27,6 +27,13 @@ export NM := $(KLIBCROSS)nm export OBJCOPY := $(KLIBCROSS)objcopy export OBJDUMP := $(KLIBCROSS)objdump +LLD := $(shell $(LD) --version 2>&1 | grep -q LLD && echo true || echo false) +ifeq ($(LLD),true) + export IMAGE_BASE=--image-base +else + export IMAGE_BASE=-Ttext-segment +endif + NOSTDINC_FLAGS :...
2012 Feb 23
0
Bug#653790: klibc/s390x: searches for include in the wrong path
...; +++ klibc-1.5.25/klcc/Kbuild > @@ -10,6 +10,7 @@ $(obj)/$(KLIBCCROSS)klibc.config: $(src) > @echo " GEN $@" > $(Q)rm -f $@ > $(Q)echo 'ARCH=$(KLIBCARCH)' >> $@ > + $(Q)echo 'ARCHDIR=$(KLIBCARCHDIR)' >> $@ > $(Q)echo 'CROSS=$(KLIBCROSS)' >> $@ > $(Q)echo 'KCROSS=$(KCROSS)' >> $@ > $(Q)echo 'CC=$(KLIBCCC)' >> $@ > > > -- System Information: > Debian Release: wheezy/sid > APT prefers unstable > APT policy: (500, 'unstable') > Architecture: s390x >...
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
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
2013 Dec 03
0
[klibc:master] ppc64: Add ppc64le support
...+++++++++++++++++++++++---------- usr/klibc/arch/ppc64/sysstub.ph | 45 ++++++++++++++++++++++++++--------------- 5 files changed, 87 insertions(+), 43 deletions(-) diff --git a/Makefile b/Makefile index a7da622..dc10fc5 100644 --- a/Makefile +++ b/Makefile @@ -30,8 +30,11 @@ export OBJDUMP := $(KLIBCROSS)objdump NOSTDINC_FLAGS := -nostdlib -nostdinc -isystem $(shell $(CC) -print-file-name=include) -ARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/parisc64/parisc/ -e s/sun4u/sparc64/ -e s/arm.*/arm/ -e s/sa110/arm/ \ - -e s/aarch64.*/arm64/ -e s/sh.*/sh/) +ARCH := $(she...
2008 Jun 16
0
latest fixes
...kefile (ARCH): Support sh4 as sh. Signed-off-by: Arthur Loiret <arthur.loiret at u-psud.fr> Signed-off-by: maximilian attems <max at stro.at> diff --git a/Makefile b/Makefile index b507668..136d4e8 100644 --- a/Makefile +++ b/Makefile @@ -24,7 +24,7 @@ export OBJDUMP := $(KLIBCROSS)objdump NOSTDINC_FLAGS := -nostdlib -nostdinc -isystem $(shell $(CC) -print-file-name=include) -ARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/parisc64/parisc/ -e s/sun4u/sparc64/ -e s/arm.*/arm/ -e s/sa110/arm/) +ARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/par...
2013 Dec 03
2
[PATCH 1/2] ppc64: Add ppc64le support
...+++++++++++++++++++++++---------- usr/klibc/arch/ppc64/sysstub.ph | 45 ++++++++++++++++++++++++++--------------- 5 files changed, 87 insertions(+), 43 deletions(-) diff --git a/Makefile b/Makefile index a7da622..dc10fc5 100644 --- a/Makefile +++ b/Makefile @@ -30,8 +30,11 @@ export OBJDUMP := $(KLIBCROSS)objdump NOSTDINC_FLAGS := -nostdlib -nostdinc -isystem $(shell $(CC) -print-file-name=include) -ARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/parisc64/parisc/ -e s/sun4u/sparc64/ -e s/arm.*/arm/ -e s/sa110/arm/ \ - -e s/aarch64.*/arm64/ -e s/sh.*/sh/) +ARCH := $(she...
2013 Nov 12
0
[klibc:master] arm64: Add arm64 support
...h | 25 ++++++++++++ usr/klibc/arch/arm64/vfork.S | 34 ++++++++++++++++ 15 files changed, 218 insertions(+), 24 deletions(-) diff --git a/Makefile b/Makefile index 0a3ee69..a7da622 100644 --- a/Makefile +++ b/Makefile @@ -30,7 +30,8 @@ export OBJDUMP := $(KLIBCROSS)objdump NOSTDINC_FLAGS := -nostdlib -nostdinc -isystem $(shell $(CC) -print-file-name=include) -ARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/parisc64/parisc/ -e s/sun4u/sparc64/ -e s/arm.*/arm/ -e s/sa110/arm/ -e s/sh.*/sh/) +ARCH := $(shell uname -m | sed -e s/i.86/...
2013 Nov 08
0
[PATCH 3/3] arm64: Introduce arm64 support
...arm64/setjmp.S create mode 100644 usr/klibc/arch/arm64/syscall.S create mode 100644 usr/klibc/arch/arm64/sysstub.ph create mode 100644 usr/klibc/arch/arm64/vfork.S diff --git a/Makefile b/Makefile index 0a3ee69..a7da622 100644 --- a/Makefile +++ b/Makefile @@ -30,7 +30,8 @@ export OBJDUMP := $(KLIBCROSS)objdump NOSTDINC_FLAGS := -nostdlib -nostdinc -isystem $(shell $(CC) -print-file-name=include) -ARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/parisc64/parisc/ -e s/sun4u/sparc64/ -e s/arm.*/arm/ -e s/sa110/arm/ -e s/sh.*/sh/) +ARCH := $(shell uname -m | sed -e s/i.86/...
2013 Nov 11
5
[PATCH V2 0/3] Introduce arm64 support
Hello, Here is V2 of the arm64 support for klibc patch set. Notable changes since the original series: * fp regs dropped from setjmp/longjmp * chmod, lstat and stat re-implemented with *at functions. * open64 merged into open. As with the original, this series is to be applied against the latest klibc, just after 25a66fa README.klibc: update build information V2 has been tested on x86_64
2013 Nov 08
9
[PATCH 0/3] Introduce arm64 support
Hello, This series introduces arm64 support to klibc. I've rebased the work from Neil Williams and Anil Singhar into the following three patches. Most of the code changes are due to new syscall implementations being needed for arm64 as a only a minimal set of syscalls are defined in the arm64 kernel. This series is to be applied against the latest klibc, just after 25a66fa README.klibc: