[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ipcop-svn
Subject:    [Ipcop-svn] SF.net SVN: ipcop: [1341] ipcop/trunk/lfs/gcc
From:       gespinasse () users ! sourceforge ! net
Date:       2008-04-30 15:08:39
Message-ID: E1JrDvD-0008Sg-2W () sc8-pr-svn4 ! sourceforge ! net
[Download RAW message or body]

Revision: 1341
          http://ipcop.svn.sourceforge.net/ipcop/?rev=1341&view=rev
Author:   gespinasse
Date:     2008-04-30 08:08:38 -0700 (Wed, 30 Apr 2008)

Log Message:
-----------
Add the tests for gcc :
- not added on first pass
- not enabled by default on second pass
- enabled in the last pass
Tests cost time, to compensate disable bootstrap on last pass
DIY is doing so.

In fact DIY has bootstrap not disabled only on first pass.
We have bootstap disabled on first pass and enabled on second pass.

All of this make us build gcc 1 + 3(per bootstrap) + 1 times
That's a long time to build.

Once we are more stable, we should consider packaging like the toolchain
- stage2
- linux-headers
- glibc
- adusjt-toolchain
- binutils
- gcc

This could save 20% of the build from stage2 for a part that should
be very stable.

Result from gcc tests are not bad on second pass,
Not yet seen the result for final stage

Modified Paths:
--------------
    ipcop/trunk/lfs/gcc

Modified: ipcop/trunk/lfs/gcc
===================================================================
--- ipcop/trunk/lfs/gcc	2008-04-30 13:06:13 UTC (rev 1340)
+++ ipcop/trunk/lfs/gcc	2008-04-30 15:08:38 UTC (rev 1341)
@@ -115,7 +115,7 @@
 
 	cd $(DIR_APP) && sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in
 	cd $(DIR_APP) && sed -i 's/^XCFLAGS =$$/& -fomit-frame-pointer/' gcc/Makefile.in
-        # this looks (and is) ugly, see LFS book, chapter 5.11 GCC-4.2.3 - Pass 2 \
for info +	# this looks (and is) ugly, see LFS book, chapter 5.11 GCC-4.2.3 - Pass 2 \
for info  cd $(DIR_APP) && for file in $$(find gcc/config -name linux64.h -o -name \
linux.h -o -name sysv4.h); do \  cp -uv $$file{,.orig}; \
 				sed -e 's@/lib\(64\)\?\(32\)\?/ld@/$(TOOLS_DIR)&@g' \
@@ -123,7 +123,7 @@
 				echo -e "\n#undef STANDARD_INCLUDE_DIR\n#define STANDARD_INCLUDE_DIR 0" >> \
$$file; \  touch $$file.orig; \
 			done
-   
+
 	cd $(DIR_SRC)/gcc-build && ../$(THISAPP)/configure	--prefix=/$(TOOLS_DIR) \
 								--with-local-prefix=/$(TOOLS_DIR) \
 								--enable-clocale=gnu \
@@ -134,6 +134,11 @@
 								--disable-libstdcxx-pch \
 								--disable-multilib
 	cd $(DIR_SRC)/gcc-build && make -j $(PARALLELISM)
+
+	# Do not to stop on error in tests, not run by default
+	#-cd $(DIR_SRC)/gcc-build; make -j 1 -k check &> \
$(DIR_INFO)/$(THISAPP)-$(STAGE_ORDER)_check.log +	#-cd $(DIR_SRC)/gcc-build; \
../gcc-$(VER)/contrib/test_summary >> $(DIR_INFO)/$(THISAPP)-$(STAGE_ORDER)_check.log \
+  cd $(DIR_SRC)/gcc-build && make install
 endif
 
@@ -151,8 +156,14 @@
 								--enable-threads=posix \
 								--enable-__cxa_atexit \
 								--enable-clocale=gnu \
-								--enable-languages=c,c++
+								--enable-languages=c,c++ \
+								--disable-bootstrap
 	cd $(DIR_SRC)/gcc-build && make -j $(PARALLELISM)
+
+	# Do not to stop on error in tests
+	-cd $(DIR_SRC)/gcc-build; make -j 1 -k check &> \
$(DIR_INFO)/$(THISAPP)-$(STAGE_ORDER)_check.log +	-cd $(DIR_SRC)/gcc-build; \
../gcc-$(VER)/contrib/test_summary >> $(DIR_INFO)/$(THISAPP)-$(STAGE_ORDER)_check.log \
+  cd $(DIR_SRC)/gcc-build && make install
 	ln -sv ../usr/bin/cpp /lib
 	ln -sv gcc /usr/bin/cc


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

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Ipcop-svn mailing list
Ipcop-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipcop-svn


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic