From: Matthias Klose <[EMAIL PROTECTED]>
Date: Sun, 18 May 2008 13:33:23 +0200

> Building GCC-4.3 with this patch (compared to the patch previously
> used by debian [1]), I get differing symbol versions for the Debian build
> on sparc in libgcc1. Both builds are configured --with-long-double-128.
> 
> The 32bit version has symbols where the symbol version did change from
> GCC_LDBL_4.0.0 to GCC_4.0.0, the 64bit version some symbols version
> did change from GLIBC_2.2 to GLIBC_2.0.

Thanks again for your report, the following patch should fix it:

2008-05-19  David S. Miller  <[EMAIL PROTECTED]>

        * config.gcc (sparc-*-linux*): Always include sparc/t-linux in
        tmake_file.

diff --git a/gcc/config.gcc b/gcc/config.gcc
index 04b46c3..9ac898f 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -2356,13 +2356,14 @@ sparc-*-elf*)
 sparc-*-linux*)                # SPARC's running GNU/Linux, libc6
        tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h linux.h"
        extra_options="${extra_options} sparc/long-double-switch.opt"
+       tmake_file="${tmake_file} sparc/t-linux"
        if test x$enable_targets = xall; then
                tm_file="sparc/biarch64.h ${tm_file} sparc/linux64.h"
-               tmake_file="${tmake_file} sparc/t-linux64 sparc/t-crtfm"
+               tmake_file="${tmake_file} sparc/t-linux64"
        else
                tm_file="${tm_file} sparc/linux.h"
-               tmake_file="${tmake_file} sparc/t-linux sparc/t-crtfm"
        fi
+       tmake_file="${tmake_file} sparc/t-crtfm"
        ;;
 sparc-*-rtems*)
        tm_file="${tm_file} dbxelf.h elfos.h svr4.h sparc/sysv4.h 
sparc/sp-elf.h sparc/rtemself.h rtems.h"


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to