This is an archive of the discontinued LLVM Phabricator instance.

[AIX] fixed llvm-ar can not read empty big archive correctly.
ClosedPublic

Authored by DiggerLin on Apr 19 2022, 10:32 AM.

Details

Summary

llvm-ar can not read empty big archive correctly. it output error as
error: unable to load 'empty.a': truncated or malformed archive (characters in size field in archive member header are not all decimal numbers: '<bigaf>

Diff Detail

Event Timeline

DiggerLin created this revision.Apr 19 2022, 10:32 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 19 2022, 10:32 AM
DiggerLin requested review of this revision.Apr 19 2022, 10:32 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 19 2022, 10:32 AM
This revision is now accepted and ready to land.Apr 22 2022, 2:25 AM

Are the dependent patches in the right order? I wouldn't expect this patch to depend on the writing patch necessarily.

Are the dependent patches in the right order? I wouldn't expect this patch to depend on the writing patch necessarily.

the test cases(for example: llvm/test/tools/llvm-ar/quick-append.test) depend on the "writing patch " to generate a empty AIX big archive.

This revision was landed with ongoing or failed builds.May 16 2022, 11:30 AM
This revision was automatically updated to reflect the committed changes.