Bug#1005696: cgal: -latomic not added on mipsel

2022-02-18 Thread Sebastiaan Couwenberg

On 2/18/22 17:55, Joachim Reichel wrote:

On 2/14/22 09:54, Sebastiaan Couwenberg wrote:
Just adding -latomic to LDFLAGS was not sufficient, to workaround this 
issue -Wl,--no-as-needed also needed to be added to CXXFLAGS.


Do you really mean CXXFLAGS? Or should that read LDFLAGS?


I really mean CXXFLAGS, adding the it to LDFLAGS caused configure to fail.

Kind Regards,

Bas

--
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1



Bug#1005696: cgal: -latomic not added on mipsel

2022-02-18 Thread Joachim Reichel

Hi,

On 2/14/22 09:54, Sebastiaan Couwenberg wrote:
Just adding -latomic to LDFLAGS was not sufficient, to workaround this issue 
-Wl,--no-as-needed also needed to be added to CXXFLAGS.


Do you really mean CXXFLAGS? Or should that read LDFLAGS?

Best regards,
  Joachim



Bug#1005696: cgal: -latomic not added on mipsel

2022-02-14 Thread Sebastiaan Couwenberg

On 2/13/22 14:59, Bas Couwenberg wrote:

sfcgal (1.4.1-2) FTBFS on mipsel due to an issue in cgal (5.4-1):

  /usr/include/CGAL/Lazy_exact_nt.h:602: undefined reference to 
`__atomic_load_8'
  /usr/bin/ld: 
CMakeFiles/unit-test-SFCGAL.dir/SFCGAL/algorithm/DifferenceTest.cpp.o:/usr/include/c++/11/atomic:285:
 more undefined references to `__atomic_load_8' follow

https://buildd.debian.org/status/fetch.php?pkg=sfcgal&arch=mipsel&ver=1.4.1-2&stamp=1644759463&raw=0

-latomic should be added to the CGAL CMake configuration resolve this.


Just adding -latomic to LDFLAGS was not sufficient, to workaround this 
issue -Wl,--no-as-needed also needed to be added to CXXFLAGS.


Kind Regards,

Bas

--
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1



Bug#1005696: cgal: -latomic not added on mipsel

2022-02-13 Thread Bas Couwenberg
Source: cgal
Version: 5.4-1
Severity: serious
Tags: ftbfs upstream
Justification: makes the package in question unusable or mostly so
Control: affects -1 src:sfcgal

Dear Maintainer,

sfcgal (1.4.1-2) FTBFS on mipsel due to an issue in cgal (5.4-1):

 /usr/include/CGAL/Lazy_exact_nt.h:602: undefined reference to `__atomic_load_8'
 /usr/bin/ld: 
CMakeFiles/unit-test-SFCGAL.dir/SFCGAL/algorithm/DifferenceTest.cpp.o:/usr/include/c++/11/atomic:285:
 more undefined references to `__atomic_load_8' follow

https://buildd.debian.org/status/fetch.php?pkg=sfcgal&arch=mipsel&ver=1.4.1-2&stamp=1644759463&raw=0

-latomic should be added to the CGAL CMake configuration resolve this.

Kind Regards,

Bas