public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug string/29452] New: /home/dave/gnu/glibc/glibc/debug/../string/bits/string_fortified.h:30: undefined  reference to `__builtin_dynamic_object_size'
@ 2022-08-06 14:41 danglin at gcc dot gnu.org
  2022-08-07  8:43 ` [Bug string/29452] " fweimer at redhat dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: danglin at gcc dot gnu.org @ 2022-08-06 14:41 UTC (permalink / raw)
  To: glibc-bugs

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.

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

end of thread, other threads:[~2023-07-07 15:41 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-06 14:41 [Bug string/29452] New: /home/dave/gnu/glibc/glibc/debug/../string/bits/string_fortified.h:30: undefined reference to `__builtin_dynamic_object_size' danglin at gcc dot gnu.org
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

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).