On Fri, 2011-07-22 at 17:12 +0200, Rainer Orth wrote:
> I think you'll need the following:
>
> ia64*-*-linux*)
> extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtfastmath.o"
> # FIXME: Move to *-*-linux* once the SHLIB_* move is complete.
> tmake_file="t-slibgcc t-slibgcc-gld t-slibgcc-elf-ver t-linux"
> tmake_file="$tmake_file ia64/t-ia64 t-softfp ia64/t-fprules-softfp
> ia64/t-softfp-compat ia64/t-glibc ia64/t-eh-ia64 t-libunwind"
> if test x$with_system_libunwind != xyes ; then
> tmake_file="${tmake_file} t-libunwind-elf
> ia64/t-glibc-libunwind"
> fi
> md_unwind_header=ia64/linux-unwind.h
> ;;
>
> and a new libgcc/config/t-linux:
>
> # Override t-slibgcc-elf-ver to export some libgcc symbols with
> # the symbol versions that glibc used.
> SHLIB_MAPFILES += $(srcdir)/config/libgcc-glibc.ver
>
> The t-slibgcc* fragments have been introduced to avoid the massive
> duplication previously found there, but are equivalent to the current
> gcc/config/t-slibgcc-elf-ver.
>
> Perhaps you could give this a try?
>
> Thanks.
> Rainer
This died with:
make[3]: *** No rule to make target
`/wsp/sje/gcc_git/src/gcc/libgcc/config/libgcc-glibc.ver', needed by
`libgcc.map'. Stop.
make[3]: Leaving directory
`/wsp/sje/gcc_git/build-ia64-debian-linux-gnu-gcc/obj_gcc/ia64-debian-linux-gnu/libgcc'
make[2]: *** [all-stage1-target-libgcc] Error 2
make[2]: Leaving directory
`/wsp/sje/gcc_git/build-ia64-debian-linux-gnu-gcc/obj_gcc'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory
`/wsp/sje/gcc_git/build-ia64-debian-linux-gnu-gcc/obj_gcc'
make: *** [bootstrap] Error 2
I think I need to copy gcc/config/ia64/libgcc-glibc.ver over to
libgcc/config/ia64/libgcc-glibc.ver
and modify SHLIB_MAPFILES to $(srcdir)/config/ia64/libgcc-glibc.ver. So
t-linux might need to be
t-ia64-linux or something like that since it would be IA64 specific now. Or is
there a better way
to fix this? I will try my fix (leaving the t-linux name alone for now).
Steve Ellcey
[email protected]