URGENT PROBLEM with the 6.3->6.3.1 patch

Started by Andrew Martinalmost 28 years ago4 messages
#1Andrew Martin
martin@biochemistry.ucl.ac.uk

The patch to configure contains the following:

*** 3316,3322 ****
fi
rm -f conftest*

! if test x$ac_cv_prog_gcc = xyes; then
      echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
  echo "configure:3322: checking whether ${CC-cc} needs -traditional" >&5
  if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
--- 3316,3322 ----
  fi
  rm -f conftest*

! if test $ac_cv_prog_gcc = yes; then
echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
echo "configure:3322: checking whether ${CC-cc} needs -traditional" >&5
if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then

I am worried that this has undone the patch which was required to get
configure to run properly with anything other than GCC. (I haven't
actually tried 6.3.1, but this change affects that area of the code and
doesn't look healthy...)

Andrew

----------------------------------------------------------------------------
Dr. Andrew C.R. Martin University College London
EMAIL: (Work) martin@biochem.ucl.ac.uk (Home) andrew@stagleys.demon.co.uk
URL: http://www.biochem.ucl.ac.uk/~martin
Tel: (Work) +44(0)171 419 3890 (Home) +44(0)1372 275775

#2Bruce Momjian
maillist@candle.pha.pa.us
In reply to: Andrew Martin (#1)
Re: [HACKERS] URGENT PROBLEM with the 6.3->6.3.1 patch

Marc, can you comment on this.

The patch to configure contains the following:

*** 3316,3322 ****
fi
rm -f conftest*

! if test x$ac_cv_prog_gcc = xyes; then
echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
echo "configure:3322: checking whether ${CC-cc} needs -traditional" >&5
if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
--- 3316,3322 ----
fi
rm -f conftest*

! if test $ac_cv_prog_gcc = yes; then
echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
echo "configure:3322: checking whether ${CC-cc} needs -traditional" >&5
if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then

I am worried that this has undone the patch which was required to get
configure to run properly with anything other than GCC. (I haven't
actually tried 6.3.1, but this change affects that area of the code and
doesn't look healthy...)

Andrew

----------------------------------------------------------------------------
Dr. Andrew C.R. Martin University College London
EMAIL: (Work) martin@biochem.ucl.ac.uk (Home) andrew@stagleys.demon.co.uk
URL: http://www.biochem.ucl.ac.uk/~martin
Tel: (Work) +44(0)171 419 3890 (Home) +44(0)1372 275775

-- 
Bruce Momjian                          |  830 Blythe Avenue
maillist@candle.pha.pa.us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)
#3The Hermit Hacker
scrappy@hub.org
In reply to: Bruce Momjian (#2)
Re: [HACKERS] URGENT PROBLEM with the 6.3->6.3.1 patch

On Mon, 23 Mar 1998, Bruce Momjian wrote:

Marc, can you comment on this.

It kind of bothers me that something that is standard in autoconf
breaks on some systems, while, as far as I can tell, its always been this
way ;(

Andrew, have you asked the developers of autoconf about this?

The patch to configure contains the following:

*** 3316,3322 ****
fi
rm -f conftest*

! if test x$ac_cv_prog_gcc = xyes; then
echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
echo "configure:3322: checking whether ${CC-cc} needs -traditional" >&5
if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
--- 3316,3322 ----
fi
rm -f conftest*

! if test $ac_cv_prog_gcc = yes; then
echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
echo "configure:3322: checking whether ${CC-cc} needs -traditional" >&5
if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then

I am worried that this has undone the patch which was required to get
configure to run properly with anything other than GCC. (I haven't
actually tried 6.3.1, but this change affects that area of the code and
doesn't look healthy...)

Andrew

----------------------------------------------------------------------------
Dr. Andrew C.R. Martin University College London
EMAIL: (Work) martin@biochem.ucl.ac.uk (Home) andrew@stagleys.demon.co.uk
URL: http://www.biochem.ucl.ac.uk/~martin
Tel: (Work) +44(0)171 419 3890 (Home) +44(0)1372 275775

-- 
Bruce Momjian                          |  830 Blythe Avenue
maillist@candle.pha.pa.us              |  Drexel Hill, Pennsylvania 19026
+  If your life is a hard drive,     |  (610) 353-9879(w)
+  Christ can be your backup.        |  (610) 853-3000(h)

Marc G. Fournier
Systems Administrator @ hub.org
primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org

#4Andrew Martin
martin@biochemistry.ucl.ac.uk
In reply to: The Hermit Hacker (#3)
Re: [HACKERS] URGENT PROBLEM with the 6.3->6.3.1 patch

Marc, can you comment on this.

It kind of bothers me that something that is standard in autoconf
breaks on some systems, while, as far as I can tell, its always been this
way ;(

Andrew, have you asked the developers of autoconf about this?

The patch to configure contains the following:

It's not just "on some systems" the test seems to miss the screen for
"is this gcc" and it tries a gcc-specific flag (--traditional) on all
C compilers - at least that's how I understand the problem.

under Irix, if I use gcc, then it runs fine; if I use the Irix C
compiler, the script crashes.

No, I haven't contacted the autoconf guys yet... I have never used
autoconf and really have not looked into how it works, but I guess
this bug should be reported to them

Andrew

----------------------------------------------------------------------------
Dr. Andrew C.R. Martin University College London
EMAIL: (Work) martin@biochem.ucl.ac.uk (Home) andrew@stagleys.demon.co.uk
URL: http://www.biochem.ucl.ac.uk/~martin
Tel: (Work) +44(0)171 419 3890 (Home) +44(0)1372 275775