similar to: [LLVMdev] newbie question regarding llvm-mingw

Displaying 20 results from an estimated 20000 matches similar to: "[LLVMdev] newbie question regarding llvm-mingw"

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
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 Feb 15
2
[LLVMdev] Question on link error
Hello, Ted > __main is supposed to be inside hello.bc, so why can�t lli find it? No, it shouldn't be there. On targets, which lacks init sections (for example, all win-based, like mingw & cygwin) __main is used to call static constructors and relevant stuff. The call to __main is assembled early in the main routine before the actual code will be executed. I'll try to look into
2011 Dec 25
2
[LLVMdev] Using output from dragonegg
Howdy! I am trying to understand how to properly use dragonegg. I've gotten it on my machine and it runs everything and seems to compile fortran well. If I run this command: gcc-4.6 tests/hello_world.f -o hello_world.o -fplugin=./dragonegg.so -S -flto I get a bunch of LLVM code in the hello_world.o file. What do I do with it next if I want to execute it? I've tried llvm-as and llvm-nm but
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 Sep 21
2
[LLVMdev] OpenBSD port in progress
Hello, > If anybody has an idea of how to fix this (other than using another > version of gcc because I am sick of compiling), I would appreciate. I > can offer backtraces or shell access if anybody is interested, just > ask me what you need. This was fixed couple of months ago. Please consider using current svn top of tree, not 2.3 release. -- WBR, Anton Korobeynikov
2008 Sep 21
0
[LLVMdev] OpenBSD port in progress
2008/9/21 Anton Korobeynikov <asl at math.spbu.ru>: > Hello, > >> If anybody has an idea of how to fix this (other than using another >> version of gcc because I am sick of compiling), I would appreciate. I >> can offer backtraces or shell access if anybody is interested, just >> ask me what you need. > This was fixed couple of months ago. Please consider
2008 Sep 02
1
[LLVMdev] LLVM build failures
Hi, > (2) on alpha, gcc 4.2.4. The "unknown component name: alphacodegen" > didn't use to occur. My fault, I'll fix it. The problem is that lli wants to link in JIT module, which does not exist for these targets. -- WBR, Anton Korobeynikov
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 Feb 15
4
[LLVMdev] LLVMdev Digest, Vol 44, Issue 47
Dear LLVMers OK, when I signed up for this mailing list, I asked for a once-daily digest. This is the fourth digest I receive today, and there are about that many each day. The only reason I subscribe to the mailing list is so I can post to it. But I don't need to receive the emails, because I can fully well read them in the archive online, and I certainly don't want to get spammed
2007 Dec 18
0
[LLVMdev] how to compile mingw-llvm-gcc in windows
Hello, llvm-dev. thank you for your interest in my question. Currently, I compiled simple c source code (hello.c) in lunux and windows, and I tried to simple test . first case: hello.bc (compiled with "-emit-llvm" on windows) -> lli.exe(linux). second case: hello.bc (compiled with "-emit-llvm" on linux) -> lli.exe(windows). second case return good result. but First case
2008 Oct 26
4
[LLVMdev] CMake builds clang.
Hi, Oscar > at all, it would be great if you reflect your changes on the file list > inside the corresponding CMakeLists.txt when you add, remove or rename a > .cpp file. Isn't is possible for cmake just to glob everything in the corresponding directory? -- WBR, Anton Korobeynikov