I upgraded from 2.9.0 to the May 17, 2011 snapshot (#6522), and it looks like inline functions with more than one parameter are causing the linker issues. If you run make all on the code included with 2.9.0, then the code will compile just fine. However, on #6522, you get the following error:
?ASlink-Warning-Undefined Global '_test_2_params_PARM_2' referenced by module 'main'
make: *** [all] Error 1
If you comment out the line in main.c where test_2_params() is called, you get no error in either version. It seems like somehow, inlining with two parameters has gotten broken.
Log in to post a comment.