www.delorie.com/archives/browse.cgi   search  
Mail Archives: pgcc/1999/04/13/17:55:15

Sender: karenb AT cc DOT gatech DOT edu
Message-ID: <3713BD1D.25FA31F5@cc.gatech.edu>
Date: Tue, 13 Apr 1999 17:54:37 -0400
From: "Karen A. Carter" <karenb AT cc DOT gatech DOT edu>
Organization: College of Computing, Georgia Tech
X-Mailer: Mozilla 4.05 [fr] (X11; I; SunOS 5.7 sun4m)
MIME-Version: 1.0
To: pgcc AT delorie DOT com
Subject: errors compiling pgcc-1.1.2 under x86 Solaris platforms
Reply-To: pgcc AT delorie DOT com

Hi,

I applied the patch egcs-1.1.2-pgcc-1.1.2.diff to version 1.1.2 of egcs
and then tried to compile
it under our x86 Solaris platforms (both 2.5.1 and 7) without any luck.
 I get the same error message
under both platforms:

gmake CC="stage1/xgcc -Bstage1/" CFLAGS=" -O2 -O2" LDFLAGS=""
libdir=/usr/local/
lib STAGE_PREFIX=stage1/ LANGUAGES="c proto gcov  c++ f77 objc"
gmake[2]: Entering directory
`/net/hc280/develop/karenb/GNU/BUILD/i86pc-5.7/gcc'
stage1/xgcc -Bstage1/  -DIN_GCC    -O2 -O2  -DHAVE_CONFIG_H -DHAIFA
-I. -I..
/../egcs-1.1.2/gcc -I../../egcs-1.1.2/gcc/config \

-DGCC_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/i386-pc-solaris2.7/pgcc-2.91.66/inc

lude\" \

-DGPLUSPLUS_INCLUDE_DIR=\"/usr/local/lib/gcc-lib/i386-pc-solaris2.7/pgcc-2.91.

66/include/g++\" \
  -DOLD_GPLUSPLUS_INCLUDE_DIR=\"/usr/local/lib/g++-include\" \
  -DLOCAL_INCLUDE_DIR=\"/usr/local/include\" \
  -DCROSS_INCLUDE_DIR=\"/usr/local/i386-pc-solaris2.7/sys-include\" \
  -DTOOL_INCLUDE_DIR=\"/usr/local/i386-pc-solaris2.7/include\" \
  -c `echo ../../egcs-1.1.2/gcc/cccp.c | sed 's,^\./,,'`
stage1/xgcc -Bstage1/  -DIN_GCC    -O2 -O2  -DHAVE_CONFIG_H -DHAIFA
-I.
-I../../egcs-1.1.2/gcc -I../../egcs-1.1.2/gcc/config -c
../../egcs-1.1.2/gcc/cexp.c
../../egcs-1.1.2/gcc/haifa-sched.c:8259: Internal compiler error in
function update_flow_info
gmake[2]: *** [cexp.o] Error 1


I configure it with:

--enable-shared --enable-haifa --with-gnu-as --with-gnu-ld
--enable-threads --enable-version-specific-runtime-libs

and compile it with gmake with the options:

LIBCXXFLAGS='-O2 -fno-implicit-templates' CFLAGS='-O2' LIBCFLAGS='-O2'
bootstrap-lean

The compiler used to create stage 1 of the compiler is egcs 1.1.1.
I have the latest versions of all the
GNU 'pieces'.

Any thoughts you have would be greatly appreciated.

--Karen


Karen Carter (karenb AT cc DOT gatech DOT edu)             Georgia Institute of Technology
Computing and Networking Services               Atlanta, Georgia 30332-0280
College of Computing                            (404) 894-9301  office: 136



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019