This is an archive of the discontinued LLVM Phabricator instance.

[test-suite] Workaround _ALL_SOURCE issue on AIX
AbandonedPublic

Authored by stevewan on Apr 7 2020, 9:44 AM.

Details

Summary

On AIX, many type and struct definitions which test-suite requires are
only accessible under _ALL_SOURCE mode, yet enabling _ALL_SOURCE creates
all sorts of other issues (e.g., typedef redefinition). In order to
enable test-suite on AIX, we need to run it in a standard compatible
mode such as "XOPEN_SOURCE=700". This patch addresses the missing
definitions under such a mode.

Event Timeline

stevewan created this revision.Apr 7 2020, 9:44 AM
hubert.reinterpretcast retitled this revision from Workaround _ALL_SOURCE issue on AIX to [test-suite] Workaround _ALL_SOURCE issue on AIX.Apr 7 2020, 11:50 AM
hubert.reinterpretcast edited the summary of this revision. (Show Details)
stevewan planned changes to this revision.May 7 2020, 11:30 AM
stevewan abandoned this revision.May 14 2021, 7:34 AM

There were license concerns modifying those tests, because some of them are under GPL/LGPL and/or have restricted commercial use.