public inbox for glibc-bugs@sourceware.org help / color / mirror / Atom feed
From: "linzhuorong at huawei dot com" <sourceware-bugzilla@sourceware.org> To: glibc-bugs@sourceware.org Subject: [Bug build/29835] New: Error compiling glibc multilib with --enable-static-pie option turned on Date: Tue, 29 Nov 2022 12:00:32 +0000 [thread overview] Message-ID: <bug-29835-131@http.sourceware.org/bugzilla/> (raw) https://sourceware.org/bugzilla/show_bug.cgi?id=29835 Bug ID: 29835 Summary: Error compiling glibc multilib with --enable-static-pie option turned on Product: glibc Version: 2.37 Status: UNCONFIRMED Severity: normal Priority: P2 Component: build Assignee: unassigned at sourceware dot org Reporter: linzhuorong at huawei dot com CC: carlos at redhat dot com Target Milestone: --- The patch that caused the error: https://sourceware.org/git/?p=glibc.git;a=commit;h=bca0f5cbc9257c13322b99e55235c4f21ba0bd82 Error when compiling glibc with gcc-10.3.0 compiler with --enable-static-pie enabled Log: /home/XXXX/workspace/compiler/gcc/build/arm-linux-glibc/arm_linux_glibc_build_dir/arm-linux-glibc/lib/gcc/arm-linux-gnueabi/10.3.0/../../../../arm-linux-gnueabi/bin/ld: /home/XXXX/workspace/compiler/gcc/build/arm-linux-glibc/arm_linux_glibc_build_dir/obj/build-glibc/libc.a(dl-reloc-static-pie.o): in function elf_machine_rel': /home/XXXX/workspace/compiler/gcc/open_source/arm-linux-glibc-build_src/glibc-2.34/elf/../sysdeps/arm/dl-machine.h:440: undefined reference to _DYNAMIC' /home/XXXX/workspace/compiler/gcc/build/arm-linux-glibc/arm_linux_glibc_build_dir/arm-linux-glibc/lib/gcc/arm-linux-gnueabi/10.3.0/../../../../arm-linux-gnueabi/bin/ld: /home/XXXX/workspace/compiler/gcc/open_source/arm-linux-glibc-build_src/glibc-2.34/elf/../sysdeps/arm/dl-machine.h:440: undefined reference to _DYNAMIC' /home/XXXX/workspace/compiler/gcc/build/arm-linux-glibc/arm_linux_glibc_build_dir/arm-linux-glibc/lib/gcc/arm-linux-gnueabi/10.3.0/../../../../arm-linux-gnueabi/bin/ld: /home/XXXX/workspace/compiler/gcc/build/arm-linux-glibc/arm_linux_glibc_build_dir/obj/build-glibc/elf/sln: hidden symbol _DYNAMIC' isn't defined /home/XXXX/workspace/compiler/gcc/build/arm-linux-glibc/arm_linux_glibc_build_dir/arm-linux-glibc/lib/gcc/arm-linux-gnueabi/10.3.0/../../../../arm-linux-gnueabi/bin/ld: final link failed: bad value collect2: error: ld returned 1 exit status make[2]: *** [/home/XXXX/workspace/compiler/gcc/build/arm-linux-glibc/arm_linux_glibc_build_dir/obj/build-glibc/elf/sln] Error 1 ../Rules:293: recipe for target '/home/XXXX/workspace/compiler/gcc/build/arm-linux-glibc/arm_linux_glibc_build_dir/obj/build-glibc/elf/sln' failed make[2]: Leaving directory '/home/XXXX/workspace/compiler/gcc/open_source/arm-linux-glibc-build_src/glibc-2.34/elf' make[1]: *** [elf/subdir_install] Error 2 Makefile:478: recipe for target 'elf/subdir_install' failed make[1]: Leaving directory '/home/XXXX/workspace/compiler/gcc/open_source/arm-linux-glibc-build_src/glibc-2.34' Makefile:12: recipe for target 'install' failed make: *** [install] Error 2 ~/workspace/compiler/gcc/build/arm-linux-glibc ~/workspace/compiler/gcc/open_source/arm-linux-glibc-build_src/platform ~/workspace/compiler/gcc/build/arm-linux-glibc cd ./secure_c/src && make make[1]: Entering directory '/home/XXXX/workspace/compiler/gcc/open_source/arm-linux-glibc-build_src/platform/secure_c/src' -- You are receiving this mail because: You are on the CC list for the bug.
next reply other threads:[~2022-11-29 12:00 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-11-29 12:00 linzhuorong at huawei dot com [this message] 2022-11-29 12:23 ` [Bug dynamic-link/29835] " linzhuorong at huawei dot com 2022-11-29 12:24 ` linzhuorong at huawei dot com 2022-11-29 12:54 ` schwab@linux-m68k.org 2022-12-02 9:52 ` schwab@linux-m68k.org 2022-12-02 22:02 ` i at maskray dot me 2022-12-05 1:50 ` linzhuorong at huawei dot com 2022-12-06 10:56 ` schwab@linux-m68k.org 2022-12-06 12:14 ` linzhuorong at huawei dot com 2022-12-06 12:38 ` schwab@linux-m68k.org 2022-12-07 12:50 ` linzhuorong at huawei dot com 2022-12-18 0:33 ` i at maskray dot me
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-29835-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: 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).