Hi,
I am using the Snapdragon-llvm-3.5-compiler-linux64 toolchain for my project,
bin/clang is used to compiler source from obj file, tools/bin/arm-ar is used to archive the lib.
If the user is local user which uid is 1002, it works well. However when I switch to a user which uid is big number like uid(1704601764), arm-ar will report "Numeric user ID too large".
If any compiler option for clang and arm-ar can disable the user ID checking?
Thanks
Minfeng
Hi Minfeng,
In this case, you need to add a '-D' flag when running 'arm-ar'. This flag enables "deterministic mode", which zeros the userID and GroupID fields.
Paul
Hi Pstrong,
Thanks for a lot for your feedback.
I added the -D flag for arm-ar, in this case, I got "Unrecognized archive format" error message.
Not sure if any other suggestion?
Thanks
Minfeng
Hi Minfeng,
Please send the full command line that generated the error, so we can take a closer look.
Hi Pstrong,
After some checking, the new error is caused by previous obj file not clean. It works with -D option with a clean build.
The issue is closed and thanks for your suggestion.
Thanks
Minfeng