Bug#1072071: gcc-13: Please add libatomic for 32-bit SPARC for Ada
John Paul Adrian Glaubitz <[email protected]>
| Newsgroups | gmane.linux.debian.ports.sparc |
|---|---|
| Message-ID | <171687461620.1625608.11806619625960482254.reportbug__19070.2240260848$1716874770$gmane$org@z6> |
Source: gcc-13 Version: 13.2.0-25 Severity: normal User: [email protected] Usertags: sparc X-Debbugs-Cc: [email protected] Hello, I just tried to build a cross-compiler for 32-bit SPARC (Debian arch sparc) with Ada enabled. The build failed with a linker failure which indicates that linking against libatomic is required: checking float.h presence... yes checking for float.h... yes checking fp.h usability... /usr/sparc-linux-gnu/bin/ld: libgnat-13.so: undefined reference to `__atomic_compare_exchange_8' collect2: error: ld returned 1 exit status Such a patch already exists for armel [1], so it should be easy to extend it for 32-bit SPARC. 64-bit SPARC (Debian arch sparc64) is not affected, linking against libatomic is therefore not required. Thanks, Adrian > [1] https://salsa.debian.org/toolchain-team/gcc/-/blob/gcc-13-debian/debian/patches/ada-armel-libatomic.diff -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913