Linux PARISC architecture development
 help / color / mirror / Atom feed
From: Randolph Chung <tausq@debian.org>
To: John David Anglin <dave@hiauly1.hia.nrc.ca>
Cc: Grant Grundler <grundler@dsl2.external.hp.com>,
	jsoe0708@tiscali.be, parisc-linux@lists.parisc-linux.org,
	debian-hppa@lists.debian.org
Subject: Re: [parisc-linux] new gcc-default for hppa
Date: Sun, 26 Jan 2003 23:26:15 -0800	[thread overview]
Message-ID: <20030127072615.GF8487@tausq.org> (raw)
In-Reply-To: <200301260509.h0Q59ntl001762@hiauly1.hia.nrc.ca>

> You could try using "objdump -d" on the .o's, then diff'ing.  However
> the diff might be large.  Probably, comparing .S files would be
> best.  Don't use "-g".  However, if you find a difference that looks
> suspicious, "-g" will help you locate the source line.

well.... Grant and I did some more debugging on this.... here's what
we've tried so far:

- pty.c compiled completely with 3.2.2 => crash
- pty.c compiled completely with 3.0.4 => ok
- all the functions except pty_init compiled with 3.2.2, and with
pty_init compiled with 3.0 => ok
- pty.c compiled with 3.2.2 with only one of -fno-schedule-insns
  or -fno-schedule-insns2 => crash
- pty.c compiled with 3.2.2 with both -fno-schedule-insns and
  -fno-schedule-insns2 => ok

For reference, this is the original compile line:
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -D__linux__ -pipe -fno-strength-reduce -mno-space-regs -mfast-indirect-calls -mdisable-fpregs -ffunction-sections -march=2.0 -mschedule=8000   -nostdinc -I /usr/lib/gcc-lib/hppa-linux/3.2.2/include -DKBUILD_BASENAME=pty  -DEXPORT_SYMTAB -c pty.c

here are the corresponding assembly files:
without -fno-schedule-insns -fno-schedule-insns2
    http://www.parisc-linux.org/~tausq/pty.s-opt
with -fno-schedule-insns -fno-schedule-insns2
    http://www.parisc-linux.org/~tausq/pty.s-noopt
diff -ywb output
    http://www.parisc-linux.org/~tausq/pty.s.diff

still need to look at the asm output a bit more carefully....

randolph
-- 
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/

  reply	other threads:[~2003-01-27  7:30 UTC|newest]

Thread overview: 76+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-10 16:31 [parisc-linux] new gcc-default for hppa jsoe0708
2003-01-10 17:09 ` Randolph Chung
2003-01-10 17:09 ` Randolph Chung
2003-01-10 18:18   ` jsoe0708
2003-01-10 18:18   ` jsoe0708
2003-01-13 18:36   ` jsoe0708
2003-01-13 19:38     ` Grant Grundler
2003-01-13 19:38     ` Grant Grundler
2003-01-14  6:57       ` jsoe0708
2003-01-14  6:57       ` jsoe0708
2003-01-14 16:52         ` Grant Grundler
2003-01-14 16:52         ` Grant Grundler
2003-01-14 17:49           ` jsoe0708
2003-01-14 17:49           ` jsoe0708
2003-01-15 16:14             ` jsoe0708
2003-01-16  1:06               ` Grant Grundler
2003-01-16  1:06               ` Grant Grundler
2003-01-16  4:12                 ` Jeremy Drake
2003-01-16  4:12                 ` Jeremy Drake
2003-01-16 14:37                 ` M. Grabert
2003-01-16 14:37                 ` M. Grabert
2003-01-16 15:02                   ` jsoe0708
2003-01-16 15:02                   ` jsoe0708
2003-01-16 15:44                     ` jsoe0708
2003-01-16 15:44                     ` jsoe0708
2003-01-16  1:41               ` Grant Grundler
2003-01-16  1:41               ` Grant Grundler
2003-01-21 23:57                 ` Grant Grundler
2003-01-24 11:02                   ` Joel Soete
2003-01-25  1:18                     ` Grant Grundler
2003-01-25  1:18                     ` Grant Grundler
2003-01-25  4:23                     ` John David Anglin
2003-01-25  4:23                     ` John David Anglin
2003-01-25 18:30                       ` Joel Soete
2003-01-25 17:44                         ` John David Anglin
2003-01-25 17:44                         ` John David Anglin
2003-01-25 18:30                       ` Joel Soete
2003-01-24 11:02                   ` Joel Soete
2003-01-26  4:46                   ` Grant Grundler
2003-01-26  4:46                   ` Grant Grundler
2003-01-26  5:09                     ` John David Anglin
2003-01-27  7:26                       ` Randolph Chung [this message]
2003-01-28  7:31                         ` Randolph Chung
2003-01-28  7:46                           ` Randolph Chung
2003-01-28  9:16                             ` Patrick Caulfield
2003-01-28 11:54                               ` Joel Soete
2003-01-28 12:58                                 ` Joel Soete
2003-01-30 15:38                             ` Michael Wood
2003-01-30 15:38                             ` Michael Wood
2003-01-30 15:34                               ` Randolph Chung
2003-01-30 15:34                               ` Randolph Chung
2003-01-28  7:46                           ` Randolph Chung
2003-01-28 14:47                           ` John David Anglin
2003-01-28 14:47                           ` John David Anglin
2003-01-28  7:31                         ` Randolph Chung
2003-01-27  7:26                       ` Randolph Chung
2003-01-26  5:09                     ` John David Anglin
2003-01-21 23:57                 ` Grant Grundler
2003-01-15 16:14             ` jsoe0708
2003-01-14  8:22       ` Patrick Caulfield
2003-01-14 10:03     ` [parisc-linux] new gcc-snapshot problem [was: new gcc-default for hppa] jsoe0708
2003-01-14 13:54       ` John David Anglin
2003-01-14 13:54       ` John David Anglin
2003-01-14 14:16         ` Matthew Wilcox
2003-01-14 14:16         ` Matthew Wilcox
2003-01-14 14:44         ` jsoe0708
2003-01-14 14:44         ` jsoe0708
2003-01-14 15:04           ` John David Anglin
2003-01-14 15:28             ` jsoe0708
2003-01-14 15:28             ` jsoe0708
2003-01-14 15:04           ` John David Anglin
2003-01-14 10:03     ` jsoe0708
2003-01-13 18:36   ` [parisc-linux] new gcc-default for hppa jsoe0708
  -- strict thread matches above, loose matches on Subject: below --
2003-01-10 16:31 jsoe0708
2003-01-16 11:35 jsoe0708
2003-01-16 11:35 jsoe0708

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=20030127072615.GF8487@tausq.org \
    --to=tausq@debian.org \
    --cc=dave@hiauly1.hia.nrc.ca \
    --cc=debian-hppa@lists.debian.org \
    --cc=grundler@dsl2.external.hp.com \
    --cc=jsoe0708@tiscali.be \
    --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