[llvm] r186934 - Add an initial implementation of archive symbol table generation.

Demikhovsky, Elena elena.demikhovsky at intel.com
Tue Jan 14 05:02:02 PST 2014


Hi Rafael,

Gnu ar works:

ar r /home/work/LLVM_org/trunk/build/test/ExecutionEngine/MCJIT/Output/load-object-a.ll.tmp.cachedir3/load-object.a /home/work/LLVM_org/trunk/build/test/ExecutionEngine/MCJIT/Output/load-object-a.ll.tmp.cachedir2/multi-module-b.o
ar: creating /home/work/LLVM_org/trunk/build/test/ExecutionEngine/MCJIT/Output/load-object-a.ll.tmp.cachedir3/load-object.a

ar tfv /home/work/LLVM_org/trunk/build/test/ExecutionEngine/MCJIT/Output/load-object-a.ll.tmp.cachedir3/load-object.a
rw-rw---- XXXXXXXX/125   1272 Jan 14 14:25 2014 multi-module-b.o

XXXXXXXX is a 8-digit UID (I do not print it since it may be classified as internal info)

You can create a new user with a long uid and test the tool.

-  Elena

-----Original Message-----
From: Rafael Espíndola [mailto:rafael.espindola at gmail.com] 
Sent: Monday, January 13, 2014 19:33
To: Demikhovsky, Elena
Cc: llvm-commits at cs.uiuc.edu
Subject: Re: [llvm] r186934 - Add an initial implementation of archive symbol table generation.

On 13 January 2014 05:34, Demikhovsky, Elena <elena.demikhovsky at intel.com> wrote:
> Hi Rafael,
>
> My system administrator changed my user id and now it contains 8 digits.
> The code bellow fails with assertion (“8 < 6”). I checked my linux 
> system and saw that uid_t is defined as unsigned int.
> I also have other failures in llvm-ar after I received a new UID. I 
> assume that these hard-coded values should be changed.

Interesting. The format is actually hard coded. If you don't mind, can you check what gnu ar does when you create an archive? It uses only the last 6 decimal digits?

Cheers,
Rafael
---------------------------------------------------------------------
Intel Israel (74) Limited

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.




More information about the llvm-commits mailing list