[LLVMbugs] [Bug 3870] New: Testsuite not setup for LLVM (and non-Apple Platforms)

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Mar 24 04:52:16 PDT 2009


http://llvm.org/bugs/show_bug.cgi?id=3870

           Summary: Testsuite not setup for LLVM (and non-Apple Platforms)
           Product: Test Suite
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: DejaGNU
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: rob1weld at aol.com
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=2751)
 --> (http://llvm.org/bugs/attachment.cgi?id=2751)
Result of "make -i check" for 'llvm-gcc' 4.2.1

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 at 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


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list