From edd @end|ng |rom deb|@n@org  Tue Aug  6 17:51:59 2019
From: edd @end|ng |rom deb|@n@org (Dirk Eddelbuettel)
Date: Tue, 6 Aug 2019 10:51:59 -0500
Subject: [Rd] gfortran 9 quantreg bug
In-Reply-To: <CAC2h7uvoTNzcMscNwgco-=x8sz545AvV39TQ9nZVUSbzbaCaBA@mail.gmail.com>
References: <F22FFF48-C157-4269-ACD4-3B58DD83FCCE@illinois.edu>
 <23878.61052.305001.554120@rob.eddelbuettel.com>
 <CAC2h7uvoTNzcMscNwgco-=x8sz545AvV39TQ9nZVUSbzbaCaBA@mail.gmail.com>
Message-ID: <23881.41503.904978.187323@rob.eddelbuettel.com>


Hi Kasper,

On 6 August 2019 at 10:33, Kasper Daniel Hansen wrote:
| Thanks for the blog post on this, and the pointers in this email.

My pleasure!  There wasn't much in there that was "new" but it often helps to
just tie it together with a valid and real example (as provided by Roger).
 
| I have a question: it seems to me that you end up using a different
| compiler for the package (quantreg) than was used to build R itself. As I
| understand ABI changes, this is considered unsupported (ok, that depends on

Are you thinking that because the 'number' increased to 9, the ABI must have
changed in some (presumably incompatible) ways?  Luckily that is not
generally the case or we'd be in much dire straits.

Every couple of years there is such a change but it is rare. I can't even
recall when g++ last forced us.  May have been the 3.3 to 4.0 change with 3.4
then providing compatibility with what came after. As for Fortran, can't
recall such a change.

| what version of gcc/gfortran was used to build R, but there has been a lot
| of ABI changes in GCC). Is that correct? I understand that this shortcut
| makes it much easier to use different compilers, and might work for Roger's
| usecase, but I was wondering about this issue of using a different compiler
| for packages. Is this something I should worry about?

No.

But don't take my word for it, but trust 'R CMD check'. If it tests, trust it.

Hth, Dirk

-- 
http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org



[Rd] gfortran 9 quantreg bug
Dirk Eddelbuettel