Hi, I recently noticed that systemd scm started to fail building. Since a few days or weeks, systemd generates a source file containing syscalls + description using cpp. For now, CPPFLAGS is empty, so -m64 is always used, even for 32bit phases on a multibuild system. The file generated by systemd was generated using cpp -m64, using unistd_64.h, and we tried to compile it with gcc -m32, using unistd_32.h which is different -> fail. Using cpp -m32 makes it use the right file and fixes this issue. CPPFLAGS should be adjusted to -m32 for 32bit multilib phases just like the other toolchain *FLAGS.
A patch is available in zebrapig's patch queue (+ with another patch for systemd scm which obviously needs this one). Would you agree with this or do you have any reason to be against it ? Now systemd is failing, but tomorrow it could be any other multibuildified package which would like to use cpp.
_______________________________________________ Exherbo-dev mailing list [email protected] http://lists.exherbo.org/mailman/listinfo/exherbo-dev
