Ticket #11057: disable-tls-haiku.patch

File disable-tls-haiku.patch, 971 bytes (added by arvindsraj, 10 years ago)
  • build/scripts/build_cross_tools_gcc4

    From aa8307a3a7054cad6336be9cfb339259d992cdcb Mon Sep 17 00:00:00 2001
    From: Arvind S Raj <sraj.arvind@gmail.com>
    Date: Mon, 21 Jul 2014 18:58:28 +0530
    Subject: [PATCH] Disable building gcc with TLS support since ARM build fails
     due to undefined references
    
    ---
     build/scripts/build_cross_tools_gcc4 | 4 ++++
     1 file changed, 4 insertions(+)
    
    diff --git a/build/scripts/build_cross_tools_gcc4 b/build/scripts/build_cross_tools_gcc4
    index 1623595..15f1920 100755
    a b arm-*)  
    4242        --with-cpu=cortex-a8 --with-arch=armv7-a --with-fpu=vfpv3"
    4343    gccConfigureArgs="--disable-multilib --with-float=hard
    4444        --with-cpu=cortex-a8 --with-arch=armv7-a --with-fpu=vfpv3"
     45
     46    # TODO: Disable building with TLS support for ARM until implemented.
     47    binutilsConfigureArgs+="--disable-tls"
     48    gccConfigureArgs+="--disable-tls"
    4549    ;;
    4650*)
    4751    binutilsConfigureArgs="--disable-multilib"