similar to: [LLVMdev] small patch for llvm-ld, script improvement

Displaying 20 results from an estimated 20000 matches similar to: "[LLVMdev] small patch for llvm-ld, script improvement"

2017 Aug 03
0
[PATCH supermin 9/9] kernel: Reject implausibly small kernels in /lib/modules (RHBZ#1477758).
Previous changes will reject truncated / implausibly small kernel files found under /boot, but because the code that looks for kernels in /lib/modules works slightly differently it would not work there. This uses a simple stat check to reject kernels there too. Reported by Charlie Martinez. --- src/format_ext2_kernel.ml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff
2006 Jul 04
1
ActiveRecord write stops script from responding to SIGTERM
We''ve got a small daemon we run on our servers, which looks something like this require File.dirname(__FILE__) + ''/../config/boot'' require File.dirname(__FILE__) + ''/../config/environment'' ActiveRecord::Base.establish_connection do m = Message.next_pending if m m.do_something else sleep 5 end end Stuff gets place in this queue
2002 Jan 02
2
macosx (lots of little changes)
happy new year. a day off is a day to pick up a new project, so I wrestled my way through making ogg vorbis work on macosx. first, libao (not entirely a proper patch, but 2 source file diffs and a diff of a configure'd Makefile to one that works.): http://bolson.org/pub/libao-0.8.2-diff.tar.gz libogg and libvorbis compiled without incident. vorbis-tools were more complicated. I think
2002 Jan 02
2
macosx (lots of little changes)
happy new year. a day off is a day to pick up a new project, so I wrestled my way through making ogg vorbis work on macosx. first, libao (not entirely a proper patch, but 2 source file diffs and a diff of a configure'd Makefile to one that works.): http://bolson.org/pub/libao-0.8.2-diff.tar.gz libogg and libvorbis compiled without incident. vorbis-tools were more complicated. I think
2008 Apr 18
0
[LLVMdev] llvm-ld optimization options
Hi Kenneth, On Thursday 17 April 2008 20:50:24 Kenneth Hoste wrote: > On 17 Apr 2008, at 20:39, Chris Lattner wrote: > > On Thu, 17 Apr 2008, HyperQuantum wrote: > >> I have been wondering why llvm-ld generates the same code with or > > without the option "-O5" so I looked at its source (llvm 2.2). And > > apparently, the options "-On" are
2008 Sep 28
0
[LLVMdev] llvm-ld hangs
Forgot to mention that I'm trying to generate LLVM IR. I've also faced this problem while compiling linux kernel with LLVM to generate LLVM IR. On Sun, Sep 28, 2008 at 6:06 PM, Ashish Bijlani <ashish.bijlani at gmail.com> wrote: > Hi, > > I'm trying to compile UML with LLVM. However, LLVM-LD hangs whiile > linking modules. It's consuming 99% of the CPU > >
2006 Feb 01
6
how to create a command line script that acts on a model?
Hi, I''m looking to create a ruby script that loads a bunch of records and manipulates these. Where do I start? I got this to begin with: #!/usr/bin/env ruby require File.dirname(__FILE__) + ''/../config/boot'' players = Player.find :all But it complains about a DB connection. How do I set this up? Jeroen
2014 Sep 01
2
[LLVMdev] Problem linking and JITing code through C++-API
I have a frontend that generates some LLVM bitcode that needs to be linked with other bitcode (its runtime library), which I generate from C++ source using Clang. If I write the output of my program to disk, link it with llvm-link, and then run it with lli, everything works perfectly. But if I try to perform the linking and running steps in my main program, I get this error during
2009 Sep 20
0
[LLVMdev] ld with gold-plugin can do this?
zhunan wrote: > Hi,all > > I have installed the gold-plugin and it can run correctly,but I still > have another two questions: > > 1.Can gold-plugin generate a bitcode file: No. The task of linking many .bc files into a single .bc file falls on llvm-ld and llvm-link. A common followup question is "but how do I link native libraries into my .bc file". You
2009 Sep 20
2
[LLVMdev] ld with gold-plugin can do this?
Hi,all I have installed the gold-plugin and it can run correctly,but I still have another two questions: 1.Can gold-plugin generate a bitcode file: >From the document and also my experience on using it,"ld -plugin...." will only generate an executable by link several LLVM bitcode file together,but how to make it generate a whole-program bitcode file?(even archieve it manually is
2008 Sep 28
3
[LLVMdev] llvm-ld hangs
Hi, I'm trying to compile UML with LLVM. However, LLVM-LD hangs whiile linking modules. It's consuming 99% of the CPU llvm-ld -v -r -o kernel/built-in.o kernel/sched.o kernel/fork.o kernel/exec_domain.o kernel/panic.o kernel/printk.o kernel/profile.o kernel/exit.o kernel/itimer.o kernel/time.o kernel/softirq.o kernel/resource.o kernel/sysctl.o kernel/capability.o kernel/ptrace.o
2014 Jan 13
3
[PATCH 1/3] ruby: Fix tests for out-of-tree build, simplify test scripts
--- configure.ac | 1 + ruby/run-ruby-tests | 27 --------------------------- ruby/run-ruby-tests.in | 27 +++++++++++++++++++++++++++ ruby/tests/tc_010_load.rb | 2 -- ruby/tests/tc_021_close.rb | 2 -- ruby/tests/tc_120_rlenvalue.rb | 4 +--- ruby/tests/tc_200_write.rb | 2 -- ruby/tests/tc_210_setvalue.rb | 2 -- run.in
2014 Sep 02
2
[LLVMdev] Problem linking and JITing code through C++-API
Yes. It appears that a bad reference to DataLayout was passed to MachineJumpTableInfo::getEntrySize. I'm using LLVM as a pre-compiled Ubuntu package for this work, so I can't do much more in GDB without building from source. Program received signal SIGSEGV, Segmentation fault. 0x00000000007565f0 in llvm::MachineJumpTableInfo::getEntrySize(llvm::DataLayout const&) const () (gdb)
2006 Oct 09
1
error running 'ruby script/console' => "uninitialized constant RAILS_ROOT" ??
Hi, Anyone suggest why when I try to run the console via ''ruby script/console'' I get the following "uninitialized constant RAILS_ROOT" ?? Error: ================================ V:\Source\testapp>ruby script\console Loading development environment. ./script/../config/../config/environment.rb:3:NameError: uninitialized constant RAILS_ROOT
2009 Sep 29
3
Script consumes memory
I have the following script that when executed, consumes memory and makes the system inaccessible. All process are halted. First, I don't understand what is wrong with the script Secondly, I'm surprised that Linux allows this to run unchecked to the detriment of the entire system. ---- SCRIPT ----- #!/bin/sh FTP="/usr/bin/ftp" # VMID="asystem.ourcompany.com"
2008 Jan 27
0
[LLVMdev] Better llvm-ld support for frameworks on Mac OS X
I would like to be able to compile and link the following two program into native executables. These are a vastly reduced testcase, so ignore for a moment the fact that the native compiler driver might have default -L/-F search paths and -lSystem by default. $ cat test1.c extern char *zlibVersion(void); extern int puts(char *); int main(int argc, char *argv[]) { puts(zlibVersion());
2010 Sep 29
2
Script auto-detecting its own path
Hi all, Forgive me if this question has been addressed, but I was unable to find anything in the r-help list or in cyberspace. My question is this: is there a function, or set of functions, that will enable a script to detect its own path? I have tried file.path() but that was not what I was looking for. It would be nice to be able to put all the related scripts I use in the same folder with a
2009 Dec 15
1
[PATCH] If the specified ISO does not exist, then the script dies.
Before any tests are run, the ISO is checked and if it doesn't exist then the script exits with an explicit failure. Signed-off-by: Darryl L. Pierce <dpierce at redhat.com> --- autotest.sh | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/autotest.sh b/autotest.sh index c67931a..904b961 100755 --- a/autotest.sh +++ b/autotest.sh @@ -723,6 +723,10 @@ done
2007 Dec 30
1
[LLVMdev] using llvm-ld with existing libraries
I am running into some problems when trying to use llvm-ld to link object files, created by llvm-gcc-4.2 at -O4, with the stock libraries available on powerpc-apple-darwin9. In particular, I am finding that the link command... llvm-ld -O4 -native -o molscript molscript.tab.o global.o lex.o col.o select.o state.o graphics.o segment.o coord.o xform.o postscript.o raster3d.o vrml.o regex.o opengl.o
2007 Jul 18
0
[LLVMdev] memory hog llvm-ld
> > Seems like the memory-hog status is related to debug info, e.g. > > to -g. > Perhaps this is related to the binutils bug discussed on the list > recently (in certain versions of 2.17, I believe) that causes the > native linker to behave very poorly when linking with debug symbols? I don't think so. The *.o files where in binary bitcode format, and AFAIK llvm-ld