-
Notifications
You must be signed in to change notification settings - Fork 15.1k
Description
| Bugzilla Link | 3870 |
| Resolution | LATER |
| Resolved on | Dec 02, 2010 01:41 |
| Version | trunk |
| OS | Linux |
| Attachments | Result of "make -i check" for 'llvm-gcc' 4.2.1 |
| Reporter | LLVM Bugzilla Contributor |
| CC | @asl |
Extended Description
The Testsuite not setup for LLVM and non-Apple Platforms such as Debian Linux.
I obtained the Trunk for LLVM (and it's accompanying gcc 4.2.1) and found
various problems compiling it on Debian Lenny 5.0. There are too many
patches to create 'llvm-gcc' from FSF's gcc-4_2-branch (dated 20070719)
(both "APPLE LOCAL" and "LLVM LOCAL") that it will be difficult to
make a direct comparison between 'llvm-gcc' and (un-modified) 'gcc'.
It would be better to separate the LLVM and Apple patches from each
other so they can be applied to newer versions of FSF's gcc . Your
choice of 4.2.1 is really great as it is quite stable but you will
have a nightmare trying to "diff and patch" your changes to gcc 4.4 .
The biggest problem may be that when you run the Testsuite Mailer
("../llvm-gcc-4.2_trunk/contrib/test_summary") it will send mail to
the FSF's gcc mailing list at: gcc-testresults@gcc.gnu.org . That
may not be appreciated since your 'gcc' is 4.2.1 (too old) and
it is modified. Unless the LLVM people look there they will not
even see the Testsuite Results.
Along these same lines when your 'llvm-gcc' crashes it says to use
http://developer.apple.com/bugreporter as the address to report
Bugs (instead of here at http://llvm.org/bugs/ ). Apple only
wants Bug Reports for it's un-modified gcc for Apple's Operating
Systems (and not LLVM Bug Reports for Linux Platforms such as Debian).
I had little luck in getting Ada to compile and so I ommited it from the
"--enable-languages=" list (I did read: ../docs/GCCFEBuildInstrs.html ).
uname -a
Linux debian 2.6.29-rc8-686 #1 SMP Sat Mar 21 06:26:18 UTC 2009 i686 GNU/Linux
gcc/xgcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../llvm-gcc-4.2_trunk/configure --host=i686-pc-linux-gnu --target=i686-pc-linux-gnu --build=i686-pc-linux-gnu --prefix=/mnt/drive2/llvm-gcc/llvm-gcc-4.2_trunk_obj/../install --program-prefix=llvm- --enable-llvm=/mnt/drive2/llvm-gcc/install --enable-languages=c,c++,fortran,java,objc,obj-c++ --enable-multilib --enable-stage1-checking=assert --enable-checking=release --with-arch=k8 --with-gmp=/usr/local --with-mpfr=/usr/local : (reconfigured) ../llvm-gcc-4.2_trunk/configure --host=i686-pc-linux-gnu --target=i686-pc-linux-gnu --build=i686-pc-linux-gnu --prefix=/mnt/drive2/llvm-gcc/llvm-gcc-4.2_trunk_obj/../install --program-prefix=llvm- --enable-llvm=/mnt/drive2/llvm-gcc/install --enable-languages=c,c++,fortran,objc,obj-c++ --enable-multilib --enable-stage1-checking=assert --enable-checking=release --with-arch=k8 --with-gmp=/usr/local --with-mpfr=/usr/local
Thread model: posix
gcc version 4.2.1 (Based on Apple Inc. build 5643) (LLVM build)
I am enclosing the Testsuite Results (from "make -i check"). Many of
the failures are due to "Testsuite Failures" and not problems with
'llvm-gcc' (mostly due to assuming that 'llvm-gcc' is to be executed
on a "--Darwin" Platform).
Best of luck with your Project,
Rob