This is the mail archive of the ecos-bugs@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug 1001252] Problem building "Linux Synthetic" target on Linux(Ubuntu)


Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001252

Liviu Ionescu <ilg@livius.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ilg@livius.net

--- Comment #1 from Liviu Ionescu <ilg@livius.net> 2011-10-22 23:26:28 BST ---
I also tried to build the Synthetic Linux target on Ubuntu, and succeeded the
build on Ubuntu 9.

However, when trying to execute the tests, I ran into numerous problems. First
I hacked the linker script to match the Ubuntu memory map, and finally the
generated elf images matched the headers of a natively built executable.

However it looks like the Ubuntu ABI is significantly different from the one
assumed in eCos.

So I also hacked the startup.S to no longer try to get the argc, argv, and
environment. 

After this I reached the _linux_entry point, but when the synth_hardware_init()
where the code again crashed.

As I said, it looks like there are significant differences between the current
Ubuntu releases and the code in eCos.

Regards,

Liviu

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]