Bug 59238 - math/gsl fails to build on Alpha
Summary: math/gsl fails to build on Alpha
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Pav Lucistnik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-13 00:30 UTC by Rob Byrnes
Modified: 2003-12-08 10:10 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rob Byrnes 2003-11-13 00:30:20 UTC
 Submitter-Id:  current-users
 Originator:    Rob B
 Organization:  Confidential:  no 
 Synopsis:      math/gsl fails to build on Alpha 
 Severity:      serious 
 Priority:      medium
 Category:      ports
 Class:         sw-bug
 Release:       FreeBSD 4.9-STABLE alpha
 Environment:
 System: FreeBSD erwin.number6 4.9-STABLE FreeBSD 4.9-STABLE #2: Thu Oct 30 19:16
 :04 EST 2003 root@erwin.number6:/usr/obj/usr/src/sys/ERWIN alpha
 
 Description:
         Standard port build of gsl-1.4 fails with the following:
 
 root@erwin:/usr/ports/math/gsl# make
 ===>  Building for gsl-1.4
 make  all-recursive
 Making all in gsl
 <snip>
 cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -mieee -mfp-rounding-mode=d -O -pipe -funro
 ll-loops -fforce-mem -fforce-addr -mcpu=ev56 -c env.c -o env.o >/dev/null 2>&1
 mv -f .libs/env.lo env.lo
 /bin/sh ../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I..  -I..    -miee
 e -mfp-rounding-mode=d -O -pipe -funroll-loops -fforce-mem -fforce-addr -mcpu=ev
 56 -c -o fp.lo `test -f 'fp.c' || echo './'`fp.c
 rm -f .libs/fp.lo
 cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -mieee -mfp-rounding-mode=d -O -pipe -funro
 ll-loops -fforce-mem -fforce-addr -mcpu=ev56 -c fp.c  -fPIC -DPIC -o .libs/fp.lo
 In file included from fp.c:26:
 fp-freebsd.c: In function `gsl_ieee_set_mode':
 fp-freebsd.c:27: syntax error before `prec'
 fp-freebsd.c:34: `prec' undeclared (first use in this function)
 fp-freebsd.c:34: (Each undeclared identifier is reported only once
 fp-freebsd.c:34: for each function it appears in.)
 fp-freebsd.c:34: `FP_PS' undeclared (first use in this function)
 fp-freebsd.c:38: `FP_PD' undeclared (first use in this function)
 fp-freebsd.c:42: `FP_PE' undeclared (first use in this function)
 fp-freebsd.c:72: `FP_X_DNML' undeclared (first use in this function)
 *** Error code 1
 
 Stop in /usr/ports/math/gsl/work/gsl-1.4/ieee-utils.
 *** Error code 1
 
 How-To-Repeat: build gsl on Alpha
 Fix:
 
 This message was sent through MyMail http://www.mymail.com.au
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2003-11-13 08:40:27 UTC
Responsible Changed
From-To: gnats-admin->freebsd-ports-bugs

Fix confidential, category, responsible.
Comment 2 Pav Lucistnik freebsd_committer freebsd_triage 2003-12-01 22:51:06 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pav

I'll look into it.
Comment 3 Pav Lucistnik freebsd_committer freebsd_triage 2003-12-04 10:40:02 UTC
State Changed
From-To: open->closed

I committed a fix.
Comment 4 Rob.Byrnes 2003-12-08 01:08:33 UTC
Pav,

I tried to build math/gsl after you fix went in, it's still failing at
the same point during the build.

cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -mieee -mfp-rounding-mode=3Dd -O
-pipe -funro
 ll-loops -fforce-mem -fforce-addr -mcpu=3Dev56 -c env.c -o env.o
>/dev/null 2>&1
 mv -f .libs/env.lo env.lo
 /bin/sh ../libtool --mode=3Dcompile cc -DHAVE_CONFIG_H -I. -I. -I..  =
-I..
-miee
 e -mfp-rounding-mode=3Dd -O -pipe -funroll-loops -fforce-mem =
-fforce-addr
-mcpu=3Dev
 56 -c -o fp.lo `test -f 'fp.c' || echo './'`fp.c
 rm -f .libs/fp.lo
 cc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -mieee -mfp-rounding-mode=3Dd -O
-pipe -funro
 ll-loops -fforce-mem -fforce-addr -mcpu=3Dev56 -c fp.c  -fPIC -DPIC -o
.libs/fp.lo
 In file included from fp.c:26:
 fp-freebsd.c: In function `gsl_ieee_set_mode':
 fp-freebsd.c:27: syntax error before `prec'
 fp-freebsd.c:34: `prec' undeclared (first use in this function)
 fp-freebsd.c:34: (Each undeclared identifier is reported only once
 fp-freebsd.c:34: for each function it appears in.)
 fp-freebsd.c:34: `FP_PS' undeclared (first use in this function)
 fp-freebsd.c:38: `FP_PD' undeclared (first use in this function)
 fp-freebsd.c:42: `FP_PE' undeclared (first use in this function)
 fp-freebsd.c:72: `FP_X_DNML' undeclared (first use in this function)
 *** Error code 1
=20
 Stop in /usr/ports/math/gsl/work/gsl-1.4/ieee-utils.
 *** Error code 1
=20
Comment 5 Pav Lucistnik freebsd_committer freebsd_triage 2003-12-08 10:01:36 UTC
Sorry, I made a mistake and patched amd64 instead of alpha.
Try now :)

-- 
Pav Lucistnik <pav@FreeBSD.org>
              <pav@oook.cz>