#1092969 linux: building dkms modules fails with x86_64-linux-gnu-ld: read in flex scanner failed

#1092969#5
Date:
2025-01-14 00:25:27 UTC
From:
To:
building dkms modules for 6.13 in experimental fails with:

...
# LD [M]  dm-writeboost.ko
  x86_64-linux-gnu-ld -r -m elf_x86_64 -z noexecstack --no-warn-rwx-segments --build-id=sha1  -T /usr/src/linux-headers-6.13-rc6-amd64/ -o dm-writeboost.ko dm-writeboost.o dm-writeboost.mod.o .module-common.o
x86_64-linux-gnu-ld: read in flex scanner failed
make[4]: *** [/usr/src/linux-headers-6.13-rc6-common/scripts/Makefile.modfinal:58: dm-writeboost.ko] Error 1
...

That error message seems to be an indicator for an invalid -T argument.


Andreas

#1092969#10
Date:
2025-01-14 07:36:57 UTC
From:
To:
Hi Andreas,

Right, we uploaded linux/6.13-rc6 knowing this problem exists with
external modules build, thus the warning/note in the debian/changelog
about it.

It should be fixed with the pending changes we have in git, so will
add a bug closer for this to keep track.

Thank you.

Regards,
Salvatore

#1092969#17
Date:
2025-01-14 08:50:34 UTC
From:
To:
this is documented in the changelog.

Bastian