similar to: [LLVMdev] A new mechanism to compiler kernel modules using llvm: Defer type evaluation in clang?

Displaying 20 results from an estimated 30000 matches similar to: "[LLVMdev] A new mechanism to compiler kernel modules using llvm: Defer type evaluation in clang?"

2013 Apr 29
0
[LLVMdev] A new mechanism to compiler kernel modules using llvm: Defer type evaluation in clang?
Just out of curiosity, what would be the main benefit of this approach vs DKMS which is already widely used ? Le 28 avr. 2013 à 18:42, Jovi Zhang <bookjovi at gmail.com> a écrit : > Hi, > > First of all, I didn't study on compiler too much, I'm a Linux kernel developer, > Now I have one idea about compile kernel module by using llvm framework. > > In Linux
2013 Apr 29
0
[LLVMdev] A new mechanism to compiler kernel modules using llvm: Defer type evaluation in clang?
On 4/28/13 11:42 AM, Jovi Zhang wrote: > Hi, > > First of all, I didn't study on compiler too much, I'm a Linux kernel developer, > Now I have one idea about compile kernel module by using llvm framework. > > In Linux world, traditionally compile Linux kernel module only have one way: > compile it to machine code directly, deploy to target machine, then > run it in
2013 Apr 29
3
[LLVMdev] A new mechanism to compiler kernel modules using llvm: Defer type evaluation in clang?
On Mon, Apr 29, 2013 at 3:11 PM, Jean-Daniel Dupas <devlists at shadowlab.org> wrote: > Just out of curiosity, what would be the main benefit of this approach vs DKMS which is already widely used ? > Thanks Dupas. I checked DKMS you mentioned, basically DKMS is just a ko and its sources management tool. It's not easy to deploy ko source into target machine, and it's more
2013 Apr 30
2
[LLVMdev] A new mechanism to compiler kernel modules using llvm: Defer type evaluation in clang?
On Tue, Apr 30, 2013 at 12:31 AM, John Criswell <criswell at illinois.edu> wrote: > On 4/28/13 11:42 AM, Jovi Zhang wrote: >> >> Hi, >> >> First of all, I didn't study on compiler too much, I'm a Linux kernel >> developer, >> Now I have one idea about compile kernel module by using llvm framework. >> >> In Linux world, traditionally
2013 Apr 29
0
[LLVMdev] A new mechanism to compiler kernel modules using llvm: Defer type evaluation in clang?
On Mon, Apr 29, 2013 at 08:14:57PM +0800, Jovi Zhang wrote: > On Mon, Apr 29, 2013 at 3:11 PM, Jean-Daniel Dupas > <devlists at shadowlab.org> wrote: > > Just out of curiosity, what would be the main benefit of this approach vs DKMS which is already widely used ? > > > Thanks Dupas. > > I checked DKMS you mentioned, basically DKMS is just a ko and its > sources
2013 Apr 30
0
[LLVMdev] A new mechanism to compiler kernel modules using llvm: Defer type evaluation in clang?
On 4/30/13 1:10 AM, Jovi Zhang wrote: > On Tue, Apr 30, 2013 at 12:31 AM, John Criswell <criswell at illinois.edu> wrote: >> On 4/28/13 11:42 AM, Jovi Zhang wrote: >>> Hi, >>> >>> First of all, I didn't study on compiler too much, I'm a Linux kernel >>> developer, >>> Now I have one idea about compile kernel module by using llvm
2013 Apr 29
2
[LLVMdev] A new mechanism to compiler kernel modules using llvm: Defer type evaluation in clang?
On 4/29/2013 7:32 AM, Jovi Zhang wrote: > The case I really want to solve is some kernel change cause ko must > need to recompile, like data structure field offset changed in new > kernel, this will make offset mismatch between new kernel and old ko. > This is the reason why I want to delay type structure evaluation into > install time in Clang, In theory, ko compiled now could
2013 Apr 29
0
[LLVMdev] A new mechanism to compiler kernel modules using llvm: Defer type evaluation in clang?
I sounds me that you are just substituting "compile C source file" for "compile LLVM IR source file" or "compile LLVM IR .o file" The problem is you wish to link in the linux kernel headers at "install" time. The problem I see is that the linux kernel headers are C source files, so how is that going to work? You need a C compiler to understand the Linux
2013 Apr 29
2
[LLVMdev] A new mechanism to compiler kernel modules using llvm: Defer type evaluation in clang?
I am not sure this would work. It might be able to handle changes in structure, but what about changes in the accessor functions? I also don't see how this would be easier than compiling from source on the target machine. You still need all the kernel headers on the target machine because llvm with your patch would need them so that it uses the correct structure. The best approach for kernel
2013 Apr 29
0
[LLVMdev] A new mechanism to compiler kernel modules using llvm: Defer type evaluation in clang?
On Mon, Apr 29, 2013 at 4:40 PM, James Courtier-Dutton <james.dutton at gmail.com> wrote: > I am not sure this would work. It might be able to handle changes in > structure, but what about changes in the accessor functions? function change is not a big deal, take a example, one function referenced in ko, but not exist in new kernel, how could we replace new kernel in this case? This
2013 Apr 29
2
[LLVMdev] A new mechanism to compiler kernel modules using llvm: Defer type evaluation in clang?
On 4/29/2013 9:13 AM, Jovi Zhang wrote: > We arrived the key part: offsetof and sizeof are resolved to a > constant by Clang before they are lowered to LLVM IR, so that's the > main reason why there have a high-level IR file except LLVM IR file, > that high-level IR file contain unresolved structure field reference > info and unresolved sizeof, that high-level IR file
2013 Apr 29
0
[LLVMdev] A new mechanism to compiler kernel modules using llvm: Defer type evaluation in clang?
On Mon, Apr 29, 2013 at 9:21 PM, Joshua Cranmer 🐧 <Pidgeot18 at gmail.com> wrote: > On 4/29/2013 7:32 AM, Jovi Zhang wrote: >> >> The case I really want to solve is some kernel change cause ko must need >> to recompile, like data structure field offset changed in new kernel, this >> will make offset mismatch between new kernel and old ko. This is the reason
2013 Apr 30
0
[LLVMdev] A new mechanism to compiler kernel modules using llvm: Defer type evaluation in clang?
On Tue, Apr 30, 2013 at 4:13 PM, James Courtier-Dutton <james.dutton at gmail.com> wrote: > Jovi, > > The problem with kernel module binary compatibility is that if you > fixed the kernel module binary API, it will stifle innovation within > the kernel. > So, to the kernel developers, a changing module API is a bonus feature > and not an issue. I expect you will have no
2008 Apr 12
2
Wherefore is FUSE?
Tonight, I tried to roll out fuse on my CentOS 4 production system. (in order to use GlusterFS) I have two identical servers, and one took, the other didn't. How simple could this be? # yum install yum-plugin-priorities # yum install rpmforge-release # yum install fuse dkms-fuse both of these seem to work. Yet I run [root at kepler drivers]# modprobe fuse FATAL: Module fuse not
2012 Nov 26
2
Bug#694429: blktap-dkms: unowned files after purge (policy 6.8, 10.8): /lib/modules/$KVERS/kernel/
Package: blktap-dkms Version: 2.0.91-1 Severity: important User: debian-qa at lists.debian.org Usertags: piuparts Hi, during a test with piuparts I noticed your package left unowned files on the system after purge, which is a violation of policy 6.8 (or 10.8): http://www.debian.org/doc/debian-policy/ch-maintainerscripts.html#s-removedetails Filing this as important as having a piuparts clean
2011 Jul 17
19
XAPI on debian installation issue
Hi, I''m currently trying to install xapi on debian (unstable), following the following wiki page: http://wiki.xensource.com/xenwiki/XAPI_on_debian 1. Install squeeze 32-bits (it''s not specified on the wiki, but I guess it wont work with 64-bit as the xapi *.deb files are for 32). note: you must leave an unused 1mb partition somewhere when creating your
2010 Feb 18
3
Asterisk t38modem Fax gateway evaluation
Hi, I am trying to fix a Asterisk setup with buggy (POTS) Fax machines. The setup consists of the following components: - A Digium TE121 for connectiong to E1 ISDN - Debian box with Asterisk 1.4 - Grandstream GXW-4008 SIP ATA to which the Fax machines connect I am aware of the problems with this type of ISDN <-> Asterisk <-> SIP ATA <-> Fax machine installations, e.G.
2010 Jun 25
4
[CRON] Right way to restart Asterisk and Zaptel?
Hello About every three months, my dad's little Asterisk server that handles his business phone line with an OpenVox PCI card stops taking calls. To check if it's the cause, I'd like to run a CRON job every night to restart Zaptel and Asterisk. Before I go ahead, I'd like to know if I can just send the following commands, or if there are issues I should know about:
2007 Dec 25
2
about playlist handler in ices-0.4
Hi... i would like know how to one playlist handler whith perl? where a search one "HOW TO" thanks.. -- ALPHANET INFORM?TICA LTDA www.alphanetbh.com.br Belo Horizonte MG Leandro Campos (31)30726251 (31)87883925 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/icecast/attachments/20071226/c577c111/attachment.htm
2013 May 03
4
[LLVMdev] link native code compiled by llvm and gcc?
Hi, Is it possible to link native codes generated by different compiler? the usecase could be: Linux kernel compiled by gcc want to load kernel module compiled by Clang (I know there have some problem to compile kernel by Clang currently, but ignore those problem in here) I just concern about the call conversion problem, and compatibility between gcc and clang. Thanks .jovi