Opened 8 years ago

Closed 8 years ago

#51524 closed defect (duplicate)

clang-3.9 @3.9-r270400_0+analyzer+assertions+debug build fails on snowleopard due to missing strnlen function.

Reported by: kenneth.f.cunningham@… Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: snowleopard Cc: larryv (Lawrence Velázquez)
Port: clang-3.9

Description

Adding the missing strnlen function in three flagged files fixes it, similar to llvm-3.9.

This is the same issue as #51520.

I figured out the diffs for this one, and have attached them for anyone who wants this to build while we await a more robust solution.

Attachments (3)

patch-src-snowleopard-HeaderMap.diff (588 bytes) - added by kenneth.f.cunningham@… 8 years ago.
patch-src-snowleopard-macho2yaml.diff (416 bytes) - added by kenneth.f.cunningham@… 8 years ago.
patch-src-snowleopard-MachOYAML.diff (456 bytes) - added by kenneth.f.cunningham@… 8 years ago.

Download all attachments as: .zip

Change History (5)

Changed 8 years ago by kenneth.f.cunningham@…

Changed 8 years ago by kenneth.f.cunningham@…

Changed 8 years ago by kenneth.f.cunningham@…

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

Cc: larryv@… added
Owner: changed from macports-tickets@… to jeremyhu@…

In the future, please Cc the port maintainers (port info --maintainers clang-3.9), if any.

comment:2 Changed 8 years ago by jeremyhu (Jeremy Huddleston Sequoia)

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