Opened 16 years ago

Closed 16 years ago

Last modified 15 years ago

#13215 closed defect (fixed)

avr-gdb 6.3 fails to build on Mac OS X 10.5 Leopard

Reported by: gauchi@… Owned by: mmoll@…
Priority: Normal Milestone:
Component: ports Version: 1.5.0
Keywords: Cc: mmoll@…, simon@…
Port:

Description

build fails with this error message:

gcc -c -O2     -I. -I. -I./config -DLOCALEDIR="\"/opt/local/share/locale\"" -DHAVE_CONFIG_H -I./../include/opcode -I./../readline/.. -I../bfd -I./../bfd -I./../include -I../intl -I./../intl  -DMI_OUT=1 -DTUI=1 -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialized -Wformat-nonliteral -Wunused-label -Wunused-function  avr-tdep.c
In file included from avr-tdep.c:34:
inferior.h:243: error: syntax error before 'caddr_t'
avr-tdep.c: In function 'avr_scan_prologue':
avr-tdep.c:475: warning: pointer targets in passing argument 2 of 'read_memory' differ in signedness
avr-tdep.c: In function 'avr_frame_prev_register':
avr-tdep.c:1012: warning: pointer targets in passing argument 2 of 'read_memory' differ in signedness
avr-tdep.c: In function 'avr_push_dummy_call':
avr-tdep.c:1223: warning: pointer targets in passing argument 2 of 'write_memory' differ in signedness

this can be worked around by adding

#include <sys/types.h>

to inferior.h, but I am not sure this is the correct position, probably this should be fixed within the configure script somewhere.

Neither do I know whether this makes gdb work, but at least it builds

Attachments (1)

Portfile.diff (1.0 KB) - added by mmoll@… 16 years ago.
update of Portfile to latest gdb version

Download all attachments as: .zip

Change History (5)

comment:1 Changed 16 years ago by nox@…

Milestone: Port Bugs
Summary: BUG: avr-gdb 6.3 fails to build on Leopard PPCavr-gdb 6.3 fails to build on Mac OS X 10.5 Leopard

Changed 16 years ago by mmoll@…

Attachment: Portfile.diff added

update of Portfile to latest gdb version

comment:2 Changed 16 years ago by mmoll@…

Updating to gdb 6.7.1 seems to fix the problem. I also fixed a problem where info files were installed in ${prefix}/info instead of ${prefix}/share/info.

comment:3 Changed 16 years ago by simon@…

Cc: simon@… added
Resolution: fixed
Status: newclosed

Committed in [30906]. Thanks for your help.

comment:4 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.