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 libgcj/20223] New: libjava testsuite does not fully support multilibs


the libjava testsuite does not correctly re-initialize itself for testing
multiple multilib variants in a second or subsequent run.  For example if  your
site.exp contains:

case "$target_triplet" in {
    { "arm*-*-elf*" } {
      set target_list { "arm-sim{,-mthumb}" }
      set board_info(arm-sim,hostname) "localhost"
      set board_info(arm-sim,gdb,skip_huge_test) 1
      set board_info(arm-sim,sim,options) "-m 8378368"
      set board_info(arm-sim/-mthumb,hostname) "localhost"
      set board_info(arm-sim/-mthumb,gdb,skip_huge_test) 1
      set board_info(arm-sim/-mthumb,sim,options) "-m 8378368"
    }
    # Other targets
}

(the key line is the target-list)

Then the testsuite glue and libraries for the -mthumb run are not correctly set.

This works for the other components in the testsuite.

-- 
           Summary: libjava testsuite does not fully support multilibs
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libgcj
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rearnsha at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org
GCC target triplet: arm-elf


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


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