Displaying 20 results from an estimated 1000 matches similar to: "[klibc:master] Kbuild: Enable full debug information"
2020 Mar 29
0
[kvm-unit-tests PATCH v3 1/4] Kbuild: add support for clang builds
Add cc-name to klibc/scripts/Kbuild.include.
Make optimization flags not supported by clang conditional on cc-name.
Use "--print-file-name=include" and "--print-libgcc-file-name" when
using clang.
Use cc-option to enable compiler-specific flags.
Mark "bcmp" as not a builtin to prevent clang from using it.
Signed-off-by: Bill Wendling <morbo at google.com>
2020 Jul 25
0
[klibc:master] Kbuild: add support for clang builds
Commit-ID: 9eddaf50ea1b837979e49f996a2609a012218837
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=9eddaf50ea1b837979e49f996a2609a012218837
Author: Bill Wendling <morbo at google.com>
AuthorDate: Sun, 29 Mar 2020 04:38:30 -0700
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Sat, 25 Jul 2020 20:45:34 +0100
[klibc] Kbuild: add support for clang
2018 Jun 06
2
[PATCH] kbuild: add -ffreestanding to required flags
New clang versions need the '-ffreestanding' flag because new changes
convert
system calls to their unlocked versions, which don't exist in the kernel
library.
Signed-off-by: Bill Wendling <morbo at google.com>
diff --git a/scripts/Kbuild.klibc b/scripts/Kbuild.klibc
index f500d535..9cf4b2d9 100644
--- a/scripts/Kbuild.klibc
+++ b/scripts/Kbuild.klibc
@@ -67,7 +67,8 @@ include
2020 Jul 25
0
[klibc:master] Kbuild: Add a per-architecture option to disable exectable stacks
Commit-ID: c562319cdba0102c3a8a8298ba94e645418193d5
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=c562319cdba0102c3a8a8298ba94e645418193d5
Author: Ben Hutchings <ben at decadent.org.uk>
AuthorDate: Wed, 29 Apr 2020 22:28:10 +0100
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Sat, 25 Jul 2020 17:33:29 +0100
[klibc] Kbuild: Add a
2020 Jul 25
0
[klibc:master] Kbuild: Add "-fcommon" for clang builds
Commit-ID: cfa1174baa1cd74525484afd4a9e5840dc08dfb9
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=cfa1174baa1cd74525484afd4a9e5840dc08dfb9
Author: Bill Wendling <morbo at google.com>
AuthorDate: Sun, 29 Mar 2020 04:38:32 -0700
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Sat, 25 Jul 2020 20:45:34 +0100
[klibc] Kbuild: Add
2019 Jan 18
0
[klibc:master] Disable PIE
Commit-ID: 84d319b2fda958d73a58bf338ee212da772d0cc6
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=84d319b2fda958d73a58bf338ee212da772d0cc6
Author: Ben Hutchings <ben at decadent.org.uk>
AuthorDate: Sun, 6 Jan 2019 03:44:40 +0000
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Fri, 18 Jan 2019 03:10:14 +0000
[klibc] Disable PIE
We link all
2017 Dec 30
0
building debug version of klibc
Hi Anatoly
On Sat, Dec 30, 2017 at 01:54:05PM +0300, Anatoly Pugachev wrote:
> Hello!
>
> Can someone please help me in building debug version of klibc ?
>
> I've cloned git://git.kernel.org/pub/scm/libs/klibc/klibc.git , but
> failed to build it with debug info
>
> added "-g" to HOSTCFLAGS in Makefile, but
HOSTCFLAGS is used when building tools running
2020 Feb 29
0
[klibc:master] Kbuild: Tell gas we don't want executable stacks
Commit-ID: 9d8d648e604026b32cad00a84ed6c29cbd157641
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=9d8d648e604026b32cad00a84ed6c29cbd157641
Author: Ben Hutchings <ben at decadent.org.uk>
AuthorDate: Sat, 29 Feb 2020 00:03:20 +0000
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Sat, 29 Feb 2020 00:11:26 +0000
[klibc] Kbuild: Tell gas we
2020 Jul 25
0
[klibc:master] Revert " Kbuild: Tell gas we don't want executable stacks"
Commit-ID: 312b3d0a38ff2e43becd47cf1f4a930bc0c4b8e6
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=312b3d0a38ff2e43becd47cf1f4a930bc0c4b8e6
Author: Ben Hutchings <ben at decadent.org.uk>
AuthorDate: Wed, 29 Apr 2020 22:24:33 +0100
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Sat, 25 Jul 2020 17:33:29 +0100
Revert "[klibc] Kbuild: Tell
2020 Jul 26
0
[kvm-unit-tests PATCH v3 0/4] Update patch set
On Sat, Jul 25, 2020 at 4:10 PM Ben Hutchings <ben at decadent.org.uk> wrote:
> 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
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>
2020 Mar 28
0
[PATCH v2 1/5] Kbuild: add support for clang builds
On Fri, 2020-03-27 at 15:29 -0700, Bill Wendling wrote:
> From: Michael Davidson <md at google.com>
>
> Add cc-name to klibc/scripts/Kbuild.include.
[...]
> --- a/scripts/Kbuild.klibc
> +++ b/scripts/Kbuild.klibc
> @@ -107,8 +107,15 @@ KLIBCOBJCOPY := $(OBJCOPY)
> KLIBCOBJDUMP := $(OBJDUMP)
>
> # klibc include paths
> -KLIBCCPPFLAGS := -nostdinc
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
2006 Jun 26
0
[klibc 19/43] klibc basic build infrastructure
Basic infrastructure for building klibc.
Signed-off-by: H. Peter Anvin <hpa at zytor.com>
---
commit 5bba564a5c133369b3e83e5827d053a98cb3c59a
tree 11f2acc1f9d845e8764fa790f522b79ea1106b80
parent 378abd8f4d39024ea6c87eb5b54155238f647f0d
author H. Peter Anvin <hpa at zytor.com> Sun, 25 Jun 2006 16:58:08 -0700
committer H. Peter Anvin <hpa at zytor.com> Sun, 25 Jun 2006 16:58:08
2020 Mar 28
0
[PATCH v2 3/5] Kbuild: use "libc.a" with clang
On Fri, 2020-03-27 at 15:29 -0700, Bill Wendling wrote:
> 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.
Doesn't this contradict the comment added for KLIBCLIBGCC_DEF?
> Signed-off-by: Bill Wendling <morbo at
2010 Jul 07
0
[git pull v2] x86_32, sh4, getrusage()
hello hpa,
here my birthday submission :)
please pull:
git pull git://git.debian.org/users/maks/klibc.git maks
Sam fixed a longstanding x86_32 build bug, thus it seems a good time
to flush the queue of the piled up patches, the shortlog tells it:
Aurelien Jarno (1):
[klibc] sh4: syscalls fixes
Benjamin Cama (1):
[klibc] fstype: btrfs size endianness fix
Mike Waychison (2):
2006 May 24
1
[patch] klibc: merge s390/s390x 2nd try
From: Heiko Carstens <heiko.carstens@de.ibm.com>
Merge s390 and s390x into s390. Patch is against current linux-2.6-klibc
tree and seems to work.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
---
As a side note: a bitops patch is missing to make this working. Martin will
send it soon. If it's needed earlier I can send it as well.
Makefile
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
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
2019 Jan 20
0
[klibc:master] Use -Ttext-segment to link shared library on all arches
Commit-ID: 72d6d78a8f0d24a64911c246487402c81b4beb9d
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=72d6d78a8f0d24a64911c246487402c81b4beb9d
Author: Ben Hutchings <ben at decadent.org.uk>
AuthorDate: Sun, 20 Jan 2019 19:41:47 +0000
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Sun, 20 Jan 2019 21:15:17 +0000
[klibc] Use -Ttext-segment to link