Displaying 20 results from an estimated 5000 matches similar to: "klibc kernelheaders build failure on mips/mipsel"
2006 Jun 26
2
[klibc 28/43] mips support for klibc
The parts of klibc specific to the mips architecture.
Signed-off-by: H. Peter Anvin <hpa at zytor.com>
---
commit 8dc79563c06020d8844b9e9b821741828039b59e
tree b957c8fb1fddf486f5c26b1880726051d4f6aaad
parent bc9b363b31d301ab94c115cccc2e079c0d318498
author H. Peter Anvin <hpa at zytor.com> Sun, 25 Jun 2006 16:58:31 -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
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-tradbigmips" to
2005 Feb 25
1
klibc wrapper
Hi
I've managed to compile klibc 0.198 and run the hello world program.
How can I compile my own program?
Can someone give an example or provide a simple wrapper program for doing this?
like uclibc did with their earlier versions.
I looked at the make process and did a bit reading and figure out this much:
gcc -Wp,[preprocessor options] -MT,[target_name_I_think] tests/hello.o,
2013 Oct 09
5
[PATCH 0/1] Porting klibc to AArch64
Hi All:
We have some patches to port klibc to ArmV8.
The first set of patches from Neil Williams fixes the build issues.
The second set of patches from Anil Singhar fixes functionalities.
The following files have changed in the second set of patches
------------------------------------------------------------------------------------------
usr/include/arch/aarch64/klibc/archconfig.h
2018 Mar 02
5
[PATCH 0/5] Various MIPS fixes
Hi,
I noticed that klibc started crashing on 64-bit MIPS and in my quest to fix the
bug I got a bit carried away and fixed a few other things as well. Here are
various miscellaneous MIPS patches, although the first patch is the important
one.
Thanks,
James
*** BLURB HERE ***
James Cowgill (5):
mips64: compile with -mno-abicalls
mips: use -Ttext-segment when linking shared library
2005 Feb 07
2
tiny patch for klibc 0.198
Hi folks,
attached you can find a tiny patch for klibc-0.198
to get rid of the symbolic link pointing to the
kernel sources, and to get rid of some obsolete
rebuilds during incremental.
Feel free to include it.
Regards
Harri
-------------- next part --------------
diff -ur old/klibc-0.198/MCONFIG klibc-0.198/MCONFIG
--- old/klibc-0.198/MCONFIG 2004-10-14 06:32:24.000000000 +0200
+++
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",
2010 Apr 16
2
klibc-1.5.17 build failure on mips
Hi:
I downloaded klibc-1.5.17 and try to cross-compiled it for MIPS. Got
following errors:
usr/klibc/exit.o: In function `exit':
exit.c:(.text+0x40): undefined reference to `_exit'
usr/klibc/execl.o: In function `execl':
execl.c:(.text+0x80): undefined reference to `execve'
usr/klibc/execle.o: In function `execle':
execle.c:(.text+0x84): undefined reference to `execve
2011 Feb 24
5
[PATCH] build: Define __EXPORTED_HEADER__
The kernel header guard to ensure that headers aren't included from
userland moved in commit 69c8f52b. This causes the following message to
be emitted when building klibc (which is designed to use kernel headers
explicitly):
/usr/local/src/git/linux-2.6//include/linux/types.h:13:2: warning: #warning "Attempt to use kernel headers from user space, see
2013 Oct 09
1
[PATCH 0/1] Porting klibc to AArch64
On Wed, 9 Oct 2013 15:51:32 +0200
maximilian attems <maks at stro.at> wrote:
> On Wed, Oct 09, 2013 at 03:14:44PM +0530, Anil Singhar wrote:
> > Hi All:
> >
> > We have some patches to port klibc to ArmV8.
> >
> > The first set of patches from Neil Williams fixes the build issues.
> > The second set of patches from Anil Singhar fixes functionalities.
2019 Jan 18
0
[klibc:master] mips/mips64: simplify crt0 code
Commit-ID: 59f3f33338f371b3a30163406fbb5fe323503939
Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=59f3f33338f371b3a30163406fbb5fe323503939
Author: James Cowgill <james.cowgill at mips.com>
AuthorDate: Fri, 2 Mar 2018 08:33:02 -0800
Committer: Ben Hutchings <ben at decadent.org.uk>
CommitDate: Wed, 2 Jan 2019 03:08:04 +0000
[klibc] mips/mips64: simplify
2006 Jul 08
1
klibc and executable stack
Hi,
Just wondering if klibc are planning on supporting the .note.GNU-stack
section and all it entails ?
On sort of a related topic - we have QA tests that checks if something
have executable stack. Klibc of course fails due to the many .S, and
not passing --noexecstack to gas. Adding this to
EXTRA_KLIBC{C,A,LD}FLAGS fixes the issue for all the syscalls, crt0.o,
interp.o and the .so, as well as
2006 Jan 30
1
[WIP] klibc for m68k
m68k is the only debian arch still lacking a klibc port... So I started
working on this tonight, despite not knowing anything about the m68k.
Puzzling out the details, and disassembling things, I've at least
got a syscall.c that looks like it might work. I don't really have time
to do this bring up, but maybe someone else would like to finish the
work.
I guess this needs at least,
2014 Mar 11
4
[PATCH] add mips64 support
From: Dejan Latinovic <Dejan.Latinovic at imgtec.com>
---
usr/include/arch/mips64/klibc/archconfig.h | 3 +
usr/include/arch/mips64/klibc/archsetjmp.h | 39 ++++++
usr/include/arch/mips64/machine/asm.h | 76 ++++++++++
usr/include/fcntl.h | 2 +-
usr/include/sys/md.h | 1 +
usr/include/sys/resource.h | 4 +-
2003 Dec 12
2
[PATCH] ppc64 support
Marcus Meissner did the ppc64 port, I did the update for crt0.S.
Now ash does not segfault, at least.
diff -p -purNx linux klibc-0.92.orig/Makefile klibc-0.92/Makefile
--- klibc-0.92.orig/Makefile 2003-12-01 18:50:24.000000000 +0000
+++ klibc-0.92/Makefile 2003-12-12 23:18:23.000000000 +0000
@@ -20,4 +20,4 @@ clean:
spotless:
@set -e; for d in $(SUBDIRS); do $(MAKE) -C $$d $@; done
- rm -f
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 \
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:
2003 Nov 29
1
[PATCH] ash not make -j safe, make spotless updates
some files depend on nodes.h, but there is no dependency for that fact.
olaf@mandarine:~/klibc-0.87> grep -Er 'include.*nodes.h' ash/ | sed 's-^[^/]\+/\([^.]*\).*-\1.o-' | xargs echo OBJ_NODES =
OBJ_NODES = cd.o eval.o exec.o expand.o jobs.o main.o nodes.o options.o parser.o redir.o show.o trap.o var.o
make spotless doesnt work reliable, the patch adds a few more targets.
Is
2004 Feb 21
1
[PATCH] sleep for klibc utils
This implements a sleep command.
diff -p -purN klibc-0.111/utils/Makefile klibc-0.111.utils/utils/Makefile
--- klibc-0.111/utils/Makefile 2004-02-10 00:18:15.000000000 +0100
+++ klibc-0.111.utils/utils/Makefile 2004-02-21 22:33:08.000000000 +0100
@@ -5,7 +5,7 @@ include ../MRULES
MAKEDEPS = -Wp,-MD,.$(subst /,-,$*).d
CFLAGS = $(MAKEDEPS) $(OPTFLAGS) $(REQFLAGS) -W -Wall
LIBS = $(KLIBC)