Laurent GUERBY - Re: arm-rtems Ada Aligned_Word compilation error (original) (raw)

This is the mail archive of the gcc@gcc.gnu.orgmailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

On Tue, 2005-11-15 at 17:59 -0500, Geert Bosch wrote:

On Nov 14, 2005, at 19:59, Jim Wilson wrote:

Joel Sherrill joel@OARcorp.com wrote:

s-auxdec.ads:286:13: alignment for "Aligned_Word" must be at least 4 Any ideas?

I'm guessing this is because ARM sets STRUCTURE_SIZE_BOUNDARY to 32
instead of 8, and this confuses the Ada front end.

Note that this package is provided only for the purpose of allowing a
(non-standard) mode that extends the System package with certain DEC
Ada extensions. Since this target cannot implement the required
alignment anyway, I would recommend configuring things so this
package doesn't get build on that target.

What about moving s-auxdec from ada/Makefile.rtl GNATRTL_NONTASKING_OBJS into EXTRA_GNATRTL_NONTASKING_OBJS so it can be set for VMS targets only in ada/Makefile.in?

Laurent


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]