public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* G++ generating unaligned access?
@ 2002-10-17 13:04 Jason R Thorpe
  0 siblings, 0 replies; 2+ messages in thread
From: Jason R Thorpe @ 2002-10-17 13:04 UTC (permalink / raw)
  To: gcc

Anyone else with an Alpha seeing unaligned access being generated by G++
on the tip-of-the-trunk?  The NetBSD kernel by default fixes up the access
and prints a message to the user's tty, resulting in the stuff below.  The
last time I bootstrapped/regtested on alpha-netbsd (a bit over a month ago,
unfortunately), this did not occur.

Before I dig into this, has anyone else on an Alpha or other alignment-picky
arch seeing any problems like this?

Running /u2/hack/gnu-toolchain/gcc/gcc/gcc/testsuite/g++.dg/dg.exp ...
pid 1855 (vbase8-10.exe): unaligned access: va=0x1ffffdf09 pc=0x120001b40 ra=0x120001b2c sp=0x1ffffddd8 op=stq
pid 1855 (vbase8-10.exe): unaligned access: va=0x1ffffdf09 pc=0x120001cd8 ra=0x120001c9c sp=0x1ffffddd8 op=stq
pid 1855 (vbase8-10.exe): unaligned access: va=0x1ffffdf09 pc=0x120001da8 ra=0x120001d44 sp=0x1ffffddd8 op=stq
pid 1855 (vbase8-10.exe): unaligned access: va=0x1ffffdf09 pc=0x120001570 ra=0x12000152c sp=0x1ffffddf8 op=stq
pid 1875 (vbase8-22.exe): unaligned access: va=0x1ffffdf79 pc=0x120001c18 ra=0x120001c04 sp=0x1ffffddc8 op=stq
pid 1875 (vbase8-22.exe): unaligned access: va=0x1ffffdf79 pc=0x120001c7c ra=0x1200017a0 sp=0x1ffffddc8 op=stq
pid 1875 (vbase8-22.exe): unaligned access: va=0x1ffffdf79 pc=0x120001d18 ra=0x120001cdc sp=0x1ffffddc8 op=stq
pid 1875 (vbase8-22.exe): unaligned access: va=0x1ffffdf79 pc=0x120001de8 ra=0x120001d84 sp=0x1ffffdda8 op=stq
pid 1875 (vbase8-22.exe): unaligned access: va=0x1ffffdf79 pc=0x120001f08 ra=0x120001ea4 sp=0x1ffffddc8 op=stq
pid 1875 (vbase8-22.exe): unaligned access: va=0x1ffffdf79 pc=0x120001c7c ra=0x120001810 sp=0x1ffffddc8 op=stq
pid 1875 (vbase8-22.exe): unaligned access: va=0x1ffffdf79 pc=0x12000186c ra=0x120001810 sp=0x1ffffdde8 op=stq
.
.
.
Running /u2/hack/gnu-toolchain/gcc/gcc/gcc/testsuite/g++.old-deja/old-deja.exp ...
pid 4060 (g++-abi-vbase8-9): unaligned access: va=0x1ffffdfc9 pc=0x120001b90 ra=0x120001b7c sp=0x1ffffdd08 op=stq
pid 4060 (g++-abi-vbase8-9): unaligned access: va=0x1ffffdfc9 pc=0x120001dcc ra=0x120001db8 sp=0x1ffffdd28 op=stq
pid 4060 (g++-abi-vbase8-9): unaligned access: va=0x1ffffdfc9 pc=0x120001dd4 ra=0x120001db8 sp=0x1ffffdd28 op=ldq
pid 4060 (g++-abi-vbase8-9): unaligned access: va=0x1ffffdfc9 pc=0x120001dfc ra=0x120001db8 sp=0x1ffffdd28 op=ldq
pid 4060 (g++-abi-vbase8-9): unaligned access: va=0x1ffffdfc9 pc=0x120001e24 ra=0x120001db8 sp=0x1ffffdd28 op=ldq
pid 4060 (g++-abi-vbase8-9): unaligned access: va=0x1ffffdfc9 pc=0x120001e50 ra=0x120001db8 sp=0x1ffffdd28 op=ldq
pid 4060 (g++-abi-vbase8-9): unaligned access: va=0x1ffffdfd9 pc=0x120001c04 ra=0x120001bf0 sp=0x1ffffdd08 op=stq
pid 4060 (g++-abi-vbase8-9): unaligned access: va=0x1ffffdfd9 pc=0x120001c0c ra=0x120001bf0 sp=0x1ffffdd08 op=ldq
pid 4060 (g++-abi-vbase8-9): unaligned access: va=0x1ffffdfe9 pc=0x120001b90 ra=0x120001b7c sp=0x1ffffdd08 op=stq
pid 4060 (g++-abi-vbase8-9): unaligned access: va=0x1ffffdfd9 pc=0x120001cf0 ra=0x120001cdc sp=0x1ffffdd28 op=stq
pid 4060 (g++-abi-vbase8-9): unaligned access: va=0x1ffffdfd9 pc=0x120001cf8 ra=0x120001cdc sp=0x1ffffdd28 op=ldq
pid 4060 (g++-abi-vbase8-9): unaligned access: va=0x1ffffdfe9 pc=0x120001d30 ra=0x120001cdc sp=0x1ffffdd28 op=stq
pid 4060 (g++-abi-vbase8-9): unaligned access: va=0x1ffffdfc9 pc=0x120001efc ra=0x120001ee8 sp=0x1ffffdd48 op=stq
pid 4060 (g++-abi-vbase8-9): unaligned access: va=0x1ffffdfc9 pc=0x120001f04 ra=0x120001ee8 sp=0x1ffffdd48 op=ldq
pid 4060 (g++-abi-vbase8-9): unaligned access: va=0x1ffffdfc9 pc=0x120001f2c ra=0x120001ee8 sp=0x1ffffdd48 op=ldq
pid 4060 (g++-abi-vbase8-9): unaligned access: va=0x1ffffdfc9 pc=0x120001f54 ra=0x120001ee8 sp=0x1ffffdd48 op=ldq
pid 4060 (g++-abi-vbase8-9): unaligned access: va=0x1ffffdfc9 pc=0x120001f80 ra=0x120001ee8 sp=0x1ffffdd48 op=ldq
pid 4060 (g++-abi-vbase8-9): unaligned access: va=0x1ffffdfd9 pc=0x120001fb8 ra=0x120001ee8 sp=0x1ffffdd48 op=stq
pid 4060 (g++-abi-vbase8-9): unaligned access: va=0x1ffffdfe9 pc=0x120001fd0 ra=0x120001ee8 sp=0x1ffffdd48 op=stq
pid 4060 (g++-abi-vbase8-9): unaligned access: va=0x1ffffdfc9 pc=0x1200020a0 ra=0x120002014 sp=0x1ffffdd48 op=stq
pid 4060 (g++-abi-vbase8-9): unaligned access: va=0x1ffffdfd9 pc=0x120002120 ra=0x120002014 sp=0x1ffffdd48 op=stq
pid 4060 (g++-abi-vbase8-9): unaligned access: va=0x1ffffdfe9 pc=0x12000214c ra=0x120002014 sp=0x1ffffdd48 op=stq
pid 4060 (g++-abi-vbase8-9): unaligned access: va=0x1ffffdfc9 pc=0x120001a90 ra=0x1200019ec sp=0x1ffffdd68 op=stq
pid 4060 (g++-abi-vbase8-9): unaligned access: va=0x1ffffdfd9 pc=0x120001aa8 ra=0x1200019ec sp=0x1ffffdd68 op=stq
pid 4060 (g++-abi-vbase8-9): unaligned access: va=0x1ffffdfe9 pc=0x120001ac0 ra=0x1200019ec sp=0x1ffffdd68 op=stq

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>

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

* Re: G++ generating unaligned access?
@ 2002-10-19  4:21 Janis Johnson
  0 siblings, 0 replies; 2+ messages in thread
From: Janis Johnson @ 2002-10-19  4:21 UTC (permalink / raw)
  To: thorpej; +Cc: gcc

Jason Thorpe wrote on October 17:
> Anyone else with an Alpha seeing unaligned access being generated by G++
> on the tip-of-the-trunk?  The NetBSD kernel by default fixes up the access
> and prints a message to the user's tty, resulting in the stuff below.  The
> last time I bootstrapped/regtested on alpha-netbsd (a bit over a month ago,
> unfortunately), this did not occur.
> 
> Before I dig into this, has anyone else on an Alpha or other alignment-picky
> arch seeing any problems like this?

I get unaligned access messages on ia64-unknown-linux-gnu with the
current mainline for vbase8-10.exe (4 messages) and g++-abi-vbase8-
(4 messages; the name is truncated).

Janis

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

end of thread, other threads:[~2002-10-19  3:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-17 13:04 G++ generating unaligned access? Jason R Thorpe
2002-10-19  4:21 Janis Johnson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).