Displaying 20 results from an estimated 700 matches similar to: "[LLVMdev] Using output from dragonegg"
2018 Apr 02
2
LLD-linked binary segfaults at runtime on alpine linux
Alpine linux is a distribution that uses musl libc instead glibc. Here are
my steps to reproduce:
On Alpine linux, download LLVM, Clang, LLD 6.0.0 from releases.llvm.org,
and build them from source.
$ clang -c hello_world.c
$ ld.lld --gc-sections -m elf_x86_64 -o hello_world
/usr/lib/gcc/x86_64-alpine-linux-musl/6.4.0/../../../../lib/Scrt1.o
2018 Apr 02
0
LLD-linked binary segfaults at runtime on alpine linux
Can you add `--reproduce=repro` to lld command line? That generates
repro.tar in your current directory which contains all input files. And
then please compress and upload it somewhere so that we can take a look.
On Mon, Apr 2, 2018 at 9:18 AM Andrew Kelley via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> Alpine linux is a distribution that uses musl libc instead glibc. Here are
2018 Apr 02
1
LLD-linked binary segfaults at runtime on alpine linux
https://superjoe.s3.amazonaws.com/temp/repro.tar.xz
On Mon, Apr 2, 2018 at 1:26 PM, Rui Ueyama <ruiu at google.com> wrote:
> Can you add `--reproduce=repro` to lld command line? That generates
> repro.tar in your current directory which contains all input files. And
> then please compress and upload it somewhere so that we can take a look.
>
>
> On Mon, Apr 2, 2018 at
2008 May 01
1
[LLVMdev] newbie question regarding llvm-mingw
Hello, Ralf
> ERROR: Program used external function '__main' wich could not be
> resolved!
This was the bug fixed soon after 2.2 release.
> I get the same error if I link the program with: "llvm-ld -v --stats
> hello_world.bc -o hello_world.exe"
> ... and execute the resulting "hello_world.exe"
Right, because produced .exe just calls lli for bytecode
2016 Oct 04
2
(Thin)LTO llvm build
GCC LTO works ok for the test case with both bfd and gold linker.
David
On Tue, Oct 4, 2016 at 6:58 AM, Teresa Johnson <tejohnson at google.com> wrote:
>
>
> On Mon, Oct 3, 2016 at 6:15 PM, Teresa Johnson <tejohnson at google.com>
> wrote:
>
>>
>>
>> On Mon, Oct 3, 2016 at 5:24 PM, Xinliang David Li <xinliangli at gmail.com>
>> wrote:
2016 Oct 04
2
(Thin)LTO llvm build
On Mon, Oct 3, 2016 at 5:24 PM, Xinliang David Li <xinliangli at gmail.com>
wrote:
> Small repro:
>
> __attribute__((weak)) int hello_world();
>
> int test() {
> if (hello_world)
> return hello_world();
> return 0;
> }
>
> $ clang -fuse-ld=gold -flto=thin -O2 -shared -fPIC -o libmore.so more.c
> $ objdump -t libmore.so |grep hello
>
2013 Mar 06
2
multi-line content= construct for puppet resource file command
Hello all,
How does one enter multi-line content using ''puppet resource file ...''
at the command line?
For example, I am trying to create a file called /tmp/hw.txt with two
lines of content:
$ cat /tmp/hw.txt
hello
world
This does not work:
$ puppet resource file hello_world \
path=/tmp/hw.txt \
ensure=file \
content="hello\nworld\n"
This does, but use
2014 Jul 30
2
[LLVMdev] [3.5 Release] Release Candidate 1 Sources and Binaries Available
On 07/30/2014 10:06 AM, Larry Evans wrote:
> On 07/30/2014 12:35 AM, Ben Pope wrote:
>> On Wednesday, July 30, 2014 01:31 PM, Ben Pope wrote:
>>
>>> ldd your_built_clang | grep libstdc++
>>> chrpath -l your_built_clang
>>
>> Hmm, where "your_built_clang" should be the actual failing executable:
>>
2012 Oct 18
2
Different return codes on exec during puppet agent run vs command line Windows
Trying to run this exec in one of our manifests. When the resource is run
during a puppet run, it returns a error code 87. But when I execute the
same command on command prompt, it returns 3010. Is there any way to dig
and and find out why the return codes are different. FYI, I am using the
sysnative path to avoid the file system redirection on windows.
Platform: Windows 2008R2 64 bit
2006 Dec 15
5
Testing event driven Socket classes
Ok, here is the class, I want to Unit Test, its part of a large app
and is based on EventMachine library.
I want to mock the class TickServer ( i.e not stub it) . Since in
actual scenario, you can''t do this on this class:
@server = TickServer.new # will toss an exception at your face
you must initialize the server like this:
EventMachine.run {
2007 Jan 03
12
instalation problem
Hi
Im testing wxRuby. I have a problem when ruby try to load the load wx.
Im newbie to ruby, maybe a make a simple mistake :
Best regards.
Install wxRuby--------------------------------------------------------------
pedro@la-vaca-azul:~$ sudo gem install wxruby2-preview
Need to update 2 gems from http://gems.rubyforge.org
..
complete
Select which gem to install for your platform (i486-linux)
2008 Jan 25
2
"undefined symbol" with wxRuby gem on Fedora Core 5...
I''m trying to test on platforms other than Windows, starting with my
Fedora Core 5 box. I''m getting this error when trying to run the
Hello World script
(http://wxruby.rubyforge.org/wiki/wiki.pl?Hello_World):
undefined symbol: gtk_widget_is_composited -
/usr/local/lib/ruby/gems/1.8/gems/wxruby-1.9.4-x86-
linux/lib/wxruby2.so (LoadError)
This happens with both the
2008 Apr 30
0
[LLVMdev] newbie question regarding llvm-mingw
Hello,
I'm playing around with the llvm-tools.
On linux everything worked as expected: I downloaded and compiled the
llvm-source. Assembled (llvm-as) and linked (llvm-ld) a hello_world
program and executed it successfully.
For windows I have downloaded the compiled mingw32-binaries:
http://llvm.org/releases/2.2/llvm-2.2-x86-mingw32.tar.bz2
I used the following hello_world program from the
2011 Nov 08
2
[LLVMdev] LLVM JIT on a Baremetal x86 Machine !!!
Hi,
First question: "/module" is mapped to a special file that reads a kernel module passed in by the bootloader. Much like GRUB, kiwi's bootloader loads a kernel and can load one or more extra files into memory. These are passed to the kernel.
The horizon kernel expects one file, which it makes accessible at "/module". This should be set up to be whatever you set
2018 Nov 11
3
A stage2 build causes changes to libllvm impacting program using it (exemple: rustc)
Hello,
Lately, I have been working on moving Debian & Ubuntu packages to a
stage2 build.
This means that, instead of shipping llvm-toolchain packages built with
gcc, we are rebuilding
everything a second time using the newly built clang.
Now, when pushed to Debian, it caused some unexpected issues in
particular with rust reported here:
2011 Nov 08
0
[LLVMdev] LLVM JIT on a Baremetal x86 Machine !!!
Hi James,
I have two questions for you.
Firstly, what is the role of 'module' in init.cc? I can see that its
being treated like it is a 'bytecode' file, as we open it and then pass
it to the ByteCoder and eventually construct llvm module from it.
Like In file init.cc, line:121
FILE *stream = fopen("/module", "rb");
...
fread(c, 1, sz,
2015 Oct 15
3
what can cause a "CPU table is not sorted" assertion
I'm trying to create a simplified 2 slot VLIW from an OR1K. The codebase
I'm working with is here <https://github.com/openrisc/llvm-or1k>. I've
created an initial MyTargetSchedule.td
def MyTargetModel : SchedMachineModel {
// HW can decode 2 instructions per cycle.
let IssueWidth = 2;
let LoadLatency = 4;
let MispredictPenalty = 16;
// This flag is set to allow the
2008 May 25
9
Segmentation Fault.
Hi there,
I am relative new to the wxRuby so please bear with me.
I use Ubuntu Hardy Heron 8.04 release. I have installed the wxwidgets C
libraries
and then did a
gem install wxruby
The ruby extensions were downloaded and installed correctly. If i do
$gem list --local
..
wxruby (1.9.7)
..
Then I tried to run a simple example "Hello World" as described in the
tutorial
2011 Nov 03
1
[LLVMdev] LLVM JIT on a Baremetal x86 Machine !!!
Hi Mian,
Looking at the runlog, everything seems fine until LLVM attempts to use lseek() on a file.
You see the PANIC because Horizon hasn't implemented lseek yet.
Obviously the version of GlibC I was using does not use lseek in that circumstance, but yours does. You just need to implement lseek :)
Cheers,
James
-----Original Message-----
From: Mian M. Hamayun
2014 Jul 30
2
[LLVMdev] [3.5 Release] Release Candidate 1 Sources and Binaries Available
On Wednesday, July 30, 2014 01:31 PM, Ben Pope wrote:
> ldd your_built_clang | grep libstdc++
> chrpath -l your_built_clang
Hmm, where "your_built_clang" should be the actual failing executable:
/home/evansl/dwnlds/llvm/3.5rc1/build/Release+Asserts/bin/llvm-tblgen
Ben