From: DENX Support System Date: Fri, 31 Mar 2006 23:50:10 +0200 Subject: [DNX#2006033142000258] [U-Boot-Users] ARM targets compil error with gcc > [...] Message-ID: <1143841810.619646.768915959@castor.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello list, inside the automatic U-Boot patch tracking system a new ticket [DNX#2006033142000258] was created: > Hello everybody > > there is a compilation error with GCC >= 3.4 and all U-Boot ARM > targets like motorola mx1ads (arm920t). > the ARM '-mshort-load-bytes' compilation flag is deprecated and no > more supported. > Since all referenced ARM cpus are based on the ARMv4 core or higher, > It is possible to remove this flag. > the binary code produced is compatible (as described in GCC doc). > I checked it with the ELDK GCC 3.3.3 and a GCC 3.4.2 without problem > on a Freescale imx board. > > Note: There is an alternate GCC flag to solve this problem (- > malignment-traps) but this flag seems to be deprecated with the > recent GCC 4. > > Actually i'm interested to solve the problem with the arm920t. > For developers this is the list of affected files/architectures and > hereafter a patch to support GCC 3.4 and upper: > cpu/arm720t/config.mk > cpu/arm920t/config.mk > cpu/arm925t/config.mk > cpu/arm926ejs/config.mk > cpu/ixp/config.mk > cpu/lh7a40x/config.mk > cpu/pxa/config.mk > cpu/s3c44b0/config.mk > cpu/sa1100/config.mk > > Feedbacks are welcome. Thanks > > Best regards, > Eric Jarrige Your U-Boot support team