Page 2 of 2

Re: Cross compiler issue: no .eh_frame_hdr table will be cre

Posted: Tue Mar 20, 2012 2:30 pm
by xenos
JamesM wrote:I didn't notice the lack of "-c" on his command line, and that made me think gcc was compiling kernel.c as C++.
I didn't even know that this may cause problems which show up as .eh_frame warnings, and thus really look like some C++ stuff... But I guess I should have been more suspicious about the "warning: cannot find entry symbol _start; defaulting to 0000000008048054", which is no surprise if one is telling a bare metal cross compiler to create an executable.

Re: Cross compiler issue: no .eh_frame_hdr table will be cre

Posted: Tue Mar 20, 2012 11:36 pm
by Solar
Solar wrote:(I didn't look beyond the first error out of habit.)
And now you know why I got into that particular habit. 8)