public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/113635] New: [14 Regression] libatomic has undefined reference to libat_test_and_set_1_i2 in libatomic on arm-linux-gnueabi
@ 2024-01-28 11:19 doko at gcc dot gnu.org
  2024-01-28 11:32 ` [Bug target/113635] " doko at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: doko at gcc dot gnu.org @ 2024-01-28 11:19 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113635

            Bug ID: 113635
           Summary: [14 Regression] libatomic has undefined reference to
                    libat_test_and_set_1_i2 in libatomic on
                    arm-linux-gnueabi
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: doko at gcc dot gnu.org
  Target Milestone: ---

seen with trunk 20240127 (and earlier snapshots) on arm-linux-gnueabi,
configured with 

         --with-arch=armv5te
         --with-float=soft

This error is from a gcc-13 build, with the libatomic installed from a gcc-14
build, but also seen when enabling Ada or go in a trunk build:

/usr/bin/ld: /lib/arm-linux-gnueabi/libatomic.so.1: undefined reference to
`libat_test_and_set_1_i2'
collect2: error: ld returned 1 exit status
arm-linux-gnueabi-gnatlink-12: error when calling
/usr/bin/arm-linux-gnueabi-gcc-12
gnatmake: *** link failed.

The same thing also lets the build fail later in libgo.

$ objdump -T /usr/lib/arm-linux-gnueabi/libatomic.so.1|grep libat_
00000000      D  *UND*  00000000  Base        libat_test_and_set_1_i2

the libatomic from a GCC 13 build doesn't show this undefined symbol.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug target/113635] [14 Regression] libatomic has undefined reference to libat_test_and_set_1_i2 in libatomic on arm-linux-gnueabi
  2024-01-28 11:19 [Bug target/113635] New: [14 Regression] libatomic has undefined reference to libat_test_and_set_1_i2 in libatomic on arm-linux-gnueabi doko at gcc dot gnu.org
@ 2024-01-28 11:32 ` doko at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: doko at gcc dot gnu.org @ 2024-01-28 11:32 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113635

Matthias Klose <doko at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |DUPLICATE
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #1 from Matthias Klose <doko at gcc dot gnu.org> ---
see PR113336

*** This bug has been marked as a duplicate of bug 113336 ***

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-01-28 11:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-28 11:19 [Bug target/113635] New: [14 Regression] libatomic has undefined reference to libat_test_and_set_1_i2 in libatomic on arm-linux-gnueabi doko at gcc dot gnu.org
2024-01-28 11:32 ` [Bug target/113635] " doko at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).