floating point exceptions

floating point exceptions

Post by Tony Lac » Sat, 15 Jun 1996 04:00:00



Hi all,

I am currently porting some code from a Sun Sparc station to a Linux PC.  However I keep getting floating point exception crashes.  Does anyone know of a gcc compiler flag which would allow me to get the Linux code to compile using IEEE-fp conventions?  Im using gcc 2.5.8.

Also I originally installed version 2.7.0 of gcc (ELF), however this seemed unable to compile code > ~1Meg executables, (ld failed).  Any ideas?

Thanks in advance

Tony

--

                ___                            
     \| |/       |  _   _        |   _.  _  _

--oOO-(_)-OOo---------------|-------------------|-----------------------------

Dept of E.E.E., University of Sheffield, Mappin St, Sheffield, S1 3JD, England.

http://www.shef.ac.uk/~eee/esg/staff/ajl_prof.html                        
----------Oooo.----------------------------------------------------------------
  .oooO   (   )
  (   )    ) /
   \ (    (_/
    \_)

 
 
 

floating point exceptions

Post by Christian Marquar » Sat, 15 Jun 1996 04:00:00


: Hi all,

: I am currently porting some code from a Sun Sparc station to a Linux PC.  However I keep getting floating point exception crashes.  Does anyone know of a gcc compiler flag which would allow me to get the Linux code to compile using IEEE-fp conventions?  Im using gcc 2.5.8.

: Also I originally installed version 2.7.0 of gcc (ELF), however this seemed unable to compile code > ~1Meg executables, (ld failed).  Any ideas?

At least with gcc 2.7.0 or 2.7.2, add -lieee when linking to get IEEE support.
I don't know about earlier versions of gcc.

Hope this helps...



 
 
 

1. Floating Point Exception

Hi All !

Please, can somebody help me.

I have the following problem. I have access to two Linux/Alphas
PC21164-P7.  But I am not able to do something really useful with
them, since I got "Floating Point Exceptions" and the console report
something like:

arithmetic trap at 0000000120090248: 11 0000000800000000

It is not that the applications I am running are bad, since they are
well established and runs on other platforms quite well.

There is one more thing that bothers me and that is that console reports

messages like, whenever I run some program (for example compiler or some

other programs):

<sc 208(11ffffbba,3e8,64)>

And I don't know what this messages means.

I am running kernel 2.0.37 and Debian/GNU Linux slink 2.1.

Does anybody have the same problems or knows how to resolve them ????

Thanks,
Tone

--
+------------------------------------------------------------------------+

|
| Department of Physical and Organic Chemistry Phone: x 386 61 177 3520
|
| Jozef Stefan Institute                         Fax: x 386 61 177 3811
|
| Jamova 39, SI-1000 Ljubljana
|
| SLOVENIA
|
+------------------------------------------------------------------------+

2. MH --> Maildir

3. float point exception on 3.0

4. Academic Maple for Linux (where)

5. Floating Point Exception error

6. redhat questions

7. Floating point exception: hardware failure?

8. Release of 64 bit Sparc Compilers ! when ?

9. idraw floating point exception

10. floating point exception

11. gcc-2.7.0 Floating Point Exception bug

12. floating point exceptions managed in Linux?

13. Floating point exception