Patchwork [Ada] Ignore Optimize_Alignment (Space) for packed variable length record

login
register
mail settings
Submitter Arnaud Charlet
Date Oct. 29, 2012, 4:12 p.m.
Message ID <20121029161254.GA12655@adacore.com>
Download mbox | patch
Permalink /patch/195067/
State New
Headers show

Comments

Arnaud Charlet - Oct. 29, 2012, 4:12 p.m.
> > We chatted about this on IRC, and Richi is seeing the same problem on
> > his builds.
> 
> Very strange. I'm looking at it.

OK, this comes from code duplicated between gcc-interface/Makefile.in and
Make-generated.in, pretty messy.

Testing the patch below, will commit if success.

2012-10-29  Arnaud Charlet  <charlet@adacore.com>

       * gcc-interface/Makefile.in (s-oscons.ads): Adjust call to xoscons.

Arno
--
Arnaud Charlet - Oct. 29, 2012, 4:29 p.m.
> Testing the patch below, will commit if success.
> 
> 2012-10-29  Arnaud Charlet  <charlet@adacore.com>
> 
>        * gcc-interface/Makefile.in (s-oscons.ads): Adjust call to
>        xoscons.

Committed on trunk now. Sorry for the breakage, my build was incremental
and missed this missing part.

Arno
Diego Novillo - Oct. 29, 2012, 4:56 p.m.
On Mon, Oct 29, 2012 at 12:29 PM, Arnaud Charlet <charlet@adacore.com> wrote:

> Committed on trunk now. Sorry for the breakage, my build was incremental
> and missed this missing part.

Great.  Thanks for the quick fix!


Diego.

Patch

--- gcc-interface/Makefile.in   (revision 192944)
+++ gcc-interface/Makefile.in   (working copy)
@@ -2610,7 +2610,7 @@  $(RTSDIR)/s-oscons.ads: ../stamp-gnatlib
        (cd $(RTSDIR) ; \
            $(OSCONS_CPP) ; \
            $(OSCONS_EXTRACT) ; \
-           ../bldtools/oscons/xoscons)
+           ../bldtools/oscons/xoscons s-oscons)
 
 # Don't use semicolon separated shell commands that involve list expansions.
 # The semicolon triggers a call to DCL on VMS and DCL can't handle command