This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug testsuite/44488] New: objc test inconsistencies w/ / w/out --enable-build-with-cxx


Sometime between revision 160389 and revision 160448,
testsuite/objc/compile/compile.exp started to use a new set of options for
overy test in testsuite/objc/compile/compile.exp, using -fnext-runtime
instead of -fgnu-runtime, thus adding 5 tests * 6 option compinations,
i.e. 30 new expected passes to the test results, for a default configuration
bootstrap/regtest on i686-pc-linux-gnu.  This is still the case at
revision 160461.
Running a bootstrap/regtest on i686-pc-linux-gnu with the configure option
--enable-build-with-cxx, I do not see these new test variants, and thus 30
fewer expected passes.

With the old trunk, or with the new trunk configured with
--enable-build-with-cxx, I see there is a test of -fnext-runtime at
the start of running compile.exp, which fails:

Executing on host: /user/inria/fsf/bldxx-20100607/gcc/xgcc
-B/user/inria/fsf/bldxx-20100607/gcc/
/user/inria/fsf/gcc/gcc/testsuite/objc/compile/trivial.m  -fnext-runtime 
-B/user/inria/fsf/bldxx-20100607/i686-pc-linux-gnu/./libobjc/.libs  
-L/user/inria/fsf/bldxx-20100607/i686-pc-linux-gnu/./libobjc/.libs  -S  -o
trivial.s    (timeout = 300)
In file included from
/user/inria/fsf/gcc/gcc/testsuite/objc/compile/trivial.m:1:0:
/user/inria/fsf/gcc/gcc/testsuite/objc/compile/../../objc-obj-c++-shared/Object1.h:21:31:
fatal error: objc/Object.h: No such file or directory
compilation terminated.
compiler exited with status 1
output is:
In file included from
/user/inria/fsf/gcc/gcc/testsuite/objc/compile/trivial.m:1:0:
/user/inria/fsf/gcc/gcc/testsuite/objc/compile/../../objc-obj-c++-shared/Object1.h:21:31:
fatal error: objc/Object.h: No such file or directory
compilation terminated.

Using the following runtimes: -fgnu-runtime

With the new trunk configured without --enable-build-with-cxx, this test
appears to succeed:

Executing on host: /user/inria/fsf/bld-20100609/gcc/xgcc
-B/user/inria/fsf/bld-20100609/gcc/
/user/inria/fsf/gcc/gcc/testsuite/objc/compile/trivial.m  -fnext-runtime 
-B/user/inria/fsf/bld-20100609/i686-pc-linux-gnu/./libobjc/.libs  
-L/user/inria/fsf/bld-20100609/i686-pc-linux-gnu/./libobjc/.libs  -S  -o
trivial.s    (timeout = 300)
Using the following runtimes: -fgnu-runtime -fnext-runtime


-- 
           Summary: objc test inconsistencies w/ / w/out --enable-build-
                    with-cxx
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: amylaar at gcc dot gnu dot org
  GCC host triplet: i686-pc-linux-gnu
OtherBugsDependingO 44433
             nThis:


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44488


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]