From maechler at stat.math.ethz.ch  Mon Oct 19 11:51:38 2015
From: maechler at stat.math.ethz.ch (Martin Maechler)
Date: Mon, 19 Oct 2015 11:51:38 +0200
Subject: [Rd] R 3.2.2 64 bit compilation error on AIX
In-Reply-To: <CA+2DmwikBvv-cNeAuNzxv90Rj7wOjJwPP4n=Q5tf_btwtM9F5w@mail.gmail.com>
References: <CA+2Dmwg42NrchprLEOoSuVSyqtU8H6H2XLLUZYftGHG6-bfXyw@mail.gmail.com>
	<CA+2DmwiWo0RwSfS7eMQgXr_MxMN3UE76wCqspWysP-UghY0nSg@mail.gmail.com>
	<CA+2DmwgQEkZuCZCvyhudhY55rFznN6ddgeo=qVfx5bJO1AnGSg@mail.gmail.com>
	<CA+2DmwhY7Qo19JY-TMpR-oObDvkEEqzemVsoqhf9YV2B9W-mRw@mail.gmail.com>
	<22039.24695.462269.116657@stat.math.ethz.ch>
	<CA+2DmwikBvv-cNeAuNzxv90Rj7wOjJwPP4n=Q5tf_btwtM9F5w@mail.gmail.com>
Message-ID: <22052.48426.400517.915637@stat.math.ethz.ch>

>>>>> Vinh Nguyen <vinhdizzo at gmail.com>
>>>>>     on Fri, 9 Oct 2015 06:35:01 -0700 writes:

    > On Oct 8, 2015 11:36 PM, "Martin Maechler"
    > <maechler at stat.math.ethz.ch> wrote:
    >> 
    >> >>>>> Vinh Nguyen <vinhdizzo at gmail.com> >>>>> on Thu, 8
    >> Oct 2015 20:21:32 -0700 writes:
    >> 
    >> > Ahh, sorry for not googling the error message.  Found >
    >> [this](
    > http://r.789695.n4.nabble.com/Error-compiling-R-2-10-1-on-AIX-td1017862.html
    > )
    >> > post that suggests modifying
    >> /src/extra/tre/tre-internal.h > (
    > https://r-forge.r-project.org/scm/viewvc.php/patches/aix_R210_tre.patch?view=markup&root=aix
    > )
    >> > for AIX 64 bit.
    >> 
    >> > Is it possible to add this information to the AIX
    >> section > of the R-admin manual?  Thanks.
    >> 
    >> Actually, I think we (R Core) should just apply that
    >> patch to the R/src/extras/tre/ sources.

    > That should be even better!

I've heard no other comments,
tried a version of your patch and checked that it does *not*
break either 32-bit or 64-bit Linux.

At the same time, that (very old) patch looks sensible and
solves your problem and you are one of very few who actively
work on building R on AIX

==> I have committed a corresponding change to src/extra/tre/tre-internal.h
    now.  (for R-devel aka "trunk" only).

Martin Maechler, ETH Zurich
	
    >> 
    >> But this does not seem to be related to your original
    >> problem where compilation stopped during tools package
    >> building, or does it ?

    > Yes, the patch did fix the error where the tools package
    > was building. It also fixed it for [others](
    > http://r.789695.n4.nabble.com/Error-compiling-R-2-10-1-on-AIX-td1017862.html
    > ).

    > Thanks.



[Rd] R 3.2.2 64 bit compilation error on AIX
Martin Maechler