build failure in native gdb with crosstool-ng-1.13.1 on openSUSE 12.1

Trevor Woerner
Mon Nov 28 23:19:00 GMT 2011

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/ around line 249 is found:

            # There's no better way to tell gdb where to find -lcurses... :-(

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

Best regards,

For unsubscribe information see

More information about the crossgcc mailing list