libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Replacing ar with libtool


From: Navin P
Subject: Replacing ar with libtool
Date: Sat, 10 Aug 2024 16:38:15 +0530

Hi,
   I ran multiple instances of ar during a parallel build and they were updating different object files using ar rv sometimes the same object file again.

When i run make -j1 i find all the object files  libx.a but when i do make -j8 i find some missing object files inside libx.a.

Then i looked at ar.c and found that there is no synchronization between 2 instances of ar on same library. The problem is that makefile is generated  and  there are lots of bash scripts doing that. 

Can I replace ar with libtool and will things start working again?

What could solve this problem?

Regards,
Navin


reply via email to

[Prev in Thread] Current Thread [Next in Thread]