Browse Source
Note: This error occured while building a x86_64 target with generic optimisation on x86_64 build host. The error didn't showed up while building the same target but for x86 with optimization for pentium2. snippet from the error log output without that patch: /usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.4/../../../../x86_64-unknown-linux-gnu/bin/as: symbol lookup error: /usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.4/../../../../x86_64-unknown-linux-gnu/bin/as: undefined symbol: zca llocuser/karasz/next/updates
Christian Wiese
15 years ago
committed by
Christian Wiese
1 changed files with 44 additions and 0 deletions
@ -0,0 +1,44 @@
|
||||
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
||||
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
||||
# |
||||
# Filename: package/.../binutils/sysinfo-unset-LD_LIBRARY_PATH.patch.cross |
||||
# Copyright (C) 2010 The OpenSDE Project |
||||
# |
||||
# More information can be found in the files COPYING and README. |
||||
# |
||||
# This patch file is dual-licensed. It is available under the license the |
||||
# patched project is licensed under, as long as it is an OpenSource license |
||||
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms |
||||
# of the GNU General Public License as published by the Free Software |
||||
# Foundation; either version 2 of the License, or (at your option) any later |
||||
# version. |
||||
# --- SDE-COPYRIGHT-NOTE-END --- |
||||
|
||||
--- ./binutils/Makefile.in.orig 2010-07-16 10:31:01.560558416 +0000 |
||||
+++ ./binutils/Makefile.in 2010-07-16 10:33:46.060341172 +0000 |
||||
@@ -1209,20 +1209,20 @@ |
||||
./sysinfo$(EXEEXT_FOR_BUILD) -d <$(srcdir)/sysroff.info >sysroff.h |
||||
|
||||
sysinfo$(EXEEXT_FOR_BUILD): sysinfo.@OBJEXT@ syslex.@OBJEXT@ |
||||
- $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -o $@ sysinfo.@OBJEXT@ syslex.@OBJEXT@ |
||||
+ LD_LIBRARY_PATH= $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -o $@ sysinfo.@OBJEXT@ syslex.@OBJEXT@ |
||||
|
||||
syslex.@OBJEXT@: syslex.c sysinfo.h config.h |
||||
if [ -r syslex.c ]; then \ |
||||
- $(CC_FOR_BUILD) -c -I. $(AM_CFLAGS) $(CFLAGS_FOR_BUILD) $(NO_WERROR) syslex.c ; \ |
||||
+ LD_LIBRARY_PATH= $(CC_FOR_BUILD) -c -I. $(AM_CFLAGS) $(CFLAGS_FOR_BUILD) $(NO_WERROR) syslex.c ; \ |
||||
else \ |
||||
- $(CC_FOR_BUILD) -c -I. -I$(srcdir) $(AM_CFLAGS) $(CFLAGS_FOR_BUILD) $(NO_WERROR) $(srcdir)/syslex.c ;\ |
||||
+ LD_LIBRARY_PATH= $(CC_FOR_BUILD) -c -I. -I$(srcdir) $(AM_CFLAGS) $(CFLAGS_FOR_BUILD) $(NO_WERROR) $(srcdir)/syslex.c ;\ |
||||
fi |
||||
|
||||
sysinfo.@OBJEXT@: sysinfo.c |
||||
if [ -r sysinfo.c ]; then \ |
||||
- $(CC_FOR_BUILD) -c -I. $(AM_CFLAGS) $(CFLAGS_FOR_BUILD) $(NO_WERROR) sysinfo.c ; \ |
||||
+ LD_LIBRARY_PATH= $(CC_FOR_BUILD) -c -I. $(AM_CFLAGS) $(CFLAGS_FOR_BUILD) $(NO_WERROR) sysinfo.c ; \ |
||||
else \ |
||||
- $(CC_FOR_BUILD) -c -I. $(AM_CFLAGS) $(CFLAGS_FOR_BUILD) $(NO_WERROR) $(srcdir)/sysinfo.c ; \ |
||||
+ LD_LIBRARY_PATH= $(CC_FOR_BUILD) -c -I. $(AM_CFLAGS) $(CFLAGS_FOR_BUILD) $(NO_WERROR) $(srcdir)/sysinfo.c ; \ |
||||
fi |
||||
|
||||
bin2c$(EXEEXT_FOR_BUILD): $(LIBINTL_DEP) |
Loading…
Reference in new issue