From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1686 invoked by alias); 22 Oct 2011 22:26:53 -0000 Received: (qmail 1678 invoked by uid 22791); 22 Oct 2011 22:26:52 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from hagrid.ecoscentric.com (HELO mail.ecoscentric.com) (212.13.207.197) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 22 Oct 2011 22:26:37 +0000 Received: from localhost (hagrid.ecoscentric.com [127.0.0.1]) by mail.ecoscentric.com (Postfix) with ESMTP id 6738E2F78005 for ; Sat, 22 Oct 2011 23:26:36 +0100 (BST) Received: from mail.ecoscentric.com ([127.0.0.1]) by localhost (hagrid.ecoscentric.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 43xXOlf8tGJX; Sat, 22 Oct 2011 23:26:35 +0100 (BST) From: bugzilla-daemon@bugs.ecos.sourceware.org To: ecos-bugs@ecos.sourceware.org Subject: [Bug 1001252] Problem building "Linux Synthetic" target on Linux (Ubuntu) X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: eCos X-Bugzilla-Component: ConfigTool X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: ilg@livius.net X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: low X-Bugzilla-Assigned-To: unassigned@bugs.ecos.sourceware.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: CC In-Reply-To: References: X-Bugzilla-URL: http://bugs.ecos.sourceware.org/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Sat, 22 Oct 2011 22:26:00 -0000 Message-Id: <20111022222633.3290E2F78007@mail.ecoscentric.com> Mailing-List: contact ecos-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-bugs-owner@sourceware.org X-SW-Source: 2011/txt/msg01278.txt.bz2 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 changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ilg@livius.net --- Comment #1 from Liviu Ionescu 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 on the CC list for the bug.