similar to: [LLVMdev] Standard output binary mode on windows

Displaying 20 results from an estimated 30000 matches similar to: "[LLVMdev] Standard output binary mode on windows"

2008 Jun 04
1
[LLVMdev] Standard output binary mode on windows
Hello, On windows, the standard output is not set to binary mode by default so all '\n' characters are replaced with '\r\n'. This is a pain for any command using stdout, like "llvm-as < input.ll > out.bc", because out.bc is then most likely corrupted. This is an old story, fixed a while ago: http://llvm.org/bugs/show_bug.cgi?id=787 And here is the thread on
2008 Jun 05
0
[LLVMdev] Standard output binary mode on windows
Hello, Julien > Should I open a new PR to track this issue or reopen #787 ? Don't worry, I'll test your patches and include into mingw32 binaries. > I think the binary releases of llvm and llvm-gcc for MingW32 on > http://llvm.org/releases/download.html#2.2 have the problem, stdout > cannot be used. Yes, completely forgot to test this feature :( -- With best regards, Anton
2008 Jun 05
1
[LLVMdev] Standard output binary mode on windows
Hello, Matthijs > why do you only set binary mode for stdout? Don't you have the same problem > when writing bitcode to file? No, all files are opened in binary mode. This is really ugly thing (stdout opened in text mode) which really hurt bunch of projects during porting, since fallout from such thing can be pretty subtle. -- With best regards, Anton Korobeynikov. Faculty of
2007 Nov 07
0
[LLVMdev] Getting started using MinGW binary release?
Finally, I got my hands on Windows machine again today. I extracted llvm-2.1-x86-mingw32.tar.bz2 and llvm-gcc4.0-2.1-x86-mingw32.tar.bz2 to C:\llvm (It's a bare Windows Vista installation without MinGW) Added C:\llvm\bin;C:\llvm\libexec\gcc\i686-pc-mingw32\4.0.1 to PATH (C:\llvm\libexec\gcc\i686-pc-mingw32\4.0.1 was added for cc1.exe) Downloaded
2007 Sep 05
2
[LLVMdev] Exception Problems
Bill, > When I try to compile on Darwin now, I get this: Could you please provide LLVM bytecode, where bug is reproducible with llc? -- With best regards, Anton Korobeynikov. Faculty of Mathematics & Mechanics, Saint Petersburg State University.
2007 Nov 07
1
[LLVMdev] Getting started using MinGW binary release?
Sam, > Am I supposed to install MinGW (maybe MSYS) and extract prebuilt > packages ( llvm-2.1-x86-mingw32.tar.bz2 and > llvm-gcc4.0-2.1-x86-mingw32.tar.bz2) to C:\MinGW ?? llvm-as != as. You'll need to have binutils installed in order to compile & link. -- With best regards, Anton Korobeynikov. Faculty of Mathematics & Mechanics, Saint Petersburg State University.
2007 Feb 28
0
[LLVMdev] Cygwin release build error
Hello, Aaron. > /usr/src/llvm-gcc4/gcc/libgcc2.c: In function '__eprintf': > /usr/src/llvm-gcc4/gcc/libgcc2.c:1832: internal compiler error: > Segmentation fault > Please submit a full bug report, > with preprocessed source if appropriate. > See <URL:http://llvm.org/bugs> for instructions. You should: 1. Try to emit bytecode with --emit-llvm compiler switch. 1.1
2006 May 24
0
[LLVMdev] Error with llc after using llvm-g++ WIN32
On May 24, 2006, at 5:03 AM, Anton Korobeynikov wrote: > Hello, Ashwin. > > You wrote Wednesday, May 24, 2006, 11:25:11 AM: > > AC> "Pass::getClassPassInfo<PassClass>() "Pass class not > AC> registered!"" failed: file > AC> "/cygdrive/c/llvm/llvm/include/llvm/PassAnalysisSupport.h", > line 76 > AC> Aborted > Same
2007 Nov 06
2
[LLVMdev] Getting started using MinGW binary release?
> Sorry, this wasn't mentioned in documentation. llvm-gcc was built with > '--enable-threads' flag, thus it requires win32 pthread port. Keith have > already given a right link for dlls download. Just to make stuff clear: you'll have to download pthreadGC1.dll, rename it to pthreadGC.dll and put it somewhere in your PATH. All try to build all future versions of binaries
2007 Jul 15
0
[LLVMdev] not to break 'for' statement into basic blocks
According to the instruction manual of this target machine, 'goto' should not be used in C code. :-/ Could you tell me a little more about your advice as to using 'reg2mem', if you're fine? Thank you so much, Anton. Best, Seung J. Lee ---- Original message ---- >Date: Sun, 15 Jul 2007 02:23:27 +0400 >From: Anton Korobeynikov <asl at math.spbu.ru> >Subject:
2005 Jan 22
0
[LLVMdev] making cygwin nightly builds available?
Hi Anton, You're already a part of the llvm development team by participating actively on the llvm development list :) If you wish we can put you on: http://llvm.cs.uiuc.edu/Developers.html Great to have you on the team, welcome! We (Jeff, Morten, Paolo, the rest of the team and I) are looking forward to cooperate with you and to push win32 and mingw versions even further to stable and
2007 Jun 24
0
[LLVMdev] alloca on Win32
Hi Thanks for the info, it led to the source of the error I was having. I was using llvm-gcc binaries (built with mingw I guess) to compile a .c file that is my language runtime, llvm-link'ing that with my frontend's .ll, and using an vcpp-built lli to run the resulting bytecode. This caused the special case in X86RegisterInfo::emitPrologue for "main" to try to align the stack
2006 May 25
3
[LLVMdev] Error with llc after using llvm-g++ WIN32
Hi Anton, Is the patch going to be uploaded to the CVS source? Ashwin On 5/24/06, Evan Cheng <evan.cheng at apple.com> wrote: > > > On May 24, 2006, at 5:03 AM, Anton Korobeynikov wrote: > > > Hello, Ashwin. > > > > You wrote Wednesday, May 24, 2006, 11:25:11 AM: > > > > AC> "Pass::getClassPassInfo<PassClass>() "Pass class
2006 May 25
0
[LLVMdev] Error with llc after using llvm-g++ WIN32
The patch is now in. Sorry about the delay! Evan On May 25, 2006, at 10:20 AM, Ashwin Chandra wrote: > Hi Anton, > Is the patch going to be uploaded to the CVS source? > > Ashwin > > > On 5/24/06, Evan Cheng <evan.cheng at apple.com> wrote: > > On May 24, 2006, at 5:03 AM, Anton Korobeynikov wrote: > > > Hello, Ashwin. > > > > You wrote
2012 Oct 04
0
[LLVMdev] [cfe-dev] Handling SRet on Windows x86
How can a frontend tell LLVM to put a function argument on stack/register/etc? On Thu, Oct 4, 2012 at 5:08 PM, Anton Korobeynikov <asl at math.spbu.ru> wrote: >> Ah, got it. >> Sounds like we might need to introduce CC_X86_Win32_MSVC_ThisCall then?.. > No, we should not. It should be properly expanded in frontend. > > -- > With best regards, Anton Korobeynikov >
2007 Oct 01
1
[LLVMdev] Vector troubles
I tried to ask for 32 and that didn't seem to help. MallocInst also seemed to ignore the 16 byte directive. For now, I'm just issuing all my loads as unaligned and that's working ok. Thanks, Chuck. -----Original Message----- From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Evan Cheng Sent: Monday, October 01, 2007 10:35 AM To: asl at
2007 Jun 24
1
[LLVMdev] alloca on Win32
The alloca hook is in lib\System\Win32\DynamicLibrary.inc all the way at the bottom. You'll see a __MING32__ #ifdef around the definition. You just have to implement those methods and it'll work just fine. Jake On 6/24/07, Scott Graham <scott.llvm at h4ck3r.net> wrote: > > Hi > > Thanks for the info, it led to the source of the error I was having. > > I was using
2007 Sep 28
5
[LLVMdev] Vector troubles
Chuck, > It is dying trying to store a our working vector into one of the LLVM > vectors created on the stack. Despite the align-16 directive on the > alloca instruction, it is not always aligning to a 16-byte boundary. The stack is not necessary 16 bytes aligned on linux/windows. The vector is really sotred aligned relative to %esp, but %esp value is not good. This is known problem
2007 May 04
2
[LLVMdev] LLVM-GCC Source Updated?
Hello, Bill. > Has anyone gotten the latest/greatest sources from the LLVM-GCC open > source server lately? No. It's still at rev 319 (as of 29.04). -- With best regards, Anton Korobeynikov. Faculty of Mathematics & Mechanics, Saint Petersburg State University.
2008 Jun 06
2
[LLVMdev] [patch] add support for PIC on linux x86-64
Hello, Rafael > With this patch I was able to bootstrap gcc in linux x86-64 with > shared libraries enabled :-) Awesome! But... -ENOPATCH :( -- With best regards, Anton Korobeynikov. Faculty of Mathematics & Mechanics, Saint Petersburg State University.