search for: newlib

Displaying 20 results from an estimated 246 matches for "newlib".

2008 Sep 10
1
Xen-3.3 Etch amd64 compil error
...r de /usr/src/xen-3.3.0/stubdom/../extras/mini-os/include/mini-os/time.h:22, à partir de /usr/src/xen-3.3.0/stubdom/../extras/mini-os/include/mini-os/sched.h:5, à partir de /usr/src/xen-3.3.0/stubdom/../extras/mini-os/include/errno.h:116, à partir de ../../../../../newlib-1.16.0/newlib/libc/argz/argz_add.c:7: /usr/src/xen-3.3.0/stubdom/../extras/mini-os/include/mini-os/types.h:22:20: erreur: stddef.h : Aucun fichier ou répertoire de ce type In file included from /usr/src/xen-3.3.0/stubdom/newlib-1.16.0/newlib/libc/include/sys/types.h:61, from /us...
2012 Jul 10
9
[PATCH] stubdom: fix errors in newlib
# HG changeset patch # User Olaf Hering <olaf@aepfle.de> # Date 1341839122 -7200 # Node ID 2dd50c201ca0d3542f3589942ae9e51d33ec7509 # Parent 42f76d536b116d2ebad1b6705ae51ecd171d2581 stubdom: fix errors in newlib rpmlint found a few code bugs in newlib, and marks them as errors after rpm build. Add another newlib patch and apply it during stubdom build. I: A function uses a ''return;'' statement, but has actually a value to return, like an integer (''return 42;'') or sim...
2013 May 22
19
Install vTPM on Xen-4.2.2
Hi, I‘m trying to install vTPM based on Xen-4.2.2, linux-kernel 3.9.1 (Dom0) and TPM emulator. However, I cannot find the TPM backed driver in this version of Dom0 linux kernel. There is no CONFIG_XEN_TPMDEV_BACKEND in the kernel config file. The config file for Dom0 is attached. Maybe it provides some useful information. So, how to install a Xen TPM backend driver in the Dom0 linux-kernel.
2006 Nov 09
1
[LLVMdev] LLVM and newlib progress
Reid Spencer kirjoitti: > So, now I'm not sure what you're talking about. Is > libgloss part of newlib? If so, please note that it is not llvm-gcc's > job to pass CFLAGS down. That would be a bug in the newlib makefiles. :) Sorry for being obtuse. Yes, if there indeed is a bug, it is in the newlib build system. I was trying to compile newlib with llvm-gcc. The need for propagating compiler...
2008 Jun 04
2
Problems with newlib port
Hello, I have noticed that Peter wanted to port newlib to syslinux project some time ago. It seems that the porting was not finished. Peter mentioned (http://syslinux.zytor.com/archives/2004-February/003168.html) that sucj job would require a lot of efforts. At the same time newlib is usually regarded as a "highly portable C-library". I am wo...
2008 Jun 06
0
[PATCH] stubdom: prevent newlib from emiting cli/sti in longjmp
stubdom: prevent newlib from emiting cli/sti in longjmp Also fix build dependencies and cleanup. Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com> diff -r b320cfe1f10f stubdom/Makefile --- a/stubdom/Makefile Thu Jun 05 13:04:07 2008 +0100 +++ b/stubdom/Makefile Fri Jun 06 16:00:35 2008 +0100 @@ -23,9...
2008 Jul 18
0
[PATCH] stubdom: fix build dependency
stubdom: fix build dependency newlib now depends on mini-os header links diff -r 4c2d9a4d11f2 stubdom/Makefile --- a/stubdom/Makefile Fri Jul 18 13:58:29 2008 +0100 +++ b/stubdom/Makefile Fri Jul 18 14:19:52 2008 +0100 @@ -86,7 +86,7 @@ NEWLIB_STAMPFILE=$(CROSS_ROOT)/$(GNU_TARGET_ARCH)-xen-elf/lib/libc.a .PHONY: cross-newlib cross...
2015 Mar 11
5
[LLVMdev] Customize Standard C Library Using LLVM (to support llvm backend optimization)
...compilers.llvm.devel/77025 https://llvm.org/svn/llvm-project/llvm/tags/RELEASE_14/docs/OpenProjects.html#glibc compiling glibc using llvm may not be a proper option. On the other hand, according to: http://lists.cs.uiuc.edu/pipermail/llvmdev/2012-January/047088.html llvm could be able to compile newlib, thus people consider newlib as an alternative. However, according to: http://www.embecosm.com/appnotes/ean9/ean9-howto-newlib-1.0.html#id2711887 newlib intends to support binaries for bare metal (no OS) software. It implements only the hardware independent parts (e.g libc and libm) and leave a s...
2006 Nov 09
2
[LLVMdev] LLVM and newlib progress
...rate post about the intrinsics, but just a quick note about the CFLAGS issue. Reid Spencer kirjoitti: > On Thu, 2006-11-09 at 15:29 +0200, Pertti Kellomäki wrote: >> Another related thing is that even when I defined -emit-llvm in >> what I thought would be a global CFLAGS for all of newlib, it did >> not get propagated to all subdirectories. > > Oh? Which ones did it not get propagated to? I did not see it being propagated to libgloss, but maybe I was trying to define the flags at the wrong place. Since the llvm-gcc shell script solved my immediate problem, I did not b...
2006 Nov 09
0
[LLVMdev] LLVM and newlib progress
...st > a quick note about the CFLAGS issue. Okay. > > Reid Spencer kirjoitti: > > On Thu, 2006-11-09 at 15:29 +0200, Pertti Kellomäki wrote: > >> Another related thing is that even when I defined -emit-llvm in > >> what I thought would be a global CFLAGS for all of newlib, it did > >> not get propagated to all subdirectories. > > > > Oh? Which ones did it not get propagated to? > > I did not see it being propagated to libgloss, but maybe I > was trying to define the flags at the wrong place. Since the > llvm-gcc shell script solve...
2013 Jul 21
9
build for pv-grub stubdom
...erver unavailable: using -j1. Add `+' to parent make rule. * make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. * QA Notice: Package triggers severe warnings which indicate that it * may exhibit random runtime failures. * ../../../../../newlib-1.16.0/newlib/libc/reent/signalr.c:61:3: warning: implicit declaration of function ‘kill’ [-Wimplicit-function-declaration] * ../grub-upstream/stage2/builtins.c:1728:3: warning: implicit declaration of function ‘do_exit’ [-Wimplicit-function-declaration] * /mnt/gen2/TmpDir/portage/app-em...
2010 Sep 21
2
[LLVMdev] Cross-compiling the ARM toolchain
...-gcc seems to be more in sync with the ARM backend (for obvious > reasons), but it's a nightmare to compile it to the ARM backend. Clang > supports it out of the box. I've been able to build clang + llvm from the SVN repository. However my targets (arm-eabi) are relying on the "newlib" standard library. I'm not sure how to build the llvm-gcc backend so that it uses this library. I'm used to build GCC (4.x) toolchains with newlib, but how can I do the same with llvm-gcc ? It seems that clang attemps to find the header files from the host system dir, not from the targ...
2006 Nov 02
4
[LLVMdev] LLVM and libc
...e LLVM in a compiler project for transport triggered processors. See Wikipedia for more on transport triggering: <http://en.wikipedia.org/wiki/Transport_Triggered_Architectures>. One thing we need is some sort of libc. We are targeting embedded systems, and I have been looking at things like newlib. Are there people out there doing something similar? Or any advice or opinions as to how go about the whole thing? -- Pertti
2013 Mar 05
1
[LLVMdev] Cross-Compiling libc++ using newlib/Clang based Toolchain.
Hi There, I am trying to build a cross-compiler for an architecture with MIPS like ISA. To begin with, I built a toolchain for MIPSr2 which uses: Clang-3.1 for preprocessing, compiling, optimizing; Binutils-2.22 for assembling and linking; Newlib-1.20.0 as the standard C library implementation. I modified the Clang Driver to use the correct binutils tools and linker scripts. Compiling Newlib with these changes was straightforward. I can compile C programs using the target triple at command line and I currently test it on a MIPS-GDB simulato...
2010 Sep 21
0
[LLVMdev] Cross-compiling the ARM toolchain
Hello, Emmanuel > I'm used to build GCC (4.x) toolchains with newlib, but how can I do > the same with llvm-gcc ? Pretty much same way as with gcc. E.g. via --with-newlib, etc. > It seems that clang attemps to find the header files from the host > system dir, not from the target system dir, so I guess that I missed > an important option ... somewhere. c...
2011 Jan 15
2
[LLVMdev] Cross-compiling the ARM toolchain
>> I'm used to build GCC (4.x) toolchains with newlib, but how can I do >> the same with llvm-gcc ? > Pretty much same way as with gcc. E.g. via --with-newlib, etc. I successfully built llvm+clang, but it seems that the newlib library files have neither been compiled nor installed. With GCC (at the time 4.5.2), the build steps are straightf...
2002 Jun 11
0
Newlib
Does anyone on this list have experience with newlib? I'm thinking of porting newlib to the COM32 environment, rather than trying to hack my own mini-libc. I just wondered if anyone had any idea of how well that would be likely to work, and/or how well newlib works from a code size standpoint... -hpa
2006 Nov 09
9
[LLVMdev] LLVM and newlib progress
I managed to compile newlib with llvm-gcc yesterday. That is, the machine independent part is now basically done, and the syscall part contains no-op stubs provided by libgloss. I haven't tested the port yet, but since newlib has already been ported to many architectures, I would be pretty surprised if there were any majo...
2006 Nov 06
0
[LLVMdev] LLVM and libc
I have been browsing through the newlib documentation at <http://sources.redhat.com/newlib/> and pondering about how newlib relates to LLVM. Comments welcome, again. As I see it, there are basically two parts of libc that need to be considered. Much of libc is stuff like atoi(), isalpha(), etc. which are just convenience routines...
2008 Jul 07
3
[LLVMdev] Trying to compile llvm-gcc to mips
...the way, I'm working with a MIPS coprocessor with vectorial reconfigurable units (similar to RSVP). My future work will be autovectorize loops (I've already studied some code in LLVM and doesn seems very difficult, thanks to ScalarEvolution, LoopInfo, etc.). I was wondering about compiling newlib with gcc, compiling my code with llvm, and linking with the traditional ld, OR, compiling newlib with llvm, link my code and newlib (in llvm bitcode), and finally assemble to MIPS binary. With the second way, I could optimize functions like memcpy with vectorial instructions :). The problem, is th...