From: Lars Munch <lars@segv.dk>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH][RESEND] libgcc_s still missing
Date: Wed, 15 Nov 2006 21:07:00 +0100 [thread overview]
Message-ID: <20061115200659.GA24410@tuxedo.home.lan> (raw)
Hi All
This patch got ignored the first time, so here it is again:
The BR2_GCC_SHARED_LIBGCC fix does not fix all BR2_GCC_SHARED_LIBGCC
related issues.
buildroot/toolchain/gcc/gcc-uclibc-3.x.mk:
------------------------------------------------------------------------
r16442 | jacmet | 2006-10-26 17:15:08 +0200 (Thu, 26 Oct 2006) | 1 line
Fix missing libgcc_s.so.1 with BR2_GCC_SHARED_LIBGCC
------------------------------------------------------------------------
If I delete my build_ARCH/root directory and run "make", the library
files libgcc_s* are missing again.
The attached patch makes sure that libgcc_s.so.1 and friends always gets
installed in TARGET_DIR.
Regards
Lars Munch
-------------- next part --------------
Index: buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- buildroot/toolchain/gcc/gcc-uclibc-3.x.mk (revision 16475)
+++ buildroot/toolchain/gcc/gcc-uclibc-3.x.mk (working copy)
@@ -250,6 +250,9 @@
#
# Ok... that's enough of that.
#
+ touch $(GCC_BUILD_DIR2)/.installed
+
+gcc-target-libs: $(GCC_BUILD_DIR2)/.installed
ifeq ($(BR2_GCC_SHARED_LIBGCC),y)
# These are in /lib, so...
rm -rf $(TARGET_DIR)/usr/lib/libgcc_s*.so*
@@ -266,10 +269,9 @@
-cp -a $(STAGING_DIR)/usr/lib/security/libgcj.security $(TARGET_DIR)/usr/lib/security/
-cp -a $(STAGING_DIR)/usr/lib/security/classpath.security $(TARGET_DIR)/usr/lib/security/
endif
- touch $(GCC_BUILD_DIR2)/.installed
gcc: uclibc-configured binutils gcc_initial $(LIBFLOAT_TARGET) uclibc \
- $(GCC_BUILD_DIR2)/.installed $(GCC_TARGETS)
+ $(GCC_BUILD_DIR2)/.installed gcc-target-libs $(GCC_TARGETS)
gcc-source: $(DL_DIR)/$(GCC_SOURCE)
next reply other threads:[~2006-11-15 20:07 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-15 20:07 Lars Munch [this message]
2006-11-16 9:59 ` [Buildroot] [PATCH][RESEND] libgcc_s still missing Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20061115200659.GA24410@tuxedo.home.lan \
--to=lars@segv.dk \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox