Skip to content

Updated spack 'develop' fails to build libsigesgv on RHEL6 with native gcc@4.4.7 (wrong arch) #13248

@bartlettroscoe

Description

@bartlettroscoe

snl-atdm-issue

I just tried upgrading Spack by pulling the Spack 'develop' version:

cf9de05 "multimethods: avoid calling caller_locals() in Python 3 (#13238)"
Author: Todd Gamblin <tgamblin@llnl.gov>
Date:   Thu Oct 17 06:40:23 2019 -0700 (3 hours ago)

M       lib/spack/spack/multimethod.py
M       lib/spack/spack/package.py

Running:

$ ./atdm-spack/spack/bin/spack  install  -j20

with this spack.yaml file:

spack.yaml
# Spack env file to build a compiler using Spack
#
# NOTE: Spack will not only read this file but will also write to it so make
# sure you create a copy before spack uses it!
#
spack:
  # Packages to build (ordered mostly by dependencies)
  specs: [
    gcc@7.2.0,
    ]
  modules:
    tcl:
      hash_length: 0
      naming_scheme: spack-${PACKAGE}/${VERSION}
      whitelist:
        - gcc
      blacklist:
        - '%gcc@4.4.7'
      all:
        conflict:
          - '{name}'
        filter:
          environment_blacklist: [CPATH, LIBRARY_PATH]
        environment:
          set:
            ${PACKAGE}_ROOT: ${PREFIX}
      verbose: false
  packages:
    all:
      compiler: [gcc@4.4.7]

  include:
    - packages_tools_for_compiler_build.yaml
    - common_options.yaml

NOTE: packages_tools_for_compiler_build.yaml is empty and:

common_options.yaml is:

mirrors:
  local_filesystem: file:///ascldap/users/rabartl/Spack.base3/atdm-spack/atdm-spack-tarball-mirror
config:
  misc_cache: .spack/cache

it showed the following error:

==> Installing libsigsegv
==> Searching for binary cache of libsigsegv
==> Finding buildcaches in /ascldap/users/rabartl/Spack.base3/atdm-spack/atdm-spack-tarball-mirror/build_cache
==> No binary for libsigsegv found: installing from source
curl: (37) Couldn't open file /ascldap/users/rabartl/Spack.base3/atdm-spack/atdm-spack-tarball-mirror/libsigsegv/libsigsegv-2.12.tar.gz
==> Fetching file:///ascldap/users/rabartl/Spack.base3/atdm-spack/atdm-spack-tarball-mirror/libsigsegv/libsigsegv-2.12.tar.gz
==> Fetching from file:///ascldap/users/rabartl/Spack.base3/atdm-spack/atdm-spack-tarball-mirror/libsigsegv/libsigsegv-2.12.tar.gz failed.
==> Fetching https://ftpmirror.gnu.org/libsigsegv/libsigsegv-2.12.tar.gz
==> Staging archive: /tmp/rabartl/spack-stage/spack-stage-libsigsegv-2.12-4wg47p4nrbuzpsovsxhbypwtbcu25k4t/libsigsegv-2.12.tar.gz
==> Created stage in /tmp/rabartl/spack-stage/spack-stage-libsigsegv-2.12-4wg47p4nrbuzpsovsxhbypwtbcu25k4t
==> No patches needed for libsigsegv
==> Building libsigsegv [AutotoolsPackage]
==> Executing phase: 'autoreconf'
==> Executing phase: 'configure'
==> Error: ProcessError: Command exited with status 77:
    '/tmp/rabartl/spack-stage/spack-stage-libsigsegv-2.12-4wg47p4nrbuzpsovsxhbypwtbcu25k4t/spack-src/configure' '--prefix=/home/rabartl/Spack.base3/atdm-spack/spack/opt/spack/linux-rhel6-haswell/gcc-4.4.7/libsigsegv-2.12-4wg47p4nrbuzpsovsxhbypwtbcu25k4t' '--enable-shared'

2 errors found in build log:
     8     checking for a thread-safe mkdir -p... /bin/mkdir -p
     9     checking for gawk... gawk
     10    checking whether make sets $(MAKE)... yes
     11    checking whether make supports nested variables... yes
     12    checking for gcc... /home/rabartl/Spack.base3/atdm-spack/spack/lib/s
           pack/env/gcc/gcc
     13    checking whether the C compiler works... no
  >> 14    configure: error: in `/tmp/rabartl/spack-stage/spack-stage-libsigseg
           v-2.12-4wg47p4nrbuzpsovsxhbypwtbcu25k4t/spack-src':
  >> 15    configure: error: C compiler cannot create executables
     16    See `config.log' for more details

See build log for details:
  /tmp/rabartl/spack-stage/spack-stage-libsigsegv-2.12-4wg47p4nrbuzpsovsxhbypwtbcu25k4t/spack-build-out.txt

The full output is shown below.

Full spack install output
==> Concretized gcc@7.2.0
 -   i446xkz  gcc@7.2.0%gcc@4.4.7~binutils languages=c,c++,fortran ~nvptx patches=51aebe82afc9a0433ca3503a36592edf5ca769b1433986919cfb9ae2ddf3e343 ~piclibs~strip arch=linux-rhel6-haswell
 -   5wln5gl      ^gmp@6.1.2%gcc@4.4.7 arch=linux-rhel6-haswell
 -   sidqv37          ^autoconf@2.69%gcc@4.4.7 arch=linux-rhel6-haswell
 -   6ebd7qb              ^m4@1.4.18%gcc@4.4.7 patches=3877ab548f88597ab2327a2230ee048d2d07ace1062efe81fc92e91b7f39cd00,fc9b61654a3ba1a8d6cd78ce087e7c96366c290bc8d2c299f09828d793b853c8 +sigsegv arch=linux-rhel6-haswell
 -   4wg47p4                  ^libsigsegv@2.12%gcc@4.4.7 arch=linux-rhel6-haswell
 -   nqlcjvd              ^perl@5.30.0%gcc@4.4.7+cpanm+shared+threads arch=linux-rhel6-haswell
 -   ztgcm72                  ^gdbm@1.18.1%gcc@4.4.7 arch=linux-rhel6-haswell
 -   frribg6                      ^readline@8.0%gcc@4.4.7 arch=linux-rhel6-haswell
 -   cxc3lta                          ^ncurses@6.1%gcc@4.4.7~symlinks~termlib arch=linux-rhel6-haswell
 -   icmdwkr                              ^pkgconf@1.6.3%gcc@4.4.7 arch=linux-rhel6-haswell
 -   vvars5j          ^automake@1.16.1%gcc@4.4.7 arch=linux-rhel6-haswell
 -   xmpzwlz          ^libtool@2.4.6%gcc@4.4.7 arch=linux-rhel6-haswell
 -   obxrdps      ^isl@0.18%gcc@4.4.7 arch=linux-rhel6-haswell
 -   suz2poy      ^mpc@1.1.0%gcc@4.4.7 arch=linux-rhel6-haswell
 -   bkqhlr7          ^mpfr@3.1.6%gcc@4.4.7 patches=66a5d58364113a21405fc53f4a48f4e8 arch=linux-rhel6-haswell
 -   zmpvci4      ^zlib@1.2.11%gcc@4.4.7+optimize+pic+shared arch=linux-rhel6-haswell

==> Updating view at /home/rabartl/Spack.base3/.spack-env/view
==> Installing environment /home/rabartl/Spack.base3
==> Installing libsigsegv
==> Searching for binary cache of libsigsegv
==> Finding buildcaches in /ascldap/users/rabartl/Spack.base3/atdm-spack/atdm-spack-tarball-mirror/build_cache
==> No binary for libsigsegv found: installing from source
curl: (37) Couldn't open file /ascldap/users/rabartl/Spack.base3/atdm-spack/atdm-spack-tarball-mirror/libsigsegv/libsigsegv-2.12.tar.gz
==> Fetching file:///ascldap/users/rabartl/Spack.base3/atdm-spack/atdm-spack-tarball-mirror/libsigsegv/libsigsegv-2.12.tar.gz
==> Fetching from file:///ascldap/users/rabartl/Spack.base3/atdm-spack/atdm-spack-tarball-mirror/libsigsegv/libsigsegv-2.12.tar.gz failed.
==> Fetching https://ftpmirror.gnu.org/libsigsegv/libsigsegv-2.12.tar.gz
==> Staging archive: /tmp/rabartl/spack-stage/spack-stage-libsigsegv-2.12-4wg47p4nrbuzpsovsxhbypwtbcu25k4t/libsigsegv-2.12.tar.gz
==> Created stage in /tmp/rabartl/spack-stage/spack-stage-libsigsegv-2.12-4wg47p4nrbuzpsovsxhbypwtbcu25k4t
==> No patches needed for libsigsegv
==> Building libsigsegv [AutotoolsPackage]
==> Executing phase: 'autoreconf'
==> Executing phase: 'configure'
==> Error: ProcessError: Command exited with status 77:
    '/tmp/rabartl/spack-stage/spack-stage-libsigsegv-2.12-4wg47p4nrbuzpsovsxhbypwtbcu25k4t/spack-src/configure' '--prefix=/home/rabartl/Spack.base3/atdm-spack/spack/opt/spack/linux-rhel6-haswell/gcc-4.4.7/libsigsegv-2.12-4wg47p4nrbuzpsovsxhbypwtbcu25k4t' '--enable-shared'

2 errors found in build log:
     8     checking for a thread-safe mkdir -p... /bin/mkdir -p
     9     checking for gawk... gawk
     10    checking whether make sets $(MAKE)... yes
     11    checking whether make supports nested variables... yes
     12    checking for gcc... /home/rabartl/Spack.base3/atdm-spack/spack/lib/s
           pack/env/gcc/gcc
     13    checking whether the C compiler works... no
  >> 14    configure: error: in `/tmp/rabartl/spack-stage/spack-stage-libsigseg
           v-2.12-4wg47p4nrbuzpsovsxhbypwtbcu25k4t/spack-src':
  >> 15    configure: error: C compiler cannot create executables
     16    See `config.log' for more details

See build log for details:
  /tmp/rabartl/spack-stage/spack-stage-libsigsegv-2.12-4wg47p4nrbuzpsovsxhbypwtbcu25k4t/spack-build-out.txt

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions