Skip to content

Various: LTO fixes#3361

Closed
jnohlgard wants to merge 14 commits intoRIOT-OS:masterfrom
jnohlgard:pr/lto-fixes
Closed

Various: LTO fixes#3361
jnohlgard wants to merge 14 commits intoRIOT-OS:masterfrom
jnohlgard:pr/lto-fixes

Conversation

@jnohlgard
Copy link
Copy Markdown
Member

(based on top of #3163 and #3358) - merged

This PR intends to make all modern platforms build properly with LTO.

Including:

TODO:

  • Add automatic check for testing whether -ffat-lto-objects is needed. (Does LTO even make sense if the tools require fat LTO objects?)
  • Build with Clang for all platforms where that is supported
  • Correct some more 0 size binaries (missing __attribute__((used))).
  • Run extensive info-buildsizes-diff for comparison

@jnohlgard jnohlgard added Type: enhancement The issue suggests enhanceable parts / The PR enhances parts of the codebase / documentation Platform: ARM Platform: This PR/issue effects ARM-based platforms State: WIP State: The PR is still work-in-progress and its code is not in its final presentable form yet Area: build system Area: Build system State: waiting for other PR State: The PR requires another PR to be merged first Community: Hack'n'ACK candidate This PR is a candidate for review and discussion during one of RIOT's monthly Hack'n'ACK parties labels Jul 10, 2015
@jnohlgard
Copy link
Copy Markdown
Member Author

Preliminary run from the examples directory:

Use the following to build stuff:

$ for f in *; do make -C $f clean buildtest BUILD_IN_DOCKER=1 BINDIRBASE=with-flto LTO=yes; done

results from make info-buildsizes-diff:

make: Entering directory '/home/kim/work/src/riot/examples/ccn-lite-client'
text    data    bss     dec     BOARD/BINDIRBASE

-4384   -128    131     -4381   avsextrem
90116   5600    92701   188417  with-gc-sections
85732   5472    92832   184036  with-flto

-4084   -116    16      -4184   fox
39884   3412    21016   64312   with-gc-sections
35800   3296    21032   60128   with-flto

-4156   -116    16      -4256   iot-lab_M3
40056   3412    21024   64492   with-gc-sections
35900   3296    21040   60236   with-flto

-4440   -128    131     -4437   msba2
89724   5600    92701   188025  with-gc-sections
85284   5472    92832   183588  with-flto

-4868   -136    -8      -5012   msbiot
35688   3456    21424   60568   with-gc-sections
30820   3320    21416   55556   with-flto

-3852   -116    -32     -4000   mulle
39356   4464    22776   66596   with-gc-sections
35504   4348    22744   62596   with-flto

-6173   12      1344    -4817   native
94632   3940    169216  267788  with-gc-sections
88459   3952    170560  262971  with-flto

-3432   -116    8       -3540   samr21-xpro
38248   3412    21008   62668   with-gc-sections
34816   3296    21016   59128   with-flto

make: Leaving directory '/home/kim/work/src/riot/examples/ccn-lite-client'
make: Entering directory '/home/kim/work/src/riot/examples/ccn-lite-relay'
text    data    bss     dec     BOARD/BINDIRBASE

-3216   -112    115     -3213   avsextrem
73268   5488    92813   171569  with-gc-sections
70052   5376    92928   168356  with-flto

-2160   -116    -116    -2392   fox
24920   3344    9344    37608   with-gc-sections
22760   3228    9228    35216   with-flto

-2172   -116    -124    -2412   iot-lab_M3
25012   3344    9352    37708   with-gc-sections
22840   3228    9228    35296   with-flto

-3224   -112    115     -3221   msba2
72924   5488    92813   171225  with-gc-sections
69700   5376    92928   168004  with-flto

-3784   -120    -120    -4024   msbiot
24544   3348    9356    37248   with-gc-sections
20760   3228    9236    33224   with-flto

-2680   -116    -28     -2824   mulle
24740   4396    11092   40228   with-gc-sections
22060   4280    11064   37404   with-flto

3028    16      33180   36224   native
64866   3868    103972  172706  with-gc-sections
67894   3884    137152  208930  with-flto

-2240   -116    -124    -2480   samr21-xpro
23788   3344    9328    36460   with-gc-sections
21548   3228    9204    33980   with-flto

make: Leaving directory '/home/kim/work/src/riot/examples/ccn-lite-relay'
make: Entering directory '/home/kim/work/src/riot/examples/default'
text    data    bss     dec     BOARD/BINDIRBASE

-1496   -8      0       -1504   airfy-beacon
11904   148     3828    15880   with-gc-sections
10408   140     3828    14376   with-flto

-1488   -8      0       -1496   arduino-due
12132   152     3904    16188   with-gc-sections
10644   144     3904    14692   with-flto

ERR     ERR     ERR     ERR     arduino-mega2560
ERR     ERR     ERR     ERR     with-gc-sections
ERR     ERR     ERR     ERR     with-flto

-2736   -24     24      -2736   avsextrem
61140   2388    95913   159441  with-gc-sections
58404   2364    95937   156705  with-flto

-1308   -8      0       -1316   cc2538dk
11652   148     3828    15628   with-gc-sections
10344   140     3828    14312   with-flto

ERR     ERR     ERR     ERR     chronos
ERR     ERR     ERR     ERR     with-gc-sections
ERR     ERR     ERR     ERR     with-flto

-2656   -12     4       -2664   f4vi1
13168   152     3840    17160   with-gc-sections
10512   140     3844    14496   with-flto

-2944   -8      0       -2952   fox
28156   168     8368    36692   with-gc-sections
25212   160     8368    33740   with-flto

-1924   -8      0       -1932   frdm-k64f
16048   1244    5988    23280   with-gc-sections
14124   1236    5988    21348   with-flto

-3416   -8      0       -3424   iot-lab_M3
28976   168     8384    37528   with-gc-sections
25560   160     8384    34104   with-flto

-1212   -8      0       -1220   mbed_lpc1768
11432   148     3852    15432   with-gc-sections
10220   140     3852    14212   with-flto

ERR     ERR     ERR     ERR     msb-430
ERR     ERR     ERR     ERR     with-gc-sections
ERR     ERR     ERR     ERR     with-flto

ERR     ERR     ERR     ERR     msb-430h
ERR     ERR     ERR     ERR     with-gc-sections
ERR     ERR     ERR     ERR     with-flto

-4272   -24     24      -4272   msba2
72348   2396    93917   168661  with-gc-sections
68076   2372    93941   164389  with-flto

-3704   -24     -8      -3736   msbiot
19768   212     8812    28792   with-gc-sections
16064   188     8804    25056   with-flto

-2928   -8      -16     -2952   mulle
27164   1284    10096   38544   with-gc-sections
24236   1276    10080   35592   with-flto

-105    8       1280    1183    native
61329   546     127680  189555  with-gc-sections
61224   554     128960  190738  with-flto

-4592   -8      0       -4600   nucleo-f091
15032   148     3852    19032   with-gc-sections
10440   140     3852    14432   with-flto

-2712   -8      0       -2720   nucleo-f303
13124   148     3860    17132   with-gc-sections
10412   140     3860    14412   with-flto

-2500   -8      0       -2508   nucleo-f334
12868   148     3836    16852   with-gc-sections
10368   140     3836    14344   with-flto

-2532   -8      0       -2540   nucleo-l1
13080   148     3844    17072   with-gc-sections
10548   140     3844    14532   with-flto

-1292   -8      0       -1300   openmote
11604   148     3828    15580   with-gc-sections
10312   140     3828    14280   with-flto

-1920   -8      0       -1928   pba-d-01-kw2x
16116   1244    5372    22732   with-gc-sections
14196   1236    5372    20804   with-flto

-1500   -8      0       -1508   pca10000
11932   148     3828    15908   with-gc-sections
10432   140     3828    14400   with-flto

-1496   -8      0       -1504   pca10005
11908   148     3828    15884   with-gc-sections
10412   140     3828    14380   with-flto

-2288   -8      8       -2288   pttu
52756   2332    95969   151057  with-gc-sections
50468   2324    95977   148769  with-flto

5378    8       96      5482    qemu-i386
92902   4448    84944   182294  with-gc-sections
98280   4456    85040   187776  with-flto

-3752   -64     -4      -3820   redbee-econotag
58272   2344    20056   80672   with-gc-sections
54520   2280    20052   76852   with-flto

-1372   -8      -128    -1508   saml21-xpro
11864   148     3932    15944   with-gc-sections
10492   140     3804    14436   with-flto

-2508   -8      0       -2516   samr21-xpro
24436   172     8328    32936   with-gc-sections
21928   164     8328    30420   with-flto

-1236   -8      0       -1244   spark-core
13528   148     3844    17520   with-gc-sections
12292   140     3844    16276   with-flto

-4592   -8      0       -4600   stm32f0discovery
15036   148     3852    19036   with-gc-sections
10444   140     3852    14436   with-flto

-2708   -8      0       -2716   stm32f3discovery
13128   148     3860    17136   with-gc-sections
10420   140     3860    14420   with-flto

-2804   -12     -4      -2820   stm32f4discovery
13332   152     3856    17340   with-gc-sections
10528   140     3852    14520   with-flto

ERR     ERR     ERR     ERR     telosb
ERR     ERR     ERR     ERR     with-gc-sections
ERR     ERR     ERR     ERR     with-flto

-1488   -8      0       -1496   udoo
12132   152     3904    16188   with-gc-sections
10644   144     3904    14692   with-flto

ERR     ERR     ERR     ERR     wsn430-v1_3b
ERR     ERR     ERR     ERR     with-gc-sections
ERR     ERR     ERR     ERR     with-flto

ERR     ERR     ERR     ERR     wsn430-v1_4
ERR     ERR     ERR     ERR     with-gc-sections
ERR     ERR     ERR     ERR     with-flto

-1500   -8      0       -1508   yunjia-nrf51822
11892   148     3828    15868   with-gc-sections
10392   140     3828    14360   with-flto

ERR     ERR     ERR     ERR     z1
ERR     ERR     ERR     ERR     with-gc-sections
ERR     ERR     ERR     ERR     with-flto

make: Leaving directory '/home/kim/work/src/riot/examples/default'
make: Entering directory '/home/kim/work/src/riot/examples/hello-world'
text    data    bss     dec     BOARD/BINDIRBASE

-1024   -8      -24     -1056   airfy-beacon
8156    112     2688    10956   with-gc-sections
7132    104     2664    9900    with-flto

-1060   -8      -48     -1116   arduino-due
8484    116     2764    11364   with-gc-sections
7424    108     2716    10248   with-flto

ERR     ERR     ERR     ERR     arduino-mega2560
ERR     ERR     ERR     ERR     with-gc-sections
ERR     ERR     ERR     ERR     with-flto

-1064   -8      7       -1065   avsextrem
39736   2232    96069   138037  with-gc-sections
38672   2224    96076   136972  with-flto

-828    -8      -16     -852    cc2538dk
8028    112     2688    10828   with-gc-sections
7200    104     2672    9976    with-flto

ERR     ERR     ERR     ERR     chronos
ERR     ERR     ERR     ERR     with-gc-sections
ERR     ERR     ERR     ERR     with-flto

-2228   -12     -28     -2268   f4vi1
9520    116     2700    12336   with-gc-sections
7292    104     2672    10068   with-flto

-780    -8      -32     -820    fox
9728    112     2704    12544   with-gc-sections
8948    104     2672    11724   with-flto

-1100   -8      -8      -1116   frdm-k64f
8004    1140    4820    13964   with-gc-sections
6904    1132    4812    12848   with-flto

-784    -8      -32     -824    iot-lab_M3
9764    112     2704    12580   with-gc-sections
8980    104     2672    11756   with-flto

-836    -8      -32     -876    mbed_lpc1768
7880    112     2712    10704   with-gc-sections
7044    104     2680    9828    with-flto

ERR     ERR     ERR     ERR     msb-430
ERR     ERR     ERR     ERR     with-gc-sections
ERR     ERR     ERR     ERR     with-flto

ERR     ERR     ERR     ERR     msb-430h
ERR     ERR     ERR     ERR     with-gc-sections
ERR     ERR     ERR     ERR     with-flto

-1064   -8      7       -1065   msba2
39400   2232    96069   137701  with-gc-sections
38336   2224    96076   136636  with-flto

-2424   -12     -28     -2464   msbiot
9800    116     2724    12640   with-gc-sections
7376    104     2696    10176   with-flto

-1336   -8      -32     -1376   mulle
10056   1164    4564    15784   with-gc-sections
8720    1156    4532    14408   with-flto

3085    8       208     3301    native
22223   380     51852   74455   with-gc-sections
25308   388     52060   77756   with-flto

-4088   -8      -32     -4128   nucleo-f091
11412   112     2712    14236   with-gc-sections
7324    104     2680    10108   with-flto

-2308   -8      -32     -2348   nucleo-f303
9496    112     2720    12328   with-gc-sections
7188    104     2688    9980    with-flto

-2096   -8      -32     -2136   nucleo-f334
9240    112     2696    12048   with-gc-sections
7144    104     2664    9912    with-flto

-2128   -8      -32     -2168   nucleo-l1
9348    112     2704    12164   with-gc-sections
7220    104     2672    9996    with-flto

-812    -8      -16     -836    openmote
7980    112     2688    10780   with-gc-sections
7168    104     2672    9944    with-flto

-1100   -8      -8      -1116   pba-d-01-kw2x
8076    1140    4204    13420   with-gc-sections
6976    1132    4196    12304   with-flto

-1024   -8      -24     -1056   pca10000
8180    112     2688    10980   with-gc-sections
7156    104     2664    9924    with-flto

-1024   -8      -24     -1056   pca10005
8156    112     2688    10956   with-gc-sections
7132    104     2664    9900    with-flto

-1064   -8      7       -1065   pttu
39944   2232    96069   138245  with-gc-sections
38880   2224    96076   137180  with-flto

5603    0       96      5699    qemu-i386
84644   4396    76308   165348  with-gc-sections
90247   4396    76404   171047  with-flto

-1308   -8      -32     -1348   redbee-econotag
40840   2264    8972    52076   with-gc-sections
39532   2256    8940    50728   with-flto

-868    -8      -136    -1012   saml21-xpro
8232    112     2792    11136   with-gc-sections
7364    104     2656    10124   with-flto

-876    -8      -16     -900    samr21-xpro
8308    112     2680    11100   with-gc-sections
7432    104     2664    10200   with-flto

-788    -8      -32     -828    spark-core
9792    112     2704    12608   with-gc-sections
9004    104     2672    11780   with-flto

-4084   -8      -32     -4124   stm32f0discovery
11420   112     2712    14244   with-gc-sections
7336    104     2680    10120   with-flto

-2304   -8      -32     -2344   stm32f3discovery
9504    112     2720    12336   with-gc-sections
7200    104     2688    9992    with-flto

-2360   -12     -36     -2408   stm32f4discovery
9696    116     2716    12528   with-gc-sections
7336    104     2680    10120   with-flto

ERR     ERR     ERR     ERR     telosb
ERR     ERR     ERR     ERR     with-gc-sections
ERR     ERR     ERR     ERR     with-flto

-1060   -8      -48     -1116   udoo
8476    116     2764    11356   with-gc-sections
7416    108     2716    10240   with-flto

ERR     ERR     ERR     ERR     wsn430-v1_3b
ERR     ERR     ERR     ERR     with-gc-sections
ERR     ERR     ERR     ERR     with-flto

ERR     ERR     ERR     ERR     wsn430-v1_4
ERR     ERR     ERR     ERR     with-gc-sections
ERR     ERR     ERR     ERR     with-flto

-1024   -8      -24     -1056   yunjia-nrf51822
8140    112     2688    10940   with-gc-sections
7116    104     2664    9884    with-flto

ERR     ERR     ERR     ERR     z1
ERR     ERR     ERR     ERR     with-gc-sections
ERR     ERR     ERR     ERR     with-flto

make: Leaving directory '/home/kim/work/src/riot/examples/hello-world'
make: Entering directory '/home/kim/work/src/riot/examples/ipc_pingpong'
text    data    bss     dec     BOARD/BINDIRBASE

-1168   -8      -24     -1200   airfy-beacon
8932    112     4224    13268   with-gc-sections
7764    104     4200    12068   with-flto

-1240   -8      -48     -1296   arduino-due
9268    116     4300    13684   with-gc-sections
8028    108     4252    12388   with-flto

ERR     ERR     ERR     ERR     arduino-mega2560
ERR     ERR     ERR     ERR     with-gc-sections
ERR     ERR     ERR     ERR     with-flto

-1240   -8      7       -1241   avsextrem
41056   2232    96069   139357  with-gc-sections
39816   2224    96076   138116  with-flto

-1016   -8      -16     -1040   cc2538dk
8816    112     4224    13152   with-gc-sections
7800    104     4208    12112   with-flto

ERR     ERR     ERR     ERR     chronos
ERR     ERR     ERR     ERR     with-gc-sections
ERR     ERR     ERR     ERR     with-flto

-2416   -12     -28     -2456   f4vi1
10308   116     4236    14660   with-gc-sections
7892    104     4208    12204   with-flto

-972    -8      -32     -1012   fox
10520   112     4240    14872   with-gc-sections
9548    104     4208    13860   with-flto

-1288   -8      -8      -1304   frdm-k64f
8796    1140    6356    16292   with-gc-sections
7508    1132    6348    14988   with-flto

-972    -8      -32     -1012   iot-lab_M3
10548   112     4240    14900   with-gc-sections
9576    104     4208    13888   with-flto

-1024   -8      -32     -1064   mbed_lpc1768
8672    112     4248    13032   with-gc-sections
7648    104     4216    11968   with-flto

ERR     ERR     ERR     ERR     msb-430
ERR     ERR     ERR     ERR     with-gc-sections
ERR     ERR     ERR     ERR     with-flto

ERR     ERR     ERR     ERR     msb-430h
ERR     ERR     ERR     ERR     with-gc-sections
ERR     ERR     ERR     ERR     with-flto

-1240   -8      7       -1241   msba2
40720   2232    96069   139021  with-gc-sections
39480   2224    96076   137780  with-flto

-2600   -12     -28     -2640   msbiot
10588   116     4260    14964   with-gc-sections
7988    104     4232    12324   with-flto

-1496   -8      -32     -1536   mulle
10848   1164    6100    18112   with-gc-sections
9352    1156    6068    16576   with-flto

3366    8       128     3502    native
24975   380     68288   93643   with-gc-sections
28341   388     68416   97145   with-flto

-4232   -8      -32     -4272   nucleo-f091
12188   112     4248    16548   with-gc-sections
7956    104     4216    12276   with-flto

-2484   -8      -32     -2524   nucleo-f303
10276   112     4256    14644   with-gc-sections
7792    104     4224    12120   with-flto

-2284   -8      -32     -2324   nucleo-f334
10020   112     4232    14364   with-gc-sections
7736    104     4200    12040   with-flto

-2316   -8      -32     -2356   nucleo-l1
10132   112     4240    14484   with-gc-sections
7816    104     4208    12128   with-flto

-1000   -8      -16     -1024   openmote
8768    112     4224    13104   with-gc-sections
7768    104     4208    12080   with-flto

-1288   -8      -8      -1304   pba-d-01-kw2x
8864    1140    5740    15744   with-gc-sections
7576    1132    5732    14440   with-flto

-1172   -8      -24     -1204   pca10000
8960    112     4224    13296   with-gc-sections
7788    104     4200    12092   with-flto

-1172   -8      -24     -1204   pca10005
8936    112     4224    13272   with-gc-sections
7764    104     4200    12068   with-flto

-1240   -8      7       -1241   pttu
41264   2232    96069   139565  with-gc-sections
40024   2224    96076   138324  with-flto

4801    0       96      4897    qemu-i386
85654   4396    92704   182754  with-gc-sections
90455   4396    92800   187651  with-flto

-1756   -8      -32     -1796   redbee-econotag
42400   2264    11532   56196   with-gc-sections
40644   2256    11500   54400   with-flto

-1012   -8      -136    -1156   saml21-xpro
9008    112     4328    13448   with-gc-sections
7996    104     4192    12292   with-flto

-1020   -8      -16     -1044   samr21-xpro
9084    112     4216    13412   with-gc-sections
8064    104     4200    12368   with-flto

-976    -8      -32     -1016   spark-core
10576   112     4240    14928   with-gc-sections
9600    104     4208    13912   with-flto

-4228   -8      -32     -4268   stm32f0discovery
12192   112     4248    16552   with-gc-sections
7964    104     4216    12284   with-flto

-2480   -8      -32     -2520   stm32f3discovery
10280   112     4256    14648   with-gc-sections
7800    104     4224    12128   with-flto

-2548   -12     -36     -2596   stm32f4discovery
10472   116     4252    14840   with-gc-sections
7924    104     4216    12244   with-flto

ERR     ERR     ERR     ERR     telosb
ERR     ERR     ERR     ERR     with-gc-sections
ERR     ERR     ERR     ERR     with-flto

-1240   -8      -48     -1296   udoo
9268    116     4300    13684   with-gc-sections
8028    108     4252    12388   with-flto

ERR     ERR     ERR     ERR     wsn430-v1_3b
ERR     ERR     ERR     ERR     with-gc-sections
ERR     ERR     ERR     ERR     with-flto

ERR     ERR     ERR     ERR     wsn430-v1_4
ERR     ERR     ERR     ERR     with-gc-sections
ERR     ERR     ERR     ERR     with-flto

-1168   -8      -24     -1200   yunjia-nrf51822
8920    112     4224    13256   with-gc-sections
7752    104     4200    12056   with-flto

ERR     ERR     ERR     ERR     z1
ERR     ERR     ERR     ERR     with-gc-sections
ERR     ERR     ERR     ERR     with-flto

make: Leaving directory '/home/kim/work/src/riot/examples/ipc_pingpong'
make: Entering directory '/home/kim/work/src/riot/examples/ng_networking'
text    data    bss     dec     BOARD/BINDIRBASE

ERR     ERR     ERR     ERR     airfy-beacon
ERR     ERR     ERR     ERR     with-gc-sections
ERR     ERR     ERR     ERR     with-flto

-4560   -8      0       -4568   arduino-due
38736   172     17796   56704   with-gc-sections
34176   164     17796   52136   with-flto

-14768  0       3       -14765  avsextrem
98292   2284    96017   196593  with-gc-sections
83524   2284    96020   181828  with-flto

-4360   -8      0       -4368   cc2538dk
38256   168     17720   56144   with-gc-sections
33896   160     17720   51776   with-flto

ERR     ERR     ERR     ERR     chronos
ERR     ERR     ERR     ERR     with-gc-sections
ERR     ERR     ERR     ERR     with-flto

-5664   -12     4       -5672   f4vi1
39736   172     17732   57640   with-gc-sections
34072   160     17736   51968   with-flto

-4216   -8      0       -4224   fox
40076   168     17736   57980   with-gc-sections
35860   160     17736   53756   with-flto

-4512   -8      0       -4520   frdm-k64f
38156   1196    19852   59204   with-gc-sections
33644   1188    19852   54684   with-flto

-4628   -4      4       -4628   iot-lab_M3
50232   168     20448   70848   with-gc-sections
45604   164     20452   66220   with-flto

-4244   -8      0       -4252   mbed_lpc1768
38036   168     17744   55948   with-gc-sections
33792   160     17744   51696   with-flto

ERR     ERR     ERR     ERR     msb-430
ERR     ERR     ERR     ERR     with-gc-sections
ERR     ERR     ERR     ERR     with-flto

ERR     ERR     ERR     ERR     msb-430h
ERR     ERR     ERR     ERR     with-gc-sections
ERR     ERR     ERR     ERR     with-flto

-14768  0       3       -14765  msba2
97956   2284    96017   196257  with-gc-sections
83188   2284    96020   181492  with-flto

-5868   -12     4       -5876   msbiot
40016   172     17756   57944   with-gc-sections
34148   160     17760   52068   with-flto

-4724   -8      -24     -4756   mulle
40192   1220    19596   61008   with-gc-sections
35468   1212    19572   56252   with-flto

-12603  8       192     -12403  native
125287  536     115136  240959  with-gc-sections
112684  544     115328  228556  with-flto

-7556   -8      0       -7564   nucleo-f091
43620   168     17744   61532   with-gc-sections
36064   160     17744   53968   with-flto

-5736   -8      0       -5744   nucleo-f303
39692   168     17752   57612   with-gc-sections
33956   160     17752   51868   with-flto

ERR     ERR     ERR     ERR     nucleo-f334
ERR     ERR     ERR     ERR     with-gc-sections
ERR     ERR     ERR     ERR     with-flto

-5492   -4      -4      -5500   nucleo-l1
39684   168     17736   57588   with-gc-sections
34192   164     17732   52088   with-flto

-4344   -8      0       -4352   openmote
38208   168     17720   56096   with-gc-sections
33864   160     17720   51744   with-flto

-5148   -8      -8      -5164   pba-d-01-kw2x
49900   1196    22052   73148   with-gc-sections
44752   1188    22044   67984   with-flto

ERR     ERR     ERR     ERR     pca10000
ERR     ERR     ERR     ERR     with-gc-sections
ERR     ERR     ERR     ERR     with-flto

ERR     ERR     ERR     ERR     pca10005
ERR     ERR     ERR     ERR     with-gc-sections
ERR     ERR     ERR     ERR     with-flto

-14768  0       3       -14765  pttu
98500   2284    96017   196801  with-gc-sections
83732   2284    96020   182036  with-flto

4872    12      224     5108    qemu-i386
145123  4480    128224  277827  with-gc-sections
149995  4492    128448  282935  with-flto

ERR     ERR     ERR     ERR     redbee-econotag
ERR     ERR     ERR     ERR     with-gc-sections
ERR     ERR     ERR     ERR     with-flto

-4356   -8      -128    -4492   saml21-xpro
40528   168     17824   58520   with-gc-sections
36172   160     17696   54028   with-flto

-5276   -8      0       -5284   samr21-xpro
50360   168     20432   70960   with-gc-sections
45084   160     20432   65676   with-flto

-4224   -8      0       -4232   spark-core
40132   168     17736   58036   with-gc-sections
35908   160     17736   53804   with-flto

ERR     ERR     ERR     ERR     stm32f0discovery
ERR     ERR     ERR     ERR     with-gc-sections
ERR     ERR     ERR     ERR     with-flto

-5732   -8      0       -5740   stm32f3discovery
39696   168     17752   57616   with-gc-sections
33964   160     17752   51876   with-flto

-5796   -12     -4      -5812   stm32f4discovery
39900   172     17748   57820   with-gc-sections
34104   160     17744   52008   with-flto

ERR     ERR     ERR     ERR     telosb
ERR     ERR     ERR     ERR     with-gc-sections
ERR     ERR     ERR     ERR     with-flto

-4560   -8      0       -4568   udoo
38736   172     17796   56704   with-gc-sections
34176   164     17796   52136   with-flto

ERR     ERR     ERR     ERR     wsn430-v1_3b
ERR     ERR     ERR     ERR     with-gc-sections
ERR     ERR     ERR     ERR     with-flto

ERR     ERR     ERR     ERR     wsn430-v1_4
ERR     ERR     ERR     ERR     with-gc-sections
ERR     ERR     ERR     ERR     with-flto

ERR     ERR     ERR     ERR     yunjia-nrf51822
ERR     ERR     ERR     ERR     with-gc-sections
ERR     ERR     ERR     ERR     with-flto

ERR     ERR     ERR     ERR     z1
ERR     ERR     ERR     ERR     with-gc-sections
ERR     ERR     ERR     ERR     with-flto

make: Leaving directory '/home/kim/work/src/riot/examples/ng_networking'
make: Entering directory '/home/kim/work/src/riot/examples/riot_and_cpp'
text    data    bss     dec     BOARD/BINDIRBASE

-1384   -8      72      -1320   airfy-beacon
18692   120     4248    23060   with-gc-sections
17308   112     4320    21740   with-flto

-1856   -8      48      -1816   arduino-due
18904   124     4324    23352   with-gc-sections
17048   116     4372    21536   with-flto

-1696   -8      80      -1624   cc2538dk
18448   120     4240    22808   with-gc-sections
16752   112     4320    21184   with-flto

-3104   -12     60      -3056   f4vi1
19952   124     4260    24336   with-gc-sections
16848   112     4320    21280   with-flto

-1664   -8      64      -1608   fox
20160   120     4256    24536   with-gc-sections
18496   112     4320    22928   with-flto

-1992   -8      88      -1912   frdm-k64f
18448   1148    6380    25976   with-gc-sections
16456   1140    6468    24064   with-flto

-1664   -8      64      -1608   iot-lab_M3
20184   120     4256    24560   with-gc-sections
18520   112     4320    22952   with-flto

-1704   -8      64      -1648   mbed_lpc1768
18304   120     4264    22688   with-gc-sections
16600   112     4328    21040   with-flto

ERR     ERR     ERR     ERR     msba2
56756   2240    96057   155053  with-gc-sections
ERR     ERR     ERR     ERR     with-flto

-3288   -12     60      -3240   msbiot
20232   124     4284    24640   with-gc-sections
16944   112     4344    21400   with-flto

-2240   -8      72      -2176   mulle
20496   1172    6116    27784   with-gc-sections
18256   1164    6188    25608   with-flto

442     12      68      522     native
34037   436     68288   102761  with-gc-sections
34479   448     68356   103283  with-flto

-4400   -8      64      -4344   nucleo-f091
21900   120     4264    26284   with-gc-sections
17500   112     4328    21940   with-flto

-3184   -8      64      -3128   nucleo-f303
19920   120     4280    24320   with-gc-sections
16736   112     4344    21192   with-flto

-2976   -8      64      -2920   nucleo-f334
19664   120     4256    24040   with-gc-sections
16688   112     4320    21120   with-flto

-3000   -8      64      -2944   nucleo-l1
19768   120     4256    24144   with-gc-sections
16768   112     4320    21200   with-flto

-1688   -8      80      -1616   openmote
18400   120     4240    22760   with-gc-sections
16712   112     4320    21144   with-flto

-1384   -8      72      -1320   pca10000
18716   120     4248    23084   with-gc-sections
17332   112     4320    21764   with-flto

-1384   -8      72      -1320   pca10005
18692   120     4248    23060   with-gc-sections
17308   112     4320    21740   with-flto

-1248   -8      -40     -1296   saml21-xpro
18788   120     4344    23252   with-gc-sections
17540   112     4304    21956   with-flto

-1264   -8      80      -1192   samr21-xpro
18868   120     4232    23220   with-gc-sections
17604   112     4312    22028   with-flto

-1672   -8      64      -1616   spark-core
20216   120     4256    24592   with-gc-sections
18544   112     4320    22976   with-flto

ERR     ERR     ERR     ERR     stm32f0discovery
ERR     ERR     ERR     ERR     with-gc-sections
ERR     ERR     ERR     ERR     with-flto

-3176   -8      64      -3120   stm32f3discovery
19920   120     4280    24320   with-gc-sections
16744   112     4344    21200   with-flto

-3216   -12     68      -3160   stm32f4discovery
20112   124     4268    24504   with-gc-sections
16896   112     4336    21344   with-flto

-1856   -8      48      -1816   udoo
18904   124     4324    23352   with-gc-sections
17048   116     4372    21536   with-flto

-1384   -8      72      -1320   yunjia-nrf51822
18676   120     4248    23044   with-gc-sections
17292   112     4320    21724   with-flto

make: Leaving directory '/home/kim/work/src/riot/examples/riot_and_cpp'
make: Entering directory '/home/kim/work/src/riot/examples/rpl_udp'
text    data    bss     dec     BOARD/BINDIRBASE

-10360  -32     39      -10353  avsextrem
126236  2400    95897   224533  with-gc-sections
115876  2368    95936   214180  with-flto

ERR     ERR     ERR     ERR     chronos
ERR     ERR     ERR     ERR     with-gc-sections
ERR     ERR     ERR     ERR     with-flto

-6000   -12     -24     -6036   fox
60232   240     30968   91440   with-gc-sections
54232   228     30944   85404   with-flto

-6096   -12     -24     -6132   iot-lab_M3
60408   240     30976   91624   with-gc-sections
54312   228     30952   85492   with-flto

ERR     ERR     ERR     ERR     msb-430h
ERR     ERR     ERR     ERR     with-gc-sections
ERR     ERR     ERR     ERR     with-flto

-10392  -32     35      -10389  msba2
125852  2400    95897   224149  with-gc-sections
115460  2368    95932   213760  with-flto

-6696   -28     -32     -6756   msbiot
56932   284     31392   88608   with-gc-sections
50236   256     31360   81852   with-flto

-5796   -12     -64     -5872   mulle
59732   1292    32728   93752   with-gc-sections
53936   1280    32664   87880   with-flto

-9614   8       43916   34310   native
159680  596     209536  369812  with-gc-sections
150066  604     253452  404122  with-flto

ERR     ERR     ERR     ERR     redbee-econotag
ERR     ERR     ERR     ERR     with-gc-sections
ERR     ERR     ERR     ERR     with-flto

ERR     ERR     ERR     ERR     samr21-xpro
ERR     ERR     ERR     ERR     with-gc-sections
ERR     ERR     ERR     ERR     with-flto

ERR     ERR     ERR     ERR     telosb
ERR     ERR     ERR     ERR     with-gc-sections
ERR     ERR     ERR     ERR     with-flto

ERR     ERR     ERR     ERR     wsn430-v1_3b
ERR     ERR     ERR     ERR     with-gc-sections
ERR     ERR     ERR     ERR     with-flto

ERR     ERR     ERR     ERR     wsn430-v1_4
ERR     ERR     ERR     ERR     with-gc-sections
ERR     ERR     ERR     ERR     with-flto

ERR     ERR     ERR     ERR     z1
ERR     ERR     ERR     ERR     with-gc-sections
ERR     ERR     ERR     ERR     with-flto

make: Leaving directory '/home/kim/work/src/riot/examples/rpl_udp'

Edit: Updated

@OlegHahm OlegHahm assigned Kijewski and unassigned OlegHahm Jul 13, 2015
@jnohlgard jnohlgard removed the State: waiting for other PR State: The PR requires another PR to be merged first label Jul 14, 2015
@jnohlgard
Copy link
Copy Markdown
Member Author

rebased on latest master (including #3319 #3358 #3163)

@jnohlgard
Copy link
Copy Markdown
Member Author

Added more fixes

@OlegHahm OlegHahm removed the Community: Hack'n'ACK candidate This PR is a candidate for review and discussion during one of RIOT's monthly Hack'n'ACK parties label Jul 28, 2015
@kaspar030
Copy link
Copy Markdown
Contributor

@gebart Arent "fat LTO objects" objects that contain not only, e.g., a compiled function, but also the intermediary representation, so the linker can "compile" the IR of multiple objects into the final binary, allowing even more optimization?

(needs rebase)

@jnohlgard
Copy link
Copy Markdown
Member Author

The non-fat LTO objects contain only the IR code in order to allow the linker to optimize further. The fat LTO objects contain the same information, but also the traditional binary object code, which can AFAIK not be used by the LTO process, but allows an older linker to still link the objects, by simply discarding the IR version of the code.
Hence my question, if the linker requires fat LTO objects, does it at all have/use any LTO features?

@jnohlgard
Copy link
Copy Markdown
Member Author

rebased, untested.

@jnohlgard
Copy link
Copy Markdown
Member Author

Updated list with both GNU and LLVM toolchains (TOOLCHAIN is only relevant for cortex-M platforms, other results are only gcc regardless of what TOOLCHAIN says):

Generated by running:

for f in */; do for t in llvm gnu; do for l in 0 1; do make -C $f clean buildtest BUILD_IN_DOCKER=1 BINDIRBASE="TOOLCHAIN=${t}-LTO=${l}" TOOLCHAIN="${t}" LTO="${l}"; done; done; done
for f in */; do for t in llvm gnu; do make -C $f info-buildsizes-diff NEWBIN=TOOLCHAIN=$t-LTO=1 OLDBIN=TOOLCHAIN=$t-LTO=0; done; done | tee info-buildsizes-diff-lto.txt | sed -r "s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g" | expand > info-buildsizes-diff-lto-nocolor.txt
for f in */; do for l in 0 1; do make -C $f info-buildsizes-diff NEWBIN=TOOLCHAIN=llvm-LTO=$l OLDBIN=TOOLCHAIN=gnu-LTO=$l; done; done | tee info-buildsizes-diff-toolchain.txt | sed -r "s/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g" | expand > info-buildsizes-diff-toolchain-nocolor.txt
make: Entering directory '/home/kim/work/src/riot/examples/default'
text    data    bss     dec     BOARD/BINDIRBASE

-1500   -8      0       -1508   airfy-beacon
10996   148     2748    13892   TOOLCHAIN=llvm-LTO=0
9496    140     2748    12384   TOOLCHAIN=llvm-LTO=1

-1476   -8      0       -1484   arduino-due
11216   152     2824    14192   TOOLCHAIN=llvm-LTO=0
9740    144     2824    12708   TOOLCHAIN=llvm-LTO=1

ERR     ERR     ERR     ERR     arduino-mega2560
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=1

-2312   -8      8       -2312   avsextrem
52444   2332    95969   150745  TOOLCHAIN=llvm-LTO=0
50132   2324    95977   148433  TOOLCHAIN=llvm-LTO=1

-1336   -8      0       -1344   cc2538dk
10720   148     2748    13616   TOOLCHAIN=llvm-LTO=0
9384    140     2748    12272   TOOLCHAIN=llvm-LTO=1

ERR     ERR     ERR     ERR     chronos
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=1

-1196   -8      0       -1204   ek-lm4f120xl
10680   148     2788    13616   TOOLCHAIN=llvm-LTO=0
9484    140     2788    12412   TOOLCHAIN=llvm-LTO=1

-2560   -12     4       -2568   f4vi1
12232   152     2760    15144   TOOLCHAIN=llvm-LTO=0
9672    140     2764    12576   TOOLCHAIN=llvm-LTO=1

-1760   -8      -128    -1896   fox
16976   148     2932    20056   TOOLCHAIN=llvm-LTO=0
15216   140     2804    18160   TOOLCHAIN=llvm-LTO=1

-1760   -8      0       -1768   frdm-k64f
15120   1244    4908    21272   TOOLCHAIN=llvm-LTO=0
13360   1236    4908    19504   TOOLCHAIN=llvm-LTO=1

-1852   -8      -128    -1988   iot-lab_M3
17644   148     2940    20732   TOOLCHAIN=llvm-LTO=0
15792   140     2812    18744   TOOLCHAIN=llvm-LTO=1

-2428   -8      0       -2436   limifrog-v1
12148   148     2772    15068   TOOLCHAIN=llvm-LTO=0
9720    140     2772    12632   TOOLCHAIN=llvm-LTO=1

-1212   -8      0       -1220   mbed_lpc1768
10500   148     2772    13420   TOOLCHAIN=llvm-LTO=0
9288    140     2772    12200   TOOLCHAIN=llvm-LTO=1

ERR     ERR     ERR     ERR     msb-430
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=1

ERR     ERR     ERR     ERR     msb-430h
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=1

-3776   -8      8       -3776   msba2
64788   2340    93973   161101  TOOLCHAIN=llvm-LTO=0
61012   2332    93981   157325  TOOLCHAIN=llvm-LTO=1

-2768   -12     4       -2776   msbiot
12512   152     2784    15448   TOOLCHAIN=llvm-LTO=0
9744    140     2788    12672   TOOLCHAIN=llvm-LTO=1

-2036   -8      0       -2044   mulle
17016   1268    4628    22912   TOOLCHAIN=llvm-LTO=0
14980   1260    4628    20868   TOOLCHAIN=llvm-LTO=1

1785    8       256     2049    native
44167   520     60544   105231  TOOLCHAIN=llvm-LTO=0
45952   528     60800   107280  TOOLCHAIN=llvm-LTO=1

-1500   -8      0       -1508   nrf51dongle
11020   148     2748    13916   TOOLCHAIN=llvm-LTO=0
9520    140     2748    12408   TOOLCHAIN=llvm-LTO=1

-4616   -8      0       -4624   nucleo-f091
14124   148     2772    17044   TOOLCHAIN=llvm-LTO=0
9508    140     2772    12420   TOOLCHAIN=llvm-LTO=1

-2656   -8      0       -2664   nucleo-f303
12188   148     2780    15116   TOOLCHAIN=llvm-LTO=0
9532    140     2780    12452   TOOLCHAIN=llvm-LTO=1

-2500   -8      0       -2508   nucleo-f334
11932   148     2756    14836   TOOLCHAIN=llvm-LTO=0
9432    140     2756    12328   TOOLCHAIN=llvm-LTO=1

-2444   -8      0       -2452   nucleo-l1
12148   148     2764    15060   TOOLCHAIN=llvm-LTO=0
9704    140     2764    12608   TOOLCHAIN=llvm-LTO=1

-1320   -8      0       -1328   openmote
10672   148     2748    13568   TOOLCHAIN=llvm-LTO=0
9352    140     2748    12240   TOOLCHAIN=llvm-LTO=1

-1756   -8      0       -1764   pba-d-01-kw2x
15188   1244    4292    20724   TOOLCHAIN=llvm-LTO=0
13432   1236    4292    18960   TOOLCHAIN=llvm-LTO=1

-1500   -8      0       -1508   pca10000
11020   148     2748    13916   TOOLCHAIN=llvm-LTO=0
9520    140     2748    12408   TOOLCHAIN=llvm-LTO=1

-1500   -8      0       -1508   pca10005
11000   148     2748    13896   TOOLCHAIN=llvm-LTO=0
9500    140     2748    12388   TOOLCHAIN=llvm-LTO=1

-2312   -8      8       -2312   pttu
52652   2332    95969   150953  TOOLCHAIN=llvm-LTO=0
50340   2324    95977   148641  TOOLCHAIN=llvm-LTO=1

5163    8       96      5267    qemu-i386
92781   4448    84944   182173  TOOLCHAIN=llvm-LTO=0
97944   4456    85040   187440  TOOLCHAIN=llvm-LTO=1

-2496   -40     0       -2536   redbee-econotag
47968   2304    9624    59896   TOOLCHAIN=llvm-LTO=0
45472   2264    9624    57360   TOOLCHAIN=llvm-LTO=1

-1336   -8      -128    -1472   saml21-xpro
10956   148     2852    13956   TOOLCHAIN=llvm-LTO=0
9620    140     2724    12484   TOOLCHAIN=llvm-LTO=1

-1628   -8      0       -1636   samr21-xpro
14452   156     2748    17356   TOOLCHAIN=llvm-LTO=0
12824   148     2748    15720   TOOLCHAIN=llvm-LTO=1

-1376   -8      -128    -1512   spark-core
12856   148     2892    15896   TOOLCHAIN=llvm-LTO=0
11480   140     2764    14384   TOOLCHAIN=llvm-LTO=1

-4612   -8      0       -4620   stm32f0discovery
14128   148     2772    17048   TOOLCHAIN=llvm-LTO=0
9516    140     2772    12428   TOOLCHAIN=llvm-LTO=1

-2652   -8      0       -2660   stm32f3discovery
12192   148     2780    15120   TOOLCHAIN=llvm-LTO=0
9540    140     2780    12460   TOOLCHAIN=llvm-LTO=1

-2692   -12     -4      -2708   stm32f4discovery
12396   152     2776    15324   TOOLCHAIN=llvm-LTO=0
9704    140     2772    12616   TOOLCHAIN=llvm-LTO=1

ERR     ERR     ERR     ERR     telosb
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=1

-1476   -8      0       -1484   udoo
11216   152     2824    14192   TOOLCHAIN=llvm-LTO=0
9740    144     2824    12708   TOOLCHAIN=llvm-LTO=1

ERR     ERR     ERR     ERR     wsn430-v1_3b
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=1

ERR     ERR     ERR     ERR     wsn430-v1_4
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=1

-1504   -8      0       -1512   yunjia-nrf51822
10984   148     2748    13880   TOOLCHAIN=llvm-LTO=0
9480    140     2748    12368   TOOLCHAIN=llvm-LTO=1

ERR     ERR     ERR     ERR     z1
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=1

make: Leaving directory '/home/kim/work/src/riot/examples/default'
make: Entering directory '/home/kim/work/src/riot/examples/default'
text    data    bss     dec     BOARD/BINDIRBASE

-1500   -8      0       -1508   airfy-beacon
10996   148     2748    13892   TOOLCHAIN=gnu-LTO=0
9496    140     2748    12384   TOOLCHAIN=gnu-LTO=1

-1476   -8      0       -1484   arduino-due
11216   152     2824    14192   TOOLCHAIN=gnu-LTO=0
9740    144     2824    12708   TOOLCHAIN=gnu-LTO=1

ERR     ERR     ERR     ERR     arduino-mega2560
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=1

-2312   -8      8       -2312   avsextrem
52444   2332    95969   150745  TOOLCHAIN=gnu-LTO=0
50132   2324    95977   148433  TOOLCHAIN=gnu-LTO=1

-1336   -8      0       -1344   cc2538dk
10720   148     2748    13616   TOOLCHAIN=gnu-LTO=0
9384    140     2748    12272   TOOLCHAIN=gnu-LTO=1

ERR     ERR     ERR     ERR     chronos
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=1

-1196   -8      0       -1204   ek-lm4f120xl
10680   148     2788    13616   TOOLCHAIN=gnu-LTO=0
9484    140     2788    12412   TOOLCHAIN=gnu-LTO=1

-2560   -12     4       -2568   f4vi1
12232   152     2760    15144   TOOLCHAIN=gnu-LTO=0
9672    140     2764    12576   TOOLCHAIN=gnu-LTO=1

-1760   -8      -128    -1896   fox
16976   148     2932    20056   TOOLCHAIN=gnu-LTO=0
15216   140     2804    18160   TOOLCHAIN=gnu-LTO=1

-1760   -8      0       -1768   frdm-k64f
15120   1244    4908    21272   TOOLCHAIN=gnu-LTO=0
13360   1236    4908    19504   TOOLCHAIN=gnu-LTO=1

-1852   -8      -128    -1988   iot-lab_M3
17644   148     2940    20732   TOOLCHAIN=gnu-LTO=0
15792   140     2812    18744   TOOLCHAIN=gnu-LTO=1

-2428   -8      0       -2436   limifrog-v1
12148   148     2772    15068   TOOLCHAIN=gnu-LTO=0
9720    140     2772    12632   TOOLCHAIN=gnu-LTO=1

-1212   -8      0       -1220   mbed_lpc1768
10500   148     2772    13420   TOOLCHAIN=gnu-LTO=0
9288    140     2772    12200   TOOLCHAIN=gnu-LTO=1

ERR     ERR     ERR     ERR     msb-430
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=1

ERR     ERR     ERR     ERR     msb-430h
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=1

-3776   -8      8       -3776   msba2
64788   2340    93973   161101  TOOLCHAIN=gnu-LTO=0
61012   2332    93981   157325  TOOLCHAIN=gnu-LTO=1

-2768   -12     4       -2776   msbiot
12512   152     2784    15448   TOOLCHAIN=gnu-LTO=0
9744    140     2788    12672   TOOLCHAIN=gnu-LTO=1

-2036   -8      0       -2044   mulle
17016   1268    4628    22912   TOOLCHAIN=gnu-LTO=0
14980   1260    4628    20868   TOOLCHAIN=gnu-LTO=1

1785    8       256     2049    native
44167   520     60544   105231  TOOLCHAIN=gnu-LTO=0
45952   528     60800   107280  TOOLCHAIN=gnu-LTO=1

-1500   -8      0       -1508   nrf51dongle
11020   148     2748    13916   TOOLCHAIN=gnu-LTO=0
9520    140     2748    12408   TOOLCHAIN=gnu-LTO=1

-4616   -8      0       -4624   nucleo-f091
14124   148     2772    17044   TOOLCHAIN=gnu-LTO=0
9508    140     2772    12420   TOOLCHAIN=gnu-LTO=1

-2656   -8      0       -2664   nucleo-f303
12188   148     2780    15116   TOOLCHAIN=gnu-LTO=0
9532    140     2780    12452   TOOLCHAIN=gnu-LTO=1

-2500   -8      0       -2508   nucleo-f334
11932   148     2756    14836   TOOLCHAIN=gnu-LTO=0
9432    140     2756    12328   TOOLCHAIN=gnu-LTO=1

-2444   -8      0       -2452   nucleo-l1
12148   148     2764    15060   TOOLCHAIN=gnu-LTO=0
9704    140     2764    12608   TOOLCHAIN=gnu-LTO=1

-1320   -8      0       -1328   openmote
10672   148     2748    13568   TOOLCHAIN=gnu-LTO=0
9352    140     2748    12240   TOOLCHAIN=gnu-LTO=1

-1756   -8      0       -1764   pba-d-01-kw2x
15188   1244    4292    20724   TOOLCHAIN=gnu-LTO=0
13432   1236    4292    18960   TOOLCHAIN=gnu-LTO=1

-1500   -8      0       -1508   pca10000
11020   148     2748    13916   TOOLCHAIN=gnu-LTO=0
9520    140     2748    12408   TOOLCHAIN=gnu-LTO=1

-1500   -8      0       -1508   pca10005
11000   148     2748    13896   TOOLCHAIN=gnu-LTO=0
9500    140     2748    12388   TOOLCHAIN=gnu-LTO=1

-2312   -8      8       -2312   pttu
52652   2332    95969   150953  TOOLCHAIN=gnu-LTO=0
50340   2324    95977   148641  TOOLCHAIN=gnu-LTO=1

5163    8       96      5267    qemu-i386
92781   4448    84944   182173  TOOLCHAIN=gnu-LTO=0
97944   4456    85040   187440  TOOLCHAIN=gnu-LTO=1

-2496   -40     0       -2536   redbee-econotag
47968   2304    9624    59896   TOOLCHAIN=gnu-LTO=0
45472   2264    9624    57360   TOOLCHAIN=gnu-LTO=1

-1336   -8      -128    -1472   saml21-xpro
10956   148     2852    13956   TOOLCHAIN=gnu-LTO=0
9620    140     2724    12484   TOOLCHAIN=gnu-LTO=1

-1628   -8      0       -1636   samr21-xpro
14452   156     2748    17356   TOOLCHAIN=gnu-LTO=0
12824   148     2748    15720   TOOLCHAIN=gnu-LTO=1

-1376   -8      -128    -1512   spark-core
12856   148     2892    15896   TOOLCHAIN=gnu-LTO=0
11480   140     2764    14384   TOOLCHAIN=gnu-LTO=1

-4612   -8      0       -4620   stm32f0discovery
14128   148     2772    17048   TOOLCHAIN=gnu-LTO=0
9516    140     2772    12428   TOOLCHAIN=gnu-LTO=1

-2652   -8      0       -2660   stm32f3discovery
12192   148     2780    15120   TOOLCHAIN=gnu-LTO=0
9540    140     2780    12460   TOOLCHAIN=gnu-LTO=1

-2692   -12     -4      -2708   stm32f4discovery
12396   152     2776    15324   TOOLCHAIN=gnu-LTO=0
9704    140     2772    12616   TOOLCHAIN=gnu-LTO=1

ERR     ERR     ERR     ERR     telosb
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=1

-1476   -8      0       -1484   udoo
11216   152     2824    14192   TOOLCHAIN=gnu-LTO=0
9740    144     2824    12708   TOOLCHAIN=gnu-LTO=1

ERR     ERR     ERR     ERR     wsn430-v1_3b
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=1

ERR     ERR     ERR     ERR     wsn430-v1_4
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=1

-1504   -8      0       -1512   yunjia-nrf51822
10984   148     2748    13880   TOOLCHAIN=gnu-LTO=0
9480    140     2748    12368   TOOLCHAIN=gnu-LTO=1

ERR     ERR     ERR     ERR     z1
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=1

make: Leaving directory '/home/kim/work/src/riot/examples/default'
make: Entering directory '/home/kim/work/src/riot/examples/hello-world'
text    data    bss     dec     BOARD/BINDIRBASE

-1056   -8      -24     -1088   airfy-beacon
8056    112     2688    10856   TOOLCHAIN=llvm-LTO=0
7000    104     2664    9768    TOOLCHAIN=llvm-LTO=1

-1088   -8      -48     -1144   arduino-due
8380    116     2764    11260   TOOLCHAIN=llvm-LTO=0
7292    108     2716    10116   TOOLCHAIN=llvm-LTO=1

ERR     ERR     ERR     ERR     arduino-mega2560
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=1

-1072   -8      7       -1073   avsextrem
39608   2232    96069   137909  TOOLCHAIN=llvm-LTO=0
38536   2224    96076   136836  TOOLCHAIN=llvm-LTO=1

-844    -8      -16     -868    cc2538dk
7912    112     2688    10712   TOOLCHAIN=llvm-LTO=0
7068    104     2672    9844    TOOLCHAIN=llvm-LTO=1

ERR     ERR     ERR     ERR     chronos
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=1

-820    -8      -8      -836    ek-lm4f120xl
7984    112     2728    10824   TOOLCHAIN=llvm-LTO=0
7164    104     2720    9988    TOOLCHAIN=llvm-LTO=1

-2244   -12     -28     -2284   f4vi1
9404    116     2700    12220   TOOLCHAIN=llvm-LTO=0
7160    104     2672    9936    TOOLCHAIN=llvm-LTO=1

-984    -8      -160    -1152   fox
9872    112     2832    12816   TOOLCHAIN=llvm-LTO=0
8888    104     2672    11664   TOOLCHAIN=llvm-LTO=1

-1116   -8      -8      -1132   frdm-k64f
7888    1140    4820    13848   TOOLCHAIN=llvm-LTO=0
6772    1132    4812    12716   TOOLCHAIN=llvm-LTO=1

-988    -8      -160    -1156   iot-lab_M3
9908    112     2832    12852   TOOLCHAIN=llvm-LTO=0
8920    104     2672    11696   TOOLCHAIN=llvm-LTO=1

-2140   -8      -32     -2180   limifrog-v1
9256    112     2712    12080   TOOLCHAIN=llvm-LTO=0
7116    104     2680    9900    TOOLCHAIN=llvm-LTO=1

-852    -8      -32     -892    mbed_lpc1768
7764    112     2712    10588   TOOLCHAIN=llvm-LTO=0
6912    104     2680    9696    TOOLCHAIN=llvm-LTO=1

ERR     ERR     ERR     ERR     msb-430
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=1

ERR     ERR     ERR     ERR     msb-430h
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=1

-1064   -8      7       -1065   msba2
39264   2232    96069   137565  TOOLCHAIN=llvm-LTO=0
38200   2224    96076   136500  TOOLCHAIN=llvm-LTO=1

-2440   -12     -28     -2480   msbiot
9684    116     2724    12524   TOOLCHAIN=llvm-LTO=0
7244    104     2696    10044   TOOLCHAIN=llvm-LTO=1

-1356   -8      -32     -1396   mulle
9940    1164    4564    15668   TOOLCHAIN=llvm-LTO=0
8584    1156    4532    14272   TOOLCHAIN=llvm-LTO=1

3245    8       208     3461    native
21927   380     51852   74159   TOOLCHAIN=llvm-LTO=0
25172   388     52060   77620   TOOLCHAIN=llvm-LTO=1

-1052   -8      -24     -1084   nrf51dongle
8076    112     2688    10876   TOOLCHAIN=llvm-LTO=0
7024    104     2664    9792    TOOLCHAIN=llvm-LTO=1

-4120   -8      -32     -4160   nucleo-f091
11312   112     2712    14136   TOOLCHAIN=llvm-LTO=0
7192    104     2680    9976    TOOLCHAIN=llvm-LTO=1

-2324   -8      -32     -2364   nucleo-f303
9380    112     2720    12212   TOOLCHAIN=llvm-LTO=0
7056    104     2688    9848    TOOLCHAIN=llvm-LTO=1

-2112   -8      -32     -2152   nucleo-f334
9124    112     2696    11932   TOOLCHAIN=llvm-LTO=0
7012    104     2664    9780    TOOLCHAIN=llvm-LTO=1

-2144   -8      -32     -2184   nucleo-l1
9232    112     2704    12048   TOOLCHAIN=llvm-LTO=0
7088    104     2672    9864    TOOLCHAIN=llvm-LTO=1

-828    -8      -16     -852    openmote
7864    112     2688    10664   TOOLCHAIN=llvm-LTO=0
7036    104     2672    9812    TOOLCHAIN=llvm-LTO=1

-1116   -8      -8      -1132   pba-d-01-kw2x
7960    1140    4204    13304   TOOLCHAIN=llvm-LTO=0
6844    1132    4196    12172   TOOLCHAIN=llvm-LTO=1

-1052   -8      -24     -1084   pca10000
8076    112     2688    10876   TOOLCHAIN=llvm-LTO=0
7024    104     2664    9792    TOOLCHAIN=llvm-LTO=1

-1056   -8      -24     -1088   pca10005
8056    112     2688    10856   TOOLCHAIN=llvm-LTO=0
7000    104     2664    9768    TOOLCHAIN=llvm-LTO=1

-1072   -8      7       -1073   pttu
39816   2232    96069   138117  TOOLCHAIN=llvm-LTO=0
38744   2224    96076   137044  TOOLCHAIN=llvm-LTO=1

5573    0       96      5669    qemu-i386
84546   4396    76308   165250  TOOLCHAIN=llvm-LTO=0
90119   4396    76404   170919  TOOLCHAIN=llvm-LTO=1

-1308   -8      -32     -1348   redbee-econotag
40712   2264    8972    51948   TOOLCHAIN=llvm-LTO=0
39404   2256    8940    50600   TOOLCHAIN=llvm-LTO=1

-900    -8      -136    -1044   saml21-xpro
8132    112     2792    11036   TOOLCHAIN=llvm-LTO=0
7232    104     2656    9992    TOOLCHAIN=llvm-LTO=1

-912    -8      -16     -936    samr21-xpro
8212    112     2680    11004   TOOLCHAIN=llvm-LTO=0
7300    104     2664    10068   TOOLCHAIN=llvm-LTO=1

-992    -8      -160    -1160   spark-core
9936    112     2832    12880   TOOLCHAIN=llvm-LTO=0
8944    104     2672    11720   TOOLCHAIN=llvm-LTO=1

-4116   -8      -32     -4156   stm32f0discovery
11320   112     2712    14144   TOOLCHAIN=llvm-LTO=0
7204    104     2680    9988    TOOLCHAIN=llvm-LTO=1

-2320   -8      -32     -2360   stm32f3discovery
9388    112     2720    12220   TOOLCHAIN=llvm-LTO=0
7068    104     2688    9860    TOOLCHAIN=llvm-LTO=1

-2376   -12     -36     -2424   stm32f4discovery
9580    116     2716    12412   TOOLCHAIN=llvm-LTO=0
7204    104     2680    9988    TOOLCHAIN=llvm-LTO=1

ERR     ERR     ERR     ERR     telosb
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=1

-1088   -8      -48     -1144   udoo
8376    116     2764    11256   TOOLCHAIN=llvm-LTO=0
7288    108     2716    10112   TOOLCHAIN=llvm-LTO=1

ERR     ERR     ERR     ERR     wsn430-v1_3b
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=1

ERR     ERR     ERR     ERR     wsn430-v1_4
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=1

-1056   -8      -24     -1088   yunjia-nrf51822
8044    112     2688    10844   TOOLCHAIN=llvm-LTO=0
6988    104     2664    9756    TOOLCHAIN=llvm-LTO=1

ERR     ERR     ERR     ERR     z1
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=1

make: Leaving directory '/home/kim/work/src/riot/examples/hello-world'
make: Entering directory '/home/kim/work/src/riot/examples/hello-world'
text    data    bss     dec     BOARD/BINDIRBASE

-1056   -8      -24     -1088   airfy-beacon
8056    112     2688    10856   TOOLCHAIN=gnu-LTO=0
7000    104     2664    9768    TOOLCHAIN=gnu-LTO=1

-1088   -8      -48     -1144   arduino-due
8380    116     2764    11260   TOOLCHAIN=gnu-LTO=0
7292    108     2716    10116   TOOLCHAIN=gnu-LTO=1

ERR     ERR     ERR     ERR     arduino-mega2560
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=1

-1072   -8      7       -1073   avsextrem
39608   2232    96069   137909  TOOLCHAIN=gnu-LTO=0
38536   2224    96076   136836  TOOLCHAIN=gnu-LTO=1

-844    -8      -16     -868    cc2538dk
7912    112     2688    10712   TOOLCHAIN=gnu-LTO=0
7068    104     2672    9844    TOOLCHAIN=gnu-LTO=1

ERR     ERR     ERR     ERR     chronos
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=1

-820    -8      -8      -836    ek-lm4f120xl
7984    112     2728    10824   TOOLCHAIN=gnu-LTO=0
7164    104     2720    9988    TOOLCHAIN=gnu-LTO=1

-2244   -12     -28     -2284   f4vi1
9404    116     2700    12220   TOOLCHAIN=gnu-LTO=0
7160    104     2672    9936    TOOLCHAIN=gnu-LTO=1

-984    -8      -160    -1152   fox
9872    112     2832    12816   TOOLCHAIN=gnu-LTO=0
8888    104     2672    11664   TOOLCHAIN=gnu-LTO=1

-1116   -8      -8      -1132   frdm-k64f
7888    1140    4820    13848   TOOLCHAIN=gnu-LTO=0
6772    1132    4812    12716   TOOLCHAIN=gnu-LTO=1

-988    -8      -160    -1156   iot-lab_M3
9908    112     2832    12852   TOOLCHAIN=gnu-LTO=0
8920    104     2672    11696   TOOLCHAIN=gnu-LTO=1

-2140   -8      -32     -2180   limifrog-v1
9256    112     2712    12080   TOOLCHAIN=gnu-LTO=0
7116    104     2680    9900    TOOLCHAIN=gnu-LTO=1

-852    -8      -32     -892    mbed_lpc1768
7764    112     2712    10588   TOOLCHAIN=gnu-LTO=0
6912    104     2680    9696    TOOLCHAIN=gnu-LTO=1

ERR     ERR     ERR     ERR     msb-430
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=1

ERR     ERR     ERR     ERR     msb-430h
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=1

-1064   -8      7       -1065   msba2
39264   2232    96069   137565  TOOLCHAIN=gnu-LTO=0
38200   2224    96076   136500  TOOLCHAIN=gnu-LTO=1

-2440   -12     -28     -2480   msbiot
9684    116     2724    12524   TOOLCHAIN=gnu-LTO=0
7244    104     2696    10044   TOOLCHAIN=gnu-LTO=1

-1356   -8      -32     -1396   mulle
9940    1164    4564    15668   TOOLCHAIN=gnu-LTO=0
8584    1156    4532    14272   TOOLCHAIN=gnu-LTO=1

3245    8       208     3461    native
21927   380     51852   74159   TOOLCHAIN=gnu-LTO=0
25172   388     52060   77620   TOOLCHAIN=gnu-LTO=1

-1052   -8      -24     -1084   nrf51dongle
8076    112     2688    10876   TOOLCHAIN=gnu-LTO=0
7024    104     2664    9792    TOOLCHAIN=gnu-LTO=1

-4120   -8      -32     -4160   nucleo-f091
11312   112     2712    14136   TOOLCHAIN=gnu-LTO=0
7192    104     2680    9976    TOOLCHAIN=gnu-LTO=1

-2324   -8      -32     -2364   nucleo-f303
9380    112     2720    12212   TOOLCHAIN=gnu-LTO=0
7056    104     2688    9848    TOOLCHAIN=gnu-LTO=1

-2112   -8      -32     -2152   nucleo-f334
9124    112     2696    11932   TOOLCHAIN=gnu-LTO=0
7012    104     2664    9780    TOOLCHAIN=gnu-LTO=1

-2144   -8      -32     -2184   nucleo-l1
9232    112     2704    12048   TOOLCHAIN=gnu-LTO=0
7088    104     2672    9864    TOOLCHAIN=gnu-LTO=1

-828    -8      -16     -852    openmote
7864    112     2688    10664   TOOLCHAIN=gnu-LTO=0
7036    104     2672    9812    TOOLCHAIN=gnu-LTO=1

-1116   -8      -8      -1132   pba-d-01-kw2x
7960    1140    4204    13304   TOOLCHAIN=gnu-LTO=0
6844    1132    4196    12172   TOOLCHAIN=gnu-LTO=1

-1052   -8      -24     -1084   pca10000
8076    112     2688    10876   TOOLCHAIN=gnu-LTO=0
7024    104     2664    9792    TOOLCHAIN=gnu-LTO=1

-1056   -8      -24     -1088   pca10005
8056    112     2688    10856   TOOLCHAIN=gnu-LTO=0
7000    104     2664    9768    TOOLCHAIN=gnu-LTO=1

-1072   -8      7       -1073   pttu
39816   2232    96069   138117  TOOLCHAIN=gnu-LTO=0
38744   2224    96076   137044  TOOLCHAIN=gnu-LTO=1

5573    0       96      5669    qemu-i386
84546   4396    76308   165250  TOOLCHAIN=gnu-LTO=0
90119   4396    76404   170919  TOOLCHAIN=gnu-LTO=1

-1308   -8      -32     -1348   redbee-econotag
40712   2264    8972    51948   TOOLCHAIN=gnu-LTO=0
39404   2256    8940    50600   TOOLCHAIN=gnu-LTO=1

-900    -8      -136    -1044   saml21-xpro
8132    112     2792    11036   TOOLCHAIN=gnu-LTO=0
7232    104     2656    9992    TOOLCHAIN=gnu-LTO=1

-912    -8      -16     -936    samr21-xpro
8212    112     2680    11004   TOOLCHAIN=gnu-LTO=0
7300    104     2664    10068   TOOLCHAIN=gnu-LTO=1

-992    -8      -160    -1160   spark-core
9936    112     2832    12880   TOOLCHAIN=gnu-LTO=0
8944    104     2672    11720   TOOLCHAIN=gnu-LTO=1

-4116   -8      -32     -4156   stm32f0discovery
11320   112     2712    14144   TOOLCHAIN=gnu-LTO=0
7204    104     2680    9988    TOOLCHAIN=gnu-LTO=1

-2320   -8      -32     -2360   stm32f3discovery
9388    112     2720    12220   TOOLCHAIN=gnu-LTO=0
7068    104     2688    9860    TOOLCHAIN=gnu-LTO=1

-2376   -12     -36     -2424   stm32f4discovery
9580    116     2716    12412   TOOLCHAIN=gnu-LTO=0
7204    104     2680    9988    TOOLCHAIN=gnu-LTO=1

ERR     ERR     ERR     ERR     telosb
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=1

-1088   -8      -48     -1144   udoo
8376    116     2764    11256   TOOLCHAIN=gnu-LTO=0
7288    108     2716    10112   TOOLCHAIN=gnu-LTO=1

ERR     ERR     ERR     ERR     wsn430-v1_3b
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=1

ERR     ERR     ERR     ERR     wsn430-v1_4
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=1

-1056   -8      -24     -1088   yunjia-nrf51822
8044    112     2688    10844   TOOLCHAIN=gnu-LTO=0
6988    104     2664    9756    TOOLCHAIN=gnu-LTO=1

ERR     ERR     ERR     ERR     z1
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=1

make: Leaving directory '/home/kim/work/src/riot/examples/hello-world'
make: Entering directory '/home/kim/work/src/riot/examples/ipc_pingpong'
text    data    bss     dec     BOARD/BINDIRBASE

-1200   -8      -24     -1232   airfy-beacon
8832    112     4224    13168   TOOLCHAIN=llvm-LTO=0
7632    104     4200    11936   TOOLCHAIN=llvm-LTO=1

-1268   -8      -48     -1324   arduino-due
9168    116     4300    13584   TOOLCHAIN=llvm-LTO=0
7900    108     4252    12260   TOOLCHAIN=llvm-LTO=1

ERR     ERR     ERR     ERR     arduino-mega2560
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=1

-1264   -8      7       -1265   avsextrem
40928   2232    96069   139229  TOOLCHAIN=llvm-LTO=0
39664   2224    96076   137964  TOOLCHAIN=llvm-LTO=1

-1032   -8      -16     -1056   cc2538dk
8700    112     4224    13036   TOOLCHAIN=llvm-LTO=0
7668    104     4208    11980   TOOLCHAIN=llvm-LTO=1

ERR     ERR     ERR     ERR     chronos
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=1

-1008   -8      -8      -1024   ek-lm4f120xl
8764    112     4264    13140   TOOLCHAIN=llvm-LTO=0
7756    104     4256    12116   TOOLCHAIN=llvm-LTO=1

-2432   -12     -28     -2472   f4vi1
10192   116     4236    14544   TOOLCHAIN=llvm-LTO=0
7760    104     4208    12072   TOOLCHAIN=llvm-LTO=1

-1176   -8      -160    -1344   fox
10664   112     4368    15144   TOOLCHAIN=llvm-LTO=0
9488    104     4208    13800   TOOLCHAIN=llvm-LTO=1

-1304   -8      -8      -1320   frdm-k64f
8680    1140    6356    16176   TOOLCHAIN=llvm-LTO=0
7376    1132    6348    14856   TOOLCHAIN=llvm-LTO=1

-1176   -8      -160    -1344   iot-lab_M3
10692   112     4368    15172   TOOLCHAIN=llvm-LTO=0
9516    104     4208    13828   TOOLCHAIN=llvm-LTO=1

-2328   -8      -32     -2368   limifrog-v1
10040   112     4248    14400   TOOLCHAIN=llvm-LTO=0
7712    104     4216    12032   TOOLCHAIN=llvm-LTO=1

-1040   -8      -32     -1080   mbed_lpc1768
8556    112     4248    12916   TOOLCHAIN=llvm-LTO=0
7516    104     4216    11836   TOOLCHAIN=llvm-LTO=1

ERR     ERR     ERR     ERR     msb-430
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=1

ERR     ERR     ERR     ERR     msb-430h
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=1

-1256   -8      7       -1257   msba2
40584   2232    96069   138885  TOOLCHAIN=llvm-LTO=0
39328   2224    96076   137628  TOOLCHAIN=llvm-LTO=1

-2616   -12     -28     -2656   msbiot
10472   116     4260    14848   TOOLCHAIN=llvm-LTO=0
7856    104     4232    12192   TOOLCHAIN=llvm-LTO=1

-1548   -8      -32     -1588   mulle
10732   1164    6100    17996   TOOLCHAIN=llvm-LTO=0
9184    1156    6068    16408   TOOLCHAIN=llvm-LTO=1

3526    8       128     3662    native
24679   380     68288   93347   TOOLCHAIN=llvm-LTO=0
28205   388     68416   97009   TOOLCHAIN=llvm-LTO=1

-1200   -8      -24     -1232   nrf51dongle
8856    112     4224    13192   TOOLCHAIN=llvm-LTO=0
7656    104     4200    11960   TOOLCHAIN=llvm-LTO=1

-4264   -8      -32     -4304   nucleo-f091
12088   112     4248    16448   TOOLCHAIN=llvm-LTO=0
7824    104     4216    12144   TOOLCHAIN=llvm-LTO=1

-2500   -8      -32     -2540   nucleo-f303
10160   112     4256    14528   TOOLCHAIN=llvm-LTO=0
7660    104     4224    11988   TOOLCHAIN=llvm-LTO=1

-2300   -8      -32     -2340   nucleo-f334
9904    112     4232    14248   TOOLCHAIN=llvm-LTO=0
7604    104     4200    11908   TOOLCHAIN=llvm-LTO=1

-2332   -8      -32     -2372   nucleo-l1
10016   112     4240    14368   TOOLCHAIN=llvm-LTO=0
7684    104     4208    11996   TOOLCHAIN=llvm-LTO=1

-1016   -8      -16     -1040   openmote
8652    112     4224    12988   TOOLCHAIN=llvm-LTO=0
7636    104     4208    11948   TOOLCHAIN=llvm-LTO=1

-1304   -8      -8      -1320   pba-d-01-kw2x
8748    1140    5740    15628   TOOLCHAIN=llvm-LTO=0
7444    1132    5732    14308   TOOLCHAIN=llvm-LTO=1

-1200   -8      -24     -1232   pca10000
8856    112     4224    13192   TOOLCHAIN=llvm-LTO=0
7656    104     4200    11960   TOOLCHAIN=llvm-LTO=1

-1204   -8      -24     -1236   pca10005
8836    112     4224    13172   TOOLCHAIN=llvm-LTO=0
7632    104     4200    11936   TOOLCHAIN=llvm-LTO=1

-1264   -8      7       -1265   pttu
41136   2232    96069   139437  TOOLCHAIN=llvm-LTO=0
39872   2224    96076   138172  TOOLCHAIN=llvm-LTO=1

4819    0       96      4915    qemu-i386
85524   4396    92704   182624  TOOLCHAIN=llvm-LTO=0
90343   4396    92800   187539  TOOLCHAIN=llvm-LTO=1

-1732   -8      -32     -1772   redbee-econotag
42264   2264    11532   56060   TOOLCHAIN=llvm-LTO=0
40532   2256    11500   54288   TOOLCHAIN=llvm-LTO=1

-1044   -8      -136    -1188   saml21-xpro
8908    112     4328    13348   TOOLCHAIN=llvm-LTO=0
7864    104     4192    12160   TOOLCHAIN=llvm-LTO=1

-1056   -8      -16     -1080   samr21-xpro
8988    112     4216    13316   TOOLCHAIN=llvm-LTO=0
7932    104     4200    12236   TOOLCHAIN=llvm-LTO=1

-1180   -8      -160    -1348   spark-core
10720   112     4368    15200   TOOLCHAIN=llvm-LTO=0
9540    104     4208    13852   TOOLCHAIN=llvm-LTO=1

-4260   -8      -32     -4300   stm32f0discovery
12092   112     4248    16452   TOOLCHAIN=llvm-LTO=0
7832    104     4216    12152   TOOLCHAIN=llvm-LTO=1

-2496   -8      -32     -2536   stm32f3discovery
10164   112     4256    14532   TOOLCHAIN=llvm-LTO=0
7668    104     4224    11996   TOOLCHAIN=llvm-LTO=1

-2564   -12     -36     -2612   stm32f4discovery
10356   116     4252    14724   TOOLCHAIN=llvm-LTO=0
7792    104     4216    12112   TOOLCHAIN=llvm-LTO=1

ERR     ERR     ERR     ERR     telosb
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=1

-1268   -8      -48     -1324   udoo
9168    116     4300    13584   TOOLCHAIN=llvm-LTO=0
7900    108     4252    12260   TOOLCHAIN=llvm-LTO=1

ERR     ERR     ERR     ERR     wsn430-v1_3b
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=1

ERR     ERR     ERR     ERR     wsn430-v1_4
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=1

-1200   -8      -24     -1232   yunjia-nrf51822
8820    112     4224    13156   TOOLCHAIN=llvm-LTO=0
7620    104     4200    11924   TOOLCHAIN=llvm-LTO=1

ERR     ERR     ERR     ERR     z1
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=1

make: Leaving directory '/home/kim/work/src/riot/examples/ipc_pingpong'
make: Entering directory '/home/kim/work/src/riot/examples/ipc_pingpong'
text    data    bss     dec     BOARD/BINDIRBASE

-1200   -8      -24     -1232   airfy-beacon
8832    112     4224    13168   TOOLCHAIN=gnu-LTO=0
7632    104     4200    11936   TOOLCHAIN=gnu-LTO=1

-1268   -8      -48     -1324   arduino-due
9168    116     4300    13584   TOOLCHAIN=gnu-LTO=0
7900    108     4252    12260   TOOLCHAIN=gnu-LTO=1

ERR     ERR     ERR     ERR     arduino-mega2560
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=1

-1264   -8      7       -1265   avsextrem
40928   2232    96069   139229  TOOLCHAIN=gnu-LTO=0
39664   2224    96076   137964  TOOLCHAIN=gnu-LTO=1

-1032   -8      -16     -1056   cc2538dk
8700    112     4224    13036   TOOLCHAIN=gnu-LTO=0
7668    104     4208    11980   TOOLCHAIN=gnu-LTO=1

ERR     ERR     ERR     ERR     chronos
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=1

-1008   -8      -8      -1024   ek-lm4f120xl
8764    112     4264    13140   TOOLCHAIN=gnu-LTO=0
7756    104     4256    12116   TOOLCHAIN=gnu-LTO=1

-2432   -12     -28     -2472   f4vi1
10192   116     4236    14544   TOOLCHAIN=gnu-LTO=0
7760    104     4208    12072   TOOLCHAIN=gnu-LTO=1

-1176   -8      -160    -1344   fox
10664   112     4368    15144   TOOLCHAIN=gnu-LTO=0
9488    104     4208    13800   TOOLCHAIN=gnu-LTO=1

-1304   -8      -8      -1320   frdm-k64f
8680    1140    6356    16176   TOOLCHAIN=gnu-LTO=0
7376    1132    6348    14856   TOOLCHAIN=gnu-LTO=1

-1176   -8      -160    -1344   iot-lab_M3
10692   112     4368    15172   TOOLCHAIN=gnu-LTO=0
9516    104     4208    13828   TOOLCHAIN=gnu-LTO=1

-2328   -8      -32     -2368   limifrog-v1
10040   112     4248    14400   TOOLCHAIN=gnu-LTO=0
7712    104     4216    12032   TOOLCHAIN=gnu-LTO=1

-1040   -8      -32     -1080   mbed_lpc1768
8556    112     4248    12916   TOOLCHAIN=gnu-LTO=0
7516    104     4216    11836   TOOLCHAIN=gnu-LTO=1

ERR     ERR     ERR     ERR     msb-430
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=1

ERR     ERR     ERR     ERR     msb-430h
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=1

-1256   -8      7       -1257   msba2
40584   2232    96069   138885  TOOLCHAIN=gnu-LTO=0
39328   2224    96076   137628  TOOLCHAIN=gnu-LTO=1

-2616   -12     -28     -2656   msbiot
10472   116     4260    14848   TOOLCHAIN=gnu-LTO=0
7856    104     4232    12192   TOOLCHAIN=gnu-LTO=1

-1548   -8      -32     -1588   mulle
10732   1164    6100    17996   TOOLCHAIN=gnu-LTO=0
9184    1156    6068    16408   TOOLCHAIN=gnu-LTO=1

3526    8       128     3662    native
24679   380     68288   93347   TOOLCHAIN=gnu-LTO=0
28205   388     68416   97009   TOOLCHAIN=gnu-LTO=1

-1200   -8      -24     -1232   nrf51dongle
8856    112     4224    13192   TOOLCHAIN=gnu-LTO=0
7656    104     4200    11960   TOOLCHAIN=gnu-LTO=1

-4264   -8      -32     -4304   nucleo-f091
12088   112     4248    16448   TOOLCHAIN=gnu-LTO=0
7824    104     4216    12144   TOOLCHAIN=gnu-LTO=1

-2500   -8      -32     -2540   nucleo-f303
10160   112     4256    14528   TOOLCHAIN=gnu-LTO=0
7660    104     4224    11988   TOOLCHAIN=gnu-LTO=1

-2300   -8      -32     -2340   nucleo-f334
9904    112     4232    14248   TOOLCHAIN=gnu-LTO=0
7604    104     4200    11908   TOOLCHAIN=gnu-LTO=1

-2332   -8      -32     -2372   nucleo-l1
10016   112     4240    14368   TOOLCHAIN=gnu-LTO=0
7684    104     4208    11996   TOOLCHAIN=gnu-LTO=1

-1016   -8      -16     -1040   openmote
8652    112     4224    12988   TOOLCHAIN=gnu-LTO=0
7636    104     4208    11948   TOOLCHAIN=gnu-LTO=1

-1304   -8      -8      -1320   pba-d-01-kw2x
8748    1140    5740    15628   TOOLCHAIN=gnu-LTO=0
7444    1132    5732    14308   TOOLCHAIN=gnu-LTO=1

-1200   -8      -24     -1232   pca10000
8856    112     4224    13192   TOOLCHAIN=gnu-LTO=0
7656    104     4200    11960   TOOLCHAIN=gnu-LTO=1

-1204   -8      -24     -1236   pca10005
8836    112     4224    13172   TOOLCHAIN=gnu-LTO=0
7632    104     4200    11936   TOOLCHAIN=gnu-LTO=1

-1264   -8      7       -1265   pttu
41136   2232    96069   139437  TOOLCHAIN=gnu-LTO=0
39872   2224    96076   138172  TOOLCHAIN=gnu-LTO=1

4819    0       96      4915    qemu-i386
85524   4396    92704   182624  TOOLCHAIN=gnu-LTO=0
90343   4396    92800   187539  TOOLCHAIN=gnu-LTO=1

-1732   -8      -32     -1772   redbee-econotag
42264   2264    11532   56060   TOOLCHAIN=gnu-LTO=0
40532   2256    11500   54288   TOOLCHAIN=gnu-LTO=1

-1044   -8      -136    -1188   saml21-xpro
8908    112     4328    13348   TOOLCHAIN=gnu-LTO=0
7864    104     4192    12160   TOOLCHAIN=gnu-LTO=1

-1056   -8      -16     -1080   samr21-xpro
8988    112     4216    13316   TOOLCHAIN=gnu-LTO=0
7932    104     4200    12236   TOOLCHAIN=gnu-LTO=1

-1180   -8      -160    -1348   spark-core
10720   112     4368    15200   TOOLCHAIN=gnu-LTO=0
9540    104     4208    13852   TOOLCHAIN=gnu-LTO=1

-4260   -8      -32     -4300   stm32f0discovery
12092   112     4248    16452   TOOLCHAIN=gnu-LTO=0
7832    104     4216    12152   TOOLCHAIN=gnu-LTO=1

-2496   -8      -32     -2536   stm32f3discovery
10164   112     4256    14532   TOOLCHAIN=gnu-LTO=0
7668    104     4224    11996   TOOLCHAIN=gnu-LTO=1

-2564   -12     -36     -2612   stm32f4discovery
10356   116     4252    14724   TOOLCHAIN=gnu-LTO=0
7792    104     4216    12112   TOOLCHAIN=gnu-LTO=1

ERR     ERR     ERR     ERR     telosb
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=1

-1268   -8      -48     -1324   udoo
9168    116     4300    13584   TOOLCHAIN=gnu-LTO=0
7900    108     4252    12260   TOOLCHAIN=gnu-LTO=1

ERR     ERR     ERR     ERR     wsn430-v1_3b
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=1

ERR     ERR     ERR     ERR     wsn430-v1_4
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=1

-1200   -8      -24     -1232   yunjia-nrf51822
8820    112     4224    13156   TOOLCHAIN=gnu-LTO=0
7620    104     4200    11924   TOOLCHAIN=gnu-LTO=1

ERR     ERR     ERR     ERR     z1
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=1

make: Leaving directory '/home/kim/work/src/riot/examples/ipc_pingpong'
make: Entering directory '/home/kim/work/src/riot/examples/ng_networking'
text    data    bss     dec     BOARD/BINDIRBASE

ERR     ERR     ERR     ERR     airfy-beacon
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=1

-4984   -4      4       -4984   arduino-due
44328   172     18260   62760   TOOLCHAIN=llvm-LTO=0
39344   168     18264   57776   TOOLCHAIN=llvm-LTO=1

-15768  0       -1      -15769  avsextrem
107292  2284    96017   205593  TOOLCHAIN=llvm-LTO=0
91524   2284    96016   189824  TOOLCHAIN=llvm-LTO=1

-4764   -4      -4      -4772   cc2538dk
43832   168     18184   62184   TOOLCHAIN=llvm-LTO=0
39068   164     18180   57412   TOOLCHAIN=llvm-LTO=1

ERR     ERR     ERR     ERR     chronos
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=1

-4624   -4      4       -4624   ek-lm4f120xl
43760   168     18224   62152   TOOLCHAIN=llvm-LTO=0
39136   164     18228   57528   TOOLCHAIN=llvm-LTO=1

-6096   -8      0       -6104   f4vi1
45312   172     18196   63680   TOOLCHAIN=llvm-LTO=0
39216   164     18196   57576   TOOLCHAIN=llvm-LTO=1

-4832   -4      -132    -4968   fox
45912   168     18328   64408   TOOLCHAIN=llvm-LTO=0
41080   164     18196   59440   TOOLCHAIN=llvm-LTO=1

-4960   -4      4       -4960   frdm-k64f
43732   1196    20316   65244   TOOLCHAIN=llvm-LTO=0
38772   1192    20320   60284   TOOLCHAIN=llvm-LTO=1

-5248   -4      -52     -5304   iot-lab_M3
58124   168     21304   79596   TOOLCHAIN=llvm-LTO=0
52876   164     21252   74292   TOOLCHAIN=llvm-LTO=1

-5948   -4      4       -5948   limifrog-v1
45260   168     18208   63636   TOOLCHAIN=llvm-LTO=0
39312   164     18212   57688   TOOLCHAIN=llvm-LTO=1

-4672   -4      -4      -4680   mbed_lpc1768
43612   168     18208   61988   TOOLCHAIN=llvm-LTO=0
38940   164     18204   57308   TOOLCHAIN=llvm-LTO=1

ERR     ERR     ERR     ERR     msb-430
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=1

ERR     ERR     ERR     ERR     msb-430h
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=1

-15760  0       -1      -15761  msba2
106948  2284    96017   205249  TOOLCHAIN=llvm-LTO=0
91188   2284    96016   189488  TOOLCHAIN=llvm-LTO=1

-6304   -8      0       -6312   msbiot
45596   172     18220   63988   TOOLCHAIN=llvm-LTO=0
39292   164     18220   57676   TOOLCHAIN=llvm-LTO=1

-6040   -8      -96     -6144   mulle
59036   1220    23060   83316   TOOLCHAIN=llvm-LTO=0
52996   1212    22964   77172   TOOLCHAIN=llvm-LTO=1

-10299  8       192     -10099  native
140267  572     116736  257575  TOOLCHAIN=llvm-LTO=0
129968  580     116928  247476  TOOLCHAIN=llvm-LTO=1

ERR     ERR     ERR     ERR     nrf51dongle
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=1

-8040   -4      -4      -8048   nucleo-f091
49808   168     18208   68184   TOOLCHAIN=llvm-LTO=0
41768   164     18204   60136   TOOLCHAIN=llvm-LTO=1

-6172   -4      4       -6172   nucleo-f303
45272   168     18216   63656   TOOLCHAIN=llvm-LTO=0
39100   164     18220   57484   TOOLCHAIN=llvm-LTO=1

ERR     ERR     ERR     ERR     nucleo-f334
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=1

-6020   -4      4       -6020   nucleo-l1
45260   168     18200   63628   TOOLCHAIN=llvm-LTO=0
39240   164     18204   57608   TOOLCHAIN=llvm-LTO=1

-4748   -4      -4      -4756   openmote
43784   168     18184   62136   TOOLCHAIN=llvm-LTO=0
39036   164     18180   57380   TOOLCHAIN=llvm-LTO=1

-5708   -4      -68     -5780   pba-d-01-kw2x
58892   1196    22908   82996   TOOLCHAIN=llvm-LTO=0
53184   1192    22840   77216   TOOLCHAIN=llvm-LTO=1

ERR     ERR     ERR     ERR     pca10000
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=1

ERR     ERR     ERR     ERR     pca10005
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=1

-15768  0       -1      -15769  pttu
107500  2284    96017   205801  TOOLCHAIN=llvm-LTO=0
91732   2284    96016   190032  TOOLCHAIN=llvm-LTO=1

8141    12      288     8441    qemu-i386
166300  4480    129760  300540  TOOLCHAIN=llvm-LTO=0
174441  4492    130048  308981  TOOLCHAIN=llvm-LTO=1

ERR     ERR     ERR     ERR     redbee-econotag
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=1

-4844   -4      -132    -4980   saml21-xpro
46720   168     18288   65176   TOOLCHAIN=llvm-LTO=0
41876   164     18156   60196   TOOLCHAIN=llvm-LTO=1

-5756   -4      -52     -5812   samr21-xpro
60628   168     21288   82084   TOOLCHAIN=llvm-LTO=0
54872   164     21236   76272   TOOLCHAIN=llvm-LTO=1

-4840   -4      -132    -4976   spark-core
45968   168     18328   64464   TOOLCHAIN=llvm-LTO=0
41128   164     18196   59488   TOOLCHAIN=llvm-LTO=1

ERR     ERR     ERR     ERR     stm32f0discovery
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=1

-6168   -4      4       -6168   stm32f3discovery
45276   168     18216   63660   TOOLCHAIN=llvm-LTO=0
39108   164     18220   57492   TOOLCHAIN=llvm-LTO=1

-6224   -8      0       -6232   stm32f4discovery
45476   172     18212   63860   TOOLCHAIN=llvm-LTO=0
39252   164     18212   57628   TOOLCHAIN=llvm-LTO=1

ERR     ERR     ERR     ERR     telosb
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=1

-4984   -4      4       -4984   udoo
44328   172     18260   62760   TOOLCHAIN=llvm-LTO=0
39344   168     18264   57776   TOOLCHAIN=llvm-LTO=1

ERR     ERR     ERR     ERR     wsn430-v1_3b
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=1

ERR     ERR     ERR     ERR     wsn430-v1_4
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=1

ERR     ERR     ERR     ERR     yunjia-nrf51822
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=1

ERR     ERR     ERR     ERR     z1
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=1

make: Leaving directory '/home/kim/work/src/riot/examples/ng_networking'
make: Entering directory '/home/kim/work/src/riot/examples/ng_networking'
text    data    bss     dec     BOARD/BINDIRBASE

ERR     ERR     ERR     ERR     airfy-beacon
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=1

-4984   -4      4       -4984   arduino-due
44328   172     18260   62760   TOOLCHAIN=gnu-LTO=0
39344   168     18264   57776   TOOLCHAIN=gnu-LTO=1

-15768  0       -1      -15769  avsextrem
107292  2284    96017   205593  TOOLCHAIN=gnu-LTO=0
91524   2284    96016   189824  TOOLCHAIN=gnu-LTO=1

-4764   -4      -4      -4772   cc2538dk
43832   168     18184   62184   TOOLCHAIN=gnu-LTO=0
39068   164     18180   57412   TOOLCHAIN=gnu-LTO=1

ERR     ERR     ERR     ERR     chronos
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=1

-4624   -4      4       -4624   ek-lm4f120xl
43760   168     18224   62152   TOOLCHAIN=gnu-LTO=0
39136   164     18228   57528   TOOLCHAIN=gnu-LTO=1

-6096   -8      0       -6104   f4vi1
45312   172     18196   63680   TOOLCHAIN=gnu-LTO=0
39216   164     18196   57576   TOOLCHAIN=gnu-LTO=1

-4832   -4      -132    -4968   fox
45912   168     18328   64408   TOOLCHAIN=gnu-LTO=0
41080   164     18196   59440   TOOLCHAIN=gnu-LTO=1

-4960   -4      4       -4960   frdm-k64f
43732   1196    20316   65244   TOOLCHAIN=gnu-LTO=0
38772   1192    20320   60284   TOOLCHAIN=gnu-LTO=1

-5248   -4      -52     -5304   iot-lab_M3
58124   168     21304   79596   TOOLCHAIN=gnu-LTO=0
52876   164     21252   74292   TOOLCHAIN=gnu-LTO=1

-5948   -4      4       -5948   limifrog-v1
45260   168     18208   63636   TOOLCHAIN=gnu-LTO=0
39312   164     18212   57688   TOOLCHAIN=gnu-LTO=1

-4672   -4      -4      -4680   mbed_lpc1768
43612   168     18208   61988   TOOLCHAIN=gnu-LTO=0
38940   164     18204   57308   TOOLCHAIN=gnu-LTO=1

ERR     ERR     ERR     ERR     msb-430
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=1

ERR     ERR     ERR     ERR     msb-430h
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=1

-15760  0       -1      -15761  msba2
106948  2284    96017   205249  TOOLCHAIN=gnu-LTO=0
91188   2284    96016   189488  TOOLCHAIN=gnu-LTO=1

-6304   -8      0       -6312   msbiot
45596   172     18220   63988   TOOLCHAIN=gnu-LTO=0
39292   164     18220   57676   TOOLCHAIN=gnu-LTO=1

-6040   -8      -96     -6144   mulle
59036   1220    23060   83316   TOOLCHAIN=gnu-LTO=0
52996   1212    22964   77172   TOOLCHAIN=gnu-LTO=1

-10299  8       192     -10099  native
140267  572     116736  257575  TOOLCHAIN=gnu-LTO=0
129968  580     116928  247476  TOOLCHAIN=gnu-LTO=1

ERR     ERR     ERR     ERR     nrf51dongle
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=1

-8040   -4      -4      -8048   nucleo-f091
49808   168     18208   68184   TOOLCHAIN=gnu-LTO=0
41768   164     18204   60136   TOOLCHAIN=gnu-LTO=1

-6172   -4      4       -6172   nucleo-f303
45272   168     18216   63656   TOOLCHAIN=gnu-LTO=0
39100   164     18220   57484   TOOLCHAIN=gnu-LTO=1

ERR     ERR     ERR     ERR     nucleo-f334
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=1

-6020   -4      4       -6020   nucleo-l1
45260   168     18200   63628   TOOLCHAIN=gnu-LTO=0
39240   164     18204   57608   TOOLCHAIN=gnu-LTO=1

-4748   -4      -4      -4756   openmote
43784   168     18184   62136   TOOLCHAIN=gnu-LTO=0
39036   164     18180   57380   TOOLCHAIN=gnu-LTO=1

-5708   -4      -68     -5780   pba-d-01-kw2x
58892   1196    22908   82996   TOOLCHAIN=gnu-LTO=0
53184   1192    22840   77216   TOOLCHAIN=gnu-LTO=1

ERR     ERR     ERR     ERR     pca10000
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=1

ERR     ERR     ERR     ERR     pca10005
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=1

-15768  0       -1      -15769  pttu
107500  2284    96017   205801  TOOLCHAIN=gnu-LTO=0
91732   2284    96016   190032  TOOLCHAIN=gnu-LTO=1

8141    12      288     8441    qemu-i386
166300  4480    129760  300540  TOOLCHAIN=gnu-LTO=0
174441  4492    130048  308981  TOOLCHAIN=gnu-LTO=1

ERR     ERR     ERR     ERR     redbee-econotag
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=1

-4844   -4      -132    -4980   saml21-xpro
46720   168     18288   65176   TOOLCHAIN=gnu-LTO=0
41876   164     18156   60196   TOOLCHAIN=gnu-LTO=1

-5756   -4      -52     -5812   samr21-xpro
60628   168     21288   82084   TOOLCHAIN=gnu-LTO=0
54872   164     21236   76272   TOOLCHAIN=gnu-LTO=1

-4840   -4      -132    -4976   spark-core
45968   168     18328   64464   TOOLCHAIN=gnu-LTO=0
41128   164     18196   59488   TOOLCHAIN=gnu-LTO=1

ERR     ERR     ERR     ERR     stm32f0discovery
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=1

-6168   -4      4       -6168   stm32f3discovery
45276   168     18216   63660   TOOLCHAIN=gnu-LTO=0
39108   164     18220   57492   TOOLCHAIN=gnu-LTO=1

-6224   -8      0       -6232   stm32f4discovery
45476   172     18212   63860   TOOLCHAIN=gnu-LTO=0
39252   164     18212   57628   TOOLCHAIN=gnu-LTO=1

ERR     ERR     ERR     ERR     telosb
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=1

-4984   -4      4       -4984   udoo
44328   172     18260   62760   TOOLCHAIN=gnu-LTO=0
39344   168     18264   57776   TOOLCHAIN=gnu-LTO=1

ERR     ERR     ERR     ERR     wsn430-v1_3b
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=1

ERR     ERR     ERR     ERR     wsn430-v1_4
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=1

ERR     ERR     ERR     ERR     yunjia-nrf51822
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=1

ERR     ERR     ERR     ERR     z1
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=1

make: Leaving directory '/home/kim/work/src/riot/examples/ng_networking'
make: Entering directory '/home/kim/work/src/riot/examples/riot_and_cpp'
text    data    bss     dec     BOARD/BINDIRBASE

-1616   -8      96      -1528   airfy-beacon
19132   120     4240    23492   TOOLCHAIN=llvm-LTO=0
17516   112     4336    21964   TOOLCHAIN=llvm-LTO=1

-2104   -8      96      -2016   arduino-due
19272   124     4316    23712   TOOLCHAIN=llvm-LTO=0
17168   116     4412    21696   TOOLCHAIN=llvm-LTO=1

-1992   -8      96      -1904   cc2538dk
18784   120     4240    23144   TOOLCHAIN=llvm-LTO=0
16792   112     4336    21240   TOOLCHAIN=llvm-LTO=1

-1880   -8      96      -1792   ek-lm4f120xl
18808   120     4280    23208   TOOLCHAIN=llvm-LTO=0
16928   112     4376    21416   TOOLCHAIN=llvm-LTO=1

-3328   -12     100     -3240   f4vi1
20304   124     4252    24680   TOOLCHAIN=llvm-LTO=0
16976   112     4352    21440   TOOLCHAIN=llvm-LTO=1

-2072   -8      -32     -2112   fox
20864   120     4384    25368   TOOLCHAIN=llvm-LTO=0
18792   112     4352    23256   TOOLCHAIN=llvm-LTO=1

-2376   -8      88      -2296   frdm-k64f
18760   1148    6372    26280   TOOLCHAIN=llvm-LTO=0
16384   1140    6460    23984   TOOLCHAIN=llvm-LTO=1

-2088   -8      -32     -2128   iot-lab_M3
20896   120     4384    25400   TOOLCHAIN=llvm-LTO=0
18808   112     4352    23272   TOOLCHAIN=llvm-LTO=1

-3200   -8      96      -3112   limifrog-v1
20216   120     4264    24600   TOOLCHAIN=llvm-LTO=0
17016   112     4360    21488   TOOLCHAIN=llvm-LTO=1

-1928   -8      96      -1840   mbed_lpc1768
18608   120     4264    22992   TOOLCHAIN=llvm-LTO=0
16680   112     4360    21152   TOOLCHAIN=llvm-LTO=1

ERR     ERR     ERR     ERR     msba2
56628   2240    96057   154925  TOOLCHAIN=llvm-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=1

-3552   -12     100     -3464   msbiot
20592   124     4276    24992   TOOLCHAIN=llvm-LTO=0
17040   112     4376    21528   TOOLCHAIN=llvm-LTO=1

-2416   -8      72      -2352   mulle
20816   1172    6116    28104   TOOLCHAIN=llvm-LTO=0
18400   1164    6188    25752   TOOLCHAIN=llvm-LTO=1

578     12      68      658     native
33765   436     68288   102489  TOOLCHAIN=llvm-LTO=0
34343   448     68356   103147  TOOLCHAIN=llvm-LTO=1

-1616   -8      96      -1528   nrf51dongle
19156   120     4240    23516   TOOLCHAIN=llvm-LTO=0
17540   112     4336    21988   TOOLCHAIN=llvm-LTO=1

-4672   -8      96      -4584   nucleo-f091
22252   120     4264    26636   TOOLCHAIN=llvm-LTO=0
17580   112     4360    22052   TOOLCHAIN=llvm-LTO=1

-3408   -8      96      -3320   nucleo-f303
20264   120     4272    24656   TOOLCHAIN=llvm-LTO=0
16856   112     4368    21336   TOOLCHAIN=llvm-LTO=1

-3184   -8      96      -3096   nucleo-f334
20008   120     4248    24376   TOOLCHAIN=llvm-LTO=0
16824   112     4344    21280   TOOLCHAIN=llvm-LTO=1

-3224   -8      96      -3136   nucleo-l1
20216   120     4256    24592   TOOLCHAIN=llvm-LTO=0
16992   112     4352    21456   TOOLCHAIN=llvm-LTO=1

-1968   -8      96      -1880   openmote
18736   120     4240    23096   TOOLCHAIN=llvm-LTO=0
16768   112     4336    21216   TOOLCHAIN=llvm-LTO=1

-1616   -8      96      -1528   pca10000
19156   120     4240    23516   TOOLCHAIN=llvm-LTO=0
17540   112     4336    21988   TOOLCHAIN=llvm-LTO=1

-1608   -8      96      -1520   pca10005
19132   120     4240    23492   TOOLCHAIN=llvm-LTO=0
17524   112     4336    21972   TOOLCHAIN=llvm-LTO=1

-1456   -8      -32     -1496   saml21-xpro
19156   120     4344    23620   TOOLCHAIN=llvm-LTO=0
17700   112     4312    22124   TOOLCHAIN=llvm-LTO=1

-1544   -8      96      -1456   samr21-xpro
19324   120     4232    23676   TOOLCHAIN=llvm-LTO=0
17780   112     4328    22220   TOOLCHAIN=llvm-LTO=1

-2080   -8      -32     -2120   spark-core
20920   120     4384    25424   TOOLCHAIN=llvm-LTO=0
18840   112     4352    23304   TOOLCHAIN=llvm-LTO=1

ERR     ERR     ERR     ERR     stm32f0discovery
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=llvm-LTO=1

-3408   -8      96      -3320   stm32f3discovery
20272   120     4272    24664   TOOLCHAIN=llvm-LTO=0
16864   112     4368    21344   TOOLCHAIN=llvm-LTO=1

-3464   -12     92      -3384   stm32f4discovery
20472   124     4268    24864   TOOLCHAIN=llvm-LTO=0
17008   112     4360    21480   TOOLCHAIN=llvm-LTO=1

-2104   -8      96      -2016   udoo
19272   124     4316    23712   TOOLCHAIN=llvm-LTO=0
17168   116     4412    21696   TOOLCHAIN=llvm-LTO=1

-1616   -8      96      -1528   yunjia-nrf51822
19116   120     4240    23476   TOOLCHAIN=llvm-LTO=0
17500   112     4336    21948   TOOLCHAIN=llvm-LTO=1

make: Leaving directory '/home/kim/work/src/riot/examples/riot_and_cpp'
make: Entering directory '/home/kim/work/src/riot/examples/riot_and_cpp'
text    data    bss     dec     BOARD/BINDIRBASE

-1616   -8      96      -1528   airfy-beacon
19132   120     4240    23492   TOOLCHAIN=gnu-LTO=0
17516   112     4336    21964   TOOLCHAIN=gnu-LTO=1

-2104   -8      96      -2016   arduino-due
19272   124     4316    23712   TOOLCHAIN=gnu-LTO=0
17168   116     4412    21696   TOOLCHAIN=gnu-LTO=1

-1992   -8      96      -1904   cc2538dk
18784   120     4240    23144   TOOLCHAIN=gnu-LTO=0
16792   112     4336    21240   TOOLCHAIN=gnu-LTO=1

-1880   -8      96      -1792   ek-lm4f120xl
18808   120     4280    23208   TOOLCHAIN=gnu-LTO=0
16928   112     4376    21416   TOOLCHAIN=gnu-LTO=1

-3328   -12     100     -3240   f4vi1
20304   124     4252    24680   TOOLCHAIN=gnu-LTO=0
16976   112     4352    21440   TOOLCHAIN=gnu-LTO=1

-2072   -8      -32     -2112   fox
20864   120     4384    25368   TOOLCHAIN=gnu-LTO=0
18792   112     4352    23256   TOOLCHAIN=gnu-LTO=1

-2376   -8      88      -2296   frdm-k64f
18760   1148    6372    26280   TOOLCHAIN=gnu-LTO=0
16384   1140    6460    23984   TOOLCHAIN=gnu-LTO=1

-2088   -8      -32     -2128   iot-lab_M3
20896   120     4384    25400   TOOLCHAIN=gnu-LTO=0
18808   112     4352    23272   TOOLCHAIN=gnu-LTO=1

-3200   -8      96      -3112   limifrog-v1
20216   120     4264    24600   TOOLCHAIN=gnu-LTO=0
17016   112     4360    21488   TOOLCHAIN=gnu-LTO=1

-1928   -8      96      -1840   mbed_lpc1768
18608   120     4264    22992   TOOLCHAIN=gnu-LTO=0
16680   112     4360    21152   TOOLCHAIN=gnu-LTO=1

ERR     ERR     ERR     ERR     msba2
56628   2240    96057   154925  TOOLCHAIN=gnu-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=1

-3552   -12     100     -3464   msbiot
20592   124     4276    24992   TOOLCHAIN=gnu-LTO=0
17040   112     4376    21528   TOOLCHAIN=gnu-LTO=1

-2416   -8      72      -2352   mulle
20816   1172    6116    28104   TOOLCHAIN=gnu-LTO=0
18400   1164    6188    25752   TOOLCHAIN=gnu-LTO=1

578     12      68      658     native
33765   436     68288   102489  TOOLCHAIN=gnu-LTO=0
34343   448     68356   103147  TOOLCHAIN=gnu-LTO=1

-1616   -8      96      -1528   nrf51dongle
19156   120     4240    23516   TOOLCHAIN=gnu-LTO=0
17540   112     4336    21988   TOOLCHAIN=gnu-LTO=1

-4672   -8      96      -4584   nucleo-f091
22252   120     4264    26636   TOOLCHAIN=gnu-LTO=0
17580   112     4360    22052   TOOLCHAIN=gnu-LTO=1

-3408   -8      96      -3320   nucleo-f303
20264   120     4272    24656   TOOLCHAIN=gnu-LTO=0
16856   112     4368    21336   TOOLCHAIN=gnu-LTO=1

-3184   -8      96      -3096   nucleo-f334
20008   120     4248    24376   TOOLCHAIN=gnu-LTO=0
16824   112     4344    21280   TOOLCHAIN=gnu-LTO=1

-3224   -8      96      -3136   nucleo-l1
20216   120     4256    24592   TOOLCHAIN=gnu-LTO=0
16992   112     4352    21456   TOOLCHAIN=gnu-LTO=1

-1968   -8      96      -1880   openmote
18736   120     4240    23096   TOOLCHAIN=gnu-LTO=0
16768   112     4336    21216   TOOLCHAIN=gnu-LTO=1

-1616   -8      96      -1528   pca10000
19156   120     4240    23516   TOOLCHAIN=gnu-LTO=0
17540   112     4336    21988   TOOLCHAIN=gnu-LTO=1

-1608   -8      96      -1520   pca10005
19132   120     4240    23492   TOOLCHAIN=gnu-LTO=0
17524   112     4336    21972   TOOLCHAIN=gnu-LTO=1

-1456   -8      -32     -1496   saml21-xpro
19156   120     4344    23620   TOOLCHAIN=gnu-LTO=0
17700   112     4312    22124   TOOLCHAIN=gnu-LTO=1

-1544   -8      96      -1456   samr21-xpro
19324   120     4232    23676   TOOLCHAIN=gnu-LTO=0
17780   112     4328    22220   TOOLCHAIN=gnu-LTO=1

-2080   -8      -32     -2120   spark-core
20920   120     4384    25424   TOOLCHAIN=gnu-LTO=0
18840   112     4352    23304   TOOLCHAIN=gnu-LTO=1

ERR     ERR     ERR     ERR     stm32f0discovery
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=0
ERR     ERR     ERR     ERR     TOOLCHAIN=gnu-LTO=1

-3408   -8      96      -3320   stm32f3discovery
20272   120     4272    24664   TOOLCHAIN=gnu-LTO=0
16864   112     4368    21344   TOOLCHAIN=gnu-LTO=1

-3464   -12     92      -3384   stm32f4discovery
20472   124     4268    24864   TOOLCHAIN=gnu-LTO=0
17008   112     4360    21480   TOOLCHAIN=gnu-LTO=1

-2104   -8      96      -2016   udoo
19272   124     4316    23712   TOOLCHAIN=gnu-LTO=0
17168   116     4412    21696   TOOLCHAIN=gnu-LTO=1

-1616   -8      96      -1528   yunjia-nrf51822
19116   120     4240    23476   TOOLCHAIN=gnu-LTO=0
17500   112     4336    21948   TOOLCHAIN=gnu-LTO=1

make: Leaving directory '/home/kim/work/src/riot/examples/riot_and_cpp'

Edit: I noticed that I must have done something wrong when I built with LLVM, I don't expect all sizes to be exactly the same with Clang and GCC.

@kaspar030
Copy link
Copy Markdown
Contributor

@gebart What's the state on this?

@jnohlgard
Copy link
Copy Markdown
Member Author

jnohlgard commented Aug 28, 2015 via email

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is used needed? For library functions?

@OlegHahm OlegHahm added this to the Release NEXT MAJOR milestone Sep 2, 2015
@miri64 miri64 added this to the Release 2016.07 milestone Mar 29, 2016
@kaspar030
Copy link
Copy Markdown
Contributor

IMHO this should get a lot more attention. @gebart could you rebase, please? I'll try to help...

@jnohlgard
Copy link
Copy Markdown
Member Author

sorry, I forgot to rebase, won't make it for release

@jnohlgard jnohlgard modified the milestones: Release 2016.10, Release 2016.07 Jul 12, 2016
@kaspar030
Copy link
Copy Markdown
Contributor

I just got LTO for cortex-m working, by making it possible to exclude some .c from being compiled with -flto.

I'm about to open a PR, should I cherry-pick your other LTO fixes?

@kaspar030
Copy link
Copy Markdown
Contributor

I think the easiest is to rebase my branch on top of this.

@kaspar030 kaspar030 mentioned this pull request Aug 10, 2016
@miri64
Copy link
Copy Markdown
Member

miri64 commented Oct 31, 2016

Postponed due to feature freeze

@miri64 miri64 modified the milestones: Release 2017.01, Release 2016.10 Oct 31, 2016
@OlegHahm
Copy link
Copy Markdown
Member

Where did we leave here?

@kaspar030
Copy link
Copy Markdown
Contributor

Most of @gebart's fixes have been merged with #5742. @gebart should we close this?

@jnohlgard
Copy link
Copy Markdown
Member Author

yes, let's close.

@jnohlgard jnohlgard closed this Jan 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: build system Area: Build system Platform: ARM Platform: This PR/issue effects ARM-based platforms State: WIP State: The PR is still work-in-progress and its code is not in its final presentable form yet Type: enhancement The issue suggests enhanceable parts / The PR enhances parts of the codebase / documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants