build/2464: Build fails on OSX Leopard

View: New views
3 Messages — Rating Filter:   Alert me  

build/2464: Build fails on OSX Leopard

by david.lindsay.green :: Rate this Message:

| View Threaded | Show Only this Message


>Number:         2464
>Category:       build
>Synopsis:       Build fails on OSX Leopard
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 05 21:48:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     david.lindsay.green@...
>Release:        unknown-1.0
>Organization:
>Environment:
OSX Leopard 10.5.2 i386-apple-darwin9.2.2
>Description:
Running ./configure and subsequent make in the top level folder does not produce errors but also does not make a gdb executable at gdb/gdb. The make finishes with

...
ar cr libreadline.a readline.o vi_mode.o funmap.o keymaps.o parens.o search.o rltty.o complete.o bind.o isearch.o display.o signals.o util.o kill.o undo.o macro.o input.o callback.o terminal.o text.o nls.o misc.o compat.o xmalloc.o history.o histexpand.o histfile.o histsearch.o shell.o mbutil.o tilde.o
test -n "ranlib" && ranlib libreadline.a
rm -f libhistory.a
ar cr libhistory.a history.o histexpand.o histfile.o histsearch.o shell.o mbutil.o xmalloc.o
test -n "ranlib" && ranlib libhistory.a
make[1]: Nothing to be done for `all-target'.

./gdb/gdb
-bash: ./gdb/gdb: No such file or directory

entering the gdb directory and running ./configure gives

checking for cygwin... rm: conftest.dSYM: is a directory
no
checking for ELF support in BFD... no
checking for X... libraries /usr/X11/lib, headers /usr/X11/include
configure: error: "*** Gdb does not support native target i386-apple-darwin9.2.2"

Same result for 6.8, current CVS and latest snapshot.
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:

Parent Message unknown Re: build/2464: Build fails on OSX Leopard

by Daniel Jacobowitz-2 :: Rate this Message:

| View Threaded | Show Only this Message

The following reply was made to PR build/2464; it has been noted by GNATS.

From: Daniel Jacobowitz <drow@...>
To: david.lindsay.green@...
Cc: gdb-gnats@...
Subject: Re: build/2464: Build fails on OSX Leopard
Date: Thu, 5 Jun 2008 17:55:41 -0400

 On Thu, Jun 05, 2008 at 09:38:45PM -0000, david.lindsay.green@... wrote:
 > configure: error: "*** Gdb does not support native target i386-apple-darwin9.2.2"
 
 This message explains the problem... FSF GDB does not work on OS X.  You
 need to get GDB from Apple instead.
 
 --
 Daniel Jacobowitz
 CodeSourcery

Parent Message unknown Re: build/2464: Build fails on OSX Leopard

by Daniel Jacobowitz-2 :: Rate this Message:

| View Threaded | Show Only this Message

The following reply was made to PR build/2464; it has been noted by GNATS.

From: Daniel Jacobowitz <drow@...>
To: David L Green <david.lindsay.green@...>
Cc: gdb-gnats@...
Subject: Re: build/2464: Build fails on OSX Leopard
Date: Thu, 5 Jun 2008 20:21:08 -0400

 On Thu, Jun 05, 2008 at 08:02:32PM -0400, David L Green wrote:
 > OK, I already have the GDB version from apple, however, it is version 6.3. I
 > would like to test out the CVS versions, specifically test the support for
 > dynamic arrays in fortran, hence trying to build it. If apple can build GDB
 > for OS X I would like to figure out how to build the CVS version for OS X
 > myself. Any ideas? I did read some on porting GDB at
 > http://www-users.informatik.rwth-aachen.de/~wge/tools/developer/gdb-5.0/gdbint/gdbint_13.htmlhowever
 > I am not familiar with configure etc so its hard going.
 
 The last time I looked, Apple had lots (thousands of lines) of patches
 to their version of GDB.  You're probably out of luck.
 
 --
 Daniel Jacobowitz
 CodeSourcery