Skip to content

Add mbed-os-example-cellular to release data #4448

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 10, 2017

Conversation

sg-
Copy link
Contributor

@sg- sg- commented Jun 5, 2017

Was previously missing.

@sg- sg- changed the title Add mbed-os-eample-cellular to release data Add mbed-os-example-cellular to release data Jun 6, 2017
@sg-
Copy link
Contributor Author

sg- commented Jun 6, 2017

/morph test

@mbed-bot
Copy link

mbed-bot commented Jun 7, 2017

Result: FAILURE

Your command has finished executing! Here's what you wrote!

/morph test

Output

mbed Build Number: 465

Example Build failed!

@sg-
Copy link
Contributor Author

sg- commented Jun 7, 2017

Example doesn't build using debug profile using ARM and IAR compilers

19:38:39 Compiling mbed-os-example-cellular for UBLOX_C027, ARM
19:38:39 [mbed] WARNING: Could not find mbed program in current path "/home/arm/mbed_jenkins/workspace/bm_wrap/497/examples/mbed-os-example-cellular".
19:38:39 [mbed] WARNING: You can fix this by calling "mbed new ." in the root of your program.
19:38:39 ---
19:38:46 [ERROR] Error: L6406E: No space in execution regions with .ANY selector matching lwip_tcpip.o(.bss).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching lwip_memp.o(.bss).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching ppp_lwip.o(.bss).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching lwip_pppos.o(.bss).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching libspace.o(.bss).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching equeue_mbed.o(.bss).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching nsapi_dns.o(.data).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching stdio_streams.o(.bss).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching stdio_streams.o(.bss).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching stdio_streams.o(.bss).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching PPPCellularInterface.o(.bss).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching rtx_lib.o(.bss.os.msgqueue.mem).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching lwip_stack.o(.data).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching rtx_lib.o(.bss.os.thread.cb).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching rtx_lib.o(.bss.os.thread.cb).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching lwip_tcp_isn.o(.bss).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching rtx_lib.o(.bss.os).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching NetworkStack.o(.bss__ZZN19NetworkStackWrapper14get_ip_addressEvE6buffer).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching FileBase.o(.bss).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching rtx_lib.o(.bss.os.msgqueue.cb).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching lwip_mem.o(.bss).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching lwip_tcp_in.o(.data).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching ppp_lwip.o(.data).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching lwip_tcp.o(.data).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching lwip_ip.o(.bss).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching mbed_us_ticker_api.o(.bss).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching rtx_lib.o(.data.os.mutex.mpi).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching lwip_dns.o(.data).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching lwip_utils.o(.data).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching randLIB.o(.bss).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching lwip_tcp_in.o(.bss).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching lwip_magic.o(.bss).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching serial_api.o(.data).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching lwip_sys_arch.o(.data).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching lwip_mem.o(.data).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching lwip_netif.o(.data).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching lwip_timeouts.o(.data).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching mbed_boot.o(.data).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching equeue_mbed.o(.data).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching lwip_tcpip.o(.data).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching lwip_igmp.o(.data).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching lwip_ip4.o(.data).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching lwip_ip4_frag.o(.data).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching lwip_udp.o(.data).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching lwip_magic.o(.data).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching mbed_critical.o(.data).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching rt_OsEventObserver.o(.data).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching lwip_stack.o(.data).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching main.o(.data).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching lwip_tcp_isn.o(.data).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching lwip_memp.o(.data).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching lwip_memp.o(.data).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching lwip_memp.o(.data).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching lwip_memp.o(.data).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching lwip_memp.o(.data).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching lwip_memp.o(.data).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching lwip_memp.o(.data).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching lwip_memp.o(.data).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching lwip_memp.o(.data).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching lwip_memp.o(.data).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching lwip_memp.o(.data).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching lwip_memp.o(.data).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching lwip_memp.o(.data).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching lwip_memp.o(.data).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching lwip_ppp.o(.data).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching lwip_pppos.o(.data).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching PPPCellularInterface.o(.data).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching FileBase.o(.data).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching mbed_retarget.o(.data).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching mbed_retarget.o(.data).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching rtos_idle.o(.data).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching system_LPC17xx.o(.data).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching gpio_irq_api.o(.data).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching us_ticker.o(.data).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching stdio_streams.o(.data).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching stdio_streams.o(.data).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching stdio_streams.o(.data).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching streamlock.o(.data).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching mbed_retarget.o(.data).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching ublox_low_level_api.o(.data).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching lwip_api_msg.o(.data).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching mbed_error.o(.data).
19:38:46 Error: L6406E: No space in execution regions with .ANY selector matching rtx_lib.o(.data).
19:38:46 Error: L6407E: Sections of aggregate size 0x8b4 bytes could not fit into .ANY selector(s).
19:38:46 Not enough information to list the image map.
19:38:46 Finished: 1 information, 0 warning and 84 error messages.
19:38:46 
19:38:46 [mbed] ERROR: "/home/arm/mbed_jenkins/workspace/bm_wrap/497/.env/bin/python" returned error code 1.
19:38:46 [mbed] ERROR: Command "/home/arm/mbed_jenkins/workspace/bm_wrap/497/.env/bin/python -u /home/arm/mbed_jenkins/workspace/bm_wrap/497/examples/mbed-os-example-cellular/mbed-os/tools/make.py -t ARM -m UBLOX_C027 --source . --build ./BUILD/UBLOX_C027/ARM --silent" in "/home/arm/mbed_jenkins/workspace/bm_wrap/497/examples/mbed-os-example-cellular"
19:38:46 ---
19:38:46 ################################################################################
19:38:46 # Examples compilation summary
19:38:46 ################################################################################
19:38:46 #
19:38:46 ################################################################################
19:38:46 # Passed example combinations
19:38:46 ################################################################################
19:38:46 # mbed-os-example-sockets UBLOX_C027 ARM
19:38:46 # mbed-os-example-blinky UBLOX_C027 ARM
19:38:46 #
19:38:46 ################################################################################
19:38:46 # Failed example combinations
19:38:46 ################################################################################
19:38:46 # mbed-os-example-cellular UBLOX_C027 ARM
19:38:46 #
19:38:46 ################################################################################
19:30:55 Compiling mbed-os-example-cellular for UBLOX_C027, IAR
19:31:22 [ERROR] Error[Lp011]: section placement failed
19:31:22             unable to allocate space for sections/blocks with a total estimated
19:31:22                       minimum size of 0xb898 bytes (max align 0x8) in
19:31:22                       <[0x100000c8-0x10007fdf]> (total uncommitted space
19:31:22                       0x7f18).

@0xc0170
Copy link
Contributor

0xc0170 commented Jun 9, 2017

cc @hasnainvirk Please look at the failures. we can't build the example

@hasnainvirk
Copy link
Contributor

hasnainvirk commented Jun 9, 2017

@0xc0170 I can't reproduce it locally.
Command used: mbed compile -m UBLOX_C027 -t ARM
ARMCC : /usr/local/ARM_Compiler_5.06u3/bin/armcc

Link: mbed-os-example-cellular
Elf2Bin: mbed-os-example-cellular
+-----------------------------+--------+-------+-------+
| Module                      |  .text | .data |  .bss |
+-----------------------------+--------+-------+-------+
| Misc                        |  19897 |    20 |  1068 |
| drivers                     |   4233 |     0 |     0 |
| events                      |     54 |     0 |     0 |
| events/equeue               |   1540 |     8 |    88 |
| features/FEATURE_COMMON_PAL |    492 |     0 |  2264 |
| features/FEATURE_LWIP       |  58918 | 16758 |  8764 |
| features/netsocket          |   6711 |    89 |   140 |
| hal                         |   1042 |     0 |    24 |
| platform                    |   3743 |    23 |   428 |
| rtos                        |   1514 |    16 |  4252 |
| rtos/rtx5                   |  14372 |  2293 |     0 |
| targets/TARGET_NXP          |   5112 |    30 |   416 |
| Subtotals                   | 117628 | 19237 | 17444 |
+-----------------------------+--------+-------+-------+
Allocated Heap: unknown
Allocated Stack: unknown
Total Static RAM memory (data + bss): 36681 bytes
Total RAM memory (data + bss + heap + stack): 36681 bytes
Total Flash memory (text + data + misc): 136865 bytes

@hasnainvirk
Copy link
Contributor

@0xc0170 @adbridge

Regarding IAR, here is our CI job that build on IAR and also tests it on hardware.
https://jenkins-internal.mbed.com/job/ARMmbed/job/mbed-os-example-cellular/job/master/8/consoleFull

I am not sure how your morph testing is wired up.

@adbridge
Copy link
Contributor

adbridge commented Jun 9, 2017

@hasnainvirk So the example build is failing for both ARM and IAR.
There doesn't appear to be any special flags in the compilation. For example for IAR:

mbed-os/tools/make.py -t IAR -m UBLOX_C027 --source . --build .\BUILD\UBLOX_C027\IAR

What version of IAR are you using ?
Also are you running against the head of mbed-os master ?

@hasnainvirk
Copy link
Contributor

hasnainvirk commented Jun 9, 2017

@adbridge I don't know as I said it runs on CI, I don't use windows.
What does that command you wrote builds ?
ARMCC works on my machine. I don't know why it shouldn't build on your side.

@hasnainvirk
Copy link
Contributor

Here is the IAR version number:
IAR ANSI C/C++ Compiler V7.80.1.11864/W32 for ARM @adbridge

@hasnainvirk
Copy link
Contributor

@adbridge IAR build was not against master. It was against a hash provided in mbed-os-example-cellular.
ARMCC build that I built on my local machine is against master.

@adbridge
Copy link
Contributor

adbridge commented Jun 9, 2017

@bridadan What version of IAR do we have on the CI ? Any ideas why @hasnainvirk can build example locally without problems but failing in CI ?

@0xc0170 0xc0170 force-pushed the add-cell-example branch from 742a07c to 0013b4a Compare June 9, 2017 14:18
@0xc0170
Copy link
Contributor

0xc0170 commented Jun 9, 2017

/morph test

@0xc0170
Copy link
Contributor

0xc0170 commented Jun 9, 2017

Changed target for this example to MTS_DRAGONFLY_F411RE, and rebased

@adbridge
Copy link
Contributor

adbridge commented Jun 9, 2017

retest uvisor

@mbed-bot
Copy link

mbed-bot commented Jun 9, 2017

Result: SUCCESS

Your command has finished executing! Here's what you wrote!

/morph test

Output

mbed Build Number: 520

All builds and test passed!

@0xc0170 0xc0170 removed the needs: CI label Jun 10, 2017
@0xc0170 0xc0170 merged commit 1333410 into ARMmbed:master Jun 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants