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]

Re: [gdb-7.5.91] mips sim fails to build on mingw32


Joel,

> It is still there if you configure correctly. On a completely up to date
> CentOS 6.x install. I reversed the patch locally and configured like this:
> 
> ../gdb-7.5.91/configure --target=mips-rtems4.11 \
>   --prefix=/home/joel/test-gdb/install/ --enable-sim \
>   --enable-sim-hardware --enable-timebase --enable-sim-trace &&
> make
> 
> And the build failed like this:
> 
> -o run \
>       nrun.o libsim.a ../../bfd/libbfd.a ../../opcodes/libopcodes.a
> ../../libiberty/libiberty.a -lm -lm -lz -lnsl
> libsim.a(interp.o): In function `sim_open':
> /home/joel/test-gdb/b-gdb/sim/mips/../../../gdb-7.5.91/sim/mips/interp.c:552:
> undefined reference to `sockser_addr'
> 
> Sounds like it needs the same configure magic as the other architectures.

Do I understand correctly that the patch you added is too broad and
affects more targets than needed? If that's the case, I agree with
Ralf that the best course is to revert your patch first, and then
implement something that only affects CentOS.

Scheduled release time is 10 days away (Mar 26). It would be nice
to have this fixed by then. Otherwise, we'll have to delay the release.
Since you're the only one who seems to be able to reproduce, would
you mind working on this?

-- 
Joel


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