On Tue, 21 May 2013, Nicholas Clark wrote:
> On Tue, May 21, 2013 at 06:40:17PM +0200, Vladimir Serbinenko wrote:
> > On 21.05.2013 18:33, Martin Jambor wrote:
> > > oh no, those were basically the machines on which I debugged
> > > strict-alignment issues.
> >
> > gcc42 and gcc49 should be fine for this.
>
> It seems that mips is not as strict as sparc for alignment of long long.
...
> runs on gcc49, producing this output:
>
> Got 8090A0B04050607

I'm reading from source here, but according to
linux-*/Documentation/filesystems/debugfs.txt
and linux-2.6/arch/mips/kernel/unaligned.c
(From 3.4 and 2.6.33; gcc49 is 2.6.36 series)
that should be customizable.

There's debugfs on gcc49, just not mounted; root needs to
"mount -t debugfs none /sys/kernel/debug" and then
"echo 1 >/sys/kernel/debug/unaligned_action" should do the
trick, causing that program to SIGBUS instead.

Again, I'm just reading from sources, but I'm confident someone
will soon try it and one-up this post. ;)

BTW, "ssh gcc42.fsffrance.org" yields "socket: Address family
not supported by protocol".  What's up?  IPv6 required?

brgds, H-P

_______________________________________________
Gcc-cfarm-users mailing list
Gcc-cfarm-users@gna.org
https://mail.gna.org/listinfo/gcc-cfarm-users

Reply via email to