Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-37605

Check build status for ARM Linux

    XMLWordPrintable

Details

    • Architecture
    • No

    Description

      This ticket summarizes status and problems encountered when building lsst_distrib
      for ARM64 Linux.

      Attachments

        Issue Links

          Activity

            Last week building ARM Linux failed in meas_extensions_shapeHSM complaining about

            aarch64: libgomp.so.1: cannot allocate memory in static TLS block
            

            Trying today this cannot be reproduced.
            The solution applied was

            LD_PRELOAD=<path_to_lib>/libgomp.so.1 CC_BIN="test"
            

            CC_BIN is meant to point to the CodeCheck executable in sconsUtils. I this case it prevents LD_PRELOAD being deleted from the build environment variables.

            wittgen Matthias Wittgen added a comment - Last week building ARM Linux failed in meas_extensions_shapeHSM complaining about aarch64: libgomp.so.1: cannot allocate memory in static TLS block Trying today this cannot be reproduced. The solution applied was LD_PRELOAD=<path_to_lib>/libgomp.so.1 CC_BIN="test" CC_BIN is meant to point to the CodeCheck executable in sconsUtils . I this case it prevents LD_PRELOAD being deleted from the build environment variables.

            Tested with docker almalinux 9 on Mac M2 and lsstsw 

            wittgen Matthias Wittgen added a comment - Tested with docker almalinux 9  on Mac M2 and lsstsw  

            Thanks for this work and for notifying me about it. I am not able to build using Docker with a AlmaLinux 9 image on macOS M1. This may be an issue with my own environment, but I would like to report it in case it is not:

            $ bash lsstinstall -P -T w_2023_37
            Installing Mambaforge conda at /cvmfs/sw.lsst.eu/linux-aarch64/lsst_distrib/w_2023_37/conda
            ######################################################################################################################################################## 100.0%
            PREFIX=/cvmfs/sw.lsst.eu/linux-aarch64/lsst_distrib/w_2023_37/conda
            Unpacking payload ...
            Extracting ca-certificates-2023.7.22-hcefe29a_0.conda
            Extracting ld_impl_linux-aarch64-2.40-h2d8c526_0.conda
            Extracting libgomp-13.1.0-h2b4548d_0.conda
            ...
            Linking ncurses-6.4-h2e1726e_0
            critical libmamba filesystem error: cannot copy: Input/output error [/cvmfs/sw.lsst.eu/linux-aarch64/lsst_distrib/w_2023_37/conda/pkgs/ncurses-6.4-h2e1726e_0/share/terminfo/e/eterm-color] [/cvmfs/sw.lsst.eu/linux-aarch64/lsst_distrib/w_2023_37/conda/share/terminfo/e/eterm-color]
            Unable to install Mambaforge
            

            I hope I will soon have the possibility to try building on a physical host equipped with ARM CPUs and will be able to provide further feedback.

            FabioHernandez Fabio Hernandez added a comment - Thanks for this work and for notifying me about it. I am not able to build using Docker with a AlmaLinux 9 image on macOS M1. This may be an issue with my own environment, but I would like to report it in case it is not: $ bash lsstinstall -P -T w_2023_37 Installing Mambaforge conda at /cvmfs/sw.lsst.eu/linux-aarch64/lsst_distrib/w_2023_37/conda ######################################################################################################################################################## 100.0% PREFIX=/cvmfs/sw.lsst.eu/linux-aarch64/lsst_distrib/w_2023_37/conda Unpacking payload ... Extracting ca-certificates-2023.7.22-hcefe29a_0.conda Extracting ld_impl_linux-aarch64-2.40-h2d8c526_0.conda Extracting libgomp-13.1.0-h2b4548d_0.conda ... Linking ncurses-6.4-h2e1726e_0 critical libmamba filesystem error: cannot copy: Input/output error [/cvmfs/sw.lsst.eu/linux-aarch64/lsst_distrib/w_2023_37/conda/pkgs/ncurses-6.4-h2e1726e_0/share/terminfo/e/eterm-color] [/cvmfs/sw.lsst.eu/linux-aarch64/lsst_distrib/w_2023_37/conda/share/terminfo/e/eterm-color] Unable to install Mambaforge I hope I will soon have the possibility to try building on a physical host equipped with ARM CPUs and will be able to provide further feedback.

            The error message above looks like what I observed when using docker on M2.
            mambaforge failed to install when using a filesystem mounted into docker. It worked only when installing into a 
            docker virtual disk.

            wittgen Matthias Wittgen added a comment - The error message above looks like what I observed when using docker on M2. mambaforge failed to install when using a filesystem mounted into docker. It worked only when installing into a  docker virtual disk.

            Closing this ticket as done. Latest weekly releases build on alamalinux9 aarch64.

            wittgen Matthias Wittgen added a comment - Closing this ticket as done. Latest weekly releases build on alamalinux9 aarch64.

            People

              wittgen Matthias Wittgen
              wittgen Matthias Wittgen
              Fabio Hernandez
              Fabio Hernandez, Kian-Tat Lim, Matthias Wittgen, Tim Jenness
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Jenkins

                  No builds found.