search for: relinking

Displaying 20 results from an estimated 260 matches for "relinking".

Did you mean: prelinking
2013 Feb 21
1
[PATCH] the ac->ac_allow_chain_relink=0 won't disable group relink
..._chain = victim; - ac->ac_allow_chain_relink = 1; status = ocfs2_search_chain(ac, handle, bits_wanted, min_bits, res, &bits_left); @@ -1947,7 +1946,7 @@ static int ocfs2_claim_suballoc_bits(struct ocfs2_alloc_context *ac, * searching each chain in order. Don't allow chain relinking * because we only calculate enough journal credits for one * relink per alloc. */ - ac->ac_allow_chain_relink = 0; + ac->ac_disable_chain_relink = 1; for (i = 0; i < le16_to_cpu(cl->cl_next_free_rec); i ++) { if (i == victim) continue; diff --git a/fs/ocfs2/suballoc.h b/f...
2007 Jun 23
1
[LLVMdev] on-the-fly recompilation/relinking
Hi Assuming I had an application stub based on (say) lli, and I'd like to allow a hypothetical IDE to recompile and relink a function: Is that supported in any way currently? Assuming actually patching all call sites to point to the newly generated function is possible, I guess what I need is to be able to either track or find all of the call sites. The trickiest bit seems to be if the
2007 Oct 23
0
[LLVMdev] me being stupid: me vs the llvm codebase...
On Oct 23, 2007, at 18:19, BGB wrote: > On Oct 23, 2007, at 11:45, Gordon Henriksen wrote: > >> Generally speaking, LLVM neither helps nor hinders here. Maybe >> someone will follow up with whether the JIT uses stub functions >> which would enable dynamic relinking If not, it would be a >> straightforward, if platform-specific, feature to add. > > I don't use proxy or stub functions, I relink them... I misspoke. See here: http://llvm.org/doxygen/classllvm_1_1JIT.html#a7 Relinking the function as you describe is risky in the case that the...
2004 Sep 10
2
And Another OS X Install Problem...
/bin/sh ../../mkinstalldirs /sw/lib/xmms/Input ../../libtool-disable-static --mode=install /usr/bin/install -c libxmms-flac.la /sw/lib/xmms/Input/libxmms-flac.la libtool-disable-static: install: warning: relinking `libxmms-flac.la' cd /Users/glenn/Desktop/flac-1.0.5_beta1/src/plugin_xmms; /bin/sh ../../libtool-disable-static --mode=relink gcc -I../.. -I./include -I../../include -g -O2 -O3 -DNDEBUG -Dunix -fomit-frame-pointer -funroll-loops -finline-functions -Wall -W -Winline -DFLaC__INLINE=__inline_...
2018 Jul 23
2
Relinking (syscall-free) ELF executable into Mach-O and PE executables
Couldn’t you write the relocations to the ELF executable? I don’t know if current linkers have support for this, but it seems possible in theory to make a relinkable executable. If you want to do this with an already linked executable though, then yea this won’t be possible. On Fri, Jul 20, 2018 at 10:30 AM Reid Kleckner via llvm-dev < llvm-dev at lists.llvm.org> wrote: > Typically
2004 Sep 10
3
Mac OS X - xmms plugin probs
...R=/tmp (to simulate building into a deb file) The xmms plugin build fails with: mkdir /tmp/sw/lib/xmms mkdir /tmp/sw/lib/xmms/Input ../../libtool-disable-static --mode=install /usr/bin/install -c libxmms-flac.la /tmp/sw/lib/xmms/Input/libxmms-flac.la libtool-disable-static: install: warning: relinking `libxmms-flac.la' cd /Users/ben/Desktop/flac-1_0_2-src_0/flac-1.0.2/src/plugin_xmms; /bin/sh ../../libtool-disable-static --mode=relink gcc -I../.. -I./include -I ../../include -Wall -W -O3 -DNDEBUG -fomit-frame-pointer -funroll-loops -finline-functions -Winline -DFLaC__INLINE=__inline__ -g...
2007 Oct 24
2
[LLVMdev] me being stupid: me vs the llvm codebase...
...but it could make moving functions really cheap). a more selective way of doing this would be helpful (for example, a special compiler-specific keyword, or some other approach for telling the VM/linker that a particular function is movable). this would probably one-off the function, by forcibly relinking it as a proxy to the function (any future attempts at relinking the function then simply adjust its associated pointer). potentially, this could also be made the default behavior for when relinking functions (if they are being forcibly relinked, well, assume they are being made movable). or such....
2013 Oct 30
2
[LLVMdev] Using MCJIT in a dynamic REPL environment
...2) Load (compile) IR modules into Object code and cache the objects. 3) Upon running finalize (link) everything and run. 4) If a function is changed, kill its module and reload it. Then use the cached objects and finalize everything. Compared with the JIT, 4) isn't scalable, since it requires relinking of possibly many modules due to the change of just one function. I wonder if it's possible to use the stub function mechanism in order to save the relinking step. The dynamic linker can resolve everything to the stub functions that jump to real functions but then the function implementation c...
2007 Oct 23
2
[LLVMdev] me being stupid: me vs the llvm codebase...
...o override a globally defined function with a newly defined one?... > and incrementally replacing functions or modules at runtime?... < Generally speaking, LLVM neither helps nor hinders here. Maybe someone will follow up with whether the JIT uses stub functions which would enable dynamic relinking If not, it would be a straightforward, if platform-specific, feature to add. > I don't use proxy or stub functions, I relink them... basically, a system of tables is kept keeping track of where all the various functions and variables are located, where all they are used from, ... as a re...
2018 Jul 20
4
Relinking (syscall-free) ELF executable into Mach-O and PE executables
Hi, Let's suppose we have an ELF executable that doesn't issue any syscall (I mean, syscalls are issued from an external dynamic library, not from the executable, and we can ignore such dynamic library because we have the proper equivalent library with the proper syscalls in MacOS and Windows). So, the question: Is it "currently possible" (by "currently possible" I
2003 Sep 08
2
[LLVMdev] recompilation
LLVM, When we recompile, is it possible to "make" only one of the tools, or at least relink only the tools whose object files have changed? Thanks Dave
2013 Oct 30
0
[LLVMdev] Using MCJIT in a dynamic REPL environment
...R modules into Object code and cache the objects. > 3) Upon running finalize (link) everything and run. > 4) If a function is changed, kill its module and reload it. Then use the cached objects and finalize everything. > > Compared with the JIT, 4) isn't scalable, since it requires relinking of possibly many modules due to the change of just one function. > > I wonder if it's possible to use the stub function mechanism in order to save the relinking step. The dynamic linker can resolve everything to the stub functions that jump to real functions but then the function implem...
2004 Sep 10
2
Mac OS X - xmms plugin probs
--- Ben Hines <bhines@alumni.ucsd.edu> wrote: > I guess the problem is really why is it trying to relink it? > > The "parse error: condition expected:" is suspicious, though.. maybe > it's another "zsh as sh" problem... hmm.. I don't remember having any trouble building the plugin on my ibook but that was a few months ago, so my memory may be fuzzy.
2012 Jul 11
2
[LLVMdev] dynamic linkage for jit
Hi Charllls, I didn't really get it. Are you saying that you would execute some functions using the JIT then, later, those functions will be modified and thus need to be re-jitted? Ciao, Duncan. On 07/06/12 20:13, Charllls Alquarra wrote: > > Sorry if it comes out a bit pushy bumping my own question, but it's been really > difficult to find any info regarding this functionality
2012 Jul 30
0
[LLVMdev] dynamic linkage for jit
> De: Duncan Sands <baldrick at free.fr> >Para: >Enviado: miércoles, 11 de julio de 2012 9:40 >Asunto: Re: [LLVMdev] dynamic linkage for jit > >Hi Charllls, I didn't really get it. Are you saying that you would execute some >functions using the JIT then, later, those functions will be modified and thus >need to be re-jitted? > >Ciao, Duncan. Hi Duncan,
2004 Sep 10
0
Mac OS X - xmms plugin probs
...`libtool --finish /sw/lib'". The xmms plugin now gives a different error: /bin/sh ../../mkinstalldirs /tmp/sw/lib/xmms/Input ../../libtool-disable-static --mode=install /usr/bin/install -c libxmms-flac.la /tmp/sw/lib/xmms/Input/libxmms-flac.la libtool-disable-static: install: warning: relinking `libxmms-flac.la' cd /Users/ben/Desktop/flac-1_0_2-src_1/flac-1.0.2/src/plugin_xmms; /bin/sh ../../libtool-disable-static --mode=relink gcc -I../.. -I./include -I ../../include -Wall -W -O3 -DNDEBUG -fomit-frame-pointer -funroll-loops -finline-functions -Winline -DFLaC__INLINE=__inline__ -I...
2004 Sep 10
2
Mac OS X - xmms plugin probs
...gt; >fuzzy. I'll try again and post what I get. > > > I think the key is attempting to build it with a DESTDIR. Be sure you > > use a DESTDIR - and a prefix. :) > > I actually found some hints about this bug in libtool: > > "libtool 1.4.2 (gettext 0.11): Relinking fails when DESTDIR set" > > http://mail.gnu.org/pipermail/bug-libtool/2002-February/003018.html > http://mail.gnu.org/pipermail/libtool/2002-April/006244.html > http://mail.gnu.org/pipermail/libtool/2002-April/006250.html > > They have a patch to supposedly fix the bug. Thi...
2013 Oct 30
1
[LLVMdev] Using MCJIT in a dynamic REPL environment
...de and cache the objects. > > 3) Upon running finalize (link) everything and run. > > 4) If a function is changed, kill its module and reload it. Then use the > cached objects and finalize everything. > > > > Compared with the JIT, 4) isn't scalable, since it requires relinking of > possibly many modules due to the change of just one function. > > > > I wonder if it's possible to use the stub function mechanism in order to > save the relinking step. The dynamic linker can resolve everything to the > stub functions that jump to real functions but...
2003 Jul 29
1
OpenBSD-alpha and R-1.7.1 problem
I'm trying to get R running on OpenBSD/alpha. I've applied some configure patches which I've previously sent to the R-devel list to allow R to compile on an OpenBSD ELF platform (which OpenBSD/alpha is, as the i386 port soon will be). The patched source compiles without problems, and appears to run and perform properly apart from two (possibly unrelated) problems. 1) On startup
2012 Nov 21
2
[LLVMdev] linking individual functions in execution module
Hi, JIT does not allow functions to call others in different modules, so all modules need to be statically linked in a big fat module. If a module needs to be recompiled, all the others need to as well as relinked. there are two ways i intend to approach this problem: 1) forget about JITing, build each module into a .bc, call gcc to generate .soname libraries, dynamically load with dlopen()