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]

Re: Sun's C compiler doesn't like egcs-20000306/gcc/cp/decl.c


At 13:54 14.03.00, Martin Stromberg wrote:
>obj 216 > make
           ^^^^^^
Follow the install instructions correctly and use "make bootstrap" here, 
not just the simple "make".

Franz.


>(cd intl && make all)
>cd cp; make 
>"AR_FLAGS_FOR_TARGET=rc"  "AR_FOR_TARGET=ar"  "BISON=bison"  "BISONFLAGS=" 
 > "CFLAGS=-g"  "CLIB="  "GCC_FOR_TARGET=/home/erieye/members/eplmst/gcc/egc 
>"CFLAGS=-g"  "CLIB=" 
>"GCC_FOR_TARGET=/home/erieye/members/eplmst/gcc/egcs-20000306/obj/gcc/xgcc 
>-B/home/erieye/members/eplmst/gcc/egcs-20000306/obj/gcc/ 
>-B/usr/local/sparc-sun-solaris2.6/bin/ 
>-I/usr/local/sparc-sun-solaris2.6/include"  "LDFLAGS="  "LEX=flex" 
>"LEXFLAGS="  "LN=ln"  "LN_S=ln 
>-s" 
>"MAKEINFO=/home/erieye/members/eplmst/gcc/egcs-20000306/obj/texinfo/makeinfo/makeinfo" 
>"MAKEINFOFLAGS="  "RANLIB_FOR_TARGET=true"  "RANLIB_TEST_FOR_TARGET=[ -f 
>true ]  || ( [ "sparc-sun-solaris2.6" = "sparc-sun-solaris2.6" ]  && [ -f 
>/usr/bin/ranlib -o -f /bin/ranlib ] 
>)"  "SHELL=/bin/sh"  "STAGE_PREFIX="  "exeext="  "build_exeext=" 
>"objext=.o"  "exec_prefix=/usr/local"  "prefix=/usr/local" 
>"local_prefix=/usr/local" 
>"gxx_include_dir=/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.96/../../../..`echo 
>/usr/local | sed -e 's|^/usr/local||' -e 
>'s|/[^/]*|/..|g'`/include/g++-3"  "tooldir=/usr/local/spar!
>!
>c-sun-solaris2.6" 
>"gcc_tooldir=/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.96/../../../../sparc-sun-solaris2.6" 
>"bindir=/usr/local/bin" 
>"libsubdir=/usr/local/lib/gcc-lib/sparc-sun-solaris2.6/2.96" 
>"datadir=/usr/local/share"  "distdir=../tmp/\$(subdir)" 
>"localedir=/usr/local/share/locale" "CC=cc" 
>"CXX_FOR_BUILD=c++"  "CXXFLAGS=-g -O2"  "CXX_FOR_TARGET=c++" ../cc1plus
>cc -c  -DIN_GCC -DSVR4  -g     -I. -I.. -I../../../gcc/cp 
>-I../../../gcc/cp/.. -I../../../gcc/cp/../config 
>-I../../../gcc/cp/../../include ../../../gcc/cp/decl.c
>"../../../gcc/cp/decl.c", line 549: left operand must be modifiable 
>lvalue: op "="
>"../../../gcc/cp/decl.c", line 567: cannot recover from previous errors
>cc: acomp failed for ../../../gcc/cp/decl.c
>*** Error code 2
>make: Fatal error: Command failed for target `decl.o'
>Current working directory 
>/home/erieye/members/eplmst/gcc/egcs-20000306/obj/gcc/cp
>*** Error code 1
>make: Fatal error: Command failed for target `cc1plus'
>Current working directory 
>/home/erieye/members/eplmst/gcc/egcs-20000306/obj/gcc
>*** Error code 1
>make: Fatal error: Command failed for target `all-gcc'
>
>obj 220 > cc -V
>cc: WorkShop Compilers 4.2 30 Oct 1996 C 4.2
>
>
>Line 549 is:
>   current_binding_level = newlevel;
>
>and current_binding_level seems to be
>#define current_binding_level                   \
>   (cfun                                         \
>    ? cp_function_chain->bindings                \
>    : scope_chain->bindings)
>
>
>What now?
>
>
>Right,
>
>                                                         MartinS


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