Displaying 20 results from an estimated 1000 matches similar to: "[LLVMdev] Linux Kernel Compile for Sparc v8 Arch"
2008 Sep 29
3
[LLVMdev] Linux Kernel Compile for Sparc v8 Arch
Does anyone succeed at compiling Linux kernel for Sparc v8 architecture?
I am currently trying to expand the regime of LLVM to Sparc kernel codes.
The following is the initial error messages. Any comment is welcomed.
#1. Inline Assembly
Code:
register struct thread_info *current_thread_info_reg asm("g6");
Error Message:
include/asm/thread_info.h:77: error:
2008 Oct 05
1
[LLVMdev] Linux Kernel Compile for Sparc v8 Arch
On 2008-09-29 07:46, Keun Soo Yim wrote:
> Does anyone succeed at compiling Linux kernel for Sparc v8 architecture?
> I am currently trying to expand the regime of LLVM to Sparc kernel codes.
> The following is the initial error messages. Any comment is welcomed.
>
> #1. Inline Assembly
>
>
>
> Code:
>
> register struct thread_info
2008 Sep 30
0
[LLVMdev] Linux Kernel Compile for Sparc v8 Arch
On Sep 28, 2008, at 9:46 PM, Keun Soo Yim wrote:
>
> Does anyone succeed at compiling Linux kernel for Sparc v8
> architecture?
> I am currently trying to expand the regime of LLVM to Sparc kernel
> codes.
> The following is the initial error messages. Any comment is welcomed.
>
> #1. Inline Assembly
The Sparc backend has no active maintainer [1]. This
2009 Jan 15
2
[LLVMdev] Testcase for OS kernel
Hi,
The source attached at the bottom is a testcase which causes a back-end
error in LLVM 2.4.
These types of assembly routines are mainly used in OS kernels.
I checked that GCC 4.3 works for this routine.
The error messsage is ...
Couldn't allocate output reg for constraint 'A'!
I just need help or comments so that I could analyze and fix this bug.
My
2006 May 15
3
Eicon Diva - problems building new v3 melware driver
Hi Armin!
I have problems on debian sarge with standard 2.6.8-2-386 kernel.
I've installed the packages:
kernel-headers-2.6.8-2
kernel-headers-2.6.8-2-386
kernel-image-2.6.8-2-386
kernel-kbuild-2.6-3
kernel-source-2.6.8
Then I unpacked the kernel sources into /usr/src/kernel-source-2.6.8 and
made a symlink from /usr/src/linux --> kernel-source-2.6.8
Then I entered
2009 Jan 18
3
[LLVMdev] Qs on building LLVM passes
Hi,
I have couple of questions that those who design unconventional passes
would be interested in.
1. How to move a virtual register data to another new virtual
register?
It seems like that there is no LLVM instruction similar to mov machine
instruction.
Arithmetic or logical operators could be used for integer variables
but what about pointer variables?
2. What is
2008 Dec 28
1
[LLVMdev] LLVM ARM Cross-Compiler Build
Hi,
This is a simple question about building ARM cross-compiler.
What is the building procedure using LLVM 2.4 and GCC front-end 4.2?
I used these commands for LLVM, and it is okay.
$ ../configure --prefix=/usr/local -target=arm
$ make ENABLE_OPTIMIZED=0
$ make ENABLE_OPTIMIZED=0 install
Then these commands were used for GCC front-end but this got couple of
errors.
$ ../configure
2012 Nov 06
0
[ablock84-btrfs:btrfs-far 19/20] fs/far/far-path.c:42:2: error: implicit declaration of function 'IS_ERR'
tree: git://github.com/ablock84/linux-btrfs.git btrfs-far
head: f9a5bb450a8cc7aa5fd4f11d0306b3f48cf2771d
commit: 29aefeaaf482ab396ff53c2bbf5c35ce237b91c0 [19/20] fs: add libfarstream support
config: make ARCH=s390 allmodconfig
All error/warnings:
In file included from include/linux/byteorder/big_endian.h:4:0,
from arch/s390/include/uapi/asm/byteorder.h:4,
2006 Feb 26
0
Unable to build linux-2.6-xen.hg
Greetings,
I''m unable to build current (Sun Feb 26 18:14:23 UTC 2006)
linux-2.6-xen.hg on Debian sarge AMD64 host.
Following error messgaes appears:
-- CUT HERE --
sunfire:/usr/src/xen-subarch/linux-2.6-xen.hg# make
CHK include/linux/version.h
SPLIT include/linux/autoconf.h -> include/config/*
CC arch/x86_64/kernel/asm-offsets.s
In file included from
2018 Jan 27
0
Thread-local-storage memory layout
Hi
I am writing a freestanding statically linked x86_64 kernel. And now I
want to load and use thread-local storage. As I have a freestanding
binary I can't use libc/Linux kernel thread-local mechanism and need
to implement initialization code by myself.
I am trying to find a clear explanation of what is the memory layout
for x86 TLS but can't find anything useful. Maybe LLVM developers
2018 Jan 25
0
[PATCH net-next 10/12] tools/virtio: more stubs to fix tools build
Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
---
tools/virtio/linux/kernel.h | 2 +-
tools/virtio/linux/thread_info.h | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
create mode 100644 tools/virtio/linux/thread_info.h
diff --git a/tools/virtio/linux/kernel.h b/tools/virtio/linux/kernel.h
index 395521a..fca8381 100644
--- a/tools/virtio/linux/kernel.h
+++
2008 Dec 30
0
[LLVMdev] LLVM ARM Cross-Compiler Build
2008/12/28 Keun Soo Yim <yim6 at illinois.edu>
> This is a simple question about building ARM cross-compiler.
> What is the building procedure using LLVM 2.4 and GCC front-end 4.2?
>
> I used these commands for LLVM, and it is okay.
>
> $ ../configure --prefix=/usr/local -target=arm
> $ make ENABLE_OPTIMIZED=0
> $ make ENABLE_OPTIMIZED=0 install
>
> Then
2007 Apr 18
3
[PATCH] no paravirt for X86_VOYAGER or X86_VISWS
From: Randy Dunlap <randy.dunlap@oracle.com>
Since Voyager and Visual WS already define ARCH_SETUP,
it looks like PARAVIRT shouldn't be offered for them.
In file included from arch/i386/kernel/setup.c:63:
include/asm-i386/mach-visws/setup_arch.h:8:1: warning: "ARCH_SETUP" redefined
In file included from include/asm/msr.h:5,
from include/asm/processor.h:17,
2007 Apr 18
3
[PATCH] no paravirt for X86_VOYAGER or X86_VISWS
From: Randy Dunlap <randy.dunlap@oracle.com>
Since Voyager and Visual WS already define ARCH_SETUP,
it looks like PARAVIRT shouldn't be offered for them.
In file included from arch/i386/kernel/setup.c:63:
include/asm-i386/mach-visws/setup_arch.h:8:1: warning: "ARCH_SETUP" redefined
In file included from include/asm/msr.h:5,
from include/asm/processor.h:17,
2019 Sep 11
0
[vhost:linux-next 16/17] include/linux/page_reporting.h:9:34: note: in expansion of macro 'pageblock_order'
tree: https://kernel.googlesource.com/pub/scm/linux/kernel/git/mst/vhost.git linux-next
head: 39c226b6b576b23d6d558331e6895f02b0892555
commit: 990055c63121520ad29deca72b1167b392563ddd [16/17] virtio-balloon: Add support for providing unused page reports to host
config: riscv-allmodconfig (attached as .config)
compiler: riscv64-linux-gcc (GCC) 7.4.0
reproduce:
wget
2006 Mar 06
2
Problem compiling a custom kernel for xen-3.0
Hello,
I am trying to run xen-3.0 in some of my dell servers. I have tried the
binary distribution of xen, but it doesn''t boot in my test system (a
dell poweredge 750) because a module driver problem (I get an error
message during booting saying it doesn''t load a NFS root filesystem).
So I am trying to compile a custom kernel. So I have downloaded linux
source 2.6.12. I am
2007 Apr 18
2
[PATCH] exec-shield style vdso move.
So, is everyone happy with this smerge of Ingo and Gerd's work?
Reposted below.
Thanks,
Rusty.
-------- Forwarded Message --------
From: Linus Torvalds <torvalds@osdl.org>
To: Rusty Russell <rusty@rustcorp.com.au>
Cc: Andrew Morton <akpm@osdl.org>
Subject: Re: [Fwd: [Fwd: FW: argh]]
Date: Wed, 17 May 2006 21:35:51 -0700 (PDT)
On Thu, 18 May 2006, Rusty Russell wrote:
>
2007 Apr 18
2
[PATCH] exec-shield style vdso move.
So, is everyone happy with this smerge of Ingo and Gerd's work?
Reposted below.
Thanks,
Rusty.
-------- Forwarded Message --------
From: Linus Torvalds <torvalds@osdl.org>
To: Rusty Russell <rusty@rustcorp.com.au>
Cc: Andrew Morton <akpm@osdl.org>
Subject: Re: [Fwd: [Fwd: FW: argh]]
Date: Wed, 17 May 2006 21:35:51 -0700 (PDT)
On Thu, 18 May 2006, Rusty Russell wrote:
>
2008 Dec 25
1
[LLVMdev] how to get the llvm IR from C source code?
Keun Soo Yim wrote:
>
> Please run…
>
> $ llvm-gcc -O3 -emit-llvm hello.c -c -o hello.bc
>
> $ llvm-dis < hello.bc > hello.ll
>
> The first command is to generate a byte code
>
> and second is to translate the bytecode to a readable form.
>
llvm-gcc can emit the textual form directly too:
llvm-gcc -O2 -emit-llvm hello.c -S -o hello.ll
llvm-gcc -O2 -emit-llvm
2007 Jun 06
0
[PATCH UPDATE] xen: use iret directly where possible
[ Expand, correct and clarify comments; minor code change. ]
Most of the time we can simply use the iret instruction to exit the
kernel, rather than having to use the iret hypercall - the only
exception is if we're returning into vm86 mode, or from delivering an
NMI (which we don't support yet).
When running native, iret has the behaviour of testing for a pending
interrupt atomically