public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug ada/17701] New: Can't crosscompile ada to armv5tel
@ 2004-09-27 19:22 bero at arklinux dot org
  2004-12-27 14:47 ` [Bug ada/17701] " pinskia at gcc dot gnu dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: bero at arklinux dot org @ 2004-09-27 19:22 UTC (permalink / raw)
  To: gcc-bugs

Crosscompiling gcc w/ ada support to armv5tel results in: 
 
../../xgcc -B../../ -c -g -O2      -W -Wall -gnatpg  s-auxdec.adb -o 
s-auxdec.o 
s-auxdec.ads:276:13: alignment for "Aligned_Word" must be at least 4 
make[2]: *** [s-auxdec.o] Error 1 
make[2]: Leaving directory `/usr/src/ark/BUILD/gcc-3.4.3-20040925/gcc/ada/rts'

-- 
           Summary: Can't crosscompile ada to armv5tel
           Product: gcc
           Version: 3.4.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: ada
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bero at arklinux dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-ark-linux
  GCC host triplet: i686-ark-linux
GCC target triplet: armv5tel-ark-linux


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17701


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

* [Bug ada/17701] Can't crosscompile ada to armv5tel
  2004-09-27 19:22 [Bug ada/17701] New: Can't crosscompile ada to armv5tel bero at arklinux dot org
@ 2004-12-27 14:47 ` pinskia at gcc dot gnu dot org
  2004-12-27 15:13 ` bero at arklinux dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-27 14:47 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-12-27 14:47 -------
Did you start with 3.3.3, can you try to start with 3.4.0 and then try building the cross compiler?

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17701


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

* [Bug ada/17701] Can't crosscompile ada to armv5tel
  2004-09-27 19:22 [Bug ada/17701] New: Can't crosscompile ada to armv5tel bero at arklinux dot org
  2004-12-27 14:47 ` [Bug ada/17701] " pinskia at gcc dot gnu dot org
@ 2004-12-27 15:13 ` bero at arklinux dot org
  2005-03-06 15:52 ` nick at sqrt dot co dot uk
  2005-03-06 16:21 ` laurent at guerby dot net
  3 siblings, 0 replies; 5+ messages in thread
From: bero at arklinux dot org @ 2004-12-27 15:13 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From bero at arklinux dot org  2004-12-27 15:13 -------
This was started with 3.4.3 IIRC 

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17701


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

* [Bug ada/17701] Can't crosscompile ada to armv5tel
  2004-09-27 19:22 [Bug ada/17701] New: Can't crosscompile ada to armv5tel bero at arklinux dot org
  2004-12-27 14:47 ` [Bug ada/17701] " pinskia at gcc dot gnu dot org
  2004-12-27 15:13 ` bero at arklinux dot org
@ 2005-03-06 15:52 ` nick at sqrt dot co dot uk
  2005-03-06 16:21 ` laurent at guerby dot net
  3 siblings, 0 replies; 5+ messages in thread
From: nick at sqrt dot co dot uk @ 2005-03-06 15:52 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From nick at sqrt dot co dot uk  2005-03-06 15:51 -------
This is a longstanding bug that still occurs for the 4.0 branch.

For ARM change:

     Integer'Min (2, Standard'Maximum_Alignment);

to:

     Integer'Min (4, Standard'Maximum_Alignment);


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17701


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

* [Bug ada/17701] Can't crosscompile ada to armv5tel
  2004-09-27 19:22 [Bug ada/17701] New: Can't crosscompile ada to armv5tel bero at arklinux dot org
                   ` (2 preceding siblings ...)
  2005-03-06 15:52 ` nick at sqrt dot co dot uk
@ 2005-03-06 16:21 ` laurent at guerby dot net
  3 siblings, 0 replies; 5+ messages in thread
From: laurent at guerby dot net @ 2005-03-06 16:21 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From laurent at guerby dot net  2005-03-06 16:21 -------
On possible solution for your target is to add in your target ada/Makefile.in

  LIBGNAT_TARGET_PAIRS = \
   ...
  s-auxdec.ads<s-auxdec-arm.ads \
   ...

And commit s-auxdec-arm.ads with your change.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17701


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

end of thread, other threads:[~2005-03-06 16:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-27 19:22 [Bug ada/17701] New: Can't crosscompile ada to armv5tel bero at arklinux dot org
2004-12-27 14:47 ` [Bug ada/17701] " pinskia at gcc dot gnu dot org
2004-12-27 15:13 ` bero at arklinux dot org
2005-03-06 15:52 ` nick at sqrt dot co dot uk
2005-03-06 16:21 ` laurent at guerby dot net

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