This is the mail archive of the gsl-discuss@sources.redhat.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gsl-1.2: build problem on IBM AIX 4.2, and a simple workaround


The build of gsl-1.2 with gcc-2.95.3 on IBM RS/6000 AIX 4.2 failed
like this:

	gcc -shared -o .libs/libgsl.so.0  version.o ... -lm \
		-lc  ${wl}-berok -Wl,-bnoentry -Wl,-bexport:.libs/libgsl.exp  
	ld: 0711-781 ERROR: TOC overflow. TOC size: 72184	Maximum size: 65536
	collect2: ld returned 12 exit status

I restarted it with

	make LDFLAGS=-Wl,-bigtoc

and the make then succeeded, as did the validation tests and
installation.

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]