I'm trying to build linux-omap from the archlinuxarm github. Using a stock pacman install and the current version of the package, I'm getting linking errors:
$this->bbcode_second_pass_code('', ' HOSTCC scripts/pnmtologo
HOSTCC scripts/conmakehash
HOSTCC scripts/bin2c
CC init/main.o
ld: unrecognized option '-Wl,-O1,--sort-common,--as-needed,-z,relro'
ld: use the --help option for usage information
make[1]: *** [init/main.o] Error 1
make: *** [init] Error 2
==> ERROR: A failure occurred in build().
Aborting...
')
All of those options are documented in the ld manpage and all of those flags work in my x86-based Arch system. I feel like I'm missing something obvious. Does anybody have any insight? If it matters, I'm running an up-to-date system on a Gumstix IronStorm with a homemade carrier board.