public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "ro at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug testsuite/40699]  New: [4.5 Regression] All sparcv9 libjava execution tests fail on Solaris 11/SPARC
Date: Thu, 09 Jul 2009 17:46:00 -0000	[thread overview]
Message-ID: <bug-40699-279@http.gcc.gnu.org/bugzilla/> (raw)

Between 20090522 and 20090702, all sparcv9 libjava execution tests started to
fail. libjava.log reveals:

set_ld_library_path_env_vars:
ld_library_path=.:/vol/gccsrc/obj/gcc-4.5.0-20090702/11-gcc/sparc-sun-solaris2.11/sparcv9/libjava/.libs:/vol/gccsrc/obj/gcc-4.5.0-20090702/11-gcc/./gcc
Setting LD_LIBRARY_PATH to
.:/vol/gccsrc/obj/gcc-4.5.0-20090702/11-gcc/sparc-sun-solaris2.11/sparcv9/libjava/.libs:/vol/gccsrc/obj/gcc-4.5.0-20090702/11-gcc/./gcc:.:/vol/gccsrc/obj/gcc-4.5.0-20090702/11-gcc/sparc-sun-solaris2.11/sparcv9/libjava/.libs:/vol/gccsrc/obj/gcc-4.5.0-20090702/11-gcc/./gcc:/vol/gccsrc/obj/gcc-4.5.0-20090702/11-gcc/sparc-sun-solaris2.11/libstdc++-v3/.libs:/vol/gccsrc/obj/gcc-4.5.0-20090702/11-gcc/sparc-sun-solaris2.11/libssp/.libs:/vol/gccsrc/obj/gcc-4.5.0-20090702/11-gcc/sparc-sun-solaris2.11/libgomp/.libs:/vol/gccsrc/obj/gcc-4.5.0-20090702/11-gcc/./gcc:/vol/gccsrc/obj/gcc-4.5.0-20090702/11-gcc/./prev-gcc
ld.so.1: PR9577: fatal:
/vol/gccsrc/obj/gcc-4.5.0-20090702/11-gcc/./gcc/libgcc_s.so.1: wrong ELF class:
ELFCLASS32
FAIL: PR9577 run

Compared to the 20090522 log entry

set_ld_library_path_env_vars:
ld_library_path=.:/vol/gccsrc/obj/gcc-4.5.0-20090702/11-gcc/sparc-sun-solaris2.11/sparcv9/libjava/.libs:/vol/gccsrc/obj/gcc-4.5.0-20090702/11-gcc/./gcc
Executing on host:
/vol/gccsrc/obj/gcc-4.5.0-20090702/11-gcc/sparc-sun-solaris2.11/libjava/testsuite/../libtool
--silent --tag=GCJ --mode=link
/vol/gccsrc/obj/gcc-4.5.0-20090702/11-gcc/./gcc/gcj
-B/vol/gccsrc/obj/gcc-4.5.0-20090702/11-gcc/sparc-sun-solaris2.11/libjava/
-B/vol/gccsrc/obj/gcc-4.5.0-20090702/11-gcc/./gcc/
-B/vol/gcc/sparc-sun-solaris2.11/bin/ -B/vol/gcc/sparc-sun-solaris2.11/lib/
-isystem /vol/gcc/sparc-sun-solaris2.11/include -isystem
/vol/gcc/sparc-sun-solaris2.11/sys-include    --encoding=UTF-8
-B/vol/gccsrc/obj/gcc-4.5.0-20090702/11-gcc/sparc-sun-solaris2.11/libjava/testsuite/../
/vol/gcc/src/gcc-dist/libjava/testsuite/libjava.cni/PR9577.jar natPR9577.o  -w 
-no-install --main=PR9577 -g 
-L/vol/gccsrc/obj/gcc-4.5.0-20090702/11-gcc/sparc-sun-solaris2.11/sparcv9/libjava/.libs
-lm   -m64 -o PR9577    (timeout = 300)
PASS: linking PR9577

the sparcv9 subdirectory is missing from gcc in the LD_LIBRARY_PATH, so the
wrong libgcc_s.so.1 is found.  This is most likely due to this change:

2009-06-30  Richard Sandiford  <r.sandiford@uk.ibm.com>

        * testsuite/lib/libjava.exp (libjava_init): Just add
        find_libgcc_s to libjava_libgcc_s_path, rather than every
        libgcc multilib directory.
        (libjava_arguments): Explain why we add "." to ld_library_path.
        (gcj_invoke, exec_gij, libjava_invoke): Use add_path.


-- 
           Summary: [4.5 Regression] All sparcv9 libjava execution tests
                    fail on Solaris 11/SPARC
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
        AssignedTo: rsandifo at gcc dot gnu dot org
        ReportedBy: ro at gcc dot gnu dot org
 GCC build triplet: sparc-sun-solaris2.11
  GCC host triplet: sparc-sun-solaris2.11
GCC target triplet: sparc-sun-solaris2.11


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


             reply	other threads:[~2009-07-09 17:46 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-09 17:46 ro at gcc dot gnu dot org [this message]
2009-07-09 18:08 ` [Bug testsuite/40699] " ro at gcc dot gnu dot org
2009-07-09 19:12 ` rsandifo at gcc dot gnu dot org
2009-07-09 19:17 ` ro at techfak dot uni-bielefeld dot de
2009-07-09 19:23 ` rsandifo at gcc dot gnu dot org
2009-07-09 20:18 ` ro at techfak dot uni-bielefeld dot de
2009-07-11  6:11 ` rsandifo at gcc dot gnu dot org
2009-07-11  6:44 ` rsandifo at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-40699-279@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).