Cross compiler issue: no .eh_frame_hdr table will be created

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
User avatar
xenos
Member
Member
Posts: 1121
Joined: Thu Aug 11, 2005 11:00 pm
Libera.chat IRC: xenos1984
Location: Tartu, Estonia
Contact:

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

Post 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.
Programmers' Hardware Database // GitHub user: xenos1984; OS project: NOS
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

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

Post 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)
Every good solution is obvious once you've found it.
Post Reply