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]

alpha Tru64 config bug? DU 4.0b & 2.95


OS = Tru64 (osf) 4.0b. gcc being used for 2.95 is gcc 2.8.1

(1) gcc 2.95 alone builds fine using gcc 2.8.1

(2) g77 with gcc 2.95 does not finish the build:

config line:

./configure --prefix=/usr/local/stow-dir/gcc-2.95 --enable-languages=f77

configure runs to completion without any errors that I noticed.

Compile was simply
	make

The compile bombs here:


mv tmp-params.h _G_config.h
test x"no" != xyes || /usrdata2/local/src/gnu/gcc-2.95/gcc/xgcc
-B/usrdata2/local/src/gnu/gcc-2.95/gcc/ 
-B/usr/local/stow-dir/gcc-2.95/alpha-dec-osf4.0b/bin/
-c -g -O2 -I. -I.   filedoalloc.c -o pic/filedoalloc.o
/usrdata2/local/src/gnu/gcc-2.95/gcc/xgcc 
-B/usrdata2/local/src/gnu/gcc-2.95/gcc/
-B/usr/local/stow-dir/gcc-2.95/alpha-dec-osf4.0b/bin/ -c -g -O2 -I. 
-I.  filedoalloc.c
In file included from libio.h:30,
                  from iolibio.h:1,
                  from libioP.h:47,
                  from filedoalloc.c:45:
_G_config.h:2: unterminated `#if' conditional
*** Exit 1
Stop.
*** Exit 1
Stop.
#

The contents of _G_config.h look like this:


/* AUTOMATICALLY GENERATED; DO NOT EDIT! */
#ifndef _G_config_h
#define _G_config_h
#define _G_LIB_VERSION "2.8.0"


Seems like the #endif  is being left out. This is replicatable.  It does 
not occur when config is run with "--enable-languages=c" but as soon as I 
use "--enable-languages=c,f77"  or "--enable-languages=c,c++,f77"  The 
error occurs.

If c++ is not built and I try to build g77, on the lines immediately above, 
I also get:

touch stamp-picdir
rootme=`pwd`/ ; export rootme;  CC="/usrdata2/local/src/gnu/gcc-2.95/gcc/xgcc
-B/usrdata2/local/src/gnu/gcc-2.95/gcc/ 
-B/usr/local/stow-dir/gcc-2.95/alpha-dec-osf4.0b/bin/
-I. -I."; export CC;  CXX="/usrdata2/local/src/gnu/gcc-2.95/gcc/xgcc
-B/usrdata2/local/src/gnu/gcc-2.95/gcc/ 
-B/usr/local/stow-dir/gcc-2.95/alpha-dec-osf4.0b/bin/
-I. -I. -nostdinc++ -nostdinc++ -g -O2"; export CXX;  CONFIG_NM="nm"; 
export CONFIG_NM;
/bin/sh ./gen-params LIB_VERSION=2.8.0  >tmp-params.h
xgcc: dummy.C: C++ compiler not installed on this system
nm: Error: cannot open dummy.o
nm: Error: cannot open dummy.o
nm failed to find FUNC in dummy.o!
mv tmp-params.h _G_config.h


Chad Price
Systems Manager
University of Nebraska Medical Center
600 S 42nd St
Omaha, NE 68506-6495
cprice@molbio.unmc.edu
(402) 559-9527
(402) 559-4077 (FAX)


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