This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libffi/47442] does not build multilib on m68k
- From: "joel at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 24 Jan 2011 21:06:19 +0000
- Subject: [Bug libffi/47442] does not build multilib on m68k
- Auto-submitted: auto-generated
- References: <bug-47442-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47442
--- Comment #1 from Joel Sherrill <joel at gcc dot gnu.org> 2011-01-24 21:06:15 UTC ---
Created attachment 23108
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23108
Hacks to disable problem areas
This patch is a hack to conditionally disable the parts of the code which cause
issues in various multilib configurations. I see a few general areas:
+ mc68000 does not appear to be able to tst.l an address register
+ presence of FPU -- probably need to have conditionally selected alternative
for when soft FP is in use
+ At least one Coldfire (5206) does not appear to have long double so the
switch statement for all the return types in ffi.c has a duplicate case error.
I think my fix is adequate for this.
For the assembly file, I am unsure as to how to properly fix them.