I do all my LLVM stuff on x86_64 without trouble... I have a nightly tester up, and its only getting a few regressions currently, and I think some of those have to do with the radical changes going on in LLVM-land currently, and others with no one having done support for x86-64 in debugging output. (this is at least most of what I've seen, ymmv).
<br><br>Also, for the record, I have found both gcc 3.4 and 4.1 to miscompile things with x86-64 and Linux. I think Chris had added this to a readme at one point, but I'm not sure. I do everything with 4.0 and its working fairly well, if not quite as well as x86 / ppc is. =]
<br><br>-Chandler Carruth<br><br><div><span class="gmail_quote">On 1/11/07, <b class="gmail_sendername">Jeff Cohen</b> <<a href="mailto:jeffc@jolt-lang.org">jeffc@jolt-lang.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Already have concerning gcc 3.4: <a href="http://llvm.org/bugs/show_bug.cgi?id=1056">http://llvm.org/bugs/show_bug.cgi?id=1056</a><br><br>As for llvm-test issues, quite frankly I don't know how well they're<br>expected to work on x86_64.  No one has jumped in and said they run fine
<br>on their x86_64 system.  Maybe they're code generator bugs, or maybe<br>they're portability issues for FreeBSD (though I never saw such massive<br>problems with 32-bit FreeBSD when I last ran that).  I already fixed one
<br>problem I found with some shell scripts.  The remaining failures do not<br>have an obvious cause, or even clear if it's a single cause.  There are<br>280 "FAILED!" messages altogether.<br><br>It's also not clear if gcc 
4.0 could still be a source of problems.  4.1<br>is known to be bad also, after all.  Is there a version known to be<br>good?  4.2, 4.3?<br><br>Evan Cheng wrote:<br>><br>> On Jan 9, 2007, at 9:48 PM, Jeff Cohen wrote:
<br>><br>>> gcc 3.4.x builds LLVM incorrectly on x86_64.<br>>><br>>> gcc 4.0 will get you much farther, but the llvm-test regression tests<br>>> still have massive problems.<br>><br>> Please file bug reports on these. Thanks!
<br>><br>> Evan<br>><br>>><br>>> Zhongxing Xu wrote:<br>>>> The machine is a Dell workstation with xeon processors. The OS is RHEL<br>>>> 4 AS x86_64<br>>>> gcc version is 3.4.6
<br>>>><br>>>> I checked out the llvm-gcc from svn, configured with<br>>>> ../llvm-gcc/configure --prefix=$HOME/llvm-gcc-install<br>>>> --enable-llvm=$HOME/llvmobj/ --enable-languages=c,c++
<br>>>> --enable-checking --disable-shared --disable-multilib<br>>>><br>>>> and get the following error message:<br>>>><br>>>> make GCC_FOR_TARGET="/home/xzx/llvm-gcc-obj/gcc/xgcc
<br>>>> -B/home/xzx/llvm-gcc-obj/gcc/<br>>>> -B/home/xzx/llvm-gcc-install/x86_64-unknown-linux-gnu/bin/<br>>>> -B/home/xzx/llvm-gcc-install/x86_64-unknown-linux-gnu/lib/ -isystem<br>>>> /home/xzx/llvm-gcc-install/x86_64-unknown-linux-gnu/include -isystem
<br>>>> /home/xzx/llvm-gcc-install/x86_64-unknown-linux-gnu/sys-include" \<br>>>>   AR_FOR_TARGET="ar" \<br>>>>   AR_CREATE_FOR_TARGET="ar  rc" \<br>>>>   AR_EXTRACT_FOR_TARGET="ar  x" \
<br>>>>   AR_FLAGS_FOR_TARGET="" \<br>>>>   CC="gcc" CFLAGS="-g -O2 -W -Wall -Wwrite-strings -Wstrict-prototypes<br>>>> -Wmissing-prototypes -Wold-style-definition -fno-common " \
<br>>>>   BUILD_PREFIX="" \<br>>>>   BUILD_PREFIX_1="loser-" \<br>>>>   LANGUAGES="" \<br>>>>   LIBGCC2_CFLAGS="-O2  -DIN_GCC    -W -Wall -Wwrite-strings
<br>>>> -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition<br>>>> -isystem ./include  -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2<br>>>> -D__GCC_FLOAT_NOT_NEEDED  "  \<br>>>>   MULTILIB_CFLAGS="" T= 
crtbegin.o crtend.o crtbeginS.o crtendS.o<br>>>> crtbeginT.o<br>>>> make[3]: Entering directory `/home/xzx/llvm-gcc-obj/gcc'<br>>>> make[3]: `crtbegin.o' is up to date.<br>>>> make[3]: `crtend.o' is up to date.
<br>>>> make[3]: `crtbeginS.o' is up to date.<br>>>> make[3]: `crtendS.o' is up to date.<br>>>> make[3]: `crtbeginT.o' is up to date.<br>>>> make[3]: Leaving directory `/home/xzx/llvm-gcc-obj/gcc'
<br>>>> /home/xzx/llvm-gcc-obj/gcc/xgcc -B/home/xzx/llvm-gcc-obj/gcc/<br>>>> -B/home/xzx/llvm-gcc-install/x86_64-unknown-linux-gnu/bin/<br>>>> -B/home/xzx/llvm-gcc-install/x86_64-unknown-linux-gnu/lib/ -isystem
<br>>>> /home/xzx/llvm-gcc-install/x86_64-unknown-linux-gnu/include -isystem<br>>>> /home/xzx/llvm-gcc-install/x86_64-unknown-linux-gnu/sys-include -O2<br>>>> -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes
<br>>>> -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -fPIC<br>>>> -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED  -I. -I.<br>>>> -I../../llvm-gcc/gcc -I../../llvm-gcc/gcc/.
<br>>>> -I../../llvm-gcc/gcc/../include<br>>>> -I../../llvm-gcc/gcc/../libcpp/include  -I/home/xzx/llvm/include<br>>>> -I/home/xzx/llvmobj//include -DL_lshrdi3 -c<br>>>> ../../llvm-gcc/gcc/libgcc2.c -o libgcc/./_lshrdi3.o
<br>>>> WARNING: 128-bit integers not supported!<br>>>> ../../llvm-gcc/gcc/libgcc2.c: In function '__lshrti3':<br>>>> ../../llvm-gcc/gcc/libgcc2.c:412: internal compiler error:<br>>>> Segmentation fault
<br>>>> Please submit a full bug report,<br>>>> with preprocessed source if appropriate.<br>>>> See <URL:<a href="http://llvm.org/bugs">http://llvm.org/bugs</a> <<a href="http://llvm.org/bugs">
http://llvm.org/bugs</a>>> for instructions.<br>>>> make[2]: *** [libgcc/./_lshrdi3.o] Error 1<br>>>> make[2]: Leaving directory `/home/xzx/llvm-gcc-obj/gcc'<br>>>> make[1]: *** [stmp-multilib] Error 2
<br>>>> make[1]: Leaving directory `/home/xzx/llvm-gcc-obj/gcc'<br>>>> make: *** [install-gcc] Error 2<br>>>><br>>>> And after I run<br>>>> make install<br>>>> I get only c++ and g++ in my llvm-gcc-install directory.
<br>>>> ------------------------------------------------------------------------<br>>>><br>>>><br>>>> _______________________________________________<br>>>> LLVM Developers mailing list
<br>>>> <a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu">http://llvm.cs.uiuc.edu</a><br>>>> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev">
http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>>>><br>>><br>>> _______________________________________________<br>>> LLVM Developers mailing list<br>>> <a href="mailto:LLVMdev@cs.uiuc.edu">
LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu">http://llvm.cs.uiuc.edu</a><br>>> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
><br>><br>><br>><br><br>_______________________________________________<br>LLVM Developers mailing list<br><a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu">
http://llvm.cs.uiuc.edu</a><br><a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br></blockquote></div><br>