This is an archive of the discontinued LLVM Phabricator instance.

[OMPT] Fix failing test cases for gcc on Ubuntu
ClosedPublic

Authored by protze.joachim on Dec 21 2017, 10:01 AM.

Details

Summary

The compiler warns that _BSD_SOURCE is deprecated and _DEFAULT_SOURCE should be used instead. We keep _BSD_SOURCE for older compilers, that don't know about _DEFAULT_SOURCE.

The linker drops the tool when linking. So we need to tell the linker, that the tool should be linked anyway.

Diff Detail

Repository
rL LLVM

Event Timeline

Hahnfeld accepted this revision.Dec 22 2017, 2:25 AM

Makes sense.

This revision is now accepted and ready to land.Dec 22 2017, 2:25 AM
This revision was automatically updated to reflect the committed changes.