bug-gsl
[Top][All Lists]
Advanced

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

[Bug-gsl] gsl-1.6: build failure on IBM AIX 4.2


From: Nelson H. F. Beebe
Subject: [Bug-gsl] gsl-1.6: build failure on IBM AIX 4.2
Date: Sat, 15 Jan 2005 10:06:26 -0700 (MST)

Configuration and compilation of gsl-1.6 with gcc-2.95.3 on IBM AIX 4.2
succeeds, but linking fails like this:

gcc -shared -o .libs/libgsl.so.0  version.o ... -Wl,-bexport:.libs/libgsl.exp 
: installation problem, cannot exec 
`/usr/local/lib/gcc-lib/powerpc-ibm-aix4.2.1.0/2.95.3/collect2': Arg list too 
long

The line in question is 20502 characters long.  getconf reports this limit:

% getconf ARG_MAX
24576

On the other 20 or so flavors of Unix on which gsl-1.6 builds and installations
were successful, ARG_MAX is at least 64K, and on Sun Solaris, as much as 1M.

AIX 4.2 is admittedly an old system, but perhaps a simple workaround can be
found by cat'ing most of the command-line files into a couple of temporary
files, thereby halving the command-line length requirements.  Alternatively,
they could be added in steps to a temporary build library in .a format.

-------------------------------------------------------------------------------
- Nelson H. F. Beebe                    Tel: +1 801 581 5254                  -
- University of Utah                    FAX: +1 801 581 4148                  -
- Department of Mathematics, 110 LCB    Internet e-mail: address@hidden  -
- 155 S 1400 E RM 233                       address@hidden  address@hidden -
- Salt Lake City, UT 84112-0090, USA    URL: http://www.math.utah.edu/~beebe  -
-------------------------------------------------------------------------------




reply via email to

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