[arch-general] problem with gcc and __unused function attribute