On Thu, Apr 22, 2010 at 10:38:18AM +0200, Rainer Orth wrote:
> Jack Howarth <howa...@bromo.med.uc.edu> writes:
> 
> > Index: configure.ac
> > ===================================================================
> > --- configure.ac        (revision 158487)
> > +++ configure.ac        (working copy)
> > @@ -4456,15 +4456,27 @@
> >  pluginlibs=
> >  if test x"$enable_plugin" = x"yes"; then
> >  
> > +  if test -z "$gcc_cv_objdump"; then
> > +    case "${host}" in
> > +      *-*-darwin*)
> > +        export_sym_check="$gcc_cv_nm -g"
> > +      ;;
> > +      *)
> > +        export_sym_check="$gcc_cv_nm -D"
> > +      ;;
> > +    esac
> 
> This is wrong at least on Solaris and IRIX, which don't have nm -D
> either.  Please restrict use of nm -D to platforms where it is known to
> work.
> 
>       Rainer
> 

Rainer,
   Have you built gcc trunk with --enable-plugin on either
Solaris or Irix? What is the expectation of which compiler is 
to be used to build the test code...

echo "int main() {return 0;} int foobar() {return 0;}" > conftest.c

I find on Irix 6.5 that the system compiler lacks -rdynamic so
that part of the test would fail unless a gcc compiler is
used. On Solaris 9, I have an ancient vendor supplied gcc 3.2.3
which doesn't seem to support -rdynamic either. It is unclear
to me how many additional utilities are expected to be installed
for FSF gcc to build on hosts like Irix or Solaris these days.
             Jack
ps My inclination is to proceed with the current patch and
adjust it for Solaris and Irix later after the base tool
set is agreed upon for those hosts. That is, will users be
able to bootstrap FSF gcc using the system compiler and
--enable-plugin or will they have to install a previous 
FSF gcc first.

> -- 
> -----------------------------------------------------------------------------
> Rainer Orth, Center for Biotechnology, Bielefeld University

Reply via email to