This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/15906] unable to link with static libgcc.a if gcc runtime helper functions used (hidden symbol `__ashldi3')
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Jun 2004 23:27:53 -0000
- Subject: [Bug c/15906] unable to link with static libgcc.a if gcc runtime helper functions used (hidden symbol `__ashldi3')
- References: <20040609231113.15906.cruvolo@inviosoftware.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-06-09 23:27 -------
Not a bug, you have to link in libgcc for the shared library also if you want to use the static libgcc. You
should do it anyways as even if you are using the shared one because the initialization can and will be
done in the wrong order otherwise.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15906