[systemd-devel] [PATCH] missing: add BPF_XOR

Michael Olbrich m.olbrich at pengutronix.de
Tue Aug 26 07:03:54 PDT 2014


On Thu, Aug 21, 2014 at 01:51:50PM +0200, Michal Sekletar wrote:
> On Thu, Aug 21, 2014 at 12:38:08PM +0200, Michael Olbrich wrote:
> > BPF_XOR was introduced in kernel 3.7
> > ---
> > 
> > This fixes compiling systemd for me. I'm not sure about the implications of
> > this. I'm not sure what happens if the code using it is executed on a linux
> > kernel < 3.7
> 
> I don't think that merging this patch makes sense since we don't really support
> combination of old kernel and new systemd. Both components are so centric these
> days that they should be updated in lockstep. Hence allowing people to compile
> against very old kernels shouldn't be possible really.

In that case, the README should be modified accordingly. That said, I've
come across this issue in a cross-compile environment: To generate the
hwdb.bin I need to build systemd for the build system. This failed on
debian stable. I think that's a reasonable use-case.

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |


More information about the systemd-devel mailing list