This is an archive of the discontinued LLVM Phabricator instance.

[Msan] Fix unit test linkage issue on FreeBSD
ClosedPublic

Authored by devnexen on Sep 5 2018, 5:45 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

devnexen created this revision.Sep 5 2018, 5:45 AM
Herald added subscribers: Restricted Project, llvm-commits. · View Herald TranscriptSep 5 2018, 5:45 AM

What's the error message?

devnexen added a comment.EditedSep 5 2018, 5:56 AM
... /tmp/lit_tmp_Dmkg99/tls_reuse-067934.o: relocation R_X86_64_TPOFF32 against `x' can not be used when making a shared object...

In general -fPIC is probably the way to go.. but I don't know about this particular case. I defer decision to FreeBSD maintainers.

krytarowski resigned from this revision.Sep 5 2018, 6:10 AM
devnexen edited reviewers, added: dim, emaste; removed: krytarowski.Sep 5 2018, 6:13 AM
This revision was not accepted when it landed; it landed in state Needs Review.Sep 11 2018, 3:37 AM
This revision was automatically updated to reflect the committed changes.