Displaying 20 results from an estimated 5000 matches similar to: "building debug version of klibc"
2017 Dec 30
0
[PATCH] Fix sparc assembly when compiled as PIC
Some distributions default to PIE for their compilers, which on sparc is passed
on to the assembler. Since the behaviour of %hi/%lo changes under PIC to become
GOT offsets, the current assembly files need adapting to not try to use a GOT
offset as an absolute address.
---
usr/include/arch/sparc/machine/asm.h | 15 +++++++++++++--
usr/include/arch/sparc64/machine/asm.h | 1 +
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:
2019 Jan 18
0
[klibc:master] Fix sparc assembly when compiled as PIC
Commit-ID: bbef210c8d82202da8cabdd7a329d8e95db2edcc
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=bbef210c8d82202da8cabdd7a329d8e95db2edcc
Author: James Clarke <jrtc27 at jrtc27.com>
AuthorDate: Wed, 18 Jul 2018 22:30:42 +0100
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Fri, 18 Jan 2019 03:10:14 +0000
[klibc] Fix sparc assembly when
2017 Dec 30
2
building debug version of klibc
On Sat, Dec 30, 2017 at 3:00 PM, <valdis.kletnieks at vt.edu> wrote:
> On Sat, 30 Dec 2017 13:54:05 +0300, Anatoly Pugachev said:
>> 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
2006 Jun 26
0
[klibc 36/43] sparc64 support for klibc
The parts of klibc specific to the sparc64 architecture.
Signed-off-by: H. Peter Anvin <hpa at zytor.com>
---
commit f30fa3db62972125afa68d3b53d03cdb843d3bbd
tree f2d942e281dce8bb98d4fa84b7e431c7beaddfc4
parent 1b5c93603ed3460ed1fba9e5d453a6fa54d0ccce
author H. Peter Anvin <hpa at zytor.com> Sun, 25 Jun 2006 16:58:50 -0700
committer H. Peter Anvin <hpa at zytor.com> Sun, 25 Jun
2017 Dec 30
0
building debug version of klibc
On Sat, 30 Dec 2017 13:54:05 +0300, Anatoly Pugachev said:
> 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
Hint: HOSTCFLAGS is applied to code that needs to run on the machine
2006 Jun 26
0
[klibc 35/43] sparc support for klibc
The parts of klibc specific to the sparc architecture.
Signed-off-by: H. Peter Anvin <hpa at zytor.com>
---
commit 1b5c93603ed3460ed1fba9e5d453a6fa54d0ccce
tree 7fb0a134b3add408c02b470616d440ad398d86d3
parent 94473ed85b00ec45ff8ee6cac62f60a368ff4534
author H. Peter Anvin <hpa at zytor.com> Sun, 25 Jun 2006 16:58:47 -0700
committer H. Peter Anvin <hpa at zytor.com> Sun, 25 Jun
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
2012 May 15
5
[PATCH 0/5] resubmitting pending patches
Hi,
I?ve gone through the mailing list archives and hereby want
to resubmit my pending patches. Most are independent of each
other, except the m68k patch which will only be complete if
sigsuspend is also fixed. (It can be applied before that,
though.)
http://www.zytor.com/pipermail/klibc/2012-January/003173.html
[PATCH] fix m68k support
Resubmitted here as 0005. While there was a question from
2011 Jan 07
2
[LLVMdev] Unreachable executed with fast Regalloc and Sparc backend
Hello,
When I run LLC with option "-O0 -march=sparc" on following testcase,
fast register allocator crashes with "UNREACHABLE executed" error. LLC
generates code successfully with other standard register allocators
available.
$ cat call.ll
define void @test() nounwind {
entry:
%0 = tail call i32 (...)* @foo() nounwind
tail call void (...)* @bar() nounwind
ret void
}
2017 Dec 30
1
building debug version of klibc
On Sat, Dec 30, 2017 at 3:14 PM, <valdis.kletnieks at vt.edu> wrote:
> On Sat, 30 Dec 2017 15:05:46 +0300, Anatoly Pugachev said:
>> On Sat, Dec 30, 2017 at 3:00 PM, <valdis.kletnieks at vt.edu> wrote:
>> > On Sat, 30 Dec 2017 13:54:05 +0300, Anatoly Pugachev said:
>> >> Hello!
>> >>
>> >> Can someone please help me in building
2018 Jul 17
1
[PATCH klibc 1/2] rename, renameat: Use renameat2() system call
New architectures only define the renameat2() system call, which was
added in Linux 3.15. Define rename() and renameat() as wrappers for
it if necessary.
Signed-off-by: Ben Hutchings <ben at decadent.org.uk>
---
--- a/usr/klibc/Kbuild
+++ b/usr/klibc/Kbuild
@@ -59,7 +59,8 @@ klib-y += vsnprintf.o snprintf.o vsprint
inet/inet_ntoa.o inet/inet_aton.o inet/inet_addr.o \
2001 Nov 05
2
Oops on 2.4.13-pre6 (sparc64)
Ah, Mondays.
The following oops happened after approximately eleven days of uptime.
The machine was not under any particular load at the time. Following
a forced reboot, all filesystems replayed the journal successfully.
Relevant log entries leading up to the oops:
Nov 4 04:54:08 localhost kernel: attempt to access beyond end of device
Nov 4 04:54:08 localhost kernel: 03:02: rw=1,
2011 Jan 08
0
[LLVMdev] Unreachable executed with fast Regalloc and Sparc backend
On Jan 7, 2011, at 2:36 PM, Venkatraman Govindaraju wrote:
> When I run LLC with option "-O0 -march=sparc" on following testcase,
> fast register allocator crashes with "UNREACHABLE executed" error. LLC
> generates code successfully with other standard register allocators
> available.
I haven't investigated the Sparc backend specifically but...
My guess is
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:
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
2007 Nov 05
1
klibc sparc trouble with gcc > 4.0
tried below fix, that is a partial revert of klibc
6fbd8fafdcc793135988733996d72b0298afe934
see git://git.kernel.org/pub/scm/libs/klibc/klibc.git
with belows fix klibc compiles fine on sparc with newer gcc,
but segfaults:
titan:~# strace -vfF /usr/lib/klibc/bin/fstype
execve("/usr/lib/klibc/bin/fstype", ["/usr/lib/klibc/bin/fstype"],
["SHELL=/bin/bash",
2006 Feb 14
2
[rfc patch] mman.h remove asm/page.h include
klibc fails to compile on sparc64 since the kbuild switch:
In file included from include/sys/mman.h:11,
from klibc/malloc.c:8:
linux/include/asm/page.h:18:2: error: #error No page size specified in kernel configuration
the current dirty build hack is to define CONFIG_SPARC64_PAGE_SIZE_8KB
in the sparc64 MCONFIG.
belows patch removes the asm/page.h include.
another way to fix
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:
2005 Jun 17
2
Patch to support parisc
This patch allows klibc to build on parisc64 platforms.
$ diff -u MCONFIG.old MCONFIG
--- MCONFIG.old 2005-06-18 01:16:12.000000000 +0000
+++ MCONFIG 2005-06-18 01:18:51.000000000 +0000
@@ -33,7 +33,7 @@
KLIBCVER = -D__KLIBC__=$(shell cut -d. -f1 < $(SRCROOT)/version) \
-D__KLIBC_MINOR__=$(shell cut -d. -f2 < $(SRCROOT)/version)
-ARCH = $(shell uname -m | sed -e