public inbox for libffi-discuss@sourceware.org
 help / color / mirror / Atom feed
* [BUG] libffi-3.0.8 doesn't compile on MX31
@ 2009-05-24 19:17 Robert Schwebel
  2009-05-25 15:23 ` [crossdev] " Marc Kleine-Budde
  0 siblings, 1 reply; 3+ messages in thread
From: Robert Schwebel @ 2009-05-24 19:17 UTC (permalink / raw)
  To: libffi-discuss; +Cc: crossdev

Hi,

[Please Cc: me on reply, I'm not subscribed to the libffi list]

I'm trying to build libffi for ARM, especially for ARM1131EJ-S
(Freescale MX31):

 arm-1136jfs-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -isystem /home/rsc/svn/oselas/bsp/pengutronix/OSELAS.BSP-Pengutronix-AllYes-trunk/platform-phyCORE-i.MX31/sysroot-target/include -isystem /home/rsc/svn/oselas/bsp/pengutronix/OSELAS.BSP-Pengutronix-AllYes-trunk/platform-phyCORE-i.MX31/sysroot-target/usr/include -I. -I./include -Iinclude -I./src -g -O2 -MT src/arm/sysv.lo -MD -MP -MF src/arm/.deps/sysv.Tpo -c src/arm/sysv.S  -fPIC -DPIC -o src/arm/.libs/sysv.o
src/arm/sysv.S: Assembler messages:
src/arm/sysv.S:203: Error: selected processor does not support `stfeqs f0,[r2]'
src/arm/sysv.S:208: Error: selected processor does not support `stfeqd f0,[r2]'
src/arm/sysv.S:283: Error: selected processor does not support `ldfs f0,[sp]'
src/arm/sysv.S:286: Error: selected processor does not support `ldfd f0,[sp]'
src/arm/sysv.S:289: Error: selected processor does not support `ldfd f0,[sp]'

Does anyone have an idea what goes wrong here?

rsc
-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

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

* Re: [crossdev] [BUG] libffi-3.0.8 doesn't compile on MX31
  2009-05-24 19:17 [BUG] libffi-3.0.8 doesn't compile on MX31 Robert Schwebel
@ 2009-05-25 15:23 ` Marc Kleine-Budde
  2009-05-25 19:26   ` Andrew Haley
  0 siblings, 1 reply; 3+ messages in thread
From: Marc Kleine-Budde @ 2009-05-25 15:23 UTC (permalink / raw)
  To: Robert Schwebel; +Cc: libffi-discuss, crossdev

[-- Attachment #1: Type: text/plain, Size: 1686 bytes --]

Robert Schwebel wrote:
> [Please Cc: me on reply, I'm not subscribed to the libffi list]
> 
> I'm trying to build libffi for ARM, especially for ARM1131EJ-S
> (Freescale MX31):
> 
>  arm-1136jfs-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -isystem /home/rsc/svn/oselas/bsp/pengutronix/OSELAS.BSP-Pengutronix-AllYes-trunk/platform-phyCORE-i.MX31/sysroot-target/include -isystem /home/rsc/svn/oselas/bsp/pengutronix/OSELAS.BSP-Pengutronix-AllYes-trunk/platform-phyCORE-i.MX31/sysroot-target/usr/include -I. -I./include -Iinclude -I./src -g -O2 -MT src/arm/sysv.lo -MD -MP -MF src/arm/.deps/sysv.Tpo -c src/arm/sysv.S  -fPIC -DPIC -o src/arm/.libs/sysv.o
> src/arm/sysv.S: Assembler messages:
> src/arm/sysv.S:203: Error: selected processor does not support `stfeqs f0,[r2]'
> src/arm/sysv.S:208: Error: selected processor does not support `stfeqd f0,[r2]'
> src/arm/sysv.S:283: Error: selected processor does not support `ldfs f0,[sp]'
> src/arm/sysv.S:286: Error: selected processor does not support `ldfd f0,[sp]'
> src/arm/sysv.S:289: Error: selected processor does not support `ldfd f0,[sp]'
> 
> Does anyone have an idea what goes wrong here?

I've filled out a bug report along with some analysis:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40242

as it breaks (cross)compiling gcc with certain options enabled.

cheers, Marc

-- 
Pengutronix e.K.                         | Marc Kleine-Budde           |
Linux Solutions for Science and Industry | Phone: +49-231-2826-924     |
Vertretung West/Dortmund                 | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686         | http://www.pengutronix.de   |


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

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

* Re: [crossdev] [BUG] libffi-3.0.8 doesn't compile on MX31
  2009-05-25 15:23 ` [crossdev] " Marc Kleine-Budde
@ 2009-05-25 19:26   ` Andrew Haley
  0 siblings, 0 replies; 3+ messages in thread
From: Andrew Haley @ 2009-05-25 19:26 UTC (permalink / raw)
  To: Marc Kleine-Budde; +Cc: Robert Schwebel, libffi-discuss, crossdev

Marc Kleine-Budde wrote:
> Robert Schwebel wrote:
>> [Please Cc: me on reply, I'm not subscribed to the libffi list]
>>
>> I'm trying to build libffi for ARM, especially for ARM1131EJ-S
>> (Freescale MX31):
>>
>>  arm-1136jfs-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I. -I./include -Iinclude -I./src -isystem /home/rsc/svn/oselas/bsp/pengutronix/OSELAS.BSP-Pengutronix-AllYes-trunk/platform-phyCORE-i.MX31/sysroot-target/include -isystem /home/rsc/svn/oselas/bsp/pengutronix/OSELAS.BSP-Pengutronix-AllYes-trunk/platform-phyCORE-i.MX31/sysroot-target/usr/include -I. -I./include -Iinclude -I./src -g -O2 -MT src/arm/sysv.lo -MD -MP -MF src/arm/.deps/sysv.Tpo -c src/arm/sysv.S  -fPIC -DPIC -o src/arm/.libs/sysv.o
>> src/arm/sysv.S: Assembler messages:
>> src/arm/sysv.S:203: Error: selected processor does not support `stfeqs f0,[r2]'
>> src/arm/sysv.S:208: Error: selected processor does not support `stfeqd f0,[r2]'
>> src/arm/sysv.S:283: Error: selected processor does not support `ldfs f0,[sp]'
>> src/arm/sysv.S:286: Error: selected processor does not support `ldfd f0,[sp]'
>> src/arm/sysv.S:289: Error: selected processor does not support `ldfd f0,[sp]'
>>
>> Does anyone have an idea what goes wrong here?
> 
> I've filled out a bug report along with some analysis:
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40242
> 
> as it breaks (cross)compiling gcc with certain options enabled.

To be honest, you're probably the only person who is going to fix this, at
least in the short term.  It's pretty clear that you're going to have to
distinguish between these cases on the basis of configure options rather
than compiler #defines.

Andrew.

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

end of thread, other threads:[~2009-05-25 19:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-24 19:17 [BUG] libffi-3.0.8 doesn't compile on MX31 Robert Schwebel
2009-05-25 15:23 ` [crossdev] " Marc Kleine-Budde
2009-05-25 19:26   ` Andrew Haley

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).