Project

General

Profile

Actions

Bug #5081

closed

simtrace2 doesn't build for ubuntu 20.04 and 20.10 and debian9

Added by osmith about 3 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
03/18/2021
Due date:
% Done:

100%

Spec Reference:

Description

https://build.opensuse.org/package/show/network:osmocom:nightly/simtrace2

In OBS, we have Ubuntu 18.04 - 20.10 enabled. It builds fine for all but 20.04 and 20.10.

As noted in #4687, stack smashing protection is enabled there even when cross compiling for embedded, and causes larger binaries.

[  473s] [COMPILING ./atmel_softpack_libraries/usb/device/dfu/dfu_driver.c]
[  474s] Memory region         Used Size  Region Size  %age Used
[  474s]              rom:       16600 B        16 KB    101.32%
[  474s]              ram:       11688 B        48 KB     23.78/usr/lib/gcc/arm-none-eabi/9.2.1/../../../arm-none-eabi/bin/ld: warning: changing start of section .stack by 4 bytes
[  474s] /usr/lib/gcc/arm-none-eabi/9.2.1/../../../arm-none-eabi/bin/ld: warning: changing start of section .stack by 4 bytes
[  474s] /usr/lib/gcc/arm-none-eabi/9.2.1/../../../arm-none-eabi/bin/ld: bin/qmod-dfu-flash.elf section `.text' will not fit in region `rom'
[  474s] /usr/lib/gcc/arm-none-eabi/9.2.1/../../../arm-none-eabi/bin/ld: warning: changing start of section .stack by 4 bytes
[  474s] /usr/lib/gcc/arm-none-eabi/9.2.1/../../../arm-none-eabi/bin/ld: warning: changing start of section .stack by 4 bytes
[  474s] /usr/lib/gcc/arm-none-eabi/9.2.1/../../../arm-none-eabi/bin/ld: warning: changing start of section .stack by 4 bytes
[  474s] /usr/lib/gcc/arm-none-eabi/9.2.1/../../../arm-none-eabi/bin/ld: region `rom' overflowed by 216 bytes

Related issues

Related to SIMtrace 2 - Bug #4687: simtrace2 dpkg fails to build on Ubuntu 20.04Resolvedlaforge07/30/2020

Actions
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)