Gcc-3.4 is my standard compiler, and it works fine on a pristine Linux-2.6.10. But the patches for ckrm-e17 and cpu-v10 fail to build. The problem is that gcc-3.4 refuses to inline a forward reference:


kernel/sched.c: In function `load_balance':
kernel/sched.c:2279: sorry, unimplemented: inlining failed in call to 'ckrm_load_balance': function body not available
kernel/sched.c:2292: sorry, unimplemented: called from here


This may be a C99 issue; see the mentions of "inline" in

        http://gcc.gnu.org/gcc-3.4/c99status.html

I've found two ways to work around this. First is to back off to gcc-3.3. Second is to remove "inline" from the declarations of RCFS_I, idle_balance, wake_sleeping_dependent, and ckrm_load_balance. Neither is pleasant. Can you suggest a better approach?

--
Hal Peterson   University of Minnesota Computer Science   Ph.D. student


------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ ckrm-tech mailing list https://lists.sourceforge.net/lists/listinfo/ckrm-tech

Reply via email to