public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* build failure in native gdb with crosstool-ng-1.13.1 on openSUSE 12.1
@ 2011-11-28 23:19 Trevor Woerner
  2011-11-29 22:54 ` Yann E. MORIN
  0 siblings, 1 reply; 11+ messages in thread
From: Trevor Woerner @ 2011-11-28 23:19 UTC (permalink / raw)
  To: crossgcc

Hi Yann,

I recently upgraded to the latest openSUSE 12.1 release and discovered
that crosstool-NG has trouble building native gdb.

In scripts/build/debug/300-gdb.sh around line 249 is found:

            native_extra_config+=("--with-curses")
            # There's no better way to tell gdb where to find -lcurses... :-(
            gdb_native_CFLAGS+=("-I${CT_BUILD_DIR}/static-target/include")
            gdb_native_CFLAGS+=("-L${CT_BUILD_DIR}/static-target/lib")

In previous builds (i.e. openSUSE 11.4, etc) the lib directory (as
specified) exists. With my builds on openSUSE 12.1 this directory
doesn't exist, but ${CT_BUILD_DIR}/static-target/lib64 does. The
native gdb fails during the run of one of the many sub-directory
./configure scripts saying "no termcap library found". Manually
tweaking the above to say "lib64" allows the native gdb build to
succeed (but, obviously, is not a general solution).

The build then fails a little later (during cleanup, stripping all
binaries) but I haven't looking into that yet to provide much
information.

Best regards,
    Trevor

--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2011-12-13  3:43 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-28 23:19 build failure in native gdb with crosstool-ng-1.13.1 on openSUSE 12.1 Trevor Woerner
2011-11-29 22:54 ` Yann E. MORIN
     [not found]   ` <CAHUNapRiJtqH3yJDztc-ZroJKzjgRWuSwDKNjZVYYSn5iM0ryA@mail.gmail.com>
2011-11-30  2:46     ` Trevor Woerner
2011-12-05 22:36       ` Trevor Woerner
2011-12-11 21:44         ` Yann E. MORIN
2011-12-12 12:36         ` Yann E. MORIN
2011-12-12 13:54           ` Trevor Woerner
2011-12-12 14:07             ` Yann E. MORIN
2011-12-12 21:53               ` Trevor Woerner
2011-12-12 22:43                 ` Yann E. MORIN
2011-12-13  3:43                   ` Trevor Woerner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).