This is the mail archive of the gdb@sources.redhat.com 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]

Re: rs6000-tdep


Steven Johnson wrote:
> 
> Andrew Cagney wrote:
> >
> > You should always expect GDB to build.  Could I suggest posting a few
> > more details on the build failure?
> >
> >         Andrew
> 
> No Problem,
> 
> I configured and built from a copy of the CVS tree with the following
> script. (Known to have worked with just prior to 5.0).
> 
> # Create Build directory, getting rid of any previous build
> rm -rf powerpc-gdb-build
> mkdir  powerpc-gdb-build
> 
> cd     powerpc-gdb-build
> ../src/configure --target=powerpc-eabi         \
>                  --program-prefix=insight-ppc- \
>                  --prefix=/opt/powerpc-gdb
> make all install
> 
> And i get the following:

Yes, that should build.

> make[1]: *** [rs6000-tdep.o] Error 1
> make[1]: Leaving directory
> `/home/steven/dev/tools/gdb/powerpc-gdb-build/gdb'
> make: *** [all-gdb] Error 2
> 
> It looks to me like some conflict between tm.h and rs6000-tdep.c. I'm
> looking at this problem now, but if you see anything obvious i'd like to
> hear it.
> 
> Thanks,
> Steven Johnson
>  PS. Im also going to look at getting rid of that really ugly 'pointer
> of type void*' warning also.

Hmm, configuring with --disable-build-warnings or
--enable-build-warnings= might be easiest - I suspect the problem might
be in th memcpy() macro :-(

	Andrew

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