Opened 12 years ago

Closed 11 years ago

#37600 closed defect (fixed)

gdb @7.5 fails to build on 10.5: ‘TASK_DYLD_INFO_COUNT’ undeclared

Reported by: nonstop.server@… Owned by: dweber@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: leopard Cc: cooljeanius (Eric Gallager)
Port: gdb

Description

Port gdb fails to install and returns the following error messages:

darwin-nat.c: In function ‘darwin_read_dyld_info’:
darwin-nat.c:1824: error: storage size of ‘task_dyld_info’ isn’t known
darwin-nat.c:1825: error: ‘TASK_DYLD_INFO_COUNT’ undeclared (first use in this f
unction)
darwin-nat.c:1825: error: (Each undeclared identifier is reported only once
darwin-nat.c:1825: error: for each function it appears in.)
darwin-nat.c:1832: error: ‘TASK_DYLD_INFO’ undeclared (first use in this function)
make[2]: *** [darwin-nat.o] Error 1

See the attached log file for additional information.

Version Information:

Mac OS Version:
ProductName:	Mac OS X
ProductVersion:	10.5.8
BuildVersion:	9L31a
Darwin 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386

Xcode Version:
Xcode 3.1.4
Component versions: DevToolsCore-1204.0; DevToolsSupport-1186.0
BuildVersion: 9M2809

Macports Version:
Version: 2.1.2

Attachments (1)

main.log (223.7 KB) - added by nonstop.server@… 12 years ago.

Download all attachments as: .zip

Change History (8)

Changed 12 years ago by nonstop.server@…

Attachment: main.log added

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

This problem will be fixed in gdb 7.6. Here is the upstream bug report, which also includes a patch we could apply before the release of 7.6 if we wanted to: http://sourceware.org/bugzilla/show_bug.cgi?id=14405

comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: leopard added

comment:3 in reply to:  1 Changed 12 years ago by nonstop.server@…

Replying to ryandesign@…:

Thanks for the information about this issue!
It's no problem to wait for the fix in gdb release 7.6 as far as I'm concerned.

comment:4 Changed 12 years ago by jmroot (Joshua Root)

Cc: dweber@… removed
Owner: changed from macports-tickets@… to dweber@…
Summary: gdb @7.5 fails to install error: ‘TASK_DYLD_INFO_COUNT’ undeclaredgdb @7.5 fails to build on 10.5: ‘TASK_DYLD_INFO_COUNT’ undeclared

comment:5 Changed 12 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:6 Changed 11 years ago by nonstop.server@…

FYI: updating gdb to version 7.6 (#39165 / r106261) solved this issue (bug id 14405).
The port installs correctly on OSX 10.5 now, thank you for the upgrade to the latest release.

comment:7 Changed 11 years ago by mf2k (Frank Schima)

Resolution: fixed
Status: newclosed

Thanks for the update.

Note: See TracTickets for help on using tickets.