-
Notifications
You must be signed in to change notification settings - Fork 2.1k
pkg/fatfs: linker error when build tests/pkg_fatfs_vfs for msb430 based boards #8408
Copy link
Copy link
Closed
Labels
Area: fsArea: File systemsArea: File systemsPlatform: MSPPlatform: This PR/issue effects MSP-based platformsPlatform: This PR/issue effects MSP-based platformsType: bugThe issue reports a bug / The PR fixes a bug (including spelling errors)The issue reports a bug / The PR fixes a bug (including spelling errors)
Description
Description
linker error when build tests/pkg_fatfs_vfs for msb430 based boards
Steps to reproduce the issue
Build tests/pkg_fatfs_vfs for any board that uses msb430-gcc, e.g z1 or telosb.
Expected results
Builds.
Actual results
Linker error:
root@9410057a06eb:~/tests/pkg_fatfs_vfs# rm -rf bin; BOARD=z1 make
Building application "pkg_fatfs_vfs" for "z1" with MCU "msp430fxyz".
rm -Rf /data/riotbuild/tests/pkg_fatfs_vfs/bin/pkg/z1/fatfs
mkdir -p /data/riotbuild/tests/pkg_fatfs_vfs/bin/pkg/z1/fatfs
/data/riotbuild/dist/tools/git/git-cache clone "https://github.com/MichelRottleuthner/FatFs_for_RIOT.git" "61fd6ae3815170bf7bf6121f33f1ef68c2b11599" "/data/riotbuild/tests/pkg_fatfs_vfs/bin/pkg/z1/fatfs"
Cloning into '/data/riotbuild/tests/pkg_fatfs_vfs/bin/pkg/z1/fatfs'...
remote: Counting objects: 172, done.
remote: Total 172 (delta 0), reused 0 (delta 0), pack-reused 172
Receiving objects: 100% (172/172), 2.30 MiB | 3.01 MiB/s, done.
Resolving deltas: 100% (60/60), done.
Checking connectivity... done.
HEAD is now at 61fd6ae... remove dummy implementation diskio.c
touch /data/riotbuild/tests/pkg_fatfs_vfs/bin/pkg/z1/fatfs/.git-downloaded
"make" -C /data/riotbuild/pkg/fatfs
"make" -C /data/riotbuild/tests/pkg_fatfs_vfs/bin/pkg/z1/fatfs
"make" -C /data/riotbuild/boards/z1
"make" -C /data/riotbuild/core
"make" -C /data/riotbuild/cpu/msp430fxyz
"make" -C /data/riotbuild/cpu/msp430_common
"make" -C /data/riotbuild/cpu/msp430_common/periph
"make" -C /data/riotbuild/cpu/msp430fxyz/periph
"make" -C /data/riotbuild/drivers
"make" -C /data/riotbuild/drivers/mtd
"make" -C /data/riotbuild/drivers/mtd_sdcard
"make" -C /data/riotbuild/drivers/periph_common
"make" -C /data/riotbuild/drivers/sdcard_spi
"make" -C /data/riotbuild/pkg/fatfs/fatfs_diskio/mtd
"make" -C /data/riotbuild/pkg/fatfs/fatfs_vfs
"make" -C /data/riotbuild/sys
"make" -C /data/riotbuild/sys/auto_init
"make" -C /data/riotbuild/sys/auto_init/storage
"make" -C /data/riotbuild/sys/div
"make" -C /data/riotbuild/sys/isrpipe
"make" -C /data/riotbuild/sys/oneway-malloc
"make" -C /data/riotbuild/sys/tsrb
"make" -C /data/riotbuild/sys/uart_stdio
"make" -C /data/riotbuild/sys/vfs
"make" -C /data/riotbuild/sys/xtimer
"make" -C /data/riotbuild/tests/pkg_fatfs_vfs/bin/pkg/z1/fatfs
/data/riotbuild/tests/pkg_fatfs_vfs/bin/z1/fatfs.a(ff.o):(.debug_loc+0x11c3): relocation truncated to fit: R_MSP430_16_BYTE against `no symbol'
collect2: ld returned 1 exit status
/data/riotbuild/tests/pkg_fatfs_vfs/../../Makefile.include:320: recipe for target 'link' failed
make: *** [link] Error 1
Versions
RIOT docker image, with Ubuntu Xenial and msb430-gcc from apt:
msp430-gcc (GCC) 4.6.3 20120301 (mspgcc LTS 20120406 unpatched)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Area: fsArea: File systemsArea: File systemsPlatform: MSPPlatform: This PR/issue effects MSP-based platformsPlatform: This PR/issue effects MSP-based platformsType: bugThe issue reports a bug / The PR fixes a bug (including spelling errors)The issue reports a bug / The PR fixes a bug (including spelling errors)