Revision: 7780
          http://sourceforge.net/p/ipcop/svn/7780
Author:   owes
Date:     2015-01-06 15:32:34 +0000 (Tue, 06 Jan 2015)
Log Message:
-----------
Add patch inspired by CLFS to change fixed library paths

Added Paths:
-----------
    ipcop/branches/toolchain/src/patches/gcc-4.9.2_build-env.patch

Added: ipcop/branches/toolchain/src/patches/gcc-4.9.2_build-env.patch
===================================================================
--- ipcop/branches/toolchain/src/patches/gcc-4.9.2_build-env.patch              
                (rev 0)
+++ ipcop/branches/toolchain/src/patches/gcc-4.9.2_build-env.patch      
2015-01-06 15:32:34 UTC (rev 7780)
@@ -0,0 +1,76 @@
+CLFS borrowed, modified to change only i386 arch
+
+diff -Naur gcc-4.8.3.orig/gcc/config/i386/gnu.h gcc-4.8.3/gcc/config/i386/gnu.h
+--- gcc-4.8.3.orig/gcc/config/i386/gnu.h       2013-01-10 20:38:27.000000000 
+0000
++++ gcc-4.8.3/gcc/config/i386/gnu.h    2014-06-01 05:02:45.013805272 +0000
+@@ -22,7 +22,7 @@
+ #define GNU_USER_LINK_EMULATION "elf_i386"
+ 
+ #undef GNU_USER_DYNAMIC_LINKER
+-#define GNU_USER_DYNAMIC_LINKER "/lib/ld.so"
++#define GNU_USER_DYNAMIC_LINKER "/tools_i486/lib/ld.so"
+ 
+ #undef        STARTFILE_SPEC
+ #if defined HAVE_LD_PIE
+diff -Naur gcc-4.8.3.orig/gcc/config/i386/kfreebsd-gnu.h 
gcc-4.8.3/gcc/config/i386/kfreebsd-gnu.h
+--- gcc-4.8.3.orig/gcc/config/i386/kfreebsd-gnu.h      2013-01-10 
20:38:27.000000000 +0000
++++ gcc-4.8.3/gcc/config/i386/kfreebsd-gnu.h   2014-06-01 05:02:45.013805272 
+0000
+@@ -19,4 +19,4 @@
+ <http://www.gnu.org/licenses/>.  */
+ 
+ #define GNU_USER_LINK_EMULATION "elf_i386_fbsd"
+-#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
++#define GLIBC_DYNAMIC_LINKER "/tools_i486/lib/ld.so.1"
+diff -Naur gcc-4.8.3.orig/gcc/config/i386/kfreebsd-gnu64.h 
gcc-4.8.3/gcc/config/i386/kfreebsd-gnu64.h
+--- gcc-4.8.3.orig/gcc/config/i386/kfreebsd-gnu64.h    2013-01-10 
20:38:27.000000000 +0000
++++ gcc-4.8.3/gcc/config/i386/kfreebsd-gnu64.h 2014-06-01 05:02:45.013805272 
+0000
+@@ -22,6 +22,6 @@
+ #define GNU_USER_LINK_EMULATION64 "elf_x86_64_fbsd"
+ #define GNU_USER_LINK_EMULATIONX32 "elf32_x86_64_fbsd"
+ 
+-#define GLIBC_DYNAMIC_LINKER32 "/lib/ld.so.1"
+-#define GLIBC_DYNAMIC_LINKER64 "/lib/ld-kfreebsd-x86-64.so.1"
+-#define GLIBC_DYNAMIC_LINKERX32 "/lib/ld-kfreebsd-x32.so.1"
++#define GLIBC_DYNAMIC_LINKER32 "/tools_i486/lib/ld.so.1"
++#define GLIBC_DYNAMIC_LINKER64 "/tools_i486/lib/ld-kfreebsd-x86-64.so.1"
++#define GLIBC_DYNAMIC_LINKERX32 "/tools_i486/lib/ld-kfreebsd-x32.so.1"
+diff -Naur gcc-4.8.3.orig/gcc/config/i386/linux.h 
gcc-4.8.3/gcc/config/i386/linux.h
+--- gcc-4.8.3.orig/gcc/config/i386/linux.h     2013-01-10 20:38:27.000000000 
+0000
++++ gcc-4.8.3/gcc/config/i386/linux.h  2014-06-01 05:02:45.013805272 +0000
+@@ -20,4 +20,4 @@
+ <http://www.gnu.org/licenses/>.  */
+ 
+ #define GNU_USER_LINK_EMULATION "elf_i386"
+-#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux.so.2"
++#define GLIBC_DYNAMIC_LINKER "/tools_i486/lib/ld-linux.so.2"
+diff -Naur gcc-4.8.3.orig/gcc/config/i386/linux64.h 
gcc-4.8.3/gcc/config/i386/linux64.h
+--- gcc-4.8.3.orig/gcc/config/i386/linux64.h   2013-01-10 20:38:27.000000000 
+0000
++++ gcc-4.8.3/gcc/config/i386/linux64.h        2014-06-01 05:02:45.013805272 
+0000
+@@ -27,6 +27,6 @@
+ #define GNU_USER_LINK_EMULATION64 "elf_x86_64"
+ #define GNU_USER_LINK_EMULATIONX32 "elf32_x86_64"
+ 
+-#define GLIBC_DYNAMIC_LINKER32 "/lib/ld-linux.so.2"
+-#define GLIBC_DYNAMIC_LINKER64 "/lib64/ld-linux-x86-64.so.2"
+-#define GLIBC_DYNAMIC_LINKERX32 "/libx32/ld-linux-x32.so.2"
++#define GLIBC_DYNAMIC_LINKER32 "/tools_i486/lib/ld-linux.so.2"
++#define GLIBC_DYNAMIC_LINKER64 "/tools/lib64/ld-linux-x86-64.so.2"
++#define GLIBC_DYNAMIC_LINKERX32 "/tools/libx32/ld-linux-x32.so.2"
+diff -Naur gcc-4.8.3.orig/gcc/config/linux.h gcc-4.8.3/gcc/config/linux.h
+--- gcc-4.8.3.orig/gcc/config/linux.h  2013-01-10 20:38:27.000000000 +0000
++++ gcc-4.8.3/gcc/config/linux.h       2014-06-01 05:02:45.013805272 +0000
+@@ -73,10 +73,10 @@
+    GLIBC_DYNAMIC_LINKER must be defined for each target using them, or
+    GLIBC_DYNAMIC_LINKER32 and GLIBC_DYNAMIC_LINKER64 for targets
+    supporting both 32-bit and 64-bit compilation.  */
+-#define UCLIBC_DYNAMIC_LINKER "/lib/ld-uClibc.so.0"
+-#define UCLIBC_DYNAMIC_LINKER32 "/lib/ld-uClibc.so.0"
+-#define UCLIBC_DYNAMIC_LINKER64 "/lib/ld64-uClibc.so.0"
+-#define UCLIBC_DYNAMIC_LINKERX32 "/lib/ldx32-uClibc.so.0"
++#define UCLIBC_DYNAMIC_LINKER "/tools_i486/lib/ld-uClibc.so.0"
++#define UCLIBC_DYNAMIC_LINKER32 "/tools_i486/lib/ld-uClibc.so.0"
++#define UCLIBC_DYNAMIC_LINKER64 "/tools_i486/lib/ld64-uClibc.so.0"
++#define UCLIBC_DYNAMIC_LINKERX32 "/tools_i486/lib/ldx32-uClibc.so.0"
+ #define BIONIC_DYNAMIC_LINKER "/system/bin/linker"
+ #define BIONIC_DYNAMIC_LINKER32 "/system/bin/linker"
+ #define BIONIC_DYNAMIC_LINKER64 "/system/bin/linker64"

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
Ipcop-svn mailing list
Ipcop-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipcop-svn

Reply via email to