Forums - arm-ar: fatal: Numeric user ID too large

5 posts / 0 new
Last post
arm-ar: fatal: Numeric user ID too large
minfeng.kang
Join Date: 6 Dec 16
Posts: 3
Posted: Tue, 2016-12-06 22:50

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

 

 

 

 

 

 

  • Up0
  • Down0
pstrong
Join Date: 12 May 16
Posts: 22
Posted: Wed, 2016-12-07 11:07

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

  • Up0
  • Down0
minfeng.kang
Join Date: 6 Dec 16
Posts: 3
Posted: Wed, 2016-12-07 17:34

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

 

 

 

  • Up0
  • Down0
pstrong
Join Date: 12 May 16
Posts: 22
Posted: Wed, 2016-12-07 18:19

Hi Minfeng,

Please send the full command line that generated the error, so we can take a closer look.

  • Up0
  • Down0
minfeng.kang
Join Date: 6 Dec 16
Posts: 3
Posted: Wed, 2016-12-07 21:01

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

 

 

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.