Opened 9 years ago

Closed 7 years ago

#47022 closed defect (duplicate)

msp430-gdb fails to build

Reported by: d.xin@… Owned by: g5pw (Aljaž Srebrnič)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: guillaumesalagnac
Port: msp430-gdb

Description (last modified by mf2k (Frank Schima))

I tried to upgrade the outdated ports and msp430-gdb failed. I looked at the log file and the problem is the following:

:info:build bfdio.c:580:31: error: 'memset' call operates on objects of type 'struct stat' while the size is based on a different type 'struct stat *' [-Werror,-Wsizeof-pointer-memaccess]
:info:build   memset (statbuf, 0, sizeof (statbuf));
:info:build           ~~~~~~~             ^~~~~~~
:info:build bfdio.c:580:31: note: did you mean to dereference the argument to 'sizeof' (and multiply it by the number of elements)?
:info:build   memset (statbuf, 0, sizeof (statbuf));
:info:build                               ^~~~~~~
:info:build 1 error generated.
:info:build make[4]: *** [bfdio.lo] Error 1

Change History (4)

comment:1 Changed 9 years ago by mf2k (Frank Schima)

Description: modified (diff)
Owner: changed from macports-tickets@… to g5pw@…

In the future, please use WikiFormatting and Cc the port maintainers (port info --maintainers msp430-gdb), if any.

comment:2 Changed 9 years ago by guillaumesalagnac

Cc: guillaume.salagnac@… added

Cc Me!

comment:3 Changed 9 years ago by guillaumesalagnac

duplicate of #46291 ?

comment:4 Changed 7 years ago by raimue (Rainer Müller)

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.