public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "doko at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/112777] New: [14 Regression] profiled bootstrap fails on powerpc-linux-gnu, undefined references to __atomic_fetch_add_8
Date: Thu, 30 Nov 2023 10:52:25 +0000	[thread overview]
Message-ID: <bug-112777-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 112777
           Summary: [14 Regression] profiled bootstrap fails on
                    powerpc-linux-gnu, undefined references to
                    __atomic_fetch_add_8
           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: ---

trunk 20231130 fails to build on powerpc-linux-gnu in stageprofile. Not seen on
powerpc64-linux-gnu and powerpc64el-linux-gnu

make profiledbootstrap-lean

[...]

configure:3088: checking whether the C compiler works
configure:3110:  /home/doko/gcc-snapshot-20231130/build/./prev-gcc/xgcc
-B/home/doko/gcc-snapshot-20231130/build/./prev-gcc/
-B/usr/lib/gcc-snapshot/powerpc-linux-gnu/bin/
-B/usr/lib/gcc-snapshot/powerpc-linux-gnu/bin/
-B/usr/lib/gcc-snapshot/powerpc-linux-gnu/lib/ -isystem
/usr/lib/gcc-snapshot/powerpc-linux-gnu/include -isystem
/usr/lib/gcc-snapshot/powerpc-linux-gnu/sys-include   -fno-checking -g -O2
-fno-checking -gtoggle -fprofile-generate  -static-libstdc++ -static-libgcc
-Wl,-z,relro conftest.c  >&5
/usr/bin/powerpc-linux-gnu-ld:
/home/doko/gcc-snapshot-20231130/build/./prev-gcc/libgcov.a(_gcov_indirect_call_profiler_v4.o):
in function `gcov_counter_add':
/home/doko/gcc-snapshot-20231130/build/powerpc-linux-gnu/libgcc/../../../src/libgcc/libgcov.h:423:(.text+0x4bc):
undefined reference to `__atomic_fetch_add_8'
/usr/bin/powerpc-linux-gnu-ld:
/home/doko/gcc-snapshot-20231130/build/powerpc-linux-gnu/libgcc/../../../src/libgcc/libgcov.h:423:(.text+0x740):
undefined reference to `__atomic_fetch_add_8'
/usr/bin/powerpc-linux-gnu-ld:
/home/doko/gcc-snapshot-20231130/build/powerpc-linux-gnu/libgcc/../../../src/libgcc/libgcov.h:423:(.text+0x798):
undefined reference to `__atomic_fetch_add_8'
collect2: error: ld returned 1 exit status
configure:3114: $? = 1

             reply	other threads:[~2023-11-30 10:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-30 10:52 doko at gcc dot gnu.org [this message]
2023-11-30 12:24 ` [Bug target/112777] " rguenth at gcc dot gnu.org
2023-11-30 12:37 ` doko at gcc dot gnu.org
2023-11-30 13:44 ` sebastian.huber@embedded-brains.de
2023-12-01  8:55 ` cvs-commit at gcc dot gnu.org
2023-12-01 11:59 ` jakub at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-112777-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).