foss-for-synopsys-dwc-arc-processors / buildroot

The development tree for Buildroot support for the Synopsys DesignWare ARC processor family
https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/blob/arc-dev/README.md
Other
7 stars 2 forks source link

package/systemd: Add support of ARC64 architecture #28

Open vkremneva opened 3 years ago

vkremneva commented 3 years ago

When building systemd-249.1 for ARC64 with Buildroot, getting following error:

----------------------------------------------------8<---------------------------------------------------- In file included from ../src/basic/architecture.c:5: ../src/basic/architecture.h:233:4: error: #error "Please register your architecture here!" 233 | # error "Please register your architecture here!" | ^~~~~ ----------------------------------------------------8<----------------------------------------------------

Mention of arc in architecture.c file: https://github.com/systemd/systemd/blob/main/src/basic/architecture.c#L118 How arc support was added: https://github.com/systemd/systemd/commit/27b09f1f1ed29edb9c52ad8414c2344974a07a23

From @abrodkin:

After https://github.com/systemd/systemd/commit/35b42e560039fd87d4ae4d99cd54d1d4e89710b1#diff-0da14956e96dad3a49c7cb88f2eb1a086c7198323dd8f2c5a0d2591ef92c9f39 changes should be performed here: https://github.com/systemd/systemd/blob/main/src/basic/missing_syscalls.py