Displaying 20 results from an estimated 20000 matches similar to: "Non-kbuild klibc obsoleted"
2006 Jul 09
6
[PATCH/RFC] klibc/kbuild: use separate kbuild files for each klibc subdirectory
This fixes a long standing issue where it was not possible to
do "make usr/klibc/arch/x86_64/longjmp.o" in the kernel.
The principle is that all .o files to be part of klibc are listed
with klib-y. For each directory a klib.list file is made that specify
all .o file and the final AR then adds all .o files to create libc.a.
This patch introduce the infrastructure and converts x86_64 to
2005 Jul 27
2
Introduce kbuild for klibc?
Hi hpa and others.
With my ongoing work to prepare for potential integration of klibc in
the kernel I wonder if there wold be any interest in using part of the
kbuild infrastructure to build the vanilla klibc?
The rationale is obvious:
- common codebase for Kbuild files, so one only has to fix things in one
place
- I force klibc developers to create Kbuild files usable in the kernel
- Much
2020 Apr 29
2
[PATCH klibc 1/3] Revert " Kbuild: Tell gas we don't want executable stacks"
This reverts commit 9d8d648e604026b32cad00a84ed6c29cbd157641, which
broke signal handing on some architectures.
On m68k and parisc, signal return depends on a trampoline that the
kernel writes on the stack. On alpha, s390, and sparc (32-bit), we
can avoid this by providing our own function as sa_restorer, but we
currently don't.
Signed-off-by: Ben Hutchings <ben at decadent.org.uk>
2006 Jan 31
1
[patch] Kbuild.klibc don't hardcode gcc version
sparc still needs 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
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
2003 Oct 05
1
kbuild improvements for klibc
Hi all.
I have pushed my earlier announced kbuild improvements patch to:
bk://linux-sam.bkbits.net/2.5-klibc
First cset is the earlier posted cset, whit a few small modifications.
One important change is that the usr/Makefile now uses *.a files
in initramfs-y assignment. I realised that the purpose was to express
what kinit were using / referring.
Second cset is a trivial cset that just move
2020 Mar 27
3
[PATCH v2 3/5] Kbuild: use "libc.a" with clang
Clang doesn't have a suitable replacement for libgcc readily available.
Supply one that we know exists. Use "-fno-builtin-bcmp" to prevent clang
from calling a function that doesn't exist.
Signed-off-by: Bill Wendling <morbo at google.com>
---
scripts/Kbuild.klibc | 2 ++
usr/klibc/arch/x86_64/MCONFIG | 2 ++
2 files changed, 4 insertions(+)
diff --git
2013 Aug 21
3
Build problems: klibc with Linux 3.10.7
On Wed, Aug 21, 2013 at 06:48:08PM +0200, maximilian attems wrote:
> On Wed, Aug 21, 2013 at 06:03:41PM +0200, leroy christophe wrote:
> >
> > Note that step B is working well.
> > It is step C, the 'make install', which fails.
>
> right, it is the toplevel Makefile one needs to poke for the target.
>
see belows proper patch:
>From
2020 Mar 27
2
[PATCH v2 1/5] Kbuild: add support for clang builds
From: Michael Davidson <md at google.com>
Add cc-name to klibc/scripts/Kbuild.include.
Make optimization flags not supported by clang conditional on cc-name.
Don't use -nostdinc when building klibc.
While klibc doesn't (shouldn't) use the standard header files
supplied by the toolchain, it does still need to be able to find
the compiler-specific header file
2010 Oct 20
2
[PATCH] klibc: reproducible builds
From: Maciej ?enczykowski <maze at google.com>
This adds a new setting: KBUILD_REPRODUCIBLE
If it is non-empty, ar and ranlib will be called in such
a way that timestamps do not affect the build output.
This allows one to get perfectly reproducible builds.
Signed-off-by: Maciej ?enczykowski <maze at google.com>
---
scripts/Kbuild.klibc | 14 +++++++++-----
usr/klibc/Kbuild |
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
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
2005 Jul 30
3
kbuild updates to klibc
Hi Peter & others.
Here are three patches that does the following:
#1 - Update kbuild part of klibc so make clean works
Adds gzip including a sample kbuild file
#2 - Factor out definition of usr/ to two variables
#3 - Move kbuild files to reflect location in the kernel
As requested in earlier mail I need a bit of guidiance of what you
expect from the kernel integrated parts of klibc.
2019 Jan 06
2
[PATCH klibc 0/2] Fix i386 build
This series fixes link/load issues I found on i386 with Debian's
toolchain (gcc 8 with PIE as default, binutils 2.31).
Ben.
Ben Hutchings (2):
[klibc] i386: Use -Ttext-segment to avoid address collision
[klibc] Disable PIE
scripts/Kbuild.klibc | 3 ++-
usr/klibc/arch/i386/MCONFIG | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
-------------- next part --------------
A
2013 Aug 19
3
Build problems: klibc with Linux 3.10.7
Gauche as it may be, I am reviving an old thread from January:
http://www.zytor.com/pipermail/klibc/2013-January/003402.html.
Building Smoothwall Express 3.1 in a chroot jail works well. (gcc 4.7.2, linux
3.4.58, klibc 2.0.1, et alia).
I'm now working on 'express-next' to prepare for a future release (linux
3.10.7, klibc 2.0.2, et alia). Same build system, worked through some
2011 Aug 03
2
Kbuild dash headers generation
hello Sam,
tried to sync current git dash for klibc,
but failed on this Kbuild step.
The attached patch can be applied with the
following:
git am --directory="usr/dash" --exclude="usr/dash/configure.ac" \
--exclude="usr/dash/ChangeLog" --exclude="usr/dash/dash.1" \
--exclude="usr/dash/Makefile.am"
2011 Jan 28
2
klibc 1.5.21-1 and mksh
tags 516774 = patch
tags 516294 = upstream
thanks
Hi!
Please find attached a diff closing #516774 by adding mkstemp(3),
again with a minimalistic pseudo-arc4random(3) behind it. I?ve
revisited the code. An mkstemp testsuite from the ?net shows it
works, except for not caring how many ?X?en are in the template.
Addressing #516294, it allows compiling and linking an mksh from
today?s CVS against
2006 Apr 17
0
[PATCH] kbuild: support single targets for klibc and klibc programs
With the following patch kbuild now supports:
make usr/dash/arith_yylex.i
make usr/klibc/umount.o
make usr/klibc/umount.s
Patch does also fix indention of CPP command
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
---
That was my number 5) item on the kbuild list (added by akpm).
Modulus the next bug hpa discover this should clear all kbuild
issues with klibc.
So I hope to see it in next
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:
2020 Aug 29
0
[klibc:riscv64-enable-relax] Kbuild, klcc: Support multiple objects in KLIBCCRTSHARED
Commit-ID: 95a3123c94abc28c65f33c9589693dde9f140fe1
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=95a3123c94abc28c65f33c9589693dde9f140fe1
Author: Ben Hutchings <ben at decadent.org.uk>
AuthorDate: Sat, 29 Aug 2020 22:29:52 +0100
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Sat, 29 Aug 2020 22:53:10 +0100
[klibc] Kbuild, klcc: Support