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]

output_lang_identify, ASM_IDENTIFY_.. AIX 19980517-build failed



After failing to build egcs-19980517 using native compiler, I built
gcc-2.8.1 and used it for egcs build. By the way --enable-gcc is not
enough, I had to add CC=gcc environment for configure.

Now I get:

 gcc -DIN_GCC -g -DHAVE_CONFIG_H -DHAIFA -o cc1 c-parse.o c-lang.o
 c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o
 c-common.o c-iterate.o toplev.o version.o tree.o print-tree.o
 stor-layout.o fold-const.o function.o stmt.o except.o expr.o calls.o
 expmed.o explow.o optabs.o varasm.o rtl.o print-rtl.o rtlanal.o
 emit-rtl.o genrtl.o real.o regmove.o dbxout.o sdbout.o dwarfout.o
 dwarf2out.o xcoffout.o bitmap.o alias.o integrate.o jump.o cse.o loop.o
 unroll.o flow.o stupid.o combine.o regclass.o local-alloc.o global.o
 reload.o reload1.o caller-save.o insn-peep.o reorg.o haifa-sched.o
 final.o recog.o reg-stack.o insn-opinit.o insn-recog.o insn-extract.o
 insn-output.o insn-emit.o profile.o insn-attrtab.o rs6000.o getpwd.o
 convert.o obstack.o alloca.o -lm -lld
 collect2: ld returned 1 exit status
 toplev.o: In function `compile_file':
 toplev.c:2452: undefined reference to `output_lang_identify'
 make[3]: *** [cc1] Error 1
 make[3]: Leaving directory `/home/seg/yotam/build/egcs/build/AIX/egcs/gcc'
 make[2]: *** [bootstrap-lean] Error 2
 make[2]: Leaving directory `/home/seg/yotam/build/egcs/build/AIX/egcs/gcc'

I guess the inactivating '#if 0' in  toplev.c  for
   output_lang_identify(FILE*)
should be synchronized with  defaults.h  macros:
   ASM_IDENTIFY_GCC, ASM_IDENTIFY_LANGUAGE 

-- yotam


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