Has anyone succeeded? I kept getting linker errors when building opt. The
only additional configure command I use is --enable-optimized.
Has anyone succeeded? I kept getting linker errors when building opt. The
only additional configure command I use is --enable-optimized.
Could you post the errors message? Sounds like bug in mingw's gcc / ld.
Could you post the errors message? Sounds like bug in mingw's gcc / ld.
It's very long, maybe I should just attach the log? I only remember the
first line saying: --export-dynamic is not supported for PE targets, do you
mean --export-all-symbols? *or something similar to this* then a bunch of
undefined references occur.
first line saying: --export-dynamic is not supported for PE targets, do you
mean --export-all-symbols? *or something similar to this* then a bunch of
undefined references occur.
Make sure you're using the correct perl - that one which comes with msys DTK
Make sure you’re using the correct perl - that one which comes with msys DTK
I’m using msys perl for msys 1.0.11. Maybe I should revert back to msys 1.0.10?
reverting doesn't help. Here are the logs:
http://old.nabble.com/file/p29834726/output.log output.log
http://old.nabble.com/file/p29834726/error.log error.log
which mingw gcc + binutils versions are known to work (or better, the one
that you guys use)?
Good morning.
I don't understand relation between output.log and error.log.
It seems all LLVM libraries are not found on linking opt.exe.
Please show us logs with command lines with make VERBOSE=1
It would be better only then to touch a few files. (eg.
lib/Transforms/Scalar/GVN.cpp)
The warning of --export-dynamic might be harmless,
and you may add the option --enable-auto-import
IIRC LLVM-2.7 might not be tested with mingw-4.5.0.
ps. I am using msysgit packages.
...Takumi
Attached is a result of configure and make VERBOSE=1:
http://old.nabble.com/file/p29846487/output.log output.log
http://old.nabble.com/file/p29846487/error.log error.log
Good evening.
Thank you.
configure: running /bin/sh ../../../projects/sample/configure --prefix=c:/llvm '--enable-optimized' '--enable-shared' '--enable-targets=host,x86,cpp' 'CFLAGS=-s -O4' 'CXXFLAGS=-s -O4 -Wl,--enable-auto-import' 'LDFLAGS=-s -O4' --cache-file=/dev/null --srcdir=../../../projects/sample
--enable-shared/DLL was not supported in 2.7. It has worked since Aug 2010.
...Takumi
--enable-shared/DLL was not supported in 2.7. It has worked since Aug 2010.
Oh, OK. I'll try using svn version. Anyway, the compilation goes fine
(except for one gcc internal error: segmentation fault in the middle of the
process, which is gone when I re-invoke make) after I reinstall everything
using mingw-get. Looks like my mingw/msys installation got screwed up
somehow. Thanks for everything.