Skip to content

Build failed on FreeBSD w/ clang 10 #7456

@gaod

Description

@gaod

At the latest release 8.1.1, while enabling WCCP on FreeBSD 12.2 with built-in clang 10.0.1:

ld: error: undefined symbol: wccp::detail::cache::CacheData::idAddr() const
>>> referenced by WccpMsg.cc:1029
>>>               WccpMsg.o:(wccp::CacheViewComp::fill(wccp::MsgBuffer&, wccp::detail::cache::GroupData const&)) in archive wccp/libwccp.a
>>> referenced by WccpMsg.cc:1625
>>>               WccpMsg.o:(wccp::detail::Assignment::fill(wccp::detail::cache::GroupData&, unsigned int)) in archive wccp/libwccp.a
c++: error: linker command failed with exit code 1 (use -v to see invocation)

But it can pass on FreeBSD 12.2 with gcc 9.3.

Metadata

Metadata

Assignees

Labels

Buildwork related to build configuration or environmentFreeBSD

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions