Bug 15665 - Move to external-csl2009q3 toolchain
: Move to external-csl2009q3 toolchain
Status: CLOSED FIXED
Product: SB Touch
Classification: Unclassified
Component: OS
: unspecified
: All Debian Linux
: P3 normal (vote)
: 7.5.0
Assigned To: Alan Young
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-02-09 01:35 UTC by Alan Young
Modified: 2010-04-08 17:26 UTC (History)
1 user (show)

See Also:
Category: Task


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alan Young 2010-02-09 01:35:31 UTC
Consider upgrading to external-csl2009q3 based toolchain which includes gcc 4.4.1. Under -O2 it has been noted that this will lead to larger code and so it will be important to build with -Os.

From an exchange with CodeSourcery

> I have tried a build with 2009q3 (at -O2). It ran successfully for
> several days. ... However, the code-size generated by 2009q3 is at
> least 15% larger and other reports (for example,
> http://hardwarebug.org/2010/01/15/arm-compiler-update/) suggest that
> GCC 4.4 is not ready for prime time.

We believe that GCC 4.4 is ready for prime time.  If your primary
concern is code size, use -Os instead of -O2; we've made some changes
that increase both performance and code size at -O2.  We plan to
further increase performance and decrease code size over time, of
course.
Comment 1 Alan Young 2010-02-09 05:33:52 UTC
Binary sizes from build with csl2009q1:

   text	   data	    bss	    dec	    hex	filename
1357601	  78584	3256360	4692545	 479a41	/usr/bin/jive
  32178	   2372	    168	  34718	   879e	/usr/bin/jive_alsa
 799860	   6612	   2016	 808488	  c5628	/usr/bin/perl
 716531	  37324	  64980	 818835	  c7e93	/usr/sbin/nmbd
   7825	    344	      4	   8173	   1fed	/lib/libBrokenLocale-2.8.so
  13571	    476	     88	  14135	   3737	/lib/libanl-2.8.so
1164404	   8824	  10504	1183732	 120ff4	/lib/libc-2.8.so
 183955	   2180	      4	 186139	  2d71b	/lib/libcidn-2.8.so
  39441	    412	 159956	 199809	  30c81	/lib/libcrypt-2.8.so
  13011	    448	     48	  13507	   34c3	/lib/libdl-2.8.so
 675030	    464	      8	 675502	  a4eae	/lib/libm-2.8.so
  21091	    452	  65788	  87331	  15523	/lib/libmemusage.so
  77032	    804	   9460	  87296	  15500	/lib/libnsl-2.8.so
  30224	    716	    192	  31132	   799c	/lib/libnss_compat-2.8.so
  18347	    468	      4	  18819	   4983	/lib/libnss_dns-2.8.so
  41777	    520	    484	  42781	   a71d	/lib/libnss_files-2.8.so
  50621	   1656	  77840	 130117	  1fc45	/lib/libproc-3.2.7.so
  81348	    872	   8332	  90552	  161b8	/lib/libpthread-2.8.so
  62252	   1848	   9784	  73884	  1209c	/lib/libresolv-2.8.so
  22561	    648	    176	  23385	   5b59	/lib/librt-2.8.so
  11614	    464	      4	  12082	   2f32	/lib/libutil-2.8.so
 372591	  27088	  16824	 416503	  65af7	/usr/lib/libbfd-2.19.so
 372591	  27088	  16824	 416503	  65af7	/usr/lib/libbfd.so
  61680	  17644	     28	  79352	  135f8	/usr/lib/libopcodes-2.19.so
  61680	  17644	     28	  79352	  135f8	/usr/lib/libopcodes.so
 892200	  11608	  18736	 922544	  e13b0	/usr/lib/libsmb.so
  27213	    580	      4	  27797	   6c95	/usr/lib/libtolua++.so
Comment 2 Alan Young 2010-02-09 06:41:03 UTC
Binary sizes from build with csl2009q3:

   text	   data	    bss	    dec	    hex	filename
1443367	  78580	3256360	4778307	 48e943	/usr/bin/jive
  31213	   2376	    168	  33757	   83dd	/usr/bin/jive_alsa
 710122	   6616	   2024	 718762	  af7aa	/usr/bin/perl
 666890	  37336	  64980	 769206	  bbcb6	/usr/sbin/nmbd
   8389	    344	      4	   8737	   2221	/lib/libBrokenLocale-2.10.1.so
  15171	    476	     88	  15735	   3d77	/lib/libanl-2.10.1.so
1286363	   8796	  11212	1306371	 13ef03	/lib/libc-2.10.1.so
 186663	   2180	      4	 188847	  2e1af	/lib/libcidn-2.10.1.so
  48129	    416	 159956	 208501	  32e75	/lib/libcrypt-2.10.1.so
  13571	    448	     48	  14067	   36f3	/lib/libdl-2.10.1.so
 624586	    468	      8	 625062	  989a6	/lib/libm-2.10.1.so
  22111	    456	1589500	1612067	 189923	/lib/libmemusage.so
  82305	    808	   9480	  92593	  169b1	/lib/libnsl-2.10.1.so
  30888	    716	    192	  31796	   7c34	/lib/libnss_compat-2.10.1.so
  22703	    464	      4	  23171	   5a83	/lib/libnss_dns-2.10.1.so
  46604	    524	    532	  47660	   ba2c	/lib/libnss_files-2.10.1.so
  48797	   1656	  77848	 128301	  1f52d	/lib/libproc-3.2.7.so
  83081	    880	   8344	  92305	  16891	/lib/libpthread-2.10.1.so
  78607	   1736	   9792	  90135	  16017	/lib/libresolv-2.10.1.so
  24897	    648	    180	  25725	   647d	/lib/librt-2.10.1.so
  12158	    464	      4	  12626	   3152	/lib/libutil-2.10.1.so
 372591	  27088	  16824	 416503	  65af7	/usr/lib/libbfd-2.19.so
 372591	  27088	  16824	 416503	  65af7	/usr/lib/libbfd.so
  61680	  17644	     28	  79352	  135f8	/usr/lib/libopcodes-2.19.so
  61680	  17644	     28	  79352	  135f8	/usr/lib/libopcodes.so
 832706	  11612	  18736	 863054	  d2b4e	/usr/lib/libsmb.so
  26741	    580	      4	  27325	   6abd	/usr/lib/libtolua++.so
Comment 3 Alan Young 2010-02-10 02:54:31 UTC
Binary sizes from build with csl2009q3 and no thumb:

   text	   data	    bss	    dec	    hex	filename
1550676	  78576	3256360	4885612	 4a8c6c	/usr/bin/jive
  30982	   2376	    168	  33526	   82f6	/usr/bin/jive_alsa
 982278	   6616	   2024	 990918	  f1ec6	/usr/bin/perl
 853660	  37336	  64980	 955976	  e9648	/usr/sbin/nmbd
   8389	    344	      4	   8737	   2221	/lib/libBrokenLocale-2.10.1.so
  15171	    476	     88	  15735	   3d77	/lib/libanl-2.10.1.so
1286363	   8796	  11212	1306371	 13ef03	/lib/libc-2.10.1.so
 186663	   2180	      4	 188847	  2e1af	/lib/libcidn-2.10.1.so
  48129	    416	 159956	 208501	  32e75	/lib/libcrypt-2.10.1.so
  13571	    448	     48	  14067	   36f3	/lib/libdl-2.10.1.so
 624586	    468	      8	 625062	  989a6	/lib/libm-2.10.1.so
  22111	    456	1589500	1612067	 189923	/lib/libmemusage.so
  82305	    808	   9480	  92593	  169b1	/lib/libnsl-2.10.1.so
  30888	    716	    192	  31796	   7c34	/lib/libnss_compat-2.10.1.so
  22703	    464	      4	  23171	   5a83	/lib/libnss_dns-2.10.1.so
  46604	    524	    532	  47660	   ba2c	/lib/libnss_files-2.10.1.so
  64141	   1656	  77848	 143645	  2311d	/lib/libproc-3.2.7.so
  83081	    880	   8344	  92305	  16891	/lib/libpthread-2.10.1.so
  78607	   1736	   9792	  90135	  16017	/lib/libresolv-2.10.1.so
  24897	    648	    180	  25725	   647d	/lib/librt-2.10.1.so
  12158	    464	      4	  12626	   3152	/lib/libutil-2.10.1.so
 486132	  27084	  16824	 530040	  81678	/usr/lib/libbfd-2.19.so
 486132	  27084	  16824	 530040	  81678	/usr/lib/libbfd.so
  68412	  17644	     28	  86084	  15044	/usr/lib/libopcodes-2.19.so
  68412	  17644	     28	  86084	  15044	/usr/lib/libopcodes.so
1109214	  11612	  18736	1139562	 11636a	/usr/lib/libsmb.so
  29505	    580	      4	  30089	   7589	/usr/lib/libtolua++.so
Comment 4 SVN Bot 2010-02-10 03:21:27 UTC
 == Auto-comment from SVN commit #8472 to the  repo by ayoung ==
 == https://svn.slimdevices.com/?view=revision&revision=8472 ==

fixed bug 15665: Move to external-csl2009q3 toolchain
Comment 5 SVN Bot 2010-02-10 05:43:53 UTC
 == Auto-comment from SVN commit #8473 to the  repo by ayoung ==
 == https://svn.slimdevices.com/?view=revision&revision=8473 ==

bug 15665: Move to external-csl2009q3 toolchain 
Need different grep for version# in SP binary.
Comment 6 SVN Bot 2010-02-10 06:18:47 UTC
 == Auto-comment from SVN commit #8474 to the  repo by ayoung ==
 == https://svn.slimdevices.com/?view=revision&revision=8474 ==

bug 15665: Move to external-csl2009q3 toolchain 
Try again
Comment 7 SVN Bot 2010-02-11 03:37:09 UTC
 == Auto-comment from SVN commit #8484 to the  repo by ayoung ==
 == https://svn.slimdevices.com/?view=revision&revision=8484 ==

bug 15665: Move to external-csl2009q3 toolchain 
Build kernel with thumb-interwork flag
Comment 8 SVN Bot 2010-02-11 12:11:36 UTC
 == Auto-comment from SVN commit #8486 to the  repo by ayoung ==
 == https://svn.slimdevices.com/?view=revision&revision=8486 ==

bug 15665: Move to external-csl2009q3 toolchain 
Disable all build parallelism
Comment 9 SVN Bot 2010-02-12 03:37:20 UTC
 == Auto-comment from SVN commit #8488 to the  repo by ayoung ==
 == https://svn.slimdevices.com/?view=revision&revision=8488 ==

bug 15665: Move to external-csl2009q3 toolchain 
Looks like busybox distribution has switched from .tar.gz to .tar.bz2
Comment 10 SVN Bot 2010-02-12 07:43:47 UTC
 == Auto-comment from SVN commit #8491 to the  repo by ayoung ==
 == https://svn.slimdevices.com/?view=revision&revision=8491 ==

bug 15665: Move to external-csl2009q3 toolchain 
Reduce optimization level for marvell-wlan-tools-src which seem to fail otherwise.
Comment 11 SVN Bot 2010-02-12 07:47:47 UTC
 == Auto-comment from SVN commit #8492 to the  repo by ayoung ==
 == https://svn.slimdevices.com/?view=revision&revision=8492 ==

bug 15665: Move to external-csl2009q3 toolchain 
Bump PR
Comment 12 SVN Bot 2010-02-12 08:27:55 UTC
 == Auto-comment from SVN commit #8493 to the  repo by ayoung ==
 == https://svn.slimdevices.com/?view=revision&revision=8493 ==

bug 15665: Move to external-csl2009q3 toolchain 
Reduce optimization level for wlan tools which seem to fail otherwise.
Comment 13 SVN Bot 2010-02-12 08:28:53 UTC
 == Auto-comment from SVN commit #8494 to the  repo by ayoung ==
 == https://svn.slimdevices.com/?view=revision&revision=8494 ==

bug 15665: Move to external-csl2009q3 toolchain 
Bump PR
Comment 14 SVN Bot 2010-02-12 08:32:39 UTC
 == Auto-comment from SVN commit #8495 to the  repo by ayoung ==
 == https://svn.slimdevices.com/?view=revision&revision=8495 ==

bug 15665: Move to external-csl2009q3 toolchain 
Reduce optimization level for wlan tools which seem to fail otherwise.
Comment 15 Chris Owens 2010-04-08 17:26:09 UTC
This bug has been marked fixed in a released version of Squeezebox Server or the accompanying firmware or mysqueezebox.com release.

If you are still seeing this issue, please let us know!