public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/43847] test for plugin is using wrong objdump for host != target
       [not found] <bug-43847-4@http.gcc.gnu.org/bugzilla/>
@ 2013-04-26  7:51 ` joern.clausen@uni-bielefeld.de
  2021-09-18  7:40 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 7+ messages in thread
From: joern.clausen@uni-bielefeld.de @ 2013-04-26  7:51 UTC (permalink / raw)
  To: gcc-bugs


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

Joern Clausen <joern.clausen@uni-bielefeld.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |joern.clausen@uni-bielefeld
                   |                            |.de

--- Comment #6 from Joern Clausen <joern.clausen@uni-bielefeld.de> 2013-04-26 07:51:34 UTC ---
The current code (GCC 4.7.3)

  *)
    if test x$build = x$host; then
      export_sym_check="objdump${exeext} -T"
    elif test x$host = x$target; then
      export_sym_check="$gcc_cv_objdump -T"
    else
      export_sym_check=
    fi

does not use OBJDUMP or similar hints for the correct name and location of
"objdump" when not doing a cross compile. On Solaris, I set

OBJDUMP=/usr/sfw/bin/gobjdump

which leads to

Links are now set up to build a native compiler for sparc-sun-solaris2.10.
checking for exported symbols...
/software/local/gcc/src/gcc-4.7.3/gcc/configure: line 27313: objdump: command
not found
yes
checking for -rdynamic... /software/local/gcc/src/gcc-4.7.3/gcc/configure: line
27323: objdump: command not found
no


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug bootstrap/43847] test for plugin is using wrong objdump for host != target
       [not found] <bug-43847-4@http.gcc.gnu.org/bugzilla/>
  2013-04-26  7:51 ` [Bug bootstrap/43847] test for plugin is using wrong objdump for host != target joern.clausen@uni-bielefeld.de
@ 2021-09-18  7:40 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-09-18  7:40 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43847

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |build
   Last reconfirmed|2010-04-22 16:54:18         |2021-9-18

--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
The code is now in config/gcc-plugin.m4 and still does not use ${OBJDIR} or
${NM} (for the darwin case).

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug bootstrap/43847] test for plugin is using wrong objdump for host != target
  2010-04-22  9:00 [Bug other/43847] New: gcc_cv_objdump pointing to wrong one in gcc/configure kai dot ruottu at wippies dot com
                   ` (3 preceding siblings ...)
  2010-09-09 18:23 ` doko at gcc dot gnu dot org
@ 2010-09-09 18:25 ` doko at gcc dot gnu dot org
  4 siblings, 0 replies; 7+ messages in thread
From: doko at gcc dot gnu dot org @ 2010-09-09 18:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from doko at gcc dot gnu dot org  2010-09-09 18:25 -------
Subject: Bug 43847

Author: doko
Date: Thu Sep  9 18:25:26 2010
New Revision: 164114

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164114
Log:
2010-09-09  Matthias Klose  <doko@ubuntu.com>

        PR bootstrap/43847
        * configure.ac (--enable-plugin): Enhance for cross builds.
        * configure: Regenerate.

Modified:
    branches/gcc-4_5-branch/gcc/ChangeLog
    branches/gcc-4_5-branch/gcc/configure
    branches/gcc-4_5-branch/gcc/configure.ac


-- 


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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug bootstrap/43847] test for plugin is using wrong objdump for host != target
  2010-04-22  9:00 [Bug other/43847] New: gcc_cv_objdump pointing to wrong one in gcc/configure kai dot ruottu at wippies dot com
                   ` (2 preceding siblings ...)
  2010-06-08  8:36 ` doko at ubuntu dot com
@ 2010-09-09 18:23 ` doko at gcc dot gnu dot org
  2010-09-09 18:25 ` doko at gcc dot gnu dot org
  4 siblings, 0 replies; 7+ messages in thread
From: doko at gcc dot gnu dot org @ 2010-09-09 18:23 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from doko at gcc dot gnu dot org  2010-09-09 18:23 -------
Subject: Bug 43847

Author: doko
Date: Thu Sep  9 18:22:48 2010
New Revision: 164113

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164113
Log:
2010-09-09  Matthias Klose  <doko@ubuntu.com>

        PR bootstrap/43847
        * configure.ac (--enable-plugin): Enhance for cross builds.
        * configure: Regenerate.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/configure
    trunk/gcc/configure.ac


-- 


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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug bootstrap/43847] test for plugin is using wrong objdump for host != target
  2010-04-22  9:00 [Bug other/43847] New: gcc_cv_objdump pointing to wrong one in gcc/configure kai dot ruottu at wippies dot com
  2010-04-22 16:54 ` [Bug bootstrap/43847] test for plugin is using wrong objdump for host != target pinskia at gcc dot gnu dot org
  2010-06-04  9:51 ` doko at ubuntu dot com
@ 2010-06-08  8:36 ` doko at ubuntu dot com
  2010-09-09 18:23 ` doko at gcc dot gnu dot org
  2010-09-09 18:25 ` doko at gcc dot gnu dot org
  4 siblings, 0 replies; 7+ messages in thread
From: doko at ubuntu dot com @ 2010-06-08  8:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from doko at ubuntu dot com  2010-06-08 08:35 -------
proposed patch at
http://gcc.gnu.org/ml/gcc-patches/2010-06/msg00658.html


-- 


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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug bootstrap/43847] test for plugin is using wrong objdump for host != target
  2010-04-22  9:00 [Bug other/43847] New: gcc_cv_objdump pointing to wrong one in gcc/configure kai dot ruottu at wippies dot com
  2010-04-22 16:54 ` [Bug bootstrap/43847] test for plugin is using wrong objdump for host != target pinskia at gcc dot gnu dot org
@ 2010-06-04  9:51 ` doko at ubuntu dot com
  2010-06-08  8:36 ` doko at ubuntu dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 7+ messages in thread
From: doko at ubuntu dot com @ 2010-06-04  9:51 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from doko at ubuntu dot com  2010-06-04 09:51 -------
having an objdump which supports both the host and the target works around this
issue.


-- 


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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug bootstrap/43847] test for plugin is using wrong objdump for host != target
  2010-04-22  9:00 [Bug other/43847] New: gcc_cv_objdump pointing to wrong one in gcc/configure kai dot ruottu at wippies dot com
@ 2010-04-22 16:54 ` pinskia at gcc dot gnu dot org
  2010-06-04  9:51 ` doko at ubuntu dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2010-04-22 16:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2010-04-22 16:54 -------
Actually gcc_cv_objdump is correct for the rest of configure.ac; just we are
using the incorrect one for the plugin test.

Also note we need to use the one for built for the build for the host.  (for
Canadian crosses).


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
          Component|other                       |bootstrap
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-04-22 16:54:18
               date|                            |
            Summary|gcc_cv_objdump pointing to  |test for plugin is using
                   |wrong one in gcc/configure  |wrong objdump for host !=
                   |                            |target


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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-09-18  7:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-43847-4@http.gcc.gnu.org/bugzilla/>
2013-04-26  7:51 ` [Bug bootstrap/43847] test for plugin is using wrong objdump for host != target joern.clausen@uni-bielefeld.de
2021-09-18  7:40 ` pinskia at gcc dot gnu.org
2010-04-22  9:00 [Bug other/43847] New: gcc_cv_objdump pointing to wrong one in gcc/configure kai dot ruottu at wippies dot com
2010-04-22 16:54 ` [Bug bootstrap/43847] test for plugin is using wrong objdump for host != target pinskia at gcc dot gnu dot org
2010-06-04  9:51 ` doko at ubuntu dot com
2010-06-08  8:36 ` doko at ubuntu dot com
2010-09-09 18:23 ` doko at gcc dot gnu dot org
2010-09-09 18:25 ` doko at gcc dot gnu dot org

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).