public inbox for java-prs@sourceware.org help / color / mirror / Atom feed
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: java-prs@gcc.gnu.org Subject: [Bug libgcj/51498] [4.7 regression] temporary hack to make dejagnu work in libjava Date: Thu, 15 Dec 2011 12:42:00 -0000 [thread overview] Message-ID: <bug-51498-8172-8EFDPH6GVU@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-51498-8172@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51498 --- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-12-15 12:41:49 UTC --- Do you have a new enough version of dejagnu? There is no need for any of these variables. libjava.exp has: if ![info exists GCJ_UNDER_TEST] { if [info exists TOOL_EXECUTABLE] { set GCJ_UNDER_TEST $TOOL_EXECUTABLE; } else { if [info exists env(GCJ)] { set GCJ_UNDER_TEST $env(GCJ) } else { set GCJ_UNDER_TEST "[find_gcj]" } } } and my dejagnu does (in /usr/share/dejagnu/libgloss.exp): proc find_gcj {} { global tool_root_dir if {![is_remote host]} { set file [lookfor_file $tool_root_dir gcj] if { $file == "" } { set file [lookfor_file $tool_root_dir gcc/gcj] } if { $file != "" } { set CC "$file -B[file dirname $file]/" } else { set CC [transform gcj] } } else { set CC [transform gcj] } return $CC } so it should figure that out automatically. Aren't you e.g. building in source directory (./configure ...)? Otherwise it would be good if you could debug why in your case it isn't finding the right tool_root_dir and gcj in it (debugging printouts in libjava.exp and libgloss.exp).
next prev parent reply other threads:[~2011-12-15 12:42 UTC|newest] Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top 2011-12-10 17:54 [Bug libgcj/51498] New: " jojelino at gmail dot com 2011-12-12 10:13 ` [Bug libgcj/51498] " rguenth at gcc dot gnu.org 2011-12-12 10:41 ` jojelino at gmail dot com 2011-12-12 11:22 ` rguenth at gcc dot gnu.org 2011-12-13 8:36 ` jakub at gcc dot gnu.org 2011-12-13 10:49 ` jojelino at gmail dot com 2011-12-15 12:42 ` jakub at gcc dot gnu.org [this message] 2011-12-15 13:01 ` jojelino at gmail dot com 2012-01-04 13:41 ` rguenth at gcc dot gnu.org 2012-01-16 3:31 ` [Bug libgcj/51498] make dejagnu work in libjava testsuite with cross-build jojelino at gmail dot com 2012-03-22 9:25 ` rguenth at gcc dot gnu.org 2012-07-02 13:09 ` rguenth at gcc dot gnu.org 2012-08-22 17:05 ` jojelino at gmail dot com
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-51498-8172-8EFDPH6GVU@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=java-prs@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: linkBe 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).