search for: klibcld

Displaying 20 results from an estimated 20 matches for "klibcld".

2006 Apr 05
1
[patch] Kbuild don't hardcode gcc and binutils version
...:= ar > +export RANLIB := 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
2006 Jun 26
0
[klibc 19/43] klibc basic build infrastructure
...ing early userspace (klibc programs) +# --------------------------------------------------------------------------- + +KLIBCREQFLAGS := +KLIBCARCHREQFLAGS := +KLIBCOPTFLAGS := +KLIBCWARNFLAGS := -W -Wall -Wno-sign-compare -Wno-unused-parameter +KLIBCSHAREDFLAGS := +KLIBCBITSIZE := +KLIBCLDFLAGS := +KLIBCCFLAGS := + +# Arch specific definitions for klibc +include $(KLIBCSRC)/arch/$(KLIBCARCHDIR)/MCONFIG + +# include/asm-* architecture +KLIBCASMARCH ?= $(KLIBCARCH) + +# klibc version +KLIBCMAJOR := $(shell cut -d. -f1 $(srctree)/usr/klibc/version) +KLIBCMINOR...
2006 Apr 11
6
klibc kbuild status
Hi hpa & others. Following is a list of issues that I hope to be addressed soon so we are in even better shape for -mm inclusion. 1) rebuild initramfs when content changes. > It is a simple matter of copying in usr/Makefile from the latest > -linus kernel and replace the 10 first lines with the content from > klibc Kbuild file. 2) havesyscalls.h is not deleted after make
2020 Aug 18
1
[PATCH] use "--just-symbols" for compatibility with LLD
...dling <morbo at google.com> --- scripts/Kbuild.klibc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Kbuild.klibc b/scripts/Kbuild.klibc index 82c74ea7..bfe6edb3 100644 --- a/scripts/Kbuild.klibc +++ b/scripts/Kbuild.klibc @@ -361,7 +361,7 @@ quiet_cmd_ld-shared = KLIBCLD $@ $(KLIBCEMAIN) $(KLIBCCRTSHARED) \ --start-group \ $(link-deps) \ - -R $(KLIBCLIBCSHARED) \ + --just-symbols $(KLIBCLIBCSHARED) \ $(KLIBCLIBGCC) \...
2006 Jan 08
1
[mips] doesn't compile on little-endian
When I compile klibc on little-endian mips, I get: KLIBCLD klibc/libc.so ld: klibc/arch/mips/crt0.o: compiled for a little endian system and target is big endian ld: klibc/arch/mips/crt0.o: endianness incompatible with that of the selected emulation ld: failed to merge target specific data of file klibc/arch/mips/crt0.o When I change "elf32-tradbigmi...
2006 Jan 31
1
[patch] Kbuild.klibc don't hardcode gcc version
...e 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
2006 Feb 09
0
Dash fails to link with KLIBCKERNELOBJ set
...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:(.rodata+0x188): undefined reference to `histcmd' dash/builtins.o:(.rodata+0x1a0): undefined reference to `fgcmd' make[2]: *** [dash/sh.shared] Error 1 make[2]: *** Waiting fo...
2007 Sep 04
1
(fwd) Bug#440721: FTBFS on sparc while linking usr/klibc/libc.so
...le linking usr/klibc/libc.so From: Kilian Krause <kilian at debian.org> To: Debian Bug Tracking System <submit at bugs.debian.org> Date: Mon, 03 Sep 2007 23:35:23 +0200 Package: klibc Version: 1.5.6-2 Severity: serious While building your package on sparc the following error occurs: KLIBCLD usr/klibc/libc.so ld: sparc architecture of input file `/usr/lib/gcc/sparc-linux-gnu/4.2.1/libgcc.a(_clzdi2.o)' is incompatible with sparc:v9 output ld: sparc architecture of input file `/usr/lib/gcc/sparc-linux-gnu/4.2.1/libgcc.a(_clz.o)' is incompatible with sparc:v9 output /usr/lib/gcc/s...
2010 Oct 20
2
[PATCH] klibc: reproducible builds
...| 2 +- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/scripts/Kbuild.klibc b/scripts/Kbuild.klibc index 79d196f..6427be0 100644 --- a/scripts/Kbuild.klibc +++ b/scripts/Kbuild.klibc @@ -93,11 +93,15 @@ KLIBCMINOR := $(shell cut -d. -f2 $(srctree)/usr/klibc/version) KLIBCLD := $(LD) KLIBCCC := $(CC) KLIBCAR := $(AR) -KLIBCRANLIB := $(RANLIB) +KLIBCAR_cq := $(KLIBCAR) $(if $(KBUILD_REPRODUCIBLE),Dcq,cq) +KLIBCAR_crs := $(KLIBCAR) $(if $(KBUILD_REPRODUCIBLE),Dcrs,crs) +KLIBCAR_cru := $(KLIBCAR) $(if $(KBUILD_REPRODUCIBLE...
2019 Jan 22
1
[PATCH] fix build failure when CONFIG_KLIBC_ZLIB is not set
When CONFIG_KLIBC_ZLIB is not set, related functions shall not be called otherwise build failure is encountered: KLIBCLD usr/kinit/static/kinit usr/kinit/ramdisk_load.o: In function `load_ramdisk_compressed': /root/ldb_base/ofl/packages/klibc/usr/kinit/ramdisk_load.c:68: undefined reference to `inflateInit2_' /root/ldb_base/ofl/packages/klibc/usr/kinit/ramdisk_load.c:116: undefined reference to `inflate'...
2019 Jan 23
0
[PATCH v2] fix build failure when CONFIG_KLIBC_ZLIB is not set
When CONFIG_KLIBC_ZLIB is not set, related functions shall not be called otherwise build failure is encountered: KLIBCLD usr/kinit/static/kinit usr/kinit/ramdisk_load.o: In function `load_ramdisk_compressed': /root/ldb_base/ofl/packages/klibc/usr/kinit/ramdisk_load.c:68: undefined reference to `inflateInit2_' /root/ldb_base/ofl/packages/klibc/usr/kinit/ramdisk_load.c:116: undefined reference to `inflate'...
2019 Jan 24
0
[klibc:master] fix build failure when CONFIG_KLIBC_ZLIB is not set
...2019 06:16:01 +0000 Committer: Ben Hutchings <ben at decadent.org.uk> CommitDate: Thu, 24 Jan 2019 23:11:11 +0000 [klibc] fix build failure when CONFIG_KLIBC_ZLIB is not set When CONFIG_KLIBC_ZLIB is not set, related functions shall not be called otherwise build failure is encountered: KLIBCLD usr/kinit/static/kinit usr/kinit/ramdisk_load.o: In function `load_ramdisk_compressed': /root/ldb_base/ofl/packages/klibc/usr/kinit/ramdisk_load.c:68: undefined reference to `inflateInit2_' /root/ldb_base/ofl/packages/klibc/usr/kinit/ramdisk_load.c:116: undefined reference to `inflate'...
2020 Aug 20
0
[klibc:master] use "--just-symbols" for compatibility with LLD
...s <ben at decadent.org.uk> --- scripts/Kbuild.klibc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Kbuild.klibc b/scripts/Kbuild.klibc index 82c74ea7..bfe6edb3 100644 --- a/scripts/Kbuild.klibc +++ b/scripts/Kbuild.klibc @@ -361,7 +361,7 @@ quiet_cmd_ld-shared = KLIBCLD $@ $(KLIBCEMAIN) $(KLIBCCRTSHARED) \ --start-group \ $(link-deps) \ - -R $(KLIBCLIBCSHARED) \ + --just-symbols $(KLIBCLIBCSHARED) \ $(KLIBCLIBGCC) \...
2006 Feb 15
0
Unable to build linux-2.6-klibc with O=
...ash 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+0x34): undefined reference to `bgcmd' usr/dash/builtins.o:(.rodata+0xc4): undefined reference to `histcmd' usr/dash/builtins.o:(.rodata+0xd0): undefined reference to `fgcmd' make[3]: *** [usr/dash/sh] Error 1 make[2]: *** [klibcdirs] Error 2 make...
2020 Jun 17
1
[PATCH] Kbuild for klibc and nfsmount: add -fcommon
-fcommon is not default anymore, with GCC 10 you get the following failure without it: KLIBCLD usr/klibc/libc.so ppc-linux-ld: usr/klibc/globals.o:/root/packages/klibc-2.0.7/usr/klibc/../include/unistd.h:15: multiple definition of `environ'; usr/klibc/__shared_init.o:/root/ldb_base/ofl/packages/klibc-2.0.7/usr/klibc/libc_init.c:42: first defined here ppc-linux-ld: usr/klibc/sbrk.o:(.sbss...
2008 Oct 20
1
compile klibc problem (EABI version error)
...>cat 1.sh export KLIBCARCH=arm export CROSS_COMPILE=arm-iwmmxt-linux-gnueabi- klibc-1.5>. ./1.sh klibc-1.5>make KLIBCCC usr/klibc/__static_init.o KLIBCCC usr/klibc/vsnprintf.o ? LIST usr/klibc/syscalls/klib.list LIST usr/klibc/klib.list KLIBCAR usr/klibc/libc.a KLIBCLD usr/klibc/libc.so arm-iwmmxt-linux-gnueabi-ld: ERROR: Source object /opt/arm-linux-4.1.1/bin/../lib/gcc/arm-iwmmxt-linux-gnueabi/4.1.1/libgcc.a(_udivsi3.o) has EABI version 4, *but target usr/klibc/libc.so has EABI version 0* arm-iwmmxt-linux-gnueabi-ld: failed to merge target specific data of fi...
2020 Jun 18
1
[PATCH] Kbuild for klibc and nfsmount: fix multiple definitions
-fcommon is not default anymore, with GCC 10 you get the following failure without it: KLIBCLD usr/klibc/libc.so ppc-linux-ld: usr/klibc/globals.o:/root/packages/klibc-2.0.7/usr/klibc/../include/unistd.h:15: multiple definition of `environ'; usr/klibc/__shared_init.o:/root/ldb_base/ofl/packages/klibc-2.0.7/usr/klibc/libc_init.c:42: first defined here ppc-linux-ld: usr/klibc/sbrk.o:(.sbss...
2006 Jul 09
6
[PATCH/RFC] klibc/kbuild: use separate kbuild files for each klibc subdirectory
...(klib-o-files); \ $(KLIBCRANLIB) $@ -$(LIB): $(call objectify,__static_init.o) $(libc-deps) FORCE +$(LIBC): $(call objectify,__static_init.o) $(obj)/klib.list FORCE $(call if_changed,libc) ###### @@ -130,12 +119,14 @@ targets += libc.so __shared_init.o quiet_cmd_libcso = KLIBCLD $@ cmd_libcso = $(KLIBCLD) $(KLIBCLDFLAGS) $(KLIBCSHAREDFLAGS) -o $@ \ - --start-group \ - $(patsubst %.list,`cat %.list`,$(filter-out FORCE,$^)) \ - $(KLIBCLIBGCC) \ + --start-group \ + $(CRT0) \ + $(call objectify,__shared_init.o) \ + $(klib-o-files) \ + $(KL...
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
2006 Jun 28
35
[klibc 00/31] klibc as a historyless patchset (updated and reorganized)
I have updated the klibc patchset based on feedback received. In particular, the patchset has been reorganized so as not to break git-bisect. Additionally, this updates the patch base to 2.6.17-git12 (d38b69689c349f35502b92e20dafb30c62d49d63) and klibc 1.4.8; the main difference on the klibc side is removal of obsolete code. This is also available as a git tree at: