#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)
Change History (5)
comment:1 Changed 17 years ago by nox@…
Milestone: | → Port Bugs |
---|---|
Summary: | BUG: avr-gdb 6.3 fails to build on Leopard PPC → avr-gdb 6.3 fails to build on Mac OS X 10.5 Leopard |
Changed 17 years ago by mmoll@…
Attachment: | Portfile.diff added |
---|
comment:2 Changed 17 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 17 years ago by simon@…
Cc: | simon@… added |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Committed in [30906]. Thanks for your help.
Note: See
TracTickets for help on using
tickets.
update of Portfile to latest gdb version