AnsweredAssumed Answered

what does this mean? "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:

Question asked by MLM on Sep 2, 2015
Latest reply on Sep 6, 2015 by MLM

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

 

Any ideas?

 

Note1:

sept 3, 2015

Using Fedora 21, blackfin-buildroot-2014R1

and  gcc-4.9.2-6.fc21.x86_64

 

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

Outcomes