John E. Davis wrote:
On Thu, 03 Nov 2005 19:56:46 +0000, you said:
  
The following example causes libslang2 to throw a Floating point
exception on Alpha. Works fine on i386.
    

How was it compiled for the alpha?  That is, what set of CFLAGS were
used?  For the alpha, which does not have full IEEE math support in
hardware, slang needs to be compiled with software IEEE emulation,
i.e., 

   CFLAGS = -mieee

or

   CFLAGS = -ieee_with_no_inexact

Thanks,
--John
  

The buildd logs are available online:

First, for 2.0.3-1, whichs works on Alpha:
http://buildd.debian.org/fetch.php?&pkg=slang2&ver=2.0.3-1&arch=alpha&stamp=1119141299&file=log&as=raw

has:
ou are compiling SLANG with the following compiler configuration:
       CC = gcc
   CFLAGS = -g -O2 -mieee -Wall -W -pedantic -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wshadow -Wstrict-prototypes
  LDFLAGS =  -Wl,-export-dynamic

   ELF_CC = $(CC)
 ELF_LINK = $(CC) $(LDFLAGS) -shared -Wl,-soname#
ELF_CFLAGS= $(CFLAGS) -fPIC -mieee

While the problematic 2.0.4-7 build is:
http://buildd.debian.org/fetch.php?&pkg=slang2&ver=2.0.4-7&arch=alpha&stamp=1127147388&file=log&as=raw

 CC = gcc
   CFLAGS = -g -O2 -mieee -Wall -W -pedantic -Winline -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wshadow -Wstrict-prototypes
  LDFLAGS =  -Wl,-export-dynamic

   ELF_CC = $(CC)
 ELF_LINK = $(CC) $(LDFLAGS) -shared -Wl,-soname

No Change there :-(

Regards
Alastair


ELF_CFLAGS= $(CFLAGS) -fPIC -mieee






Reply via email to