source: patches/gcc-4.2.4-powerpc64_multilib-1.patch@ 8e66c60c

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 8e66c60c was 36d2525, checked in by Ken Moffat <zarniwhoop@…>, 17 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
RevLine 
[36d2525]1Submitted By: Ken Moffat (ken at linuxfromscratch dot org)
2Origin: fedora
3 Rediffed against 4.1.0 by Chris Staub
4 Rediffed against 4.2.0 by Joe Ciccone
5 Rediffed agaisnt 4.2.4 by Ken Moffat
6Date: 2005-11-22
7Initial package version: 4.0.2
8Description: In a native ppc64 build, this fixes a linkage failure while
9installing a 32-bit nof/ (no -hardware- floating point) library, and also gets
10rid of 1500 failures in the g++ testsuite. From fedora gcc-4.0.1, rediffed to
11apply with -p1.
12
13diff -Naur gcc-4.2.4.orig/gcc/config/rs6000/t-linux64 gcc-4.2.4/gcc/config/rs6000/t-linux64
14--- gcc-4.2.4.orig/gcc/config/rs6000/t-linux64 2008-03-05 17:25:28.000000000 +0000
15+++ gcc-4.2.4/gcc/config/rs6000/t-linux64 2008-06-12 20:45:36.000000000 +0100
16@@ -14,13 +14,13 @@
17 # it doesn't tell anything about the 32bit libraries on those systems. Set
18 # MULTILIB_OSDIRNAMES according to what is found on the target.
19
20-MULTILIB_OPTIONS = m64/m32 msoft-float
21-MULTILIB_DIRNAMES = 64 32 nof
22+MULTILIB_OPTIONS = m64/m32
23+MULTILIB_DIRNAMES = 64 32
24 MULTILIB_EXTRA_OPTS = fPIC mstrict-align
25-MULTILIB_EXCEPTIONS = m64/msoft-float
26-MULTILIB_EXCLUSIONS = m64/!m32/msoft-float
27-MULTILIB_OSDIRNAMES = ../lib64 $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../usr/lib32),../lib32,../lib) nof
28-MULTILIB_MATCHES = $(MULTILIB_MATCHES_FLOAT)
29+MULTILIB_EXCEPTIONS =
30+MULTILIB_EXCLUSIONS =
31+MULTILIB_OSDIRNAMES = ../lib64 $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../usr/lib32),../lib32,../lib)
32+MULTILIB_MATCHES =
33
34 softfp_wrap_start := '\#ifndef __powerpc64__'
35 softfp_wrap_end := '\#endif'
Note: See TracBrowser for help on using the repository browser.