[Rd] R 3.4 has broken C++11 support

Martyn Plummer plummerm at iarc.fr
Wed Apr 19 13:21:30 CEST 2017


On Wed, 2017-04-19 at 13:17 +0200, Angerer, Philipp wrote:
> Hmm, doesn’t look like my R was configured incorrectly:

That looks fine. Can you please give a reproducible example of a
package that compiles correctly on R 3.3.3 but not with R 3.4.0 or R-
devel.

Martyn

> 
> 
> R is now configured for x86_64-pc-linux-gnu
> 
>   Source directory:          .
>   Installation directory:    /opt/r-devel
> 
>   C compiler:                gcc  -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4
>   Fortran 77 compiler:       gfortran  -g -O2
> 
>   Default C++ compiler:      g++   -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4
>   C++98 compiler:            g++ -std=gnu++98 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4
>   C++11 compiler:            g++ -std=gnu++11 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4
>   C++14 compiler:            g++  -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4
>   C++17 compiler:              
>   Fortran 90/95 compiler:    gfortran -g -O2
>   Obj-C compiler:             
> 
>   Interfaces supported:      X11, tcltk
>   External libraries:        readline, BLAS(generic), LAPACK(generic), curl
>   Additional capabilities:   PNG, JPEG, TIFF, NLS, cairo, ICU
>   Options enabled:           shared R library, R profiling
> 
>   Capabilities skipped:      
>   Options not enabled:       shared BLAS, memory profiling
> 
>   Recommended packages:      yes
> 
> ----- Ursprüngliche Mail -----
> Von: "Angerer, Philipp" <philipp.angerer at helmholtz-muenchen.de>
> An: "Martyn Plummer" <plummerm at iarc.fr>
> CC: "r-devel" <r-devel at r-project.org>
> Gesendet: Mittwoch, 19. April 2017 12:42:33
> Betreff: Re: [Rd] R 3.4 has broken C++11 support
> 
> Hi! 
> 
> Well, my linux distribution has very recent versions 
> of everything, so a working C++11 compiler exists: 
> 
> $ gcc --version | head -n1 
> gcc (GCC) 6.3.1 20170306 
> 
> Could wrong ./configure options be at fault here? See: 
> 
> https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=r-devel#n40 
> 
> My sessionInfo(): 
> 
> $ R-devel --slave -e 'sessionInfo()' | head -n3 
> R Under development (unstable) (2017-04-18 r72542) 
> Platform: x86_64-pc-linux-gnu (64-bit) 
> Running under: Arch Linux 
> 
> Thanks, Philipp 
> 
>  
> 
> Helmholtz Zentrum Muenchen
> Deutsches Forschungszentrum fuer Gesundheit und Umwelt (GmbH)
> Ingolstaedter Landstr. 1
> 85764 Neuherberg
> www.helmholtz-muenchen.de
> Aufsichtsratsvorsitzende: MinDir'in Baerbel Brumme-Bothe
> Geschaeftsfuehrer: Prof. Dr. Guenther Wess, Heinrich Bassler, Dr.
> Alfons Enhsen
> Registergericht: Amtsgericht Muenchen HRB 6466
> USt-IdNr: DE 129521671
> 


More information about the R-devel mailing list