bug-gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug in V850-support


From: Kai Ruottu
Subject: Bug in V850-support
Date: Mon, 04 Jun 2001 18:17:16 +0300

Hi,

The following change in 'sim/v850' added a serious bug, not removed any ;-)

----------------- a clip from 'sim/v850/ChangeLog' -----------------------
2001-01-31  Jonathan Larmour  <address@hidden>

        * Makefile.in (gencode): Link with libopcodes in build tree rather
        than building source files from there.
--------------------------------------------------------------------------

 The 'v850-opc.o' there earlier was needed for 'gencode', which will be
produced for the build system, while the one in the 'libopcodes.a' is
produced for the aimed host system. So all cross-builds like using the

  --build=i586-linux-gnu --host=i586-mingw32 --target=v850-elf

(which I used) will fail... The bug existed still in the '20010529' weekly
snapshots...

 The patch to correct this into something like it was earlier follows:
 
---------------------------- clip ------------------------------------
*** Makefile.in.orig    Sat Jun  2 12:00:44 2001
--- Makefile.in Mon Jun  4 16:20:38 2001
***************
*** 56,63 ****
        touch tmp-gencode
  gencode.o: gencode.c
        $(CC_FOR_BUILD) $(BUILD_CFLAGS) -c $(srcdir)/gencode.c
! gencode: gencode.o ../../opcodes/libopcodes.a $(INTLLIBS)
!       $(CC_FOR_BUILD) $(BUILD_CFLAGS) -o gencode gencode.o
../../opcodes/libopcodes.a $(INTLLIBS)
  
  
  
--- 56,65 ----
        touch tmp-gencode
  gencode.o: gencode.c
        $(CC_FOR_BUILD) $(BUILD_CFLAGS) -c $(srcdir)/gencode.c
! v850-opc.o: $(srcdir)/../../opcodes/v850-opc.c
!       $(CC_FOR_BUILD) $(BUILD_CFLAGS) -c $<
! gencode: gencode.o v850-opc.o $(INTLLIBS)
!       $(CC_FOR_BUILD) $(BUILD_CFLAGS) -o gencode gencode.o v850-opc.o
$(INTLLIBS)
  
  
  
---------------------------- clip ------------------------------------

Cheers, Kai




reply via email to

[Prev in Thread] Current Thread [Next in Thread]