Displaying 20 results from an estimated 20000 matches similar to: "[LLVMdev] Building LLVM under Mingw. Part I: tools-only"
2006 Apr 29
3
[LLVMdev] Building LLVM under Mingw. Part I: tools-only
Hello, Everyone.
Now I have some spare time and I've decided to build LLVM on Mingw.
I've grab the latest 1.7 release (not CVS snapshot). Here are some
issues fixed during the build. Now I'm preparing gcc build. So, I
think, there will some other "parts"
1. Prerequisites
1.1 GCC 3.4.5 from mingw.org site.
$ gcc --version
gcc.exe (GCC) 3.4.5 (mingw special)
Copyright (C)
2006 Apr 29
0
[LLVMdev] Building LLVM under Mingw. Part I: tools-only
Hello, Aaron.
You wrote Sunday, April 30, 2006, 1:34:16 AM:
AG> I traced the code its easy enough to find the error message in the bfd code.
Hmm. This seems to be another bug. I've just got access to null
address in linker and it's crashed. No error message at all.
--
With best regards,
Anton mailto:asl at math.spbu.ru
Sunday, April 30, 2006 1:48:15 AM
2006 Apr 29
0
[LLVMdev] Building LLVM under Mingw. Part I: tools-only
Hello, Jeff.
You wrote Saturday, April 29, 2006, 10:50:08 PM:
JC> You will. You haven't gotten that far yet. It shows up as a crash
JC> running gccas.
Ok. Switched to 2.1
JC> As for ld crashing, I have no suggestions.
It seems to be bug in bfd/cofflink.c file of libbfd. I can even name the
function, where weird thing happens. But it's out of my possibilities
to debug this
2006 Apr 29
2
[LLVMdev] Building LLVM under Mingw. Part I: tools-only
Hello, Jeff.
You wrote Saturday, April 29, 2006, 10:45:02 PM:
JC> Yes, I know mingw doesn't support dbghelp. I can still rant about it :)
;) Well. Maybe this library will be included in some next versions of
mingw's win32api package. Anyway, we can make such library just
"on-fly" from the corresponding .dll.
JC> This is what's already there. What changed?
Maybe
2006 Apr 29
1
[LLVMdev] Building LLVM under Mingw. Part I: tools-only
Hello, Jeff.
You wrote Saturday, April 29, 2006, 7:35:46 PM:
JC> Bison 1.875 is known to have problems building LLVM. Please upgrade to
JC> a newer version (at least 1.875d). The current version is 2.1.
Hmm.. I haven't found any problem building LLVM with that bison. ;)
The problem, when ld crashed compiling llc is much more serious. It
seems to be linker bug.
--
With best regards,
2006 Apr 30
0
[LLVMdev] Building LLVM under Mingw. Part I: tools-only
BTW: I've also had to make this change when building tools.
(I'm building right now and noticed that it doesn't come up anymore, maybe
someone checked it in in the last week or so)
On Sat, 29 Apr 2006, Anton Korobeynikov wrote:
> Hello, Jeff.
>
> You wrote Saturday, April 29, 2006, 10:45:02 PM:
>
> JC> Yes, I know mingw doesn't support dbghelp. I can still rant
2006 May 16
0
[LLVMdev] Re: Release 1.6 LLVM-Cfrontend build error on cygwin
Hello, Chuck.
You wrote Tuesday, May 16, 2006, 6:03:14 PM:
C> /netrel/src/binutils-20050610-1/bfd/cofflink.c:1926
C> make[2]: ***
I've tracked this assertion some more deep. The problem is in
LLVMSelectionDAG.o file.
If I run the next lines, I've got and assertion:
ld -r -o LLVMSelectionDAG.o ScheduleDAGList.o ScheduleDAGRRList.o
ld -o llc LLVMSelectionDAG.o
If I remove one of
2006 May 16
0
[LLVMdev] Re: Release 1.6 LLVM-Cfrontend build error on cygwin
Hello, Reid.
You wrote Tuesday, May 16, 2006, 11:13:19 PM:
RS> What does the assertion say?
The same text, as in the original e-mail:
<=cut=>
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld:
BFD 2.16.91 20050610 assertion fail /netrel/src/binutils-20050610-1/bfd/cofflink.c:1926
<=cut=>
This assertions is in big function named:
bfd_boolean
2006 May 13
0
[LLVMdev] Building Tools on MinGW from CVS
Hello, Greg.
You wrote Saturday, May 13, 2006, 11:12:26 PM:
GP> The problem is that it can't find some symbols: (SymSetOptions,
GP> SymInitialize, SymGetModuleBase, SymFunctionTableAccess, etc.)
GP> I looked on the Web and these functions are in Dbghelp.lib.
GP> Are they also in libimagehlp.a?
Yes, they are. At least im mingw-runtime 3.9 (I'm using this version).
GP>
2006 May 16
0
[LLVMdev] Re: Release 1.6 LLVM-Cfrontend build error on cygwin
Hello, Chuck.
You wrote Tuesday, May 16, 2006, 6:03:14 PM:
C> /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld: BFD
C> 2.16.91
C> 20050610 assertion fail
C> /netrel/src/binutils-20050610-1/bfd/cofflink.c:1926
C> make[2]: ***
This is a bug in binutils also seen in mingw32 build. :(
I've sent bug report to binutils bugzilla this weekend.
Hope, this will be
2006 Apr 23
0
[LLVMdev] Re: Building CFE in Mingw
Anton Korobeynikov <asl at math.spbu.ru> writes:
[snip]
> 2) Problem: Complains about gthr-default.h file.
> Resolution: Grab gcc/gcc/gthr-win32.h file and copy it to gthr-default.h
... so --enable-threads=win32 is broken... good to know.
> 3) Problem: Complains about "CL_ObjCXX" and simular ("CL_") during
> compilation
2006 Apr 23
2
[LLVMdev] Building CFE in Mingw
Hello, all.
Just found this file in my e-mail atchive, hope it will be useful for somebody.
===cut=here===
Some small rules:
1) No blankspace in the paths to the top-level directories.
2) Add paths to binaries to your system PATH variable.
3) Use short paths to top-level directories.
1. Some checks & preparations.
1) Be sure, that you're using right make version:
$ make
2006 Apr 23
0
[LLVMdev] Re: Building CFE on MinGW
Hello, Oscar.
You wrote Sunday, April 23, 2006, 8:31:14 PM:
OF> Forward works ok with MinGW. Back slashes can be interpreted as escape
OF> sequences by MSYS/Cygwin tools.
I've succeeded in building CFE in Mingw at some 1.3-1.4 release.
After, I just don't have enough time to play with LLVM. I've sent my
instructions to Henrik Bach <henrik_bach_llvm at hotmail.com>, maybe
2006 May 06
1
[LLVMdev] Still Trying to Build on MINGW
Hello, Greg.
You wrote Saturday, May 6, 2006, 10:24:16 PM:
GP> If anyone has any insight I'd love to hear it.
GP> Meanwhile, I'll continue to investigate...
Currently I'm working on bootstrapping llvm-gcc4 on mingw32 platform.
There are some serious miscompartibilities preventing build. I'll let
know the results.
Anyway, it's common knowledge, that msys itself have
2006 May 08
0
[LLVMdev] Configuring for the cfrontend build on Mingw
Hello, Greg.
You wrote Sunday, May 7, 2006, 10:46:34 PM:
GP> 3. One potential point of control is the INCLUDES variable found in
GP> cfrontent/gcc/Makefile.in:
GP> INCLUDES = -I. -I$(@D) -I$(srcdir) -I$(srcdir)/$(@D) \
GP> -I$(srcdir)/../include @INCINTL@
Just unpack mingw32's headers & libs (w32api && mingw-runtime) into
prefix directory. And configure script
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
2006 Aug 04
0
[LLVMdev] Building llvm under cygwin
On 8/4/06, Anton Korobeynikov <asl at math.spbu.ru> wrote:
>
> Hello Anton
>
> Thu, 3 Aug 2006 23:13:52 +0400 you wrote:
>
> > I won't be available for the next 10-12 hours if you'll need some more
> > files.
> Well. I have one idea. Could you please execute "sort --version" from
> your cygwin shell and let me know, whether it's GNU one
2005 Feb 19
1
[LLVMdev] Cygwin and MingW target triples
Hello, Reid.
You wrote Saturday, February 19, 2005, 6:49:30 AM:
RS> i686-pc-cygwin
RS> don't know about mingw.
i686-pc-mingw32 for mingw.
--
With best regards,
Anton mailto:asl at math.spbu.ru
Saturday, February 19, 2005 9:07:04 AM
Faculty of Mathematics & Mechanics, Saint-Petersburg State University
2006 May 06
0
[LLVMdev] Still Trying to Build on MINGW
Hello, Greg.
You wrote Saturday, May 6, 2006, 10:54:19 PM:
GP> Is it possible to build using MINGW, but without using msys?
GP> All along I've been assuming that I needed msys.
Unfortunately, no (especially, if you want to build gcc). LLVM and gcc
uses auto* machinery, which depends on sh, sed, sort, etc. So, you should
use (at least for configure) some amount of
2006 May 10
0
[LLVMdev] GCC_NO_EXECUTABLES during CFE build on MinGW
Hello, Greg.
You wrote Wednesday, May 10, 2006, 3:40:43 PM:
GP> checking for main in -lm... configure: error: Link tests are not allowed
GP> after GCC_NO_EXECUTABLES.
If my memory serves me right, this message was due to something odd
happened in gccld. Maybe supplied path was wrong or something like
this. I've seen this bug before, but don't remember how I've fixed it.
--