From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27990 invoked by alias); 6 Jul 2006 07:58:52 -0000 Received: (qmail 27973 invoked by uid 22791); 6 Jul 2006 07:58:52 -0000 X-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,TW_CP X-Spam-Check-By: sourceware.org Received: from de01egw02.freescale.net (HELO de01egw02.freescale.net) (192.88.165.103) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 06 Jul 2006 07:58:49 +0000 Received: from de01smr01.freescale.net (de01smr01.freescale.net [10.208.0.31]) by de01egw02.freescale.net (8.12.11/de01egw02) with ESMTP id k6689uSC017484 for ; Thu, 6 Jul 2006 01:09:56 -0700 (MST) Received: from zwg18exm01.ea.freescale.net (zwg18exm01.ea.freescale.net [10.170.73.30]) by de01smr01.freescale.net (8.13.1/8.13.0) with ESMTP id k667wkIT002405 for ; Thu, 6 Jul 2006 02:58:46 -0500 (CDT) Received: by zwg18exm01.ea.freescale.net with Internet Mail Service (5.5.2657.72) id ; Thu, 6 Jul 2006 09:58:45 +0200 Message-ID: From: Gerster Jochen-B01096 To: ecos-patches@ecos.sourceware.org Subject: FW: eCos for MPC55xx Date: Thu, 06 Jul 2006 07:58:00 -0000 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: text/plain X-IsSubscribed: yes Mailing-List: contact ecos-patches-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: ecos-patches-owner@ecos.sourceware.org X-SW-Source: 2006-07/txt/msg00006.txt.bz2 Hi Andrew Ok so lets start with the memcpy problem, while I take care of the Copyright assignment. Perhaps a new thread? The problem is: The POWERPC gcc compiler (allocated from the ecos site) optimize memcpy calls with small length, instead it uses its own inline function without taking care of aligned access. This is a very very big problem using the TCP/IP stack because the IP-address is 4byte so the gcc optimize and the offset of the IP-address in the different protocol-headers varies. This ends in a exception :( So I asking me now: I'm the only one with this problem? How do you solve this problem, perhaps a compiler flag? I solved this by renaming the ecos memcpy function to my_memcpy and define a macro in the string.h which link every memcpy to my_memcpy (#define memcpy my_memcpy). So the gcc don't touch this new function and .... No exceptions Jochen -----Original Message----- From: Andrew Lunn [mailto:andrew@lunn.ch] Sent: Mittwoch, 5. Juli 2006 18:42 To: Gerster Jochen-B01096 Subject: Re: eCos for MPC55xx On Wed, Jul 05, 2006 at 09:12:07AM +0200, Gerster Jochen-B01096 wrote: > > I can't belive it!! It works!?! :) > > So any idea how to public the source files?? > The mailing list seems to dislike the attached zip file? Hi Jochen As suggested send it as a number of packages. When presented with a big patch i tend to put it to the bottom of the pile because i know it will need a lot of effort. Lots of small, independent patches get handled quicker. We will need a copyright assignment. Please take a look on the eCos website for the document you need to find. Lastly, im on holiday until the beginning of August, so i don't expect i will be able to take a look at this until then. Maybe one of the other maintainers will handle it before then. Andrew