This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

2.95.1 and .2 configure bug on solaris



I've seen this problem in these two releases, and some before that as well.  
I see the following two lines, and then the configuration just hangs.  It 
took me quite a while to figure out that I needed to type 'exit' (characters 
not echoed) to get it to continue.  After that everything works fine 
(afaict) and I get a clean configure and build.  I've tried it with 
(./configure) and sh ./configure, but got the same result.

/sup/build/gcc-2.95.1 > uname -a
SunOS bernin 5.7 Generic_106541-02 sun4m sparc SUNW,SPARCstation-5
/sup/build/gcc-2.95.1 > ./configure --prefix=/sup
Configuring for a sparc-sun-solaris2.7 host.
Created "Makefile" in /sup/build/gcc-2.95.1 using "mh-frag"



doing sh -v ./configure yields:
...
# ${NO_EDIT}
# This directory was configured as follows:
cd ${invsubdir}
${progname}" ${arguments}  "
# ${using}" > ${subdir}/config.new
        fi
        chmod a+x ${subdir}/config.new
        if [ -r ${subdir}/config.back ] ; then
                mv -f ${subdir}/config.back ${subdir}/config.status
        fi
        ${config_shell} ${moveifchange} ${subdir}/config.new 
${subdir}/config.status
        ;;

    *)  rm -f ${Makefile} ${subdir}/config.status ${links} ;;
    esac
done
Created "Makefile" in /export/home2/tools/build/gcc-2.95.2/exittest using 
"mh-frag"

[here I type exit, which doesn't get echoed and it continues normally 
afterwards]

# If there are subdirectories, then recur.
if [ -z "${norecursion}" ] && [ -n "${configdirs}" ] ; then 
        for configdir in ${configdirs} ${extraconfigdirs} ; do

                # If configdir contains ',' it is
                # srcdir,builddir,target_alias
                # These come from extraconfigdirs.
                case ${configdir} in
                *,*)
...


If there's anything I can do to narrow it down, let me know.

Regards, Nils.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]