All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Carlos O'Donell Jr." <carlos@megatonmonkey.net>
To: Randolph Chung <randolph@tausq.org>
Cc: parisc-linux@parisc-linux.org
Subject: Re: [randolph@tausq.org: [parisc-linux] glibc update]
Date: Fri, 19 Oct 2001 01:17:19 -0400	[thread overview]
Message-ID: <20011019011719.C12905@megatonmonkey.net> (raw)
In-Reply-To: <20011018150255.I4123@tausq.org>; from randolph@tausq.org on Thu, Oct 18, 2001 at 03:02:56PM -0700

> 
> eh? that's the output report file :)
> 
> i get a floating point exception when running the corresponding
> executable.
> 
> 
> Program received signal SIGFPE, Arithmetic exception.
> 0x4011b328 in vfprintf () from /lib/libc.so.6
> (gdb) bt
> #0  0x4011b328 in vfprintf () from /lib/libc.so.6
> #1  0x40123490 in printf () from /lib/libc.so.6
> #2  0x00010f8c in feenv_mask_test (
>     flag_name=0x40210048 "@\036\177P@\036\177T@\036\177`@\036\177X@\036\177h@\036\177\220@\036\177Ð@\036\177Ô@\036\177Ø@\036\177à@\036\177è@\036\177ø@\036\177ð@\036\200", fe_exc=1) at test-fenv.c:332
> #3  0x0001160c in fe_single_test (flag_name=0x11f98 "FE_INEXACT", fe_exc=1)
>     at test-fenv.c:607
> #4  0x00011664 in feenv_tests () at test-fenv.c:625
> #5  0x000116e4 in main () at test-fenv.c:654
> 
>

When running these tests, it gets a little complex.
I'm pretty sure the test needs to be run against the
libc.so.6 that you are building, and not the one in /lib
on your system.

You could set the LD_LIBRARY_PATH to the location of the
objects you are building and then run it...

However, if you do that, then gdb might act strangely
with this newly built libc (since ld trying to load gdb
will use the libc in the library path).

How do you load gdb with one libc and debug a program
that uses another?

When I run the test-fenv, I get a whole list of output
criteria, but it finally exist with $?=132
I'm running with LD_LIBRARY_PATH set to the new libc,
glibc 2.2.4-2, built with newer binutils.

c.

  reply	other threads:[~2001-10-19  5:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-18  3:40 [randolph@tausq.org: [parisc-linux] glibc update] Carlos O'Donell Jr.
2001-10-18 22:02 ` Randolph Chung
2001-10-19  5:17   ` Carlos O'Donell Jr. [this message]
2001-10-19 13:39     ` Matthew Wilcox
2001-10-19 16:06     ` John David Anglin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011019011719.C12905@megatonmonkey.net \
    --to=carlos@megatonmonkey.net \
    --cc=parisc-linux@parisc-linux.org \
    --cc=randolph@tausq.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.