Giter Site home page Giter Site logo

Comments (6)

radfordneal avatar radfordneal commented on July 23, 2024 1

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.

radfordneal avatar radfordneal commented on July 23, 2024 1

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.

radfordneal avatar radfordneal commented on July 23, 2024

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.

danmrc avatar danmrc commented on July 23, 2024

I am using gcc 10.1.0 and the only flag was --enable-R-shlib

from pqr.

danmrc avatar danmrc commented on July 23, 2024

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.

radfordneal avatar radfordneal commented on July 23, 2024

Thanks for investigating some more! Looks like I need to investigate several issues with gcc-10.

from pqr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.