Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH][RESEND] libgcc_s still missing
@ 2006-11-15 20:07 Lars Munch
  2006-11-16  9:59 ` Peter Korsgaard
  0 siblings, 1 reply; 2+ messages in thread
From: Lars Munch @ 2006-11-15 20:07 UTC (permalink / raw)
  To: buildroot

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)
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-11-16  9:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-15 20:07 [Buildroot] [PATCH][RESEND] libgcc_s still missing Lars Munch
2006-11-16  9:59 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox