public inbox for gsl-discuss@sourceware.org
 help / color / mirror / Atom feed
* gsl-1.2: build problem on IBM AIX 4.2, and a simple workaround
@ 2002-12-27 11:01 Nelson H. F. Beebe
  2003-01-01 17:39 ` Albert Chin
  2003-01-01 20:50 ` Brian Gough
  0 siblings, 2 replies; 3+ messages in thread
From: Nelson H. F. Beebe @ 2002-12-27 11:01 UTC (permalink / raw)
  To: gsl-discuss; +Cc: beebe

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  -
-------------------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: gsl-1.2: build problem on IBM AIX 4.2, and a simple workaround
  2002-12-27 11:01 gsl-1.2: build problem on IBM AIX 4.2, and a simple workaround Nelson H. F. Beebe
@ 2003-01-01 17:39 ` Albert Chin
  2003-01-01 20:50 ` Brian Gough
  1 sibling, 0 replies; 3+ messages in thread
From: Albert Chin @ 2003-01-01 17:39 UTC (permalink / raw)
  To: gsl-discuss

On Thu, Dec 26, 2002 at 05:53:02PM -0700, Nelson H. F. Beebe wrote:
> 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

Another data point, I build GSL 1.2 with xlc (5.0) on AIX 4.3.2 and
didn't have this problem.

-- 
albert chin (china@thewrittenword.com)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: gsl-1.2: build problem on IBM AIX 4.2, and a simple workaround
  2002-12-27 11:01 gsl-1.2: build problem on IBM AIX 4.2, and a simple workaround Nelson H. F. Beebe
  2003-01-01 17:39 ` Albert Chin
@ 2003-01-01 20:50 ` Brian Gough
  1 sibling, 0 replies; 3+ messages in thread
From: Brian Gough @ 2003-01-01 20:50 UTC (permalink / raw)
  To: Nelson H. F. Beebe; +Cc: gsl-discuss

Nelson H. F. Beebe writes:
 > The build of gsl-1.2 with gcc-2.95.3 on IBM RS/6000 AIX 4.2 failed
 > like this:
 > 	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.

Thanks. Should now be noted in the INSTALL file.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-01-01 20:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-27 11:01 gsl-1.2: build problem on IBM AIX 4.2, and a simple workaround Nelson H. F. Beebe
2003-01-01 17:39 ` Albert Chin
2003-01-01 20:50 ` Brian Gough

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).