Comments (6)
You could try it with --enable-R-shlib and CFLAGS="-g -O3 -fcommon -ffp-contract=off" as configure options.
I'll try to install gcc-10 soon and see where I'm relying of -fcommon, but I think the above may fix the problem for now.
from pqr.
These problems are now fixed in branch 93. There will be a new release with these fixes (and other changes) soon.
Thanks for reporting this!
from pqr.
Could you say what version of gcc this is? Just type "gcc --version" to find out.
I notice that the release notes for gcc-10 now say that -fno-common is the default (rather than -fcommon). It's possible that I accidently relied on the "common" behaviour.
Or maybe this is not the problem at all, if you're not using gcc-10. I haven't installed a gcc-10 compiler myself yet.
What options you gave to configure (eg, CFLAGS) would also help.
from pqr.
I am using gcc 10.1.0 and the only flag was --enable-R-shlib
from pqr.
Hi,
The -fcommon solve that problem.
It then threw a error at file /src/library/stats/src/lminfl.o:
91 | call dqrsl(x, ldx, n, k, qraux, sigma, sigma, dummy,
| 2
......
111 | call dqrsl(x, ldx, n, k, qraux, sigma, sigma, dummy
| 1
Error: Type mismatch between actual argument at (1) and actual argument at (2) (REAL(4)/REAL(8)).
make[5]: *** [../../../../etc/Makeconf:145: lminfl.o] Erro 1
I looked around and using FFLAGS = "-fallow-argument-mismatch" compiles and allows me to run pqR. I don't know if it generates any side effects, but it seemed fine.
check fails at stat with a segfault
It works fine with RStudio. Looking forward to use R with auto diff.
Let me know if you want more info/a new issue to separate this problems.
Lots of thanks for the help!
from pqr.
Thanks for investigating some more! Looks like I need to investigate several issues with gcc-10.
from pqr.
Related Issues (20)
- What is preventing the merge of pqR into R? HOT 1
- pqR side by side with GNU-R HOT 8
- T and F don't work with mat_mult_with_BLAS configuration argument
- Docker image for pqR HOT 3
- No window version available HOT 1
- Incompatible library version HOT 3
- Will pqR code be merged to R? HOT 9
- Missing <R_ext/sggc-app.h> HOT 11
- Proposal of new feature: native 64 bit integers support HOT 2
- R/time.R - filename restricted? HOT 5
- Update formula does not work as expected HOT 6
- segfault when using attributes HOT 1
- buffer overflow when using attributes on a recursive function HOT 2
- floating point exception
- pqR aborted when using plot
- Problems with installation ubuntu 20.04 HOT 5
- Pqr and running Rstudio on mac
- Installation fails on Slackware 15.0 HOT 13
- Slow pqR loops vs R (CRAN)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pqr.