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: Undefined reference after cgen re-org? [was Re: microblaze-tdep.o in cygwin build error]


On Sun, Oct 25, 2009 at 6:12 AM, Dave Korn
<dave.korn.cygwin@googlemail.com> wrote:
> Hui Zhu wrote:
>
>> /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld:
>> warning: auto-importing has been activated without
>> --enable-auto-import specified on the command line.
>> This should work unless it involves constant data structures
>> referencing symbols from auto-imported
>> DLLs.
>
> ?This bit is cygwin specific, and happens because you're using an old
> toolset. ?Modern versions of cygwin binutils have that feature enabled
> automatically; you'll need to add it to the LDFLAGS manually to avoid the
> warning message.
>
>> libgdb.a(microblaze-tdep.o): In function
>> `microblaze_analyze_prologue':
>> /home/hzhu/gdb/bgdbno/gdb/../../src/gdb/microblaze-tdep.c:265:
>> undefined reference to `_microblaze_decode_insn'
>> /home/hzhu/gdb/bgdbno/gdb/../../src/gdb/microblaze-tdep.c:281:
>> undefined reference to `_microblaze_decode_insn'
>
> ?This is a separate problem, and not cygwin-related; it's very likely to be
> more fallout from the recent CGEN re-organisation. ?Doug, you out there?
>
> ? ?cheers,
> ? ? ?DaveK
>

Umm, I am.  [Alas I've been buried in something for a couple of weeks.]
Sorry for the delay.

microblaze doesn't use cgen.
I did an all targets build recently and it worked so I'm guessing this
has been fixed.


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