﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
1081	libgsl fails to compile during pschecklibs	jbj@…	Paul Price	"Compiling on a Macbook running Mac OS X 10.4. When running pschecklibs -build, the libgsl library configures successfully but fails during make:

cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -g -O2 -c fp.c  -fno-common -DPIC -o .libs/fp.lo
fp-darwin.c: In function 'gsl_ieee_set_mode':
/usr/include/architecture/ppc/fp_regs.h:132: error: output constraint 0 must specify a single register
fp-darwin.c:95: confused by earlier errors, bailing out
make[2]: *** [fp.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Here is what I am guessing the problem is: libgsl 1.6 dates from 2001, before Mac started using Intel architecture. It is clear from the above that the Makefile has assumed that, because the darwin kernel is running, the architecture is PowerPC. Regardless of whether this or something else is the problem, when I download version 1.11 of libgsl (ftp://ftp.gnu.org/gnu/gsl/gsl-1.11.tar.gz), put it in the extlibs directory, and modify psconfig/tagsets/ipp-2.5.libs to use this version:

#lib libgsl               NONE           NONE   gsl-1.6.tar.gz           gsl-1.6          Y NONE NONE NONE
lib libgsl               NONE           NONE   gsl-1.11.tar.gz           gsl-1.11          Y NONE NONE NONE

the library compiles successfully. Perhaps it is possible to include gsl-1.11 in the extlibs tarball and update the tagset, a la what has happened for mysqllib?"	defect	closed	high		ippconfig	2.5	critical	fixed		jbj@…
