Coder Social home page Coder Social logo

Comments (9)

durack1 avatar durack1 commented on June 25, 2024

@strandwg is this that same "gcc was built with disable-multilib on" error we hit back in early September?

from cmor.

mauzey1 avatar mauzey1 commented on June 25, 2024

@strandwg I'm not sure how exactly you are building your Fortran code with CMOR 3.7, but looking on Google for the "unable to initialize decompress status for section .debug_info" error shows several results talking about binutils-2.32. Which version of binutils are you using in your environment?

An example of the issue: https://wiki.gentoo.org/wiki/Project:Toolchain/Binutils_2.32_upgrade_notes/elfutils_0.175:_unable_to_initialize_decompress_status_for_section_.debug_info

from cmor.

durack1 avatar durack1 commented on June 25, 2024

For reference - this was identified as a env/compiler conflict:

On Thu, Sep 8, 2022 at 4:35 PM Durack, Paul J. wrote:

This looks like an environment/platform/version issue to me

https://stackoverflow.com/questions/62405518/weird-error-when-compiling-32-bit-programs-with-gcc

Are you using a recent version of gfortran, and is this version aligned with the version used to compile CMOR on conda-forge (10.4.0 – see here)?

P

from cmor.

strandwg avatar strandwg commented on June 25, 2024

from cmor.

durack1 avatar durack1 commented on June 25, 2024

@strandwg any luck with gfortran 12.1.0?

from cmor.

strandwg avatar strandwg commented on June 25, 2024

The gfortran version doesn't matter - I get the same set of errors:

/usr/bin/ld: /glade/work/strandwg/conda-envs/CMOR/lib/libcmor.a(cmor.o): unable to initialize decompress status for section .debug_info
/usr/bin/ld: /glade/work/strandwg/conda-envs/CMOR/lib/libcmor.a(cmor.o): unable to initialize decompress status for section .debug_info
/usr/bin/ld: /glade/work/strandwg/conda-envs/CMOR/lib/libcmor.a(cmor_fortran_interface.o): unable to initialize decompress status for section .debug_info
/usr/bin/ld: /glade/work/strandwg/conda-envs/CMOR/lib/libcmor.a(cmor_fortran_interface.o): unable to initialize decompress status for section .debug_info
/glade/work/strandwg/conda-envs/CMOR/lib/libcmor.a: error adding symbols: File format not recognized

The other interesting thing is that I get the same errors simply linking in a "Hello, world" Fortran90 program, without calling any CMOR routines at all.

from cmor.

durack1 avatar durack1 commented on June 25, 2024

@strandwg just to confirm have you tried to build with disable-multilib=on? see #675 (comment)

from cmor.

mauzey1 avatar mauzey1 commented on June 25, 2024

@strandwg

If you are using a conda environment to build your CMOR programs, then could you provide us a listing of packages in your environment? Use the command conda list -n <env_name>.

You might also want to try cleaning your build directory by running make distclean.

from cmor.

durack1 avatar durack1 commented on June 25, 2024

@strandwg this issue seems to have become stale, so will close this out - please reopen if you still have a problem that requires attention

from cmor.

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.