Linux PARISC architecture development
 help / color / mirror / Atom feed
From: Carlos O'Donell <carlos@baldric.uwo.ca>
To: debian-glibc@lists.debian.org
Cc: parisc-linux@lists.parisc-linux.org
Subject: [parisc-linux] Breaking PARISC ABI - Testing procedures?
Date: Mon, 26 Aug 2002 15:41:35 -0400	[thread overview]
Message-ID: <20020826194135.GC632@systemhalted> (raw)

debian-gcc,

I sense another PARISC ABI breakage coming in the very near
future. The ABI breakage is caused by the following three
items:

1- setjmp/longjmp implementation is flawed (Testing)
2- mcontext_t is incorrect in glibc (BTS #157374)
3- sizeof(long double) is incorrect in gcc and glibc (?)

My main question is:

How does one run a preliminary test to ferret out
possibly problems that were not forseen?

My current procedure is to build a new glibc, create
a chroot, install glibc there and begin building things.

Does anyone have a general procedure for this? Or is
this what experimental or unstable is about? :/  

---

I'm working on providing various test cases for "1-" and 
I already have a patch in my local glibc tree (the initial
patch made the mistake of not allocating enough room for
jmpbuf - kudos to Randolph for noticing that during RFC).

I have a patch for "2-" and it works, but we have a kernel
bug when copying registers into the sigcontext that gets
passed back to a 32-bit userspace from a 64-bit kernel.
Luckily the old definition of mcontect_t matches the new
sigcontext typedef for accesses to general registers and
floating point registers, so we maintain backwards compat
in that scenario. I would like to note that it has never
worked when running a 64-bit kernel under parisc :}

The last issue will get fixed when I get around to poking
changes at gcc.

c.

             reply	other threads:[~2002-08-26 19:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-26 19:41 Carlos O'Donell [this message]
2002-08-27 15:31 ` [parisc-linux] Breaking PARISC ABI - Testing procedures? John David Anglin
2002-08-27 15:31 ` John David Anglin
  -- strict thread matches above, loose matches on Subject: below --
2002-08-26 19:41 Carlos O'Donell

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=20020826194135.GC632@systemhalted \
    --to=carlos@baldric.uwo.ca \
    --cc=debian-glibc@lists.debian.org \
    --cc=parisc-linux@lists.parisc-linux.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox