CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
Attached to Project: CRUX-ARM
Opened by Victor Martinez - 2012-02-08
Last edited by Victor Martinez - 2012-02-09

FS#20 - toolchain 2.6 (eabi/noeabi) problem with glibc and make 3.82 (CRUX 2.7 host)

Building toolchain 2.6 in a CRUX 2.7 host (using make 3.82) we can find a problem in glibc build:
*** mixed implicit and normal rules. Stop.

We can try to add a patch and fix this problem to build CRUX-ARM 2.6 (eabi/noeabi) in a CRUX 2.7 host (with make 3.82).
This should be tested in a 2.6 host and verify it builds right too. I’ll try to provide this last check while waiting for comments or opinions in this bug.

glibc-2.10.1-make382.patch
— glibc-2.10.1_orig/manual/Makefile 2012-02-08 08:05:11.777529411 +0000
+++ glibc-2.10.1/manual/Makefile 2012-02-08 08:06:46.189531779 +0000
@@ -232,7 +232,9 @@
.PHONY: stubs
stubs: $(objpfx)stubs
endif
-$(objpfx)stubs ../po/manual.pot $(objpfx)stamp%:
+$(objpfx)stubs ../po/manual.pot:
+ touch $@
+$(objpfx)stamp%:

      $(make-target-directory)
      touch $@

Makefile
diff –git a/Makefile b/Makefile
index aea2b53..5af5d60 100644
— a/Makefile
+++ b/Makefile
@@ -174,9 +174,9 @@ $(WORK)/glibc-$(GLIBC_VERSION).tar.bz2:
$(WORK)/glibc-ports-$(GLIBC_VERSION).tar.bz2:

      wget -P $(WORK) -c ftp://ftp.gnu.org/gnu/glibc/glibc-ports-$(GLIBC_VERSION).tar.bz2

$(WORK)/glibc-$(GLIBC_VERSION): $(WORK)/glibc-$(GLIBC_VERSION).tar.bz2 $(WORK)/glibc-ports-$(GLIBC_VERSION).tar.bz2
-

      tar -C $(WORK) -xvjf $(WORK)/glibc-$(GLIBC_VERSION).tar.bz2
      cd $(WORK)/glibc-$(GLIBC_VERSION) && \

+ patch -p1 -i $(WORK)/glibc-$(GLIBC_VERSION)-make382.patch && \

              tar xvjf $(WORK)/glibc-ports-$(GLIBC_VERSION).tar.bz2 && \
              mv glibc-ports-$(GLIBC_VERSION) ports && \
              sed -e 's/-lgcc_eh//g' -i Makeconfig
Closed by  Victor Martinez
Thursday, 09 February 2012, 08:11 GMT
Reason for closing:  Fixed
Additional comments about closing:  

Fixed:
toolchain-noeabi 2.6: https://cr ux-arm.nu/gitweb?p=toolchain-noeabi.git; a=commit;h=9e82f25f54d7545ee641f9722763e 92fbccd6769

toolchain 2.6: https://crux-arm. nu/gitweb?p=toolchain.git;a=commit;h=dce 7423011c8bfda3447387629e095de34cf6baf

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing