Opened 10 years ago
Last modified 7 years ago
#47022 closed defect
msp430-gdb fails to build — at Initial Version
Reported by: | d.xin@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.3 |
Keywords: | Cc: | ||
Port: | msp430-gdb |
Description
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
Note: See
TracTickets for help on using
tickets.