Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MCP750 PSP fails to build #139

Closed
jphickey opened this issue Feb 27, 2020 · 1 comment · Fixed by #140 or #142
Closed

MCP750 PSP fails to build #139

jphickey opened this issue Feb 27, 2020 · 1 comment · Fixed by #140 or #142
Labels
bug Something isn't working
Milestone

Comments

@jphickey
Copy link
Contributor

Describe the bug

Building the current "master" branch for mcp750 yields the following build error:

/home/jphickey/cfecfs/github/psp/fsw/mcp750-vxworks/src/cfe_psp_memory.c: In function 'CFE_PSP_GetCFETextSegmentInfo':
/home/jphickey/cfecfs/github/psp/fsw/mcp750-vxworks/src/cfe_psp_memory.c:426: error: passing argument 1 of 'moduleFindByName' discards qualifiers from pointer target type

To Reproduce
Build "master" using standard procedure and default config.

Expected behavior
Build should succeed.

System observed on:

  • GSFC MCP750 build machine (gs582w-cfelnx)

Additional context
This is an error now due to the inclusion of -Wall -Werror in the default build.

Reporter Info
Joseph Hickey, Vantage Systems, Inc.

@jphickey jphickey added the bug Something isn't working label Feb 27, 2020
@jphickey
Copy link
Contributor Author

Also noted a second build failure due to stricter compile flags, which should also be fixed:

/home/jphickey/cfecfs/github/psp/fsw/mcp750-vxworks/src/cfe_psp_start.c: In function 'CFE_PSP_Main':
/home/jphickey/cfecfs/github/psp/fsw/mcp750-vxworks/src/cfe_psp_start.c:132: error: cast increases required alignment of target type

jphickey added a commit to jphickey/PSP that referenced this issue Feb 27, 2020
Patches for the MCP750 PSP to avoid some compiler warnings
that show up when building with strict flags
@skliper skliper added this to the 1.5.0 milestone Mar 2, 2020
astrogeco added a commit that referenced this issue Mar 18, 2020
@astrogeco astrogeco linked a pull request Mar 18, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants