This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/45053] libgcc_s link command misses crtsavgpr_s and crtresgpr_s for powerpc
- From: "mikpe at it dot uu dot se" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Jul 2010 13:22:37 -0000
- Subject: [Bug bootstrap/45053] libgcc_s link command misses crtsavgpr_s and crtresgpr_s for powerpc
- References: <bug-45053-3249@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from mikpe at it dot uu dot se 2010-07-24 13:22 -------
The build on some targets including powerpc is supposed to create libgcc_s.so
as a linker script that inputs BOTH the real shared libgcc_s.so and the static
libgcc.a, as some symbols are only defined in the static libgcc. Please make
sure that you're preserving this linker script when installing gcc.
If you want to backport PR41175 to 4.4 then you also need to backport
config.gcc changes related to the powerpc linker script from r151568.
(ARM has the same issue. No I'm not responsible for this misdesign.)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45053