building fiasco on alpine linux
Michael Schnupp
Michael_Schnupp at genua.de
Tue Jun 21 22:32:24 CEST 2016
Hi,
I tried to build fiasco on alpine linux.
This will fail with the following line:
auto/jdb_ktrace.cc:1:0: error: code model kernel does not support PIC mode
Their gcc enables PIC per default for security reasons. Since fiasco seems to need PIC disabled I have to tell the build system either to add -fno-PIC explictly, or to -D__KERNEL__ in any way.
(I already tried DEFINES += -D__KERNEL__ or CFLAGS := -fno-PIC in Makeconf without success.)
What is the correct way to add such an option to the fiasco build system?
Would it hurt to add -D__KERNEL__ per default on future releases? (After all it *is* a kernel.)
BTW, the above file looks very much like a jdb file. Is it correct that this file is compiled even when I configured fiasco to not include jdb?
BR,
Michael
More information about the l4-hackers
mailing list