[Bug bootstrap/43847] test for plugin is using wrong objdump for host != target

joern.clausen@uni-bielefeld.de gcc-bugzilla@gcc.gnu.org
Fri Apr 26 07:51:00 GMT 2013


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



More information about the Gcc-bugs mailing list