source: patches/gcc-4.2.4-powerpc64_multilib-1.patch@ 36d2525

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 36d2525 was 36d2525, checked in by Ken Moffat <zarniwhoop@…>, 16 years ago

Add patches for people playing with 4.2.4 - pure64 tested on x86_64, powerpc64 not yet tested, the remaining patches against 4.2.2 can be used.

  • Property mode set to 100644
File size: 1.6 KB
  • gcc/config/rs6000/t-linux64

    Submitted By: Ken Moffat (ken at linuxfromscratch dot org)
    Origin: fedora
            Rediffed against 4.1.0 by Chris Staub
    	Rediffed against 4.2.0 by Joe Ciccone
    	Rediffed agaisnt 4.2.4 by Ken Moffat
    Date: 2005-11-22
    Initial package version: 4.0.2
    Description: In a native ppc64 build, this fixes a linkage failure while
    installing a 32-bit nof/ (no -hardware- floating point) library, and also gets
    rid of 1500 failures in the g++ testsuite.  From fedora gcc-4.0.1, rediffed to
    apply with -p1.
    
    diff -Naur gcc-4.2.4.orig/gcc/config/rs6000/t-linux64 gcc-4.2.4/gcc/config/rs6000/t-linux64
    old new  
    1414# it doesn't tell anything about the 32bit libraries on those systems.  Set
    1515# MULTILIB_OSDIRNAMES according to what is found on the target.
    1616
    17 MULTILIB_OPTIONS        = m64/m32 msoft-float
    18 MULTILIB_DIRNAMES       = 64 32 nof
     17MULTILIB_OPTIONS        = m64/m32
     18MULTILIB_DIRNAMES       = 64 32
    1919MULTILIB_EXTRA_OPTS     = fPIC mstrict-align
    20 MULTILIB_EXCEPTIONS     = m64/msoft-float
    21 MULTILIB_EXCLUSIONS     = m64/!m32/msoft-float
    22 MULTILIB_OSDIRNAMES     = ../lib64 $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../usr/lib32),../lib32,../lib) nof
    23 MULTILIB_MATCHES        = $(MULTILIB_MATCHES_FLOAT)
     20MULTILIB_EXCEPTIONS     =
     21MULTILIB_EXCLUSIONS     =
     22MULTILIB_OSDIRNAMES     = ../lib64 $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../usr/lib32),../lib32,../lib)
     23MULTILIB_MATCHES        =
    2424
    2525softfp_wrap_start := '\#ifndef __powerpc64__'
    2626softfp_wrap_end := '\#endif'
Note: See TracBrowser for help on using the repository browser.