Revision: 6049
http://ipcop.svn.sourceforge.net/ipcop/?rev=6049&view=rev
Author: gespinasse
Date: 2011-11-10 07:27:37 +0000 (Thu, 10 Nov 2011)
Log Message:
-----------
Add Warning emitted by perl Makefile.PL to the configure-warning log file
Add a special strict-aliasing warning log. Should be easy to fix (unsure for
the glibc part)
Modified Paths:
--------------
ipcop/trunk/lfs/check_files
Modified: ipcop/trunk/lfs/check_files
===================================================================
--- ipcop/trunk/lfs/check_files 2011-11-10 06:49:04 UTC (rev 6048)
+++ ipcop/trunk/lfs/check_files 2011-11-10 07:27:37 UTC (rev 6049)
@@ -82,8 +82,8 @@
# check already stripped code (that drive to lib reduction failure for
initramfs with mklibs)
# check for old hash (not using our LDFLAG), probably just matter for
size if we have both
- # find warnings and count them
- -cd /usr/src/log_${MACHINE} && grep ': WARNING:' 0[1-4]*/*
>/usr/src/log_${MACHINE}/$(PKG_NAME)-configure_warnings.log
+ # find warnings and count them, configure emit WARNING, perl
Makefile.PL emit Warning
+ -cd /usr/src/log_${MACHINE} && egrep ': WARNING:|Warning:' 0[1-4]*/*
>/usr/src/log_${MACHINE}/$(PKG_NAME)-configure_warnings.log
-cd /usr/src/log_${MACHINE} && grep ': warning:' 0[1-4]*/*
>/usr/src/log_${MACHINE}/$(PKG_NAME)-compilation_warnings_all.log
-cd /usr/src/log_${MACHINE} && \
for f in $$(ls 0[1-4]*/*); do \
@@ -91,3 +91,7 @@
done
>/usr/src/log_${MACHINE}/$(PKG_NAME)-compilation-warnings_per_package_count.log
# remove lucky 0 warnings from the list
-sed -i '/\t0$$/d'
/usr/src/log_${MACHINE}/$(PKG_NAME)-compilation-warnings_per_package_count.log
+
+ # easy to fix adding -fno-strict-aliasing to CFLAGS
+ -cd /usr/src/log_${MACHINE} && grep 'does break strict-aliasing rules'
$(PKG_NAME)-compilation_warnings_all.log \
+
>/usr/src/log_${MACHINE}/$(PKG_NAME)-strict-aliasing_warnings.log
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Ipcop-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ipcop-svn