Source: systemd Tags: upstream patch User: helm...@debian.org Usertags: rebootstrap
systemd fails to cross build for tilegx (and likely fails to build natively as well), because the LIB_ARCH_TUPLE is missing. It has since been added to dpkg's cputable. Thus I am attaching the obvious patch setting it to "tilegx-linux-gnu". I am also Ccing Chris Metcalf, who has been porting software to tilegx, for review. After applying it, a stage1 of systemd cross builds successfully. I also note that more updates for LIB_ARCH_TUPLE are likely to come. sh3 currently receives a LIB_ARCH_TUPLE of "sh4-linux-gnu", arm64ilp32 is missing. A pile of recent mips stuff is absent. I notified the relevant porters. See e.g. https://github.com/systemd/systemd/pull/5469. Helmut
--- a/src/basic/architecture.h +++ b/src/basic/architecture.h @@ -186,7 +186,7 @@ int uname_architecture(void); # define LIB_ARCH_TUPLE "m68k-linux-gnu" #elif defined(__tilegx__) # define native_architecture() ARCHITECTURE_TILEGX -# error "Missing LIB_ARCH_TUPLE for TILEGX" +# define LIB_ARCH_TUPLE "tilegx-linux-gnu" #elif defined(__cris__) # define native_architecture() ARCHITECTURE_CRIS # error "Missing LIB_ARCH_TUPLE for CRIS"
_______________________________________________ Pkg-systemd-maintainers mailing list Pkg-systemd-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-systemd-maintainers