public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "danglin at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug string/29452] New: /home/dave/gnu/glibc/glibc/debug/../string/bits/string_fortified.h:30: undefined  reference to `__builtin_dynamic_object_size'
Date: Sat, 06 Aug 2022 14:41:14 +0000	[thread overview]
Message-ID: <bug-29452-131@http.sourceware.org/bugzilla/> (raw)

https://sourceware.org/bugzilla/show_bug.cgi?id=29452

            Bug ID: 29452
           Summary: /home/dave/gnu/glibc/glibc/debug/../string/bits/string
                    _fortified.h:30: undefined  reference to
                    `__builtin_dynamic_object_size'
           Product: glibc
           Version: 2.38
            Status: NEW
          Severity: normal
          Priority: P2
         Component: string
          Assignee: unassigned at sourceware dot org
          Reporter: danglin at gcc dot gnu.org
  Target Milestone: ---
              Host: hppa*-*-linux*
            Target: hppa*-*-linux*
             Build: hppa*-*-linux*

gcc -o /home/dave/gnu/glibc/objdir/debug/tst-fortify-cc-default-1 -nostdlib
-nos
tartfiles     -Wl,-z,relro  /home/dave/gnu/glibc/objdir/csu/crt1.o
/home/dave/gn
u/glibc/objdir/csu/crti.o `gcc  --print-file-name=crtbegin.o`
/home/dave/gnu/gli
bc/objdir/debug/tst-fortify-cc-default-1.o
/home/dave/gnu/glibc/objdir/support/l
ibsupport_nonshared.a -lstdc++ -Wl,-dynamic-linker=/lib/ld.so.1
-Wl,-rpath-link=
/home/dave/gnu/glibc/objdir:/home/dave/gnu/glibc/objdir/math:/home/dave/gnu/glib
c/objdir/elf:/home/dave/gnu/glibc/objdir/dlfcn:/home/dave/gnu/glibc/objdir/nss:/
home/dave/gnu/glibc/objdir/nis:/home/dave/gnu/glibc/objdir/rt:/home/dave/gnu/gli
bc/objdir/resolv:/home/dave/gnu/glibc/objdir/mathvec:/home/dave/gnu/glibc/objdir
/support:/home/dave/gnu/glibc/objdir/crypt:/home/dave/gnu/glibc/objdir/nptl
-lgc
c -Wl,--as-needed -lgcc_s  -Wl,--no-as-needed
/home/dave/gnu/glibc/objdir/libc.s
o.6 /home/dave/gnu/glibc/objdir/libc_nonshared.a -Wl,--as-needed
/home/dave/gnu/
glibc/objdir/elf/ld.so -Wl,--no-as-needed -lgcc -Wl,--as-needed -lgcc_s 
-Wl,--n
o-as-needed `gcc  --print-file-name=crtend.o`
/home/dave/gnu/glibc/objdir/csu/cr
tn.o
/home/dave/opt/gnu/bin/ld:
/home/dave/gnu/glibc/objdir/debug/tst-fortify-c-nongn
u-3.o: in function `memcpy':
/home/dave/gnu/glibc/glibc/debug/../string/bits/string_fortified.h:30:
undefined
 reference to `__builtin_dynamic_object_size'
/home/dave/opt/gnu/bin/ld:
/home/dave/gnu/glibc/objdir/debug/tst-fortify-c-nongn
u-3.o: in function `memmove':
/home/dave/gnu/glibc/glibc/debug/../string/bits/string_fortified.h:37:
undefined
 reference to `__builtin_dynamic_object_size'
/home/dave/opt/gnu/bin/ld:
/home/dave/gnu/glibc/objdir/debug/tst-fortify-c-nongn
u-3.o: in function `memcpy':
/home/dave/gnu/glibc/glibc/debug/../string/bits/string_fortified.h:30:
undefined
 reference to `__builtin_dynamic_object_size'
/home/dave/opt/gnu/bin/ld:
/home/dave/gnu/glibc/objdir/debug/tst-fortify-c-nongnu-3.o: in function
`bcopy':
/home/dave/gnu/glibc/glibc/debug/../string/bits/strings_fortified.h:26:
undefined reference to `__builtin_dynamic_object_size'
/home/dave/opt/gnu/bin/ld:
/home/dave/gnu/glibc/objdir/debug/tst-fortify-c-nongnu-3.o: in function
`memcpy':
/home/dave/gnu/glibc/glibc/debug/../string/bits/string_fortified.h:30:
undefined reference to `__builtin_dynamic_object_size'
/home/dave/opt/gnu/bin/ld:
/home/dave/gnu/glibc/objdir/debug/tst-fortify-c-nongnu-3.o:/home/dave/gnu/glibc/glibc/debug/../string/bits/string_fortified.h:60:
more undefined references to `__builtin_dynamic_object_size' follow
collect2: error: ld returned 1 exit status
make[2]: *** [../Rules:238:
/home/dave/gnu/glibc/objdir/debug/tst-fortify-c-nongnu-3] Error 1

dave@atlas:~/gnu/glibc/objdir$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/home/dave/opt/gnu/gcc/gcc-12a/libexec/gcc/hppa-linux-gnu/12.0.0/lto-wrapper
Target: hppa-linux-gnu
Configured with: ../gcc/configure --with-gnu-as --with-gnu-ld --enable-shared
--enable-multiarch --enable-linker-build-id --build=hppa-linux-gnu
--host=hppa-linux-gnu --target=hppa-linux-gnu
--prefix=/home/dave/opt/gnu/gcc/gcc-12a --with-local-prefix=/home/dave/opt/gnu
--enable-threads=posix --enable-__cxa_atexit --build=hppa-linux-gnu
--enable-clocale=gnu --enable-checking=release --enable-languages=c,c++
--without-ppl --enable-libssp --disable-werror
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 12.0.0 20211008 (experimental) [master r13-1220-g7c1c7e120cc] (GCC)

Breaks testsuite.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

             reply	other threads:[~2022-08-06 14:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-06 14:41 danglin at gcc dot gnu.org [this message]
2022-08-07  8:43 ` [Bug string/29452] " fweimer at redhat dot com
2022-08-07 15:07 ` dave.anglin at bell dot net
2022-08-08 16:11 ` dave.anglin at bell dot net
2022-08-08 16:19 ` siddhesh at sourceware dot org
2023-07-07 15:03 ` fernando.hueso at uv dot es
2023-07-07 15:08 ` siddhesh at sourceware dot org
2023-07-07 15:41 ` fernando.hueso at uv dot es

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-29452-131@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=glibc-bugs@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: 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).