undefined reference to `std::__throw_bad_array_new_length()'

Bug #1956898 reported by Christoph Junghans
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
VOTCA
Fix Released
Unknown

Bug Description

When compiling the latest version of the VOTCA package on Ubuntu 20.04.3 LTS with clang version 10.0.0-4ubuntu1 one gets an error:
/usr/bin/ld: ../libxtp/libvotca_xtp.so.2022: undefined reference to `std::__throw_bad_array_new_length()'

This compiled fine in the past.

With the attached Dockerfile one can easily reproduce the issue.

Revision history for this message
Christoph Junghans (junghans) wrote :
affects: llvm → votca
Changed in votca:
status: Unknown → New
Revision history for this message
Christoph Junghans (junghans) wrote :

Ok, this happens with gcc as well.

Revision history for this message
Christoph Junghans (junghans) wrote :

This issue seems related: https://gcc.gnu.org/pipermail/gcc-help/2021-June/140487.html and hints to towards an issue in libstdc++.

no longer affects: gcc
Revision history for this message
Christoph Junghans (junghans) wrote :

The problem is actually introduced by the libecpint-dev package pulled from Debian.

no longer affects: clang (Ubuntu)
no longer affects: gcc-9 (Ubuntu)
Revision history for this message
Christoph Junghans (junghans) wrote :

Is resolved.

Changed in votca:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.