public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
From: "thomas.petazzoni at bootlin dot com" <sourceware-bugzilla@sourceware.org> To: gdb-prs@sourceware.org Subject: [Bug compile/29484] New: gdb 12.1 fails to build on xtensa: undefined reference to `xtensa_tdep' Date: Sat, 13 Aug 2022 20:13:53 +0000 [thread overview] Message-ID: <bug-29484-4717@http.sourceware.org/bugzilla/> (raw) https://sourceware.org/bugzilla/show_bug.cgi?id=29484 Bug ID: 29484 Summary: gdb 12.1 fails to build on xtensa: undefined reference to `xtensa_tdep' Product: gdb Version: 12.1 Status: UNCONFIRMED Severity: normal Priority: P2 Component: compile Assignee: unassigned at sourceware dot org Reporter: thomas.petazzoni at bootlin dot com Target Milestone: --- Building gdb 12.1 for Xtensa fails with: xtensa-tdep.o: In function `xtensa_gdbarch_init(gdbarch_info, gdbarch_list*)': xtensa-tdep.c:(.text+0x1cd2): undefined reference to `xtensa_tdep' xtensa-tdep.c:(.text+0x1ce9): undefined reference to `xtensa_tdep' xtensa-tdep.c:(.text+0x1cf2): undefined reference to `xtensa_tdep' xtensa-tdep.c:(.text+0x1cfc): undefined reference to `xtensa_tdep' xtensa-tdep.c:(.text+0x1d12): undefined reference to `xtensa_tdep' xtensa-tdep.o:xtensa-tdep.c:(.text+0x1d19): more undefined references to `xtensa_tdep' follow collect2: error: ld returned 1 exit status Makefile:1903: recipe for target 'gdb' failed gdb was configured as follows: (cd /builds/buildroot.org/toolchains-builder/build/output/build/host-gdb-12.1/build && rm -rf config.cache; PATH="/builds/buildroot.org/toolchains-builder/build/xtensa-lx60--uclibc--bleeding-edge-2022.08-1/bin:/builds/buildroot.org/toolchains-builder/build/xtensa-lx60--uclibc--bleeding-edge-2022.08-1/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" PKG_CONFIG="/builds/buildroot.org/toolchains-builder/build/xtensa-lx60--uclibc--bleeding-edge-2022.08-1/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/builds/buildroot.org/toolchains-builder/build/xtensa-lx60--uclibc--bleeding-edge-2022.08-1/lib/pkgconfig:/builds/buildroot.org/toolchains-builder/build/xtensa-lx60--uclibc--bleeding-edge-2022.08-1/share/pkgconfig" AR="/usr/bin/ar" AS="/usr/bin/as" LD="/usr/bin/ld" NM="/usr/bin/nm" CC="/usr/bin/gcc" GCC="/usr/bin/gcc" CXX="/usr/bin/g++" CPP="/usr/bin/cpp" OBJCOPY="/usr/bin/objcopy" RANLIB="/usr/bin/ranlib" CPPFLAGS="-I/builds/buildroot.org/toolchains-builder/build/xtensa-lx60--uclibc--bleeding-edge-2022.08-1/include" CFLAGS="-O2 -I/builds/buildroot.org/toolchains-builder/build/xtensa-lx60--uclibc--bleeding-edge-2022.08-1/include" CXXFLAGS="-O2 -I/builds/buildroot.org/toolchains-builder/build/xtensa-lx60--uclibc--bleeding-edge-2022.08-1/include" LDFLAGS="-L/builds/buildroot.org/toolchains-builder/build/xtensa-lx60--uclibc--bleeding-edge-2022.08-1/lib -Wl,-rpath,/builds/buildroot.org/toolchains-builder/build/xtensa-lx60--uclibc--bleeding-edge-2022.08-1/lib" INTLTOOL_PERL=/usr/bin/perl CFLAGS="-O2 -I/builds/buildroot.org/toolchains-builder/build/xtensa-lx60--uclibc--bleeding-edge-2022.08-1/include" LDFLAGS="-L/builds/buildroot.org/toolchains-builder/build/xtensa-lx60--uclibc--bleeding-edge-2022.08-1/lib -Wl,-rpath,/builds/buildroot.org/toolchains-builder/build/xtensa-lx60--uclibc--bleeding-edge-2022.08-1/lib" CONFIG_SITE=/dev/null ./configure --prefix="/builds/buildroot.org/toolchains-builder/build/xtensa-lx60--uclibc--bleeding-edge-2022.08-1" --sysconfdir="/builds/buildroot.org/toolchains-builder/build/xtensa-lx60--uclibc--bleeding-edge-2022.08-1/etc" --localstatedir="/builds/buildroot.org/toolchains-builder/build/xtensa-lx60--uclibc--bleeding-edge-2022.08-1/var" --enable-shared --disable-static --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --disable-debug --with-xmlto=no --with-fop=no --disable-nls --disable-dependency-tracking --target=xtensa-buildroot-linux-uclibc --enable-static --without-uiout --disable-gdbtk --without-x --enable-threads --disable-werror --without-included-gettext --with-curses --without-mpfr --disable-binutils --disable-install-libbfd --disable-ld --disable-gas --disable-gprof --enable-tui --with-python=/builds/buildroot.org/toolchains-builder/build/xtensa-lx60--uclibc--bleeding-edge-2022.08-1/bin/python3 --disable-sim ) Full build log available at https://gitlab.com/buildroot.org/toolchains-builder/-/jobs/2875280883/artifacts/file/build/xtensa-lx60--uclibc--bleeding-edge-2022.08-1-build.log -- You are receiving this mail because: You are on the CC list for the bug.
next reply other threads:[~2022-08-13 20:13 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-08-13 20:13 thomas.petazzoni at bootlin dot com [this message] 2022-08-13 20:15 ` [Bug compile/29484] " thomas.petazzoni at bootlin dot com 2022-08-14 1:55 ` simark at simark dot ca 2022-08-14 7:50 ` thomas.petazzoni at bootlin dot com
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-29484-4717@http.sourceware.org/bugzilla/ \ --to=sourceware-bugzilla@sourceware.org \ --cc=gdb-prs@sourceware.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: linkBe 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).