Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Problem w/ ulimit killing compiles on sol 2.4&2.6 ...



Hi,

Thanks for the quick reply... comments interposed with original message ...





"Bart Schaefer" <schaefer@xxxxxxxxxxxxxxxx> on 02/03/99 12:54:13 PM
                                                              
                                                              
                                                              
 To:      Greg Sylvain/LSC, zsh-users@xxxxxxxxxxxxxx          
                                                              
 cc:                                                          
                                                              
                                                              
                                                              
 Subject: Re: Problem w/ ulimit killing compiles on sol       
          2.4&2.6 ...                                         
                                                              








On Feb 3, 12:38pm, Greg Sylvain wrote:
> } Subject: Problem w/ ulimit killing compiles on sol 2.4&2.6 ...
> }
> } I'm running zsh 3.0.5 on a Solaris 2.4 and 2.6 machine, while
attempting to
> } build a large C++ application with gcc -2.7.2.1 the compile exits
> } prematurly after attempting to link the resulting objects.

> I presume you get some kind of error message that leads you to believe
> this is a limits problem?

nop.  just an assumption on my part.  Sorry 'bout that, didn't mean to
mislead people.  Anything else come to mind ?

> } When I got to a fresh ksh with nothing int he evnironment, I'm able to
> } build and link the program just fine.
>
> Some versions of Sun operating systems have problems executing processes
> if there's too much stuff in the environment.  I'd be surprised if Sol
2.6
> was still susceptible, but it's possible.  You don't use `setopt
allexport`
> in zsh or anything silly like that, do you?
>

Sol 2.6 has the same problem, it *may* build the smaller test program along
the way to linking the final huge executable, but compiling and linking
fails on both OSs, eventually.
The errors that I get from the links are duplicate symbols in different
libraries that use the same part of the STL (i.e. duplicate vector
class,etc.).

> } My question is why is this happening and how can I fix it?  (I have 24
> } directories in my PATH!)  What contributes to this limit problem and is
> } there any way to increase the limit any more..
>
> Have you tried the `unlimit` command (note the "n") which with no
argument
> should increase all limits to their maximum allowed values?

No I haven't.  I'm trying it now.  I'll let you know the results...


Thanks,
greg

--
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com






Messages sorted by: Reverse Date, Date, Thread, Author