This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/40959] build fails - No rule to make target `/usr/ports/lang/gcc43/work/build/ia64-portbld-freebsd8.0/libgcc/crtfastmath.o', needed by `T_TARGET'. Stop.
- From: "gerald at pfeifer dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Sep 2010 23:19:36 -0000
- Subject: [Bug target/40959] build fails - No rule to make target `/usr/ports/lang/gcc43/work/build/ia64-portbld-freebsd8.0/libgcc/crtfastmath.o', needed by `T_TARGET'. Stop.
- References: <bug-40959-17791@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #17 from gerald at pfeifer dot com 2010-09-07 23:19 -------
(In reply to comment #9)
> unwind-ia64_s.o(.text+0x30b2): In function `uw_frame_state_for':
> ../.././../gcc-4.5-20091112/libgcc/../gcc/config/ia64/unwind-ia64.c:1788:
> undefined reference to `_Unwind_FindTableEntry'
> unwind-ia64_s.o(.text+0x7632): In function `_Unwind_FindEnclosingFunction':
> ../.././../gcc-4.5-20091112/libgcc/../gcc/config/ia64/unwind-ia64.c:1745:
> undefined reference to `_Unwind_FindTableEntry'
> /usr/bin/ld: ./libgcc_s.so.1.tmp: hidden symbol `_Unwind_FindTableEntry' isn't
> defined
> collect2: ld returned 1 exit status
> gmake[3]: *** [libgcc_s.so] Error 1
> gmake[3]: Leaving directory
> `/usr/ports/lang/gcc45/work/build/ia64-portbld-freebsd9.0/libgcc'
> gmake[2]: *** [all-stage1-target-libgcc] Error 2
After making the change to libgcc/config.host that is also described in
comment #5 I get the same.
libc indeed does feature _Unwind_FindTableEntry() as I can easily verify
with the following program:
void _Unwind_FindTableEntry();
int main() { _Unwind_FindTableEntry(); }
Just, why do we then get this link failure? Adding -v I see that
/lib/libc.so.7 is explicitly part of the collect2 invocation.
--
gerald at pfeifer dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2010-09-07 23:19:36
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40959