Opened 18 years ago
Closed 18 years ago
#1081 closed defect (fixed)
libgsl fails to compile during pschecklibs
| Reported by: | Owned by: | Paul Price | |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | ippconfig | Version: | 2.5 |
| Severity: | critical | Keywords: | |
| Cc: | jbj@… |
Description
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?
Change History (1)
comment:1 by , 18 years ago
| remaining_time: | 0.25 → 0.00 |
|---|---|
| Resolution: | → fixed |
| Status: | new → closed |

Put gsl-1.11 into extlibs and psconfig/tagsets/ipp-2.5.libs