Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: gnoRPM Floating point exception
  2000-02-24 10:06 gnoRPM Floating point exception Vince LaMonica
@ 2000-02-24  8:03 ` psrin0
  2000-02-24 16:28 ` Michal Jaegermann
  1 sibling, 0 replies; 4+ messages in thread
From: psrin0 @ 2000-02-24  8:03 UTC (permalink / raw)
  To: axp-list

Vince LaMonica wrote:

> I was unable to find a report on gnome.org, but the lack of gnorpm.0.9 on
> ftp.alphalinux.org was a clue - is gnorpm for Alpha broken? I get a
> floating point exception just as it starts to install an rpm file.
>
> Does anyone know of another graphical rpm that is Alpha-compliant? I'm
> normally a 'gzip/tar' kinda person, but I like the fact that w/ rpm, you
> get a nice db to check on to see what packages/versions you have
> installed.
>
> TIA,
>
> /vjl/
>
> --
> Vince J. LaMonica    // T e a m    // Photographer: aviation, sports,
> vjl@cullasaja.com  XX/ A M I G A  // nature, art, travel, documentary
>
>        This e.mail was composed on Feb 24, 1999 at 2:02am PST.
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

kpackage. Run "kpackage package_name" (assuming you have kde stuff
installed).

Praveen Srinvasan


^ permalink raw reply	[flat|nested] 4+ messages in thread

* gnoRPM Floating point exception
@ 2000-02-24 10:06 Vince LaMonica
  2000-02-24  8:03 ` psrin0
  2000-02-24 16:28 ` Michal Jaegermann
  0 siblings, 2 replies; 4+ messages in thread
From: Vince LaMonica @ 2000-02-24 10:06 UTC (permalink / raw)
  To: AXP List

I was unable to find a report on gnome.org, but the lack of gnorpm.0.9 on
ftp.alphalinux.org was a clue - is gnorpm for Alpha broken? I get a
floating point exception just as it starts to install an rpm file. 

Does anyone know of another graphical rpm that is Alpha-compliant? I'm
normally a 'gzip/tar' kinda person, but I like the fact that w/ rpm, you
get a nice db to check on to see what packages/versions you have
installed.

TIA,

/vjl/

-- 
Vince J. LaMonica    // T e a m    // Photographer: aviation, sports,
vjl@cullasaja.com  XX/ A M I G A  // nature, art, travel, documentary

       This e.mail was composed on Feb 24, 1999 at 2:02am PST.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: gnoRPM Floating point exception
  2000-02-24 10:06 gnoRPM Floating point exception Vince LaMonica
  2000-02-24  8:03 ` psrin0
@ 2000-02-24 16:28 ` Michal Jaegermann
  2000-02-24 17:12   ` Elliot Lee
  1 sibling, 1 reply; 4+ messages in thread
From: Michal Jaegermann @ 2000-02-24 16:28 UTC (permalink / raw)
  To: axp-list

Vince LaMonica wrote:
> 
> ... is gnorpm for Alpha broken? I get a
> floating point exception just as it starts to install an rpm file. 

Yes, indeed, but at the first look this seems to be coming from
a library.  Here is a relevant piece of a 'strace' output
('10754' happens to be pid of 'gnorpm' in this run).

..................
10754 lstat(".", {st_mode=S_IFDIR|0755, st_size=2048, ...}) = 0
10754 lstat("/", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
10754 lstat("..", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
10754 stat("..", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
10754 open("..", O_RDONLY|O_NONBLOCK)   = 16
10754 fcntl(16, F_SETFD, FD_CLOEXEC)    = 0
10754 brk(0x1202b4000)                  = 0x1202b4000
10754 lseek(16, 0, SEEK_CUR)            = 0
10754 getdents(16, /* 43 entries */, 7944) = 1264
10754 lstat("../root", {st_mode=S_IFDIR|0755, st_size=2048, ...}) = 0
10754 close(16)                         = 0
10754 chdir("/")                        = 0
10754 chroot("")                        = -1 ENOENT (No such file or directory)
10754 gettimeofday({951407531, 723809}, NULL) = 0
10754 --- SIGFPE (Floating point exception) ---
..................

I do not know that for sure, and I do not know yet if this relevant in
this particular case, but I strongly suspect that various exceptions
you are seeing with Gnome tools are due to a bug in Gtk+ library.
This was identified by Ivan Kokshaysky and, for what it is worth,
here is his fix:

--- gtk+-1.2.6/gtk/gtkpaned.c.orig	Mon Aug 23 23:40:33 1999
+++ gtk+-1.2.6/gtk/gtkpaned.c	Tue Jan 11 19:41:07 2000
@@ -575,8 +575,9 @@
 	paned->child1_size = allocation - child2_req;
       else if (!paned->child1_resize && paned->child2_resize)
 	paned->child1_size = child1_req;
-      else
+      else if (child1_req)
 	paned->child1_size = allocation * ((gdouble)child1_req / (child1_req + child2_req));
+      else paned->child1_size = 0;
     }
   else
     {

As you can see it does not have much to do with Alpha with this
difference that x86 processor may paper over such bug.

Once again - this is not tested, not known if solves anything in gnorpm
particular case and use at your discretion.  But if anybody has more
information/experience with these problems I am all ears.

> 
> Does anyone know of another graphical rpm that is Alpha-compliant? I'm
> normally a 'gzip/tar' kinda person, but I like the fact that w/ rpm, you
> get a nice db to check on to see what packages/versions you have
> installed.

For the later you do not need a pointy-clicky interface.  'rpm' works
just fine from a command line and this is what does the real work.
"Show what is installed" part of gnorpm seems to be ok - package
specific information inclusive.

  Michal


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: gnoRPM Floating point exception
  2000-02-24 16:28 ` Michal Jaegermann
@ 2000-02-24 17:12   ` Elliot Lee
  0 siblings, 0 replies; 4+ messages in thread
From: Elliot Lee @ 2000-02-24 17:12 UTC (permalink / raw)
  To: axp-list

On 24 Feb 2000 11:31:35 -0500, Michal Jaegermann <michal@ellpspace.math.ualberta.ca> wrote:
>Vince LaMonica wrote:
>> 
>> ... is gnorpm for Alpha broken? I get a
>> floating point exception just as it starts to install an rpm file. 
>
>Yes, indeed, but at the first look this seems to be coming from
>a library.  Here is a relevant piece of a 'strace' output
>('10754' happens to be pid of 'gnorpm' in this run).

>10754 --- SIGFPE (Floating point exception) ---

Almost always, these problems go away if you rebuild the package with -mieee as part of the
CFLAGS. The default Alpha FP raises SIGFPE if Inf/NaN results from a calculation, which is
contrary to the IEEE spec.

-- Elliot
Red Hat, a Red Hat company


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-02-24 17:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-02-24 10:06 gnoRPM Floating point exception Vince LaMonica
2000-02-24  8:03 ` psrin0
2000-02-24 16:28 ` Michal Jaegermann
2000-02-24 17:12   ` Elliot Lee

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox