public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/108339] New: riscv64-linux-gnu: fails to link libgcc_s.so on the GCC 10 branch
@ 2023-01-09  9:33 doko at gcc dot gnu.org
  2023-01-09 10:08 ` [Bug target/108339] " marxin at gcc dot gnu.org
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: doko at gcc dot gnu.org @ 2023-01-09  9:33 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 108339
           Summary: riscv64-linux-gnu: fails to link libgcc_s.so on the
                    GCC 10 branch
           Product: gcc
           Version: 10.4.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: doko at gcc dot gnu.org
  Target Milestone: ---

the gcc-10 branch fails to build on riscv64-linux-gnu with the binutils-2.40
branch, trying to build a cross compiler, building libgcc_s.so:

/usr/riscv64-linux-gnu/bin/ld: relocation R_RISCV_JAL against `__udivdi3' which
may bind externally
 can not be used when making a shared object; recompile with -fPIC
collect2: error: ld returned 1 exit status
make[5]: *** [Makefile:994: libgcc_s.so] Error 1
make[5]: Leaving directory
'/<<PKGBUILDDIR>>/gcc/build/riscv64-linux-gnu/libgcc'

all newer branches and the trunk successfully build with this binutils
versions, so assuming that some backport is needed for the gcc-10 branch to
work with recent binutils?

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

end of thread, other threads:[~2023-02-20 11:05 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-09  9:33 [Bug target/108339] New: riscv64-linux-gnu: fails to link libgcc_s.so on the GCC 10 branch doko at gcc dot gnu.org
2023-01-09 10:08 ` [Bug target/108339] " marxin at gcc dot gnu.org
2023-01-09 16:49 ` [Bug target/108339] [10 only] " pinskia at gcc dot gnu.org
2023-01-09 16:51 ` pinskia at gcc dot gnu.org
2023-01-09 16:52 ` [Bug target/108339] [11/10 " pinskia at gcc dot gnu.org
2023-01-10  4:56 ` doko at gcc dot gnu.org
2023-02-20 11:03 ` cvs-commit at gcc dot gnu.org
2023-02-20 11:05 ` kito 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).