Skip to content

Different build behavior between murdock and riot/riotbuild:latest image #9645

@cladmi

Description

@cladmi

Description

Compilation behavior is different between murdock the docker image with BUILD_IN_DOCKER=1 even with RIOT_CI_BUILD=1.

It makes things hard to debug and understand the root cause of problems.

Like for the following PRs:

#9362 Warnings only on murdock
#9605 Warnings only on murdock with llvm
#9507 Enough memory on murdock but not in the container

Sub pull requests

Steps to reproduce the issue

To take one as an example:

Building tests/pkg_fatfs_vfs for BOARD=wsn430-v1_4 works in murdock as it is not complaining but this does not

make -C tests/pkg_fatfs_vfs/  BOARD=wsn430-v1_4 clean all RIOT_CI_BUILD=1 BUILD_IN_DOCKER=1 DOCKER="sudo docker"

Expected results

It has the same behavior in docker as in murdock, so either both fail or both succeed.

Actual results

Murdock is ok, but in docker it fails with:

/data/riotbuild/riotproject/tests/pkg_fatfs_vfs/bin/wsn430-v1_4/fatfs.a(ff.o):(.debug_loc+0x1656): relocation truncated to fit: R_MSP430_16_BYTE against `no symbol'
collect2: ld returned 1 exit status
/data/riotbuild/riotbase/Makefile.include:411: recipe for target '/data/riotbuild/riotproject/tests/pkg_fatfs_vfs/bin/wsn430-v1_4/pkg_fatfs_vfs.elf' failed
make: *** [/data/riotbuild/riotproject/tests/pkg_fatfs_vfs/bin/wsn430-v1_4/pkg_fatfs_vfs.elf] Error 1

Versions

Building with docker in master.

Metadata

Metadata

Labels

Area: CIArea: Continuous Integration of RIOT componentsArea: build systemArea: Build systemArea: toolchainArea: toolchains; everything related to compilation, libc, linking, …Area: toolsArea: Supplementary toolsType: bugThe issue reports a bug / The PR fixes a bug (including spelling errors)Type: trackingThe issue tracks and organizes the sub-tasks of a larger effort

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions