Clang 10 link error

I am seeing a link error shown below:

.text.startup' referenced in section .init_array.0’ of /tmp/event_delivery_manager-02f392.o: defined in discarded section `.text.startup[_ZN4nest18DataSecondaryEventIdNS_16GapJunctionEventEE18supported_syn_ids_E]’ of /tmp/event_delivery_manager-02f392.o
clang-10: error: linker command failed with exit code 1 (use -v to see invocation)

I am not sure how to tackle this as the part is referenced isn’t what I am
working on. I am using the latest trunk Clang 10 at this moment.