Tried to compile the kernal with SPI support and went all the way to the end and stopped with this :
ph.c:732: undefined reference to `__ucmpdi2'
kernel/built-in.o: In function `perf_swevent_init':
/usr/local/src/uClinux/blackfin-buildroot/linux/linux-kernel/kernel/events/core.c:5442: undefined reference to `__ucmpdi2'
Makefile:773: recipe for target 'vmlinux' failed
sept 3, 2015
Using Fedora 21, blackfin-buildroot-2014R1
Searching online and there has been a problem with ucmpdi2 in the gcc library when a "switch" statement is used .
I looked in both of the kernal files listed in the error message, trace_functions_graph.c and core.c and the line number given in the error message has a "switch" statement