SDK 17.1.0 example dfu/secure_bootloader does not fit in FLASH

I just downloaded the SDK 17.1.0_ddde560.

Going to `examples/dfu/secure_bootloader/pca10056_s140_ble/armgcc`, then running:

CFLAGS=-DNRF_DFU_DEBUG_VERSION make

Gives me this:

Linking target: _build/nrf52840_xxaa_s140.out
/usr/lib/gcc/arm-none-eabi/9.2.1/../../../arm-none-eabi/bin/ld: _build/nrf52840_xxaa_s140.out section `.text' will not fit in region `FLASH'
/usr/lib/gcc/arm-none-eabi/9.2.1/../../../arm-none-eabi/bin/ld: region FLASH overflowed with .data and user data
/usr/lib/gcc/arm-none-eabi/9.2.1/../../../arm-none-eabi/bin/ld: section .mbr_params_page VMA [00000000000fe000,00000000000fefff] overlaps section .text VMA [00000000000f8000,00000000000fe213]
/usr/lib/gcc/arm-none-eabi/9.2.1/../../../arm-none-eabi/bin/ld: section .crypto_data VMA [00000000000fe214,00000000000fe21b] overlaps section .mbr_params_page VMA [00000000000fe000,00000000000fefff]
/usr/lib/gcc/arm-none-eabi/9.2.1/../../../arm-none-eabi/bin/ld: region `FLASH' overflowed by 636 bytes
collect2: error: ld returned 1 exit status
make: *** [../../../../../components/toolchain/gcc/Makefile.common:294: _build/nrf52840_xxaa_s140.out] Error 1

Building on Ubuntu 20.04 with arm-none-eabi 9.2.1.

Version of ld:

$ /usr/lib/arm-none-eabi/bin/ld --version
GNU ld (2.34-4ubuntu1+13ubuntu1) 2.34

I was expecting this example (with debug enable to skip generating a real key) would work out of the box. What could possibly be wrong?

Related