rtkit icon indicating copy to clipboard operation
rtkit copied to clipboard

Build failure on armel and armhf

Open fsateler opened this issue 6 years ago • 1 comments

It appears the .type directive is not fully portable: armel and armhf:

xml-introspection.S: Assembler messages:
xml-introspection.S:3: Error: unrecognized symbol type ""

It appears this is because @ is a comment marker in arm assembler.

Related gcc docs: https://www.sourceware.org/binutils/docs/as/Type.html#Type

I think we could change it to STT_OBJECT, but that is apparently a gnu extension. No idea if clang supports that, or if we care about non-gcc builds.

fsateler avatar Mar 12 '19 15:03 fsateler

Take a look at https://github.com/heftig/rtkit/commit/7f24c26b6e6b5be0f50b42f86bbc7c43630687c9, which uses xxd to convert the XML file into C array. The resulting C file gets distributed, so xxd will not be necessary when you build from the 0.13 tarball.

heftig avatar Mar 12 '19 18:03 heftig