From: Matthias Reis <matthias.reis@physik.tu-berlin.de>
To: Andreas Schwab <schwab@linux-m68k.org>
Cc: linux-m68k@vger.kernel.org
Subject: Re: memcpy on 68000
Date: Sun, 24 Jul 2011 19:43:30 +0200 [thread overview]
Message-ID: <20110724174330.GA20146@matze-K8NF4G-SATA2> (raw)
In-Reply-To: <m2pqkzek5w.fsf@igel.home>
I'm using gcc 4.2.4
$ /usr/local/m68k-uclinux/bin/gcc --version
gcc (GCC) 4.2.4
downloaded from http://www.uclinux.org/pub/uClinux/m68k-elf-tools/tools-20080626/m68k-uclinux-tools-20080626.sh .
This is the gcc command line for memcpy:
/usr/local/m68k-uclinux/bin/gcc -Wp,-MD,arch/m68k/lib/.memcpy.o.d -nostdinc -isystem /usr/local/lib/gcc/m68k-uclinux/4.2.4/include -I/home/unsortiert/linux-m68k/arch/m68k/include -Iarch/m68k/include/generated -Iinclude -include include/generated/autoconf.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m68000 -mstrict-align -pipe -DUTS_SYSNAME=\"uClinux\" -D__uClinux__ -fno-stack-protector -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(memcpy)" -D"KBUILD_MODNAME=KBUILD_STR(memcpy)" -c -o arch/m68k/lib/memcpy.o arch
/m68k/lib/memcpy.c
As you can see, I tried -mstrict-align, but I got the same error as previously.
Matthias
On Sun, Jul 24, 2011 at 06:08:11PM +0200, Andreas Schwab wrote:
> "Matthias Reis" <matthias.reis@physik.tu-berlin.de> writes:
> You need to use a compiler that is targeted to uclinux, not linux (the
> latter assumes 68020+, thus disables strict alignment).
>
> Andreas.
>
> --
> Andreas Schwab, schwab@linux-m68k.org
> GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
> "And now for something completely different."
> --
> To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2011-07-24 17:43 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-24 13:50 memcpy on 68000 Matthias Reis
2011-07-24 16:08 ` Andreas Schwab
2011-07-24 17:43 ` Matthias Reis [this message]
2011-07-28 7:49 ` Greg Ungerer
2011-07-28 8:09 ` Andreas Schwab
2011-07-29 14:01 ` Matthias Reis
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=20110724174330.GA20146@matze-K8NF4G-SATA2 \
--to=matthias.reis@physik.tu-berlin.de \
--cc=linux-m68k@vger.kernel.org \
--cc=schwab@linux-m68k.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