[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: serial vs parallel for ar
From: |
PATTON, BILLY \(SBCSI\) |
Subject: |
RE: serial vs parallel for ar |
Date: |
Thu, 18 May 2006 09:06:09 -0500 |
No, David you answered the right question.
> If this isn't your current problem it may well be your next one.
it is and it is :( bummer!
> -----Original Message-----
> From: address@hidden
> [mailto:address@hidden On Behalf
> Of David Boyce
> Sent: Thursday, May 18, 2006 9:00 AM
> To: address@hidden
> Subject: Re: serial vs parallel for ar
>
>
> At 09:45 AM 5/18/2006, Alexey Neyman wrote:
> >Just to add. I encountered similar problem when I attempted to use
> >parallel make for a project that used the following rule:
> >
> >(%.o): %.c
> > $(CC) -c -o $% %<
> > $(AR) cru $@ $%
> > $(RM) $%
> >
> >Suspecting somewhat similar in Mr.Patton's project.
>
> I have not read this thread in detail, so apologies if this is an
> answer to the wrong question. But there's a longstanding issue with
> ar and parallelism due to the fact that many ar programs create a
> statically named temp file in the current directory. It has to do
> with generating the symbol table, during the course of which ar
> creates a file called "__SYMDEF" (or something like that, this is
> from memory). This is not just a problem for parallel updates to the
> same archive but also for building multiple libraries in the same
> directory. The workaround is a build script which creates and cds
> into a temp directory, something like
>
> (mkdir ar.$$$$.d && cd ar.$$$$.d && [ar command here] && cd
> .. && rmdir ar.$$$$.d)
>
> If this isn't your current problem it may well be your next one.
>
> -David Boyce
>
>
>
> _______________________________________________
> Help-make mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/help-make
>
- serial vs parallel for ar, PATTON, BILLY \(SBCSI\), 2006/05/18
- RE: serial vs parallel for ar, PATTON, BILLY \(SBCSI\), 2006/05/18
- RE: serial vs parallel for ar, PATTON, BILLY \(SBCSI\), 2006/05/18
- RE: serial vs parallel for ar, Paul D. Smith, 2006/05/18
- Re: serial vs parallel for ar, Alexey Neyman, 2006/05/18
- Re: serial vs parallel for ar, Alexey Neyman, 2006/05/18
- Re: serial vs parallel for ar, David Boyce, 2006/05/18
- RE: serial vs parallel for ar,
PATTON, BILLY \(SBCSI\) <=
Re: serial vs parallel for ar, Paul D. Smith, 2006/05/18
- RE: serial vs parallel for ar, PATTON, BILLY \(SBCSI\), 2006/05/18
- RE: serial vs parallel for ar, Paul D. Smith, 2006/05/18
- RE: serial vs parallel for ar, PATTON, BILLY \(SBCSI\), 2006/05/18
- RE: serial vs parallel for ar, Paul D. Smith, 2006/05/18
- RE: serial vs parallel for ar, PATTON, BILLY \(SBCSI\), 2006/05/18
- RE: serial vs parallel for ar, Paul D. Smith, 2006/05/18