This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Current CVS fails to compile cgen-cpu/compCGEN.cxx


Hi,

I'm not sure why it's building these things as I'm trying to compile for
x86_64. However the makefile fails:

make[2]: Entering directory
`/home/alexjb/src/gdb.cvs/sid/component/cgen-cpu'
if /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../.././sid/component/cgen-cpu -I. -I. -I..
-I../../.././sid/component/cgen-cpu/arm7t
-I../../.././sid/component/cgen-cpu/m32r
-I../../.././sid/component/cgen-cpu/mep
-I../../.././sid/component/cgen-cpu/mt
-I../../.././sid/component/cgen-cpu/sh
-I../../.././sid/component/cgen-cpu/xstormy16 -I../../include
-I../../.././sid/component/cgen-cpu/../../include -I../../../bfd
-I../../.././sid/component/cgen-cpu/../../../include     -MT compCGEN.lo
-MD -MP -MF ".deps/compCGEN.Tpo" -c -o compCGEN.lo compCGEN.cxx; \
then mv -f ".deps/compCGEN.Tpo" ".deps/compCGEN.Plo"; else rm -f
".deps/compCGEN.Tpo"; exit 1; fi
 g++ -DHAVE_CONFIG_H -I. -I../../.././sid/component/cgen-cpu -I. -I.
-I.. -I../../.././sid/component/cgen-cpu/arm7t
-I../../.././sid/component/cgen-cpu/m32r
-I../../.././sid/component/cgen-cpu/mep
-I../../.././sid/component/cgen-cpu/mt
-I../../.././sid/component/cgen-cpu/sh
-I../../.././sid/component/cgen-cpu/xstormy16 -I../../include
-I../../.././sid/component/cgen-cpu/../../include -I../../../bfd
-I../../.././sid/component/cgen-cpu/../../../include -MT compCGEN.lo -MD
-MP -MF .deps/compCGEN.Tpo -c compCGEN.cxx  -fPIC -DPIC
-o .libs/compCGEN.o
In file included
from ../../.././sid/component/cgen-cpu/sh/sh_compact.h:9,
                 from ../../.././sid/component/cgen-cpu/sh/sh2.h:9,
                 from compCGEN.cxx:40:
../../.././sid/component/cgen-cpu/sh/sh.h:98:1: warning: "CGEN_CPU_FPU"
redefined
In file included from compCGEN.cxx:33:
../../.././sid/component/cgen-cpu/mep/mep_ext2.h:76:1: warning: this is
the location of the previous definition
In file included from compCGEN.cxx:40:
../../.././sid/component/cgen-cpu/sh/sh2.h:16: error: `sh_common_model'
was not declared in this scope
../../.././sid/component/cgen-cpu/sh/sh2.h:16: error: wrong number of
template arguments (8, should be 5)
../../.././sid/component/cgen-cpu/sh/sh_compact.h:19: error: provided
for `template<class CPU, class CGEN_CPU, class IDESC, class SCACHE,
class MODEL> class sh_compact::sh_compact_cpu'
../../.././sid/component/cgen-cpu/sh/sh2.h:16: error: expected `{'
before '>' token
../../.././sid/component/cgen-cpu/sh/sh2.h:16: error: expected
unqualified-id before '>' token
../../.././sid/component/cgen-cpu/sh/sh2.h:16: error: expected `,' or
`;' before '>' token
...
...

and so on.

So two questions:

* should it be trying to compile all cgen-cpu arches or is it confused?
* anyone know how to fix it?

-- 
Alex, homepage: http://www.bennee.com/~alex/
Every improvement in communication makes the bore more terrible. --
Frank Moore Colby


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