http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55221
--- Comment #3 from Anton Shterenlikht <mexas at bristol dot ac.uk> 2012-11-09 10:47:22 UTC --- forgot to add, all these builds are with a patch to unwind-ia64.h. For example, for 4.8 branch, the patch is (credit to ger...@freebsd.org): Index: libgcc/config/ia64/unwind-ia64.h =================================================================== --- libgcc/config/ia64/unwind-ia64.h +++ libgcc/config/ia64/unwind-ia64.h (working copy) @@ -49,4 +49,7 @@ extern struct unw_table_entry * _Unwind_FindTableEntry (void *pc, unw_word *segment_base, unw_word *gp, struct unw_table_entry *ent) - __attribute__ ((__visibility__ ("hidden"))); +#ifndef __FreeBSD__ + __attribute__ ((__visibility__ ("hidden"))) +#endif + ;