public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug sanitizer/108106] New: [13 Regression] /usr/bin/ld: .libs/hwasan_setjmp_x86_64.o: relocation R_X86_64_PC32 against symbol `__interceptor_sigsetjmp' can not be used when making a shared object; recompile with -fPIC
@ 2022-12-14 16:59 tschwinge at gcc dot gnu.org
  2022-12-15  8:22 ` [Bug sanitizer/108106] " rguenth at gcc dot gnu.org
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: tschwinge at gcc dot gnu.org @ 2022-12-14 16:59 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 108106
           Summary: [13 Regression] /usr/bin/ld:
                    .libs/hwasan_setjmp_x86_64.o: relocation R_X86_64_PC32
                    against symbol `__interceptor_sigsetjmp' can not be
                    used when making a shared object; recompile with -fPIC
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Keywords: build
          Severity: normal
          Priority: P3
         Component: sanitizer
          Assignee: unassigned at gcc dot gnu.org
          Reporter: tschwinge at gcc dot gnu.org
                CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org,
                    jakub at gcc dot gnu.org, kcc at gcc dot gnu.org,
                    liuhongt at gcc dot gnu.org, marxin at gcc dot gnu.org
  Target Milestone: ---
              Host: x86_64-pc-linux-gnu
            Target: x86_64-pc-linux-gnu
             Build: x86_64-pc-linux-gnu

Doing a standard native x86_64-pc-linux-gnu bootstrap using an oldish Ubuntu
14.04.6 '/usr/bin/ld' ("GNU ld (GNU Binutils for Ubuntu) 2.24"), I'm getting a
build failure as of recent commit
r13-4576-g2996b5c053d38d4543c9491258b051d6c032a011 "Enable hwasan for x86-64":

    /usr/bin/ld: .libs/hwasan_setjmp_x86_64.o: relocation R_X86_64_PC32 against
symbol `__interceptor_sigsetjmp' can not be used when making a shared object;
recompile with -fPIC
    /usr/bin/ld: final link failed: Bad value
    collect2: error: ld returned 1 exit status
    make[4]: *** [libhwasan.la] Error 1
    make[4]: Leaving directory
`[...]/build-gcc/x86_64-pc-linux-gnu/libsanitizer/hwasan'
    make[3]: *** [all-recursive] Error 1
    make[3]: Leaving directory
`[...]/build-gcc/x86_64-pc-linux-gnu/libsanitizer'
    make[2]: *** [all] Error 2
    make[2]: Leaving directory
`[...]/build-gcc/x86_64-pc-linux-gnu/libsanitizer'
    make[1]: *** [all-target-libsanitizer] Error 2

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

end of thread, other threads:[~2023-02-01  8:29 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-14 16:59 [Bug sanitizer/108106] New: [13 Regression] /usr/bin/ld: .libs/hwasan_setjmp_x86_64.o: relocation R_X86_64_PC32 against symbol `__interceptor_sigsetjmp' can not be used when making a shared object; recompile with -fPIC tschwinge at gcc dot gnu.org
2022-12-15  8:22 ` [Bug sanitizer/108106] " rguenth at gcc dot gnu.org
2022-12-15 16:44 ` hjl.tools at gmail dot com
2022-12-15 18:02 ` hjl.tools at gmail dot com
2022-12-15 22:20 ` tschwinge at gcc dot gnu.org
2022-12-15 23:14 ` hjl.tools at gmail dot com
2022-12-16  9:18 ` jakub at gcc dot gnu.org
2022-12-16 13:42 ` tschwinge at gcc dot gnu.org
2022-12-16 16:44 ` hjl.tools at gmail dot com
2022-12-16 16:47 ` hjl.tools at gmail dot com
2022-12-16 18:24 ` tschwinge at gcc dot gnu.org
2022-12-21 12:42 ` rguenth at gcc dot gnu.org
2022-12-21 18:01 ` hjl.tools at gmail dot com
2023-01-31 22:57 ` cvs-commit at gcc dot gnu.org
2023-02-01  8:29 ` tschwinge at gcc dot gnu.org

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